-
@@ -187,13 +188,13 @@
+
+
+ 预案编号: {{item.attribute.planNumber}}
+
+
+ {{item.attribute.planName}}
+
+
+ 对象名称:
+ {{item.attribute.objName}}
+
+
+ 单位性质:
+ {{item.attribute.unitNature}}
+
+
+ *预案级别:
+
+
+ Ⅴ级
+
+
+ Ⅲ级
+
+
+
+
+ *灾害类型:
+ {{item.attribute.disasterType}}
+
+
+ 防火级别:
+ {{item.attribute.fireproofingLevel}}
+
+
+ 防火管辖:
+ {{item.attribute.fireproofingAdminister}}
+
+
+ 灭火责任队站:
+ {{item.attribute.putOutFireAdminister}}
+
+
+ 制作人职务/姓名:
+
+ {{item.attribute.producer.duty}}
+ {{item.attribute.producer.name}}
+
+
+
+ 审核人职务/姓名:
+
+ {{item.attribute.verifier.duty}}
+ {{item.attribute.verifier.name}}
+
+
+
+ 审核时间:
+ {{item.attribute.auditTime}}
+
+
+
@@ -354,7 +417,8 @@
color: white;">
{{item.groupName}}
-
+
-
delete
+ delete
-
+
@@ -457,8 +523,8 @@
padding: 0 5px;"> {{ i.name }}
-
+
{{itemunit.name}}
@@ -478,17 +545,21 @@
{{element.surveyName}}
-
+
-
+
{{attack.head}}
-
-
@@ -513,23 +584,31 @@
-
-
+
+
-
-
@@ -541,79 +620,117 @@
{{attack.name}}
-
+
-
+
-
-
-
+
+
+
-
+
@@ -633,7 +750,6 @@
-
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 bd5273b..db23456 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
@@ -12,7 +12,7 @@ import { ActivatedRoute } from '@angular/router';
import { MatDialog, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
import { MatSnackBar, MatSnackBarConfig } from '@angular/material/snack-bar';
import Viewer from 'viewerjs';
-declare var $:any
+declare var $: any
@Component({
selector: 'app-create-plan-online-five',
templateUrl: './create-plan-online-five.component.html',
@@ -79,12 +79,12 @@ export class CreatePlanOnlineFiveComponent implements OnInit {
} else if (this.selectedItem == '单位概况') {
this.getAllBuildings()
console.log(this.planTemplateData)
- this.planTemplateData[1].attribute[0].attinf[0].value=this.unitData.usci
- this.planTemplateData[1].attribute[0].attinf[1].value=this.unitData.buildingTypes[0].name
- this.planTemplateData[1].attribute[0].attinf[2].value=this.unitData.contacts
- this.planTemplateData[1].attribute[0].attinf[3].value=this.unitData.phone
- this.planTemplateData[1].attribute[0].attinf[4].value=this.unitData.organizationName
- this.planTemplateData[1].attribute[0].attinf[5].value=this.unitData.address
+ this.planTemplateData[1].attribute[0].attinf[0].value = this.unitData.usci
+ this.planTemplateData[1].attribute[0].attinf[1].value = this.unitData.buildingTypes[0].name
+ this.planTemplateData[1].attribute[0].attinf[2].value = this.unitData.contacts
+ this.planTemplateData[1].attribute[0].attinf[3].value = this.unitData.phone
+ this.planTemplateData[1].attribute[0].attinf[4].value = this.unitData.organizationName
+ this.planTemplateData[1].attribute[0].attinf[5].value = this.unitData.address
} /* else if (this.selectedItem == '单位概况') {
//this.getAllBuildings()
} */ else if (this.selectedItem == '预案附件') {
@@ -168,7 +168,7 @@ export class CreatePlanOnlineFiveComponent implements OnInit {
objName: this.unitData.name,
unitNature: this.unitData.buildingTypes[0].name,
planLevel: '',
- disasterType: '0',
+ disasterType: '火灾',
fireproofingLevel: '',
fireproofingAdminister: this.unitData.organizationName,
putOutFireAdminister: '',
@@ -304,23 +304,23 @@ export class CreatePlanOnlineFiveComponent implements OnInit {
})
})
this.allBuildings = data
- if(this.planTemplateData[1].building==undefined){
- this.planTemplateData[1].building=[]
- for(var i=0;i {
+ // console.log('提交成功',data)
+ const config = new MatSnackBarConfig();
+ config.verticalPosition = 'top';
+ config.duration = 3000
+ this.snackBar.open('提交成功', '确定', config);
+ })
+ }
//返回顶部
goBack() {
document.querySelector('#mainbox').scrollIntoView(true)
}
//生成word
generatingDoc() {
- console.log(666,$(".mainbox"))
+ console.log(666, $(".mainbox"))
$(".mainbox").wordExport('word文档');
}
}