Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
witiumCloud2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
WitCloud
witiumCloud2
Commits
beeb7f0c
Commit
beeb7f0c
authored
Oct 14, 2020
by
yating.lin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改主题模板管理:增加告警主题(3)、通知主题(4)
parent
12b009b1
Pipeline
#657
passed with stage
in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
topic-module-detail.component.html
...in/topic-module-detail/topic-module-detail.component.html
+4
-2
favicon.ico
src/favicon.ico
+0
-0
No files found.
src/app/main/topic-module-detail/topic-module-detail.component.html
View file @
beeb7f0c
...
...
@@ -23,7 +23,8 @@
<tr
*
ngFor=
"let one of nzTable.data, let i = index"
>
<td
nz-td
>
{{i + 1}}
</td>
<td
nz-td
class=
"canClick"
(
click
)="
toConfig
(
one
)"
>
{{one.topicName}}
</td>
<td
nz-td
>
{{one.topicType === 0 ? '推送主题' : one.topicType === 1 ? '订阅主题': '推送订阅主题'}}
</td>
<td
nz-td
>
{{one.topicType === 0 ? '推送主题' : one.topicType === 1 ? '订阅主题':
one.topicType === 2 ?'推送订阅主题' : one.topicType === 3 ? '告警主题' : '通知主题'}}
</td>
<td
nz-td
>
{{one.dataType === 0 ? 'json' : 'bin'}}
</td>
<td
nz-td
>
{{one.interval}}
</td>
<td
nz-td
>
...
...
@@ -41,7 +42,8 @@
<ng-template
#
con1
>
<app-search-item
isMust=
"true"
inModal=
"true"
[
label
]="'
topicName
'
|
translate
"
[(
value
)]="
req
.
topicName
"
></app-search-item>
<app-search-select
isMust=
"true"
inModal=
"true"
[
label
]="'
topicType
'
|
translate
"
[(
value
)]="
req
.
topicType
"
[
data
]="[{
a:
'推送主题',
b:
0
},
{
a:
'订阅主题',
b:
1
},
{
a:
'推送订阅主题',
b:
2
}]"
optL=
"a"
optV=
"b"
></app-search-select>
[
data
]="[{
a:
'推送主题',
b:
0
},
{
a:
'订阅主题',
b:
1
},
{
a:
'推送订阅主题',
b:
2
},
{
a:
'告警主题',
b:
3
},
{
a:
'通知主题',
b:
4
}]"
optL=
"a"
optV=
"b"
></app-search-select>
<app-search-select
isMust=
"true"
inModal=
"true"
[
label
]="'
dataType
'
|
translate
"
[(
value
)]="
req
.
dataType
"
[
data
]="[{
a:
'
json
',
b:
0
},
{
a:
'
bin
',
b:
1
}]"
optL=
"a"
optV=
"b"
></app-search-select>
<app-search-select
*
ngIf=
"!isUpdate"
isMust=
"true"
inModal=
"true"
[
label
]="'
probesModel
'
|
translate
"
[(
value
)]="
req
.
probesModelNo
"
...
...
src/favicon.ico
View replaced file @
12b009b1
View file @
beeb7f0c
5.3 KB
|
W:
|
H:
4.19 KB
|
W:
|
H:
2-up
Swipe
Onion skin
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment