|
|
<title>文档管理</title>
|
|
|
<script type="text/html" template>
|
|
|
<iframe src="{{sessionStorage.getItem('domainInspectionURI')}}/start/index.html#/document/index/show=0/access_token={{localStorage.getItem('access_token')}}" frameborder="0" class="layadmin-iframe"></iframe>
|
|
|
{{#
|
|
|
var type = "";
|
|
|
var a = "";
|
|
|
layui.use(['sessions','common','admin'], function () {
|
|
|
var $ = layui.$;
|
|
|
var common = layui.common;
|
|
|
var router = layui.router();
|
|
|
type =router.search.id;
|
|
|
if(type){
|
|
|
if(type == 'gzgl'){
|
|
|
$('li[lay-id="/iframe/insp/doc"] span').html('故障管理');
|
|
|
}else if(type == 'jkjc'){
|
|
|
$('li[lay-id="/iframe/insp/doc"] span').html('健康检查');
|
|
|
}else if(type= 'lxwh'){
|
|
|
$('li[lay-id="/iframe/insp/doc"] span').html('例行维护');
|
|
|
}
|
|
|
else if(type= 'fxbg'){
|
|
|
$('li[lay-id="/iframe/insp/doc"] span').html('分析报告');
|
|
|
}
|
|
|
}
|
|
|
|
|
|
})
|
|
|
}}
|
|
|
<iframe src="{{sessionStorage.getItem('domainInspectionURI')}}/start/index.html#/document/index/show=0/id={{type}}/access_token={{localStorage.getItem('access_token')}}" frameborder="0" class="layadmin-iframe"></iframe>
|
|
|
</script> |
...
|
...
|
|