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
1d08e6a6
Commit
1d08e6a6
authored
Mar 24, 2020
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug 修复
parent
6c763375
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
22 additions
and
18 deletions
+22
-18
warnging-rule.component.html
...-warning/modal/warnging-rule/warnging-rule.component.html
+3
-3
warnging-rule.component.ts
...ly-warning/modal/warnging-rule/warnging-rule.component.ts
+1
-1
warning-rule-look.component.html
.../modal/warning-rule-look/warning-rule-look.component.html
+7
-7
inspect-plan-config.component.html
...rk/inspect-plan-config/inspect-plan-config.component.html
+3
-1
inspect-plan-config.component.ts
...work/inspect-plan-config/inspect-plan-config.component.ts
+2
-2
inspect-plan.component.html
.../webapp/app/work/inspect-plan/inspect-plan.component.html
+3
-1
inspect-plan.component.ts
...in/webapp/app/work/inspect-plan/inspect-plan.component.ts
+3
-3
No files found.
src/main/webapp/app/early-warning/modal/warnging-rule/warnging-rule.component.html
View file @
1d08e6a6
...
@@ -156,7 +156,7 @@
...
@@ -156,7 +156,7 @@
name=
"resourceWarningTims"
name=
"resourceWarningTims"
type=
"text"
type=
"text"
nz-input
nz-input
formControlName=
"
resourceWarningTims
"
>
formControlName=
"
businessWarningValue
"
>
</nz-form-control>
</nz-form-control>
</nz-form-item>
</nz-form-item>
<nz-form-item
nzFlex
>
<nz-form-item
nzFlex
>
...
@@ -176,7 +176,7 @@
...
@@ -176,7 +176,7 @@
name=
"businessThresholdValue"
name=
"businessThresholdValue"
type=
"text"
type=
"text"
nz-input
nz-input
formControlName=
"
resourceWarningTims
"
>
formControlName=
"
businessThresholdValue
"
>
</nz-form-control>
</nz-form-control>
</nz-form-item>
</nz-form-item>
</ng-container>
</ng-container>
...
@@ -209,7 +209,7 @@
...
@@ -209,7 +209,7 @@
<input
style=
"width: 100px;"
placeholder=
"未处理时长"
name=
"jobUntreatedDays"
<input
style=
"width: 100px;"
placeholder=
"未处理时长"
name=
"jobUntreatedDays"
type=
"text"
type=
"text"
nz-input
nz-input
formControlName=
"
resourceWarningTim
s"
>
formControlName=
"
jobUntreatedDay
s"
>
</nz-form-control>
</nz-form-control>
</nz-form-item>
</nz-form-item>
</ng-container>
</ng-container>
...
...
src/main/webapp/app/early-warning/modal/warnging-rule/warnging-rule.component.ts
View file @
1d08e6a6
...
@@ -42,7 +42,7 @@ export class WarngingRuleComponent implements OnInit {
...
@@ -42,7 +42,7 @@ export class WarngingRuleComponent implements OnInit {
initForm
()
{
initForm
()
{
this
.
validateForm
=
this
.
fb
.
group
({
this
.
validateForm
=
this
.
fb
.
group
({
name
:
[
null
,
[
Validators
.
required
]],
name
:
[
null
,
[
Validators
.
required
]],
type
:
[
'1'
],
level
:
[
null
],
type
:
[
'1'
],
level
:
[
'1'
],
cycle
:
[
'1'
],
content
:
[
null
],
cycle
:
[
'1'
],
content
:
[
null
],
fileId
:
[
null
],
resourceGroupType
:
[
'1'
],
fileId
:
[
null
],
resourceGroupType
:
[
'1'
],
resourceGroupValue
:
[
null
],
resourceWarningLevel
:
[
'1'
],
resourceGroupValue
:
[
null
],
resourceWarningLevel
:
[
'1'
],
...
...
src/main/webapp/app/early-warning/modal/warning-rule-look/warning-rule-look.component.html
View file @
1d08e6a6
...
@@ -41,10 +41,10 @@
...
@@ -41,10 +41,10 @@
<nz-form-item
nzFlex
>
<nz-form-item
nzFlex
>
<nz-form-label
[
nzSpan
]="
8
"
nzFor=
"serialnoA"
>
预警周期
</nz-form-label>
<nz-form-label
[
nzSpan
]="
8
"
nzFor=
"serialnoA"
>
预警周期
</nz-form-label>
<nz-form-control
[
nzSpan
]="
14
"
>
<nz-form-control
[
nzSpan
]="
14
"
>
<ng-container
*
ngIf=
"msgObj?.
level == 1
"
>
每天
</ng-container>
<ng-container
*
ngIf=
"msgObj?.
cycle == '1'
"
>
每天
</ng-container>
<ng-container
*
ngIf=
"msgObj?.
level == 2
"
>
每周
</ng-container>
<ng-container
*
ngIf=
"msgObj?.
cycle == '2'
"
>
每周
</ng-container>
<ng-container
*
ngIf=
"msgObj?.
level == 3
"
>
每月
</ng-container>
<ng-container
*
ngIf=
"msgObj?.
cycle == '3'
"
>
每月
</ng-container>
<ng-container
*
ngIf=
"msgObj?.
level == 4
"
>
每年
</ng-container>
<ng-container
*
ngIf=
"msgObj?.
cycle == '4'
"
>
每年
</ng-container>
</nz-form-control>
</nz-form-control>
</nz-form-item>
</nz-form-item>
</div>
</div>
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
<nz-form-label
[
nzOffset
]="
4
"
[
nzSpan
]="
6
"
nzFor=
"secondLevelType"
>
<nz-form-label
[
nzOffset
]="
4
"
[
nzSpan
]="
6
"
nzFor=
"secondLevelType"
>
监测对象
监测对象
</nz-form-label>
</nz-form-label>
<nz-form-control
[
nzSpan
]="
4
"
>
<nz-form-control
[
nzSpan
]="
1
4
"
>
<span
*
ngIf=
"msgObj?.resourceGroupType == '1'"
>
按资源分组
</span>
<span
*
ngIf=
"msgObj?.resourceGroupType == '1'"
>
按资源分组
</span>
<span
*
ngIf=
"msgObj?.resourceGroupType == '2'"
>
按设备类型分组
</span>
<span
*
ngIf=
"msgObj?.resourceGroupType == '2'"
>
按设备类型分组
</span>
</nz-form-control>
</nz-form-control>
...
@@ -132,14 +132,14 @@
...
@@ -132,14 +132,14 @@
<ng-container
*
ngIf=
"msgObj?.businessWarningSymbol == '3'"
>
小于
</ng-container>
<ng-container
*
ngIf=
"msgObj?.businessWarningSymbol == '3'"
>
小于
</ng-container>
<ng-container
*
ngIf=
"msgObj?.businessWarningSymbol == '4'"
>
大于等于
</ng-container>
<ng-container
*
ngIf=
"msgObj?.businessWarningSymbol == '4'"
>
大于等于
</ng-container>
<ng-container
*
ngIf=
"msgObj?.businessWarningSymbol == '5'"
>
等于
</ng-container>
<ng-container
*
ngIf=
"msgObj?.businessWarningSymbol == '5'"
>
等于
</ng-container>
{{msgObj?.businessWarningValue}}
{{msgObj?.businessWarningValue
|| '-'
}}
<br>
<br>
<ng-container
*
ngIf=
"msgObj?.businessThresholdSymbol == '1'"
>
大于
</ng-container>
<ng-container
*
ngIf=
"msgObj?.businessThresholdSymbol == '1'"
>
大于
</ng-container>
<ng-container
*
ngIf=
"msgObj?.businessThresholdSymbol == '2'"
>
大于等于
</ng-container>
<ng-container
*
ngIf=
"msgObj?.businessThresholdSymbol == '2'"
>
大于等于
</ng-container>
<ng-container
*
ngIf=
"msgObj?.businessThresholdSymbol == '3'"
>
小于
</ng-container>
<ng-container
*
ngIf=
"msgObj?.businessThresholdSymbol == '3'"
>
小于
</ng-container>
<ng-container
*
ngIf=
"msgObj?.businessThresholdSymbol == '4'"
>
大于等于
</ng-container>
<ng-container
*
ngIf=
"msgObj?.businessThresholdSymbol == '4'"
>
大于等于
</ng-container>
<ng-container
*
ngIf=
"msgObj?.businessThresholdSymbol == '5'"
>
等于
</ng-container>
<ng-container
*
ngIf=
"msgObj?.businessThresholdSymbol == '5'"
>
等于
</ng-container>
{{msgObj?.businessThresholdValue}}
{{msgObj?.businessThresholdValue
|| '-'
}}
</nz-form-control>
</nz-form-control>
</nz-form-item>
</nz-form-item>
</div>
</div>
...
...
src/main/webapp/app/work/inspect-plan-config/inspect-plan-config.component.html
View file @
1d08e6a6
...
@@ -63,7 +63,9 @@
...
@@ -63,7 +63,9 @@
</div>
</div>
<nz-table
#
nzTable
[
nzData
]="
page
.
list
"
[
nzLoading
]="
page
.
isLoading
"
>
<nz-table
#
nzTable
[
nzData
]="
page
.
list
"
[
nzTotal
]="
page
.
totalNum
"
[
nzFrontPagination
]="
false
"
[
nzPageIndex
]="
page
.
pageNum
"
[
nzPageSize
]="
page
.
pageCount
"
(
nzPageIndexChange
)="
change
($
event
)"
[
nzLoading
]="
page
.
isLoading
"
>
<thead>
<thead>
<tr>
<tr>
<th
nzWidth=
"20%"
>
计划名称
</th>
<th
nzWidth=
"20%"
>
计划名称
</th>
...
...
src/main/webapp/app/work/inspect-plan-config/inspect-plan-config.component.ts
View file @
1d08e6a6
...
@@ -31,7 +31,7 @@ export class InspectPlanConfigComponent implements OnInit {
...
@@ -31,7 +31,7 @@ export class InspectPlanConfigComponent implements OnInit {
page
=
{
page
=
{
list
:
[],
list
:
[],
isLoading
:
false
,
isLoading
:
false
,
pageCount
:
10
0000
,
pageCount
:
10
,
pageNum
:
1
,
pageNum
:
1
,
totalNum
:
null
totalNum
:
null
};
};
...
@@ -70,7 +70,7 @@ export class InspectPlanConfigComponent implements OnInit {
...
@@ -70,7 +70,7 @@ export class InspectPlanConfigComponent implements OnInit {
(
res
)
=>
{
(
res
)
=>
{
if
(
res
.
errCode
==
10000
)
{
if
(
res
.
errCode
==
10000
)
{
this
.
page
.
list
=
res
.
data
.
data
;
this
.
page
.
list
=
res
.
data
.
data
;
this
.
page
.
totalNum
=
this
.
page
.
list
.
length
;
this
.
page
.
totalNum
=
res
.
data
.
totalNum
;
}
}
this
.
page
.
isLoading
=
false
;
this
.
page
.
isLoading
=
false
;
}
}
...
...
src/main/webapp/app/work/inspect-plan/inspect-plan.component.html
View file @
1d08e6a6
...
@@ -46,7 +46,9 @@
...
@@ -46,7 +46,9 @@
</div>
</div>
</div>
</div>
<nz-table
#
nzTable
[
nzData
]="
planList
"
[
nzLoading
]="
isLoading
"
>
<nz-table
#
nzTable
[
nzData
]="
planList
"
[
nzTotal
]="
totalNum
"
[
nzFrontPagination
]="
false
"
[
nzPageIndex
]="
pageNum
"
[
nzPageSize
]="
pageCount
"
(
nzPageIndexChange
)="
change
($
event
)"
[
nzLoading
]="
isLoading
"
>
<thead>
<thead>
<tr>
<tr>
<th
nzWidth=
"20%"
>
计划名称
</th>
<th
nzWidth=
"20%"
>
计划名称
</th>
...
...
src/main/webapp/app/work/inspect-plan/inspect-plan.component.ts
View file @
1d08e6a6
...
@@ -23,7 +23,7 @@ export class InspectPlanComponent implements OnInit {
...
@@ -23,7 +23,7 @@ export class InspectPlanComponent implements OnInit {
timeEnd
;
timeEnd
;
isLoading
=
false
;
isLoading
=
false
;
pageCount
=
10
0000
;
pageCount
=
10
;
pageNum
=
1
;
pageNum
=
1
;
totalNum
;
totalNum
;
...
@@ -46,7 +46,7 @@ export class InspectPlanComponent implements OnInit {
...
@@ -46,7 +46,7 @@ export class InspectPlanComponent implements OnInit {
};
};
constructor
(
private
workSer
:
WorkService
,
private
message
:
NzMessageService
,
constructor
(
private
workSer
:
WorkService
,
private
message
:
NzMessageService
,
private
datePipe
:
DatePipe
,
private
datePipe
:
DatePipe
,
private
commonSer
:
CommonService
,
private
commonSer
:
CommonService
,
private
modalSer
:
NzModalService
)
{
private
modalSer
:
NzModalService
)
{
}
}
...
@@ -83,7 +83,7 @@ export class InspectPlanComponent implements OnInit {
...
@@ -83,7 +83,7 @@ export class InspectPlanComponent implements OnInit {
(
res
)
=>
{
(
res
)
=>
{
if
(
res
.
errCode
==
10000
)
{
if
(
res
.
errCode
==
10000
)
{
this
.
planList
=
res
.
data
.
data
;
this
.
planList
=
res
.
data
.
data
;
this
.
totalNum
=
this
.
planList
.
length
;
this
.
totalNum
=
res
.
data
.
totalNum
;
}
}
this
.
isLoading
=
false
;
this
.
isLoading
=
false
;
}
}
...
...
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