|
|
|
@ -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 = '' |
|
|
|
|