From 6c2ca6a2dd2d4e58c130b29de0e6db959ab66eab Mon Sep 17 00:00:00 2001 From: chenjingyu <1148019379@qq.com> Date: Tue, 28 Dec 2021 09:28:18 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=96=B0=E5=A2=9E]=E4=B8=89=E5=9B=9B=E4=BA=94?= =?UTF-8?q?=E7=BA=A7=E9=A2=84=E6=A1=88=E5=8C=BA=E5=88=86=E5=8D=95=E4=BD=8D?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E5=96=9D=E9=A2=84=E6=A1=88=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plan-management/entry-plan/entry-plan.component.html | 6 +++--- src/app/plan-management/entry-plan/entry-plan.component.ts | 6 +++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/app/plan-management/entry-plan/entry-plan.component.html b/src/app/plan-management/entry-plan/entry-plan.component.html index 3a2ddc2..0326b12 100644 --- a/src/app/plan-management/entry-plan/entry-plan.component.html +++ b/src/app/plan-management/entry-plan/entry-plan.component.html @@ -125,15 +125,15 @@ - +
diff --git a/src/app/plan-management/entry-plan/entry-plan.component.ts b/src/app/plan-management/entry-plan/entry-plan.component.ts index 928646d..55d790c 100644 --- a/src/app/plan-management/entry-plan/entry-plan.component.ts +++ b/src/app/plan-management/entry-plan/entry-plan.component.ts @@ -42,7 +42,8 @@ export class EntryPlanComponent implements OnInit { pageSize:any; //每页条数 pageSizeOptions: number[] = [10] //设置每页条数 PageNumber:any; //第几页 - IsNewData=true //维护更新活新增 + IsNewData=true //预案维护更新或者新增 + IsNewCompanyData=true//单位维护更新或者新增 displayedColumns: string[] = ['state','unitname','integrity','level','jurisdictionsquadron', 'unittype','plantype', 'passstate','projectlevel','operation']; @@ -335,6 +336,7 @@ export class EntryPlanComponent implements OnInit { HasPlanComponents:this.haveyuan||'', PlanCategories:this.planCategory, IsNewData:this.IsNewData, + IsNewCompanyData:this.IsNewCompanyData } this.http.get("/api/Plans",{params:paramsdata}).subscribe((data:any)=>{ @@ -371,6 +373,8 @@ export class EntryPlanComponent implements OnInit { planCategory=[] //预案级别 //重置 reset(){ + this.IsNewCompanyData=true + this.IsNewData=true this.companyName = '' this.js = '' this.jsId = ''