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
Email Patches
Plain Diff
Browse Files
Authored by
袁晋鹏
4 years ago
Commit
a244fb88d2322a2ce838d23beed770f2dd730978
1 parent
9a56defc
修改菜单跳转的bug
Show 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 @
a244fb8
<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