diff --git a/src/app/plan-management/create-plan-online-five/create-plan-online-five.component.html b/src/app/plan-management/create-plan-online-five/create-plan-online-five.component.html index 0722c08..c4b1dad 100644 --- a/src/app/plan-management/create-plan-online-five/create-plan-online-five.component.html +++ b/src/app/plan-management/create-plan-online-five/create-plan-online-five.component.html @@ -11,6 +11,10 @@
+ + @@ -1136,6 +1140,141 @@
+ +
+ + +
+ +
+ + + + + + + + + + + + + + + + + + +
+ +
+ {{element.tableth[tablethi]}} + +
+ + +
+ {{itemtr.tabletd[tabletdi]}} +
+ + +
{{element.tableth||''}}
+ +
+
+
+ + + + + + + + +
+ {{itemthj.head}} + + {{itemthj.body}} +
+
+
+
+ + + +
+ +
+
+ delete + + +
+
+ + +
+
+
+ +
+
+
diff --git a/src/app/plan-management/create-plan-online-five/create-plan-online-five.component.scss b/src/app/plan-management/create-plan-online-five/create-plan-online-five.component.scss index 9a7c908..9fe0dc3 100644 --- a/src/app/plan-management/create-plan-online-five/create-plan-online-five.component.scss +++ b/src/app/plan-management/create-plan-online-five/create-plan-online-five.component.scss @@ -58,6 +58,11 @@ position: absolute; right: 24px; top: 7px; + input { + width: 100%; + height: 22px; + line-height: 22px; + border-radius: 3px;} button { margin-left: 10px; mat-icon { diff --git a/src/app/plan-management/create-plan-online-five/create-plan-online-five.component.ts b/src/app/plan-management/create-plan-online-five/create-plan-online-five.component.ts index 0abb294..cbf8c99 100644 --- a/src/app/plan-management/create-plan-online-five/create-plan-online-five.component.ts +++ b/src/app/plan-management/create-plan-online-five/create-plan-online-five.component.ts @@ -56,6 +56,7 @@ export class CreatePlanOnlineFiveComponent implements OnInit { planLevel: string//预案级别 blockyl = true + zaixianDr=false ngOnInit(): void { this.planLevel = this.route.snapshot.queryParams.planCategory if (this.route.snapshot.queryParams.pattern == 'false') { @@ -157,6 +158,9 @@ export class CreatePlanOnlineFiveComponent implements OnInit { data.items.forEach(element => { if (element.id == this.route.snapshot.queryParams.companyId) { this.unitData = element + if(this.unitData.buildingTypes[0].name=='高层建筑'&&this.planLevel=='5'){ + this.zaixianDr=true + } //console.log('单位列表信息', this.unitData) this.getTemplateData() } @@ -343,7 +347,8 @@ export class CreatePlanOnlineFiveComponent implements OnInit { //console.log(this.buildZong) let index = this.getArrayIndex(this.planTemplateData,'单位概况') this.planTemplateData[index].building.forEach(element => { - element.body[0].attinf[0].value = element.body[0].attinf[0].olddata = this.unitData.usci + if(element.body[0].completed){ + element.body[0].attinf[0].value = element.body[0].attinf[0].olddata = this.unitData.usci element.body[0].attinf[1].value = element.body[0].attinf[1].olddata = this.unitData.buildingTypes[0].name element.body[0].attinf[2].value = element.body[0].attinf[2].olddata = this.unitData.contacts element.body[0].attinf[3].value = element.body[0].attinf[3].olddata = this.unitData.phone @@ -360,6 +365,8 @@ export class CreatePlanOnlineFiveComponent implements OnInit { }); }); } + } + }); @@ -1480,6 +1487,10 @@ export class CreatePlanOnlineFiveComponent implements OnInit { showTu(key){ this.planTemplateData[key].new=true } + //上传 + upload() { + document.getElementById('up').click() + } }