Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
smart
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
wangqinghua
smart
Commits
b632bd1f
Commit
b632bd1f
authored
Apr 16, 2020
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug 修复
parent
cc47e30b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
app.constants.ts
src/main/webapp/app/app.constants.ts
+2
-2
warning-rule-look.component.html
.../modal/warning-rule-look/warning-rule-look.component.html
+5
-4
No files found.
src/main/webapp/app/app.constants.ts
View file @
b632bd1f
export
const
VERSION
=
process
.
env
.
VERSION
;
export
const
DEBUG_INFO_ENABLED
:
boolean
=
!!
process
.
env
.
DEBUG_INFO_ENABLED
;
export
const
SERVER_API_URL_COMS
=
'/coms'
;
export
const
SERVER_API_URL
=
'/zabbixBox'
;
export
const
SERVER_API_URL_COMS
=
'/coms
School
'
;
export
const
SERVER_API_URL
=
'/zabbixBox
School
'
;
export
const
SERVER_API_URL_SCHOOL
=
'/zabbixBoxSchool'
;
export
const
SERVER_API_URL_MONITOR
=
'/api'
;
export
const
BUILD_TIMESTAMP
=
process
.
env
.
BUILD_TIMESTAMP
;
...
...
src/main/webapp/app/early-warning/modal/warning-rule-look/warning-rule-look.component.html
View file @
b632bd1f
...
...
@@ -115,7 +115,7 @@
<nz-form-item
nzFlex
>
<nz-form-label
[
nzSpan
]="
8
"
nzFor=
"title"
>
监测时长
</nz-form-label>
<nz-form-control
[
nzSpan
]="
14
"
>
{{msgObj?.businessDays}}
{{msgObj?.businessDays}}
天
</nz-form-control>
</nz-form-item>
</div>
...
...
@@ -134,6 +134,7 @@
<ng-container
*
ngIf=
"msgObj?.businessWarningSymbol == '5'"
>
等于
</ng-container>
{{msgObj?.businessWarningValue || '-'}}
<br>
阈值:
<ng-container
*
ngIf=
"msgObj?.businessThresholdSymbol == '1'"
>
大于
</ng-container>
<ng-container
*
ngIf=
"msgObj?.businessThresholdSymbol == '2'"
>
大于等于
</ng-container>
<ng-container
*
ngIf=
"msgObj?.businessThresholdSymbol == '3'"
>
小于
</ng-container>
...
...
@@ -152,9 +153,9 @@
<nz-form-item
nzFlex
>
<nz-form-label
[
nzOffset
]="
4
"
[
nzSpan
]="
6
"
nzFor=
"title"
>
监测数据
</nz-form-label>
<nz-form-control
[
nzSpan
]="
14
"
>
<ng-container
*
ngIf=
"msgObj?.
level
== '1'"
>
运维事件
</ng-container>
<ng-container
*
ngIf=
"msgObj?.
level
== '2'"
>
巡检计划
</ng-container>
<ng-container
*
ngIf=
"msgObj?.
level
== '3'"
>
系统变更
</ng-container>
<ng-container
*
ngIf=
"msgObj?.
jobDataType
== '1'"
>
运维事件
</ng-container>
<ng-container
*
ngIf=
"msgObj?.
jobDataType
== '2'"
>
巡检计划
</ng-container>
<ng-container
*
ngIf=
"msgObj?.
jobDataType
== '3'"
>
系统变更
</ng-container>
</nz-form-control>
</nz-form-item>
</div>
...
...
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