From 1efe1691719e7252a97d367507fd689091493fbf Mon Sep 17 00:00:00 2001
From: SHAOJIAHAO <55341701@qq.com>
Date: Sat, 20 Mar 2021 09:12:53 +0800
Subject: [PATCH] =?UTF-8?q?[=E6=96=B0=E5=A2=9E]=E5=AE=8C=E6=88=90=E7=BB=B4?=
=?UTF-8?q?=E6=8A=A4=E6=9B=B4=E6=96=B0=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/app/interface.ts | 3 +-
.../edit-plan-info.component.html | 1 +
.../edit-plan-info.component.scss | 2 +-
.../key-unit-management.component.ts | 1 +
src/app/pipes/boolean.pipe.ts | 15 +
.../maintain-up/maintain-up.component.html | 416 ++++++++----
.../maintain-up/maintain-up.component.scss | 398 +++++------
.../maintain-up/maintain-up.component.ts | 628 ++++++++++++++++--
.../plan-management/plan-management.module.ts | 4 +-
src/app/tabbar/tabbar.component.html | 13 +
src/app/tabbar/tabbar.component.scss | 9 +-
src/app/tabbar/tabbar.component.ts | 46 +-
12 files changed, 1135 insertions(+), 401 deletions(-)
diff --git a/src/app/interface.ts b/src/app/interface.ts
index dd3ef79..dceab4e 100644
--- a/src/app/interface.ts
+++ b/src/app/interface.ts
@@ -80,4 +80,5 @@ export enum PlanLevelEnum {
"编制级别6",
"编制级别7",
"中队"
-}
\ No newline at end of file
+}
+
diff --git a/src/app/key-unit/edit-plan-info/edit-plan-info.component.html b/src/app/key-unit/edit-plan-info/edit-plan-info.component.html
index 2db1b5a..245a209 100644
--- a/src/app/key-unit/edit-plan-info/edit-plan-info.component.html
+++ b/src/app/key-unit/edit-plan-info/edit-plan-info.component.html
@@ -8,6 +8,7 @@
+
diff --git a/src/app/key-unit/edit-plan-info/edit-plan-info.component.scss b/src/app/key-unit/edit-plan-info/edit-plan-info.component.scss
index 01a9116..e411244 100644
--- a/src/app/key-unit/edit-plan-info/edit-plan-info.component.scss
+++ b/src/app/key-unit/edit-plan-info/edit-plan-info.component.scss
@@ -14,4 +14,4 @@
z-index: 111;
color: red;
}
-}
\ No newline at end of file
+}
diff --git a/src/app/key-unit/key-unit-management/key-unit-management.component.ts b/src/app/key-unit/key-unit-management/key-unit-management.component.ts
index e0659d1..9ecac40 100644
--- a/src/app/key-unit/key-unit-management/key-unit-management.component.ts
+++ b/src/app/key-unit/key-unit-management/key-unit-management.component.ts
@@ -349,6 +349,7 @@ export class KeyUnitManagementComponent implements OnInit {
PageSize: this.pageSizeOptions[0],
Sort: this.integritySort ? 'integrityscore' : '',
SortType: this.integritySort || '',
+ IsNewData:true,
IntegrityScoreMin:this.integrityScoreMin/100||0,
IntegrityScoreMax:this.integrityScoreMax/100||1
}
diff --git a/src/app/pipes/boolean.pipe.ts b/src/app/pipes/boolean.pipe.ts
index 56b7930..78ae821 100644
--- a/src/app/pipes/boolean.pipe.ts
+++ b/src/app/pipes/boolean.pipe.ts
@@ -29,4 +29,19 @@ export class PlanLevel implements PipeTransform {
transform(value: number): string {
return PlanLevelEnum[value]
}
+}
+
+@Pipe({name: 'state'})
+export class state implements PipeTransform {
+ transform(value: number): string {
+ if(value == 3){
+ return '维护中'
+ }else if(value == 4){
+ return '维护通过审核'
+ }else if(value == 5){
+ return '维护驳回审核'
+ }else{
+ return '未维护'
+ }
+ }
}
\ No newline at end of file
diff --git a/src/app/plan-management/maintain-up/maintain-up.component.html b/src/app/plan-management/maintain-up/maintain-up.component.html
index b31cff8..d07abdd 100644
--- a/src/app/plan-management/maintain-up/maintain-up.component.html
+++ b/src/app/plan-management/maintain-up/maintain-up.component.html
@@ -1,88 +1,68 @@
-
-