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
43e12be23c7ad6caf58f92bbfdf6c20aceccec88
1 parent
4a521a47
修改例行维护跳转没数据的问题
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
6 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/monitor.html
hg-monitor-web-base/src/main/resources/static/src/views/iframe/insp/doc.html
View file @
43e12be
...
...
@@ -9,12 +9,8 @@
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'
){
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
(
'分析报告'
);
}
...
...
hg-monitor-web-base/src/main/resources/static/src/views/iframe/insp/monitor.html
View file @
43e12be
<title>
运行监控
</title>
<script
type=
"text/html"
template
>
<
iframe
src
=
"{{sessionStorage.getItem('domainInspectionURI')}}/start/index.html#/monitor/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
==
'yxjk'
){
$
(
'li[lay-id="/iframe/insp/monitor"] span'
).
html
(
'运行监控'
);
}
else
if
(
type
==
'lxwh'
){
$
(
'li[lay-id="/iframe/insp/monitor"] span'
).
html
(
'例行维护'
);
}
}
})
}}
<
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
>
</script>
...
...
Please
register
or
login
to post a comment