1
|
<title>运行监控</title>
|
1
|
<title>运行监控</title>
|
2
|
<script type="text/html" template>
|
2
|
<script type="text/html" template>
|
3
|
- <iframe src="{{sessionStorage.getItem('domainInspectionURI')}}/start/index.html#/monitor/index/show=0/access_token={{localStorage.getItem('access_token')}}" frameborder="0" class="layadmin-iframe"></iframe>
|
3
|
+ {{#
|
|
|
4
|
+ var type = "";
|
|
|
5
|
+ var a = "";
|
|
|
6
|
+ layui.use(['sessions','common','admin'], function () {
|
|
|
7
|
+ var $ = layui.$;
|
|
|
8
|
+ var common = layui.common;
|
|
|
9
|
+ var router = layui.router();
|
|
|
10
|
+ type =router.search.id;
|
|
|
11
|
+ if(type){
|
|
|
12
|
+ if(type == 'yxjk'){
|
|
|
13
|
+ $('li[lay-id="/iframe/insp/monitor"] span').html('运行监控');
|
|
|
14
|
+ }else if(type== 'lxwh'){
|
|
|
15
|
+ $('li[lay-id="/iframe/insp/monitor"] span').html('例行维护');
|
|
|
16
|
+ }
|
|
|
17
|
+ }
|
|
|
18
|
+
|
|
|
19
|
+ })
|
|
|
20
|
+ }}
|
|
|
21
|
+ <iframe src="{{sessionStorage.getItem('domainInspectionURI')}}/start/index.html#/monitor/index/show=0/reportType={{type}}/access_token={{localStorage.getItem('access_token')}}" frameborder="0" class="layadmin-iframe"></iframe>
|
4
|
</script> |
22
|
</script> |