Toggle navigation
Toggle navigation
This project
Loading...
Sign in
monitor_v3
/
hg-monitor-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
王涛
4 years ago
Commit
05b0a92741d0c1a8c713bba694ac03147dec1127
2 parents
ddab537d
a244fb88
Merge branch 'monitor-web-yuanjp' into 'master'
修改菜单跳转的bug See merge request
!21
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
1 deletions
hg-monitor-web-base/src/main/resources/static/src/views/iframe/insp/doc.html
hg-monitor-web-base/src/main/resources/static/src/views/iframe/insp/doc.html
View file @
05b0a92
<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>
...
...
Please
register
or
login
to post a comment