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
e95c385e4221e696e0ac12768a4fc00bd38a25ea
1 parent
e32ae601
【866】通知查询通知方式修改为字典的方式,现在是代码里面写死的格式代码迁移
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
35 deletions
hg-monitor-web-base/src/main/resources/static/src/controller/noticeIndex.js
hg-monitor-web-base/src/main/resources/static/src/controller/noticeIndex.js
View file @
e95c385
...
...
@@ -69,41 +69,7 @@ layui.define(['table', 'form', 'admin', 'layer', 'common', 'sessions', 'xmSelect
,
even
:
true
,
cols
:
[[
{
title
:
'序号'
,
align
:
"center"
,
type
:
'numbers'
,
width
:
'3%'
}
,
{
field
:
'type'
,
title
:
'通知类型'
,
align
:
'center'
,
sort
:
true
,
width
:
130
,
templet
:
function
(
d
)
{
if
(
d
.
type
)
{
switch
(
d
.
type
)
{
case
10
:
return
'告警通知'
break
;
case
11
:
return
'告警消除'
break
;
case
13
:
return
'合并通知'
break
;
case
20
:
return
'巡检报表通知'
break
;
case
30
:
return
'系统通知'
break
;
case
40
:
return
'工单通知'
break
;
case
99
:
return
'测试通知'
break
;
default
:
return
'测试通知'
break
;
}
}
else
{
return
'系统通知'
}
}
}
,
{
field
:
'typeName'
,
title
:
'通知类型'
,
align
:
'center'
,
sort
:
true
,
width
:
130
}
,
{
field
:
'way'
,
title
:
'通知方式'
,
align
:
'center'
,
sort
:
true
,
width
:
120
,
templet
:
function
(
d
)
{
...
...
Please
register
or
login
to post a comment