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
xwx
3 years ago
Commit
a136decccc2063a24237a2c53ac72a05c7a6cce3
1 parent
f71c13a3
【400】订阅管理无资源订阅数据,页面无任何展示或是提示
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
hg-monitor-web-base/src/main/resources/static/src/controller/alarmsubscribeIndex.js
hg-monitor-web-base/src/main/resources/static/src/controller/alarmsubscribeIndex.js
View file @
a136dec
...
...
@@ -443,6 +443,7 @@ layui.define(['table', 'form', 'admin', 'layer', 'common','sessions'], function
//查看资源订阅列表
$
(
".view-alarmsubscribe-resource"
).
on
(
"click"
,
function
(){
if
(
$
(
this
).
text
()
==
'0'
){
layer
.
msg
(
'暂无订阅资源,请先订阅!'
,
{
icon
:
7
,
time
:
3000
});
return
false
;
}
...
...
@@ -714,6 +715,7 @@ layui.define(['table', 'form', 'admin', 'layer', 'common','sessions'], function
//查看指标订阅列表
$
(
".view-alarmsubscribe-kpi"
).
on
(
"click"
,
function
(){
if
(
$
(
this
).
text
()
==
'0'
){
layer
.
msg
(
'暂无订阅指标,请先订阅!'
,
{
icon
:
7
,
time
:
3000
});
return
false
;
}
var
subId
=
$
(
this
).
data
(
"id"
);
...
...
@@ -776,6 +778,10 @@ layui.define(['table', 'form', 'admin', 'layer', 'common','sessions'], function
//查看资源类型订阅列表
$
(
".view-alarmsubscribe-resType"
).
on
(
"click"
,
function
()
{
if
(
$
(
this
).
text
()
==
'0'
){
layer
.
msg
(
'暂无订阅资源类型,请先订阅!'
,
{
icon
:
7
,
time
:
3000
});
return
false
;
}
var
subId
=
$
(
this
).
data
(
"id"
);
common
.
openWin
(
"template/res/typeSubscribeList"
,
"选择资源类型"
,
{
subId
:
subId
,
...
...
@@ -788,6 +794,10 @@ layui.define(['table', 'form', 'admin', 'layer', 'common','sessions'], function
//查看业务类型订阅列表
$
(
".view-alarmsubscribe-busId"
).
on
(
"click"
,
function
()
{
if
(
$
(
this
).
text
()
==
'0'
){
layer
.
msg
(
'暂无订阅业务系统,请先订阅!'
,
{
icon
:
7
,
time
:
3000
});
return
false
;
}
var
subId
=
$
(
this
).
data
(
"id"
);
common
.
openWin
(
"template/res/typeSubscribeList"
,
"选择业务系统"
,
{
subId
:
subId
,
...
...
Please
register
or
login
to post a comment