@ -266,7 +266,6 @@
< div class = "mainbox" id = "mainbox" * ngIf = "!iftrue" >
< div class = "mainbox" id = "mainbox" * ngIf = "!iftrue" >
<!-- 模板页面 -->
<!-- 模板页面 -->
< div * ngFor = "let item of planTemplateData;let key = index" >
< div * ngFor = "let item of planTemplateData;let key = index" >
< div * ngIf = "(selectedItem == item.groupName || pattern == 'look')&&item.groupName!='新建'" >
< div * ngIf = "(selectedItem == item.groupName || pattern == 'look')&&item.groupName!='新建'" >
@ -435,12 +434,11 @@
< / div >
< / div >
< / div >
< / div >
< div class = "centerBox"
< div class = "centerBox"
*ngIf="item.groupName!='单位概况'& & item.groupName!='交通水源'& & item.groupName!='重点图示'& & item.groupName!='预案附件'& & item.groupName!='特别警示'& & item.groupName!='处置要点'& & item.groupName!='封面'& & item.new==undefined">
*ngIf="item.groupName!='单位概况'& & item.groupName!='交通水源'& & item.groupName!='重点图示'& & item.groupName!='预案附件'& & item.groupName!='封面'">
< div class = "titleItem" style = "width: 100 % ;
< div class = "titleItem" >
background-color: #2196F3;
< span * ngIf = "item.new==undefined" > {{item.groupName}}< / span >
text-align: center;
< input type = "text" placeholder = "请输入内容" [ ( ngModel ) ] = " item . headName " * ngIf = "item.new!=undefined" >
color: white;">
< img src = "../../../assets/images/add.png" ( click ) = ' addAttribute ( item . groupName ) ' * ngIf = "pattern == 'edit'&&item.new!=undefined" >
< span > {{item.groupName}}< / span >
< / div >
< / div >
< div class = "boxBody" * ngFor = "let element of item.attribute;let i=index" style = "height: 100 % ;
< div class = "boxBody" * ngFor = "let element of item.attribute;let i=index" style = "height: 100 % ;
@ -448,18 +446,19 @@
display: flex;
display: flex;
flex-direction: column;">
flex-direction: column;">
< div class = "boxBodyHead" style = "width: 100 % ;
< div class = "boxBodyHead" style = "width: 100 % ;
height: 40pt ;
height: 40px ;
background-color: #FFFBE8;
background-color: #FFFBE8;
text-align: center;">
text-align: center;">
< span style = "font-size: 16px ;
< span style = "font-size: 16px ;
text-align: center;
text-align: center;
height: 40pt ;
height: 40px ;
line-height: 40pt ;
line-height: 40px ;
color: #b99a00;">{{element.headName}}< / span >
color: #b99a00;">{{element.headName}}< / span >
< img src = "../../../assets/images/deleteblue.png" * ngIf = "element.level==1&&pattern == 'edit'"
< img src = "../../../assets/images/delyello.png" * ngIf = "pattern == 'edit'" ( click ) = ' delTd ( key , i ) ' >
(click)='delTd(key,i)'>
< img src = "../../../assets/images/downyello.png" * ngIf = "item.new!=undefined&&i<item.attribute.length-1" ( click ) = ' downPai ( key , i ) ' >
< img src = "../../../assets/images/add.png" * ngIf = "element.level==1&&pattern == 'edit'"
< img src = "../../../assets/images/uoyello.png" * ngIf = "item.new!=undefined&&i>0" ( click ) = ' upPai ( key , i ) ' >
(click)='addTd(key,i)'>
< img src = "../../../assets/images/updateyello.png" * ngIf = "(element.level==1||element.level==2)&&pattern == 'edit'" ( click ) = ' updataHl ( key , i ) ' >
< img src = "../../../assets/images/addyello.png" * ngIf = "element.level==1&&pattern == 'edit'" ( click ) = ' addTd ( key , i ) ' >
< / div >
< / div >
< div class = "body" >
< div class = "body" >
<!-- 表格类型 -->
<!-- 表格类型 -->
@ -483,14 +482,16 @@
< / th >
< / th >
< / thead >
< / thead >
< tbody * ngIf = "pattern == 'edit'" >
< tbody * ngIf = "pattern == 'edit'" >
< tr * ngFor = "let itemtr of element.tabletr" >
< tr * ngFor = "let itemtr of element.tabletr;let tri=index " >
< td
< td
*ngFor="let itemtd of itemtr.tabletd;let tabletdi=index;TrackBy:trackByFn">
*ngFor="let itemtd of itemtr.tabletd;let tabletdi=index;TrackBy:trackByFn">
< input type = "text" placeholder = "请输入"
< input type = "text" placeholder = "请输入"
[(ngModel)]="itemtr.tabletd[tabletdi]">
[(ngModel)]="itemtr.tabletd[tabletdi]">
< / td >
< / td >
< img src = "../../../assets/images/deletered.png" ( click ) = ' delTd ( key , i , tri ) ' >
< / tr >
< / tr >
< / tbody >
< / tbody >
< tbody * ngIf = "pattern == 'look'" >
< tbody * ngIf = "pattern == 'look'" >
< tr * ngFor = "let itemtr of element.tabletr" >
< tr * ngFor = "let itemtr of element.tabletr" >
@ -568,7 +569,7 @@
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< div class = "centerBox" * ngIf = "item.new!=undefined" >
<!-- <div class="centerBox" *ngIf="item.new!=undefined" >
< div class = "titleItem" >
< div class = "titleItem" >
< input type = "text" placeholder = "请输入内容" [ ( ngModel ) ] = " item . headName " >
< input type = "text" placeholder = "请输入内容" [ ( ngModel ) ] = " item . headName " >
< img src = "../../../assets/images/add.png" ( click ) = ' addAttribute ( item . groupName , key ) ' * ngIf = "pattern == 'edit'" >
< img src = "../../../assets/images/add.png" ( click ) = ' addAttribute ( item . groupName , key ) ' * ngIf = "pattern == 'edit'" >
@ -577,13 +578,13 @@
< div class = "attackLeft" [ style . width ] = " pattern = = ' edit ' ? ' 70 % ' : ' 100 % ' " >
< div class = "attackLeft" [ style . width ] = " pattern = = ' edit ' ? ' 70 % ' : ' 100 % ' " >
< div class = "attackleftHead" >
< div class = "attackleftHead" >
< input type = "text" placeholder = "请输入内容" [ ( ngModel ) ] = " element . headName " >
< input type = "text" placeholder = "请输入内容" [ ( ngModel ) ] = " element . headName " >
< img src = "../../../assets/images/deleteblue .png" * ngIf = "element.level==1&&pattern == 'edit'"
< img src = "../../../assets/images/delyello .png" * ngIf = "element.level==1&&pattern == 'edit'"
(click)='delTd(key,attributei)'>
(click)='delTd(key,attributei)'>
< img src = "../../../assets/images/add.png" * ngIf = "element.level==1&&pattern == 'edit'"
< img src = "../../../assets/images/addyello .png" * ngIf = "element.level==1&&pattern == 'edit'"
(click)='addTd(key,attributei)' style="margin-left: 6px;">
(click)='addTd(key,attributei)' style="margin-left: 6px;">
< / div >
< / div >
< div class = "attackleftTable" >
< div class = "attackleftTable" >
<!-- 表格类型 -->
< table * ngIf = "element.level==1" >
< table * ngIf = "element.level==1" >
< thead >
< thead >
< th * ngFor = "let itemth of element.tableth;let tablethi=index;TrackBy:trackByFn" > < input type = "text"
< th * ngFor = "let itemth of element.tableth;let tablethi=index;TrackBy:trackByFn" > < input type = "text"
@ -600,9 +601,9 @@
< / tr >
< / tr >
< / tbody >
< / tbody >
< / table >
< / table >
<!-- 文本区域 -->
< textarea * ngIf = "element.level==3" [ ( ngModel ) ] = " element . tableth " > < / textarea >
< textarea * ngIf = "element.level==3" [ ( ngModel ) ] = " element . tableth " > < / textarea >
<!-- 输入框 -->
< div class = "inputtext" * ngIf = "element.level==2" >
< div class = "inputtext" * ngIf = "element.level==2" >
< div class = "inputj" style = "height: 100%;width: 100%;"
< div class = "inputj" style = "height: 100%;width: 100%;"
*ngFor="let itemth of element.tableth;let tablethi=index;TrackBy:trackByFn">
*ngFor="let itemth of element.tableth;let tablethi=index;TrackBy:trackByFn">
@ -614,7 +615,7 @@
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
<!-- 图片 -->
< div style = "height: 100%;width: 100%;" * ngIf = "element.level==4" >
< div style = "height: 100%;width: 100%;" * ngIf = "element.level==4" >
< div class = "keyImg" >
< div class = "keyImg" >
< div style = "border: 1px solid #e8e9e9;width: 100%;" class = "keyImgItem" >
< div style = "border: 1px solid #e8e9e9;width: 100%;" class = "keyImgItem" >
@ -656,15 +657,15 @@
< / div >
< / div >
< / div >
< / div >
< / div >
< / div > -->
< div class = "keyImg"
< div class = "keyImg"
*ngIf="item.groupName == '重点图示' || item.groupName == '交通水源' || item.groupName == '预案附件'">
*ngIf="item.groupName == '重点图示' || item.groupName == '交通水源' || item.groupName == '预案附件'">
< div class = "titleItem" style = "width: 100 % ;
<!-- <div class="titleItem" style="width: 100% ;
background-color: #2196F3;
background-color: #2196F3;
text-align: center;
text-align: center;
color: white;">
color: white;">
< span > {{item.groupName}}< / span >
< span > {{item.groupName}}< / span >
< / div >
< / div > -->
< div style = "border: 1px solid #e8e9e9;width: 100%;" class = "keyImgItem"
< div style = "border: 1px solid #e8e9e9;width: 100%;" class = "keyImgItem"
*ngFor="let i of item.attribute;let key = index">
*ngFor="let i of item.attribute;let key = index">
< div class = "keyImgTitle" style = "height: 30px ;
< div class = "keyImgTitle" style = "height: 30px ;
@ -708,79 +709,7 @@
< / button >
< / button >
< / div >
< / div >
< / div >
< / div >
< div class = "disposalPoint" * ngIf = "item.groupName == '处置要点'" >
< div class = "unit" * ngIf = "item.groupName == '单位概况'" >
< div class = "titleItem" style = "width: 100 % ;
background-color: #2196F3;
text-align: center;
color: white;">
< span > {{item.groupName}}< / span >
< / div >
< div class = "disposalPointItem" * ngFor = "let i of item.attribute;let key = index" >
< div class = "disposalPointTitle" >
< input * ngIf = "pattern == 'edit'" type = "text" placeholder = "请输入分组名称" [ ( ngModel ) ] = " i . name " >
< div * ngIf = "pattern == 'look'" style = "
width: 100%;
height: 30px;
background: #e8f4fe;
color: #2196f3;
border: 0;
box-sizing: border-box;
padding: 0 5px;"> {{ i.name }} < / div >
< mat-icon class = "deleteItem" * ngIf = "key != 0 && pattern == 'edit'" ( click ) = " deleteItem ( item , key ) " > delete
< / mat-icon >
< / div >
< div class = "disposalPointTextarea" >
< textarea * ngIf = "pattern == 'edit'" [ ( ngModel ) ] = " i . cantent " style = "resize: none;"
placeholder="请填写自定义内容" name="" id="" cols="30" rows="10">< / textarea >
< div style = "width: 100 % ; height: auto ; vertical-align: top ;
box-sizing: border-box;
padding: 5px;" *ngIf="pattern == 'look'">
{{i.cantent}}
< / div >
< / div >
< / div >
<!-- 增加分组 -->
< div class = "addDisposalPointItem" * ngIf = "pattern == 'edit'" >
< button mat-flat-button color = "primary" ( click ) = " addDisposalPointItem ( item ) " >
增加分组
< / button >
< / div >
< / div >
< div class = "disposalPoint" * ngIf = "item.groupName == '特别警示'" >
< div class = "titleItem" style = "width: 100 % ;
background-color: #2196F3;
text-align: center;
color: white;">
< span > {{item.groupName}}< / span >
< / div >
< div class = "disposalPointItem" * ngFor = "let i of item.attribute;let key = index" >
< div class = "disposalPointTitle" >
< input * ngIf = "pattern == 'edit'" type = "text" placeholder = "请输入分组名称" [ ( ngModel ) ] = " i . name " >
< div * ngIf = "pattern == 'look'" style = "
width: 100%;
height: 30px;
background: #e8f4fe;
color: #2196f3;
border: 0;
box-sizing: border-box;
padding: 0 5px;"> {{ i.name }} < / div >
< / div >
< div class = "disposalPointTextarea" >
< textarea * ngIf = "pattern == 'edit'" [ ( ngModel ) ] = " i . cantent " style = "resize: none;"
placeholder="请填写自定义内容" name="" id="" cols="30" rows="10">< / textarea >
< div style = "width: 100 % ; height: auto ; vertical-align: top ;
box-sizing: border-box;
padding: 5px;" *ngIf="pattern == 'look'">
{{i.cantent}}
< / div >
< / div >
< / div >
< / div >
< div class = "unit" * ngIf = "item.groupName == '单位概况'" style = "width: 100 % ;
height: 100%;
display: flex;
flex-direction: column;
overflow-y: auto;">
< div * ngFor = "let itemunit of item.building;let uniti=index" > <!-- style="border - bottom: 3px solid #999;" -->
< div * ngFor = "let itemunit of item.building;let uniti=index" > <!-- style="border - bottom: 3px solid #999;" -->
< div * ngIf = "itemunit.completed" >
< div * ngIf = "itemunit.completed" >
< div class = "unithead" style = " height: 40px ;
< div class = "unithead" style = " height: 40px ;
@ -809,8 +738,7 @@
color: #ffffff;">{{element.surveyName}}< / span >
color: #ffffff;">{{element.surveyName}}< / span >
<!-- <img src="../../../assets/images/deletered.png" > -->
<!-- <img src="../../../assets/images/deletered.png" > -->
< img src = "../../../assets/images/addbai.png"
< img src = "../../../assets/images/addbai.png"
(click)='unitadd(element.surveyName,uniti,1)'
(click)='unitadd(element.surveyName,uniti,elei)' *ngIf="element.surveyName!='进攻通道'">
*ngIf="pattern == 'edit'& & (element.surveyName=='功能分区'||element.surveyName=='重点部位')">
< / div >
< / div >
< div class = "body" >
< div class = "body" >
<!-- 进攻通道 -->
<!-- 进攻通道 -->
@ -875,14 +803,15 @@
< / div >
< / div >
<!-- 单位和建筑信息 -->
<!-- 单位和建筑信息 -->
< div class = "building" * ngIf = "element.surveyName=='单位基本信息'" >
< div class = "building" * ngIf = "element.surveyName=='单位基本信息'||element.surveyName=='建筑信息' " >
< div * ngFor = "let info of element.attinf" >
< div * ngFor = "let info of element.attinf;let infoi=index " >
< div * ngIf = "info.completed" class = "onetext" >
< div * ngIf = "info.completed" class = "onetext" >
< input type = "text" placeholder = "请输入内容" style = "width: 30%;background-color: #e8e9e 9;text-align: center;" [ ( ngModel ) ] = " info . propertyName " readonly * ngIf = "pattern == 'edit'" >
< input type = "text" placeholder = "请输入内容" style = "width: 30%;background-color: #F9F9F 9;text-align: center;" [ ( ngModel ) ] = " info . propertyName " * ngIf = "pattern == 'edit'" >
< input type = "text" placeholder = "请输入内容" style = "width: 40%;background-color: #FFFFFF;" [ ( ngModel ) ] = " info . value " * ngIf = "pattern == 'edit'" >
< input type = "text" placeholder = "请输入内容" style = "width: 40%;background-color: #FFFFFF;" [ ( ngModel ) ] = " info . value " * ngIf = "pattern == 'edit'" >
<!-- <input type="text" style="width: 30%;background - color: #FFFFFF;color: #999;" [(ngModel)]="info.olddata" *ngIf="pattern == 'edit'&&oldData" readonly> -->
<!-- <input type="text" style="width: 30%;background - color: #FFFFFF;color: #999;" [(ngModel)]="info.olddata" *ngIf="pattern == 'edit'&&oldData" readonly> -->
<!-- <span style="width: 30%;background - color: #FFFFFF;color: #999;" *ngIf="pattern == 'edit'&&oldData">{{info.olddata||'无原数据'}}</span> -->
<!-- <span style="width: 30%;background - color: #FFFFFF;color: #999;" *ngIf="pattern == 'edit'&&oldData">{{info.olddata||'无原数据'}}</span> -->
< input type = "text" style = "width: 30%;background-color: #FFFFFF;color: #999;" * ngIf = "pattern == 'edit'&&oldData" readonly [ value ] = " info . olddata | | ' 无原数据 ' " >
< input type = "text" style = "width: 27%;background-color: #FFFFFF;color: #999;" * ngIf = "pattern == 'edit'&&oldData" [ value ] = " info . olddata | | ' 无原数据 ' " readonly >
< img style = "float: right;" src = "../../../assets/images/deletered.png" * ngIf = "pattern == 'edit'&&info.zdy" ( click ) = ' unitDel ( element . surveyName , uniti , infoi ) ' >
< table * ngIf = "pattern == 'look'" style = "width: 100%;border-collapse: collapse;" >
< table * ngIf = "pattern == 'look'" style = "width: 100%;border-collapse: collapse;" >
< tr >
< tr >
< th style = "border: 1px solid # 999 ;
< th style = "border: 1px solid # 999 ;
@ -896,33 +825,9 @@
font-size: 16px;
font-size: 16px;
text-align: center;">{{info.value}}< / td >
text-align: center;">{{info.value}}< / td >
< / tr >
< / tr >
< / table >
< / table >
< / div >
< / div >
< / div >
< div class = "building" * ngIf = "element.surveyName=='建筑信息'" >
< div * ngFor = "let info of element.attinf" >
< div * ngIf = "info.completed" class = "onetext" >
< input type = "text" placeholder = "请输入内容" style = "width: 30%;background-color: #e8e9e9;text-align: center;" [ ( ngModel ) ] = " info . propertyName " readonly * ngIf = "pattern == 'edit'" >
< input type = "text" placeholder = "请输入内容" style = "width: 40%;background-color: #FFFFFF;" [ ( ngModel ) ] = " info . propertyValue " * ngIf = "pattern == 'edit'" >
<!-- <input type="text" style="width: 30%;background - color: #FFFFFF;color: #999;" [(ngModel)]="info.olddata" *ngIf="pattern == 'edit'&&oldData" readonly> -->
<!-- <span style="width: 30%;background - color: #FFFFFF;color: #999;" *ngIf="pattern == 'edit'&&oldData">{{info.olddata||'无原数据'}}</span> -->
< input type = "text" style = "width: 30%;background-color: #FFFFFF;color: #999;" * ngIf = "pattern == 'edit'&&oldData" readonly [ value ] = " info . olddata | | ' 无原数据 ' " >
< table * ngIf = "pattern == 'look'" style = "width: 100%;border-collapse: collapse;" >
< tr >
< th style = "border: 1px solid # 999 ;
height: 40px;
width: 40%;
font-size: 16px;
text-align: center;">{{info.propertyName}}< / th >
< td style = "border: 1px solid # 999 ;
height: 40px;
width: 60%;
font-size: 16px;
text-align: center;">{{info.propertyValue}}< / td >
< / tr >
< / table >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
<!-- 消防设施 -->
<!-- 消防设施 -->
@ -933,17 +838,19 @@
width: 100%;
width: 100%;
background-color: #FFFBE8;
background-color: #FFFBE8;
text-align: center;">
text-align: center;">
< span style = "font-size: 16px ;
< input type = "text" placeholder = "请输入内容" [ ( ngModel ) ] = " attack . name " >
text-align: center;
< img src = "../../../assets/images/delyello.png" * ngIf = "pattern == 'edit'&&attack.zdy!=undefined"
height: 40px;
(click)='unitDel(element.surveyName,uniti,attacki)'>
line-height: 40px;
< img src = "../../../assets/images/addyello.png"
color: #b99a00;">{{attack.name}}< / span >
*ngIf="pattern == 'edit'& & attack.zdy!=undefined"
(click)='unitadd(element.surveyName,uniti,attacki,0)'>
< / div >
< / div >
< div class = "fileBody" >
< div class = "fileBody" >
< div * ngFor = "let info of attack.facilityItems" >
< div * ngFor = "let info of attack.facilityItems;let filenum=index " >
< div * ngIf = "info.completed" class = "onetext" >
< div * ngIf = "info.completed" class = "onetext" >
< input type = "text" placeholder = "请输入内容" style = "width: 40%;background-color: #e8e9e9;text-align: center;" [ ( ngModel ) ] = " info . name " readonly * ngIf = "pattern == 'edit'" >
< input type = "text" placeholder = "请输入内容" style = "width: 40%;background-color: #F9F9F9;text-align: center;" [ ( ngModel ) ] = " info . name " * ngIf = "pattern == 'edit'" >
< input type = "text" placeholder = "请输入内容" style = "width: 60%;background-color: #FFFFFF;" [ ( ngModel ) ] = " info . value " * ngIf = "pattern == 'edit'" >
< input type = "text" placeholder = "请输入内容" style = "width: 57%;background-color: #FFFFFF;" [ ( ngModel ) ] = " info . value " * ngIf = "pattern == 'edit'" >
< img src = "../../../assets/images/deletered.png" * ngIf = "pattern == 'edit'&&info.zdy" ( click ) = ' unitDel ( element . surveyName , uniti , attacki , filenum ) ' >
< table * ngIf = "pattern == 'look'" style = "width: 100%;border-collapse: collapse;" >
< table * ngIf = "pattern == 'look'" style = "width: 100%;border-collapse: collapse;" >
< tr >
< tr >
< th style = "border: 1px solid # 999 ;
< th style = "border: 1px solid # 999 ;
@ -957,7 +864,7 @@
font-size: 16px;
font-size: 16px;
text-align: center;">{{info.value}}< / td >
text-align: center;">{{info.value}}< / td >
< / tr >
< / tr >
< / table >
< / table >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
@ -968,9 +875,10 @@
< / div >
< / div >
<!-- 四周毗邻 -->
<!-- 四周毗邻 -->
< div class = "fouradj" * ngIf = "element.surveyName=='四周毗邻'" >
< div class = "fouradj" * ngIf = "element.surveyName=='四周毗邻'" >
< div class = "fourTexttwo" * ngFor = "let info of element.attinf" >
< div class = "fourTexttwo" * ngFor = "let info of element.attinf;let infoi=index" >
< input type = "text" placeholder = "请输入内容" style = "width: 30%;background-color: #e8e9e9;text-align: center;" [ ( ngModel ) ] = " info . name " readonly * ngIf = "pattern == 'edit'" >
< input type = "text" placeholder = "请输入内容" style = "width: 30%;background-color: #F9F9F9;text-align: center;" [ ( ngModel ) ] = " info . name " * ngIf = "pattern == 'edit'" >
< input type = "text" placeholder = "请输入内容" style = "width: 70%;background-color: #FFFFFF;" [ ( ngModel ) ] = " info . value " * ngIf = "pattern == 'edit'" >
< input type = "text" placeholder = "请输入内容" style = "width: 65%;background-color: #FFFFFF;" [ ( ngModel ) ] = " info . value " * ngIf = "pattern == 'edit'" >
< img style = "position: relative;bottom: 30px;left: 347px;" src = "../../../assets/images/deletered.png" ( click ) = ' unitDel ( element . surveyName , uniti , infoi ) ' * ngIf = "pattern == 'edit'&&info.zdy" >
< table * ngIf = "pattern == 'look'" style = "width: 100%;border-collapse: collapse;" >
< table * ngIf = "pattern == 'look'" style = "width: 100%;border-collapse: collapse;" >
< tr >
< tr >
< th style = "border: 1px solid # 999 ;
< th style = "border: 1px solid # 999 ;
@ -984,13 +892,13 @@
font-size: 16px;
font-size: 16px;
text-align: center;">{{info.value}}< / td >
text-align: center;">{{info.value}}< / td >
< / tr >
< / tr >
< / table >
< / table >
< / div >
< / div >
< / div >
< / div >
<!-- 功能分区 -->
<!-- 功能分区 -->
< div class = "fouradj" * ngIf = "element.surveyName=='功能分区'" >
< div class = "fouradj" * ngIf = "element.surveyName=='功能分区'" >
< div class = "onetext" * ngFor = "let info of element.attinf;let infoi=index" >
< div class = "onetext" * ngFor = "let info of element.attinf;let infoi=index" >
< input type = "text" placeholder = "请输入内容" style = "width: 30%;background-color: #e8e9e 9;text-align: center;" [ ( ngModel ) ] = " info . name " * ngIf = "pattern == 'edit'" >
< input type = "text" placeholder = "请输入内容" style = "width: 30%;background-color: #F9F9F 9;text-align: center;" [ ( ngModel ) ] = " info . name " * ngIf = "pattern == 'edit'" >
< input type = "text" placeholder = "请输入内容" style = "width: 67%;background-color: #FFFFFF;" [ ( ngModel ) ] = " info . value " * ngIf = "pattern == 'edit'" >
< input type = "text" placeholder = "请输入内容" style = "width: 67%;background-color: #FFFFFF;" [ ( ngModel ) ] = " info . value " * ngIf = "pattern == 'edit'" >
< img src = "../../../assets/images/deletered.png" ( click ) = ' unitDel ( element . surveyName , uniti , infoi ) ' * ngIf = "pattern == 'edit'" >
< img src = "../../../assets/images/deletered.png" ( click ) = ' unitDel ( element . surveyName , uniti , infoi ) ' * ngIf = "pattern == 'edit'" >
< table * ngIf = "pattern == 'look'" style = "width: 100%;border-collapse: collapse;" >
< table * ngIf = "pattern == 'look'" style = "width: 100%;border-collapse: collapse;" >
@ -1006,7 +914,7 @@
font-size: 16px;
font-size: 16px;
text-align: center;">{{info.value}}< / td >
text-align: center;">{{info.value}}< / td >
< / tr >
< / tr >
< / table >
< / table >
< / div >
< / div >
< / div >
< / div >
<!-- 重点部位 -->
<!-- 重点部位 -->
@ -1028,7 +936,7 @@
< div class = "partsBody" >
< div class = "partsBody" >
< div class = "duohang" >
< div class = "duohang" >
< div class = "duohangHalf" >
< div class = "duohangHalf" >
< input type = "text" placeholder = "请输入内容" style = "width: 40%;background-color: #e8e9e 9;text-align: center;" [ ( ngModel ) ] = " parts . body [ 0 ] . name " * ngIf = "pattern == 'edit'" >
< input type = "text" placeholder = "请输入内容" style = "width: 40%;background-color: #F9F9F 9;text-align: center;" [ ( ngModel ) ] = " parts . body [ 0 ] . name " * ngIf = "pattern == 'edit'" >
< input type = "text" placeholder = "请输入内容" style = "width: 60%;background-color: #FFFFFF;" [ ( ngModel ) ] = " parts . body [ 0 ] . value " * ngIf = "pattern == 'edit'" >
< input type = "text" placeholder = "请输入内容" style = "width: 60%;background-color: #FFFFFF;" [ ( ngModel ) ] = " parts . body [ 0 ] . value " * ngIf = "pattern == 'edit'" >
< table * ngIf = "pattern == 'look'" style = "width: 100%;border-collapse: collapse;" >
< table * ngIf = "pattern == 'look'" style = "width: 100%;border-collapse: collapse;" >
< tr >
< tr >
@ -1048,7 +956,7 @@
< / table >
< / table >
< / div >
< / div >
< div class = "duohangHalf" >
< div class = "duohangHalf" >
< input type = "text" placeholder = "请输入内容" style = "width: 40%;background-color: #e8e9e 9;text-align: center;" [ ( ngModel ) ] = " parts . body [ 1 ] . name " * ngIf = "pattern == 'edit'" >
< input type = "text" placeholder = "请输入内容" style = "width: 40%;background-color: #F9F9F 9;text-align: center;" [ ( ngModel ) ] = " parts . body [ 1 ] . name " * ngIf = "pattern == 'edit'" >
< input type = "text" placeholder = "请输入内容" style = "width: 60%;background-color: #FFFFFF;" [ ( ngModel ) ] = " parts . body [ 1 ] . value " * ngIf = "pattern == 'edit'" >
< input type = "text" placeholder = "请输入内容" style = "width: 60%;background-color: #FFFFFF;" [ ( ngModel ) ] = " parts . body [ 1 ] . value " * ngIf = "pattern == 'edit'" >
< table * ngIf = "pattern == 'look'" style = "width: 100%;border-collapse: collapse;" >
< table * ngIf = "pattern == 'look'" style = "width: 100%;border-collapse: collapse;" >
< tr >
< tr >
@ -1073,7 +981,7 @@
< / div >
< / div >
< div class = "duohang" >
< div class = "duohang" >
< div class = "duohangHalf" >
< div class = "duohangHalf" >
< input type = "text" placeholder = "请输入内容" style = "width: 40%;background-color: #e8e9e 9;text-align: center;" [ ( ngModel ) ] = " parts . body [ 2 ] . name " * ngIf = "pattern == 'edit'" >
< input type = "text" placeholder = "请输入内容" style = "width: 40%;background-color: #F9F9F 9;text-align: center;" [ ( ngModel ) ] = " parts . body [ 2 ] . name " * ngIf = "pattern == 'edit'" >
< input type = "text" placeholder = "请输入内容" style = "width: 60%;background-color: #FFFFFF;" [ ( ngModel ) ] = " parts . body [ 2 ] . value " * ngIf = "pattern == 'edit'" >
< input type = "text" placeholder = "请输入内容" style = "width: 60%;background-color: #FFFFFF;" [ ( ngModel ) ] = " parts . body [ 2 ] . value " * ngIf = "pattern == 'edit'" >
< table * ngIf = "pattern == 'look'" style = "width: 100%;border-collapse: collapse;" >
< table * ngIf = "pattern == 'look'" style = "width: 100%;border-collapse: collapse;" >
< tr >
< tr >
@ -1095,7 +1003,7 @@
< / table >
< / table >
< / div >
< / div >
< div class = "duohangHalf" >
< div class = "duohangHalf" >
< input type = "text" placeholder = "请输入内容" style = "width: 40%;background-color: #e8e9e 9;text-align: center;" [ ( ngModel ) ] = " parts . body [ 3 ] . name " * ngIf = "pattern == 'edit'" >
< input type = "text" placeholder = "请输入内容" style = "width: 40%;background-color: #F9F9F 9;text-align: center;" [ ( ngModel ) ] = " parts . body [ 3 ] . name " * ngIf = "pattern == 'edit'" >
< input type = "text" placeholder = "请输入内容" style = "width: 60%;background-color: #FFFFFF;" [ ( ngModel ) ] = " parts . body [ 3 ] . value " * ngIf = "pattern == 'edit'" >
< input type = "text" placeholder = "请输入内容" style = "width: 60%;background-color: #FFFFFF;" [ ( ngModel ) ] = " parts . body [ 3 ] . value " * ngIf = "pattern == 'edit'" >
< table * ngIf = "pattern == 'look'" style = "width: 100%;border-collapse: collapse;" >
< table * ngIf = "pattern == 'look'" style = "width: 100%;border-collapse: collapse;" >
< tr >
< tr >
@ -1118,7 +1026,7 @@
< / div >
< / div >
< / div >
< / div >
< div class = "danhang" >
< div class = "danhang" >
< input type = "text" placeholder = "请输入内容" style = "width: 40%;background-color: #e8e9e 9;text-align: center;" [ ( ngModel ) ] = " parts . body [ 4 ] . name " * ngIf = "pattern == 'edit'" >
< input type = "text" placeholder = "请输入内容" style = "width: 40%;background-color: #F9F9F 9;text-align: center;" [ ( ngModel ) ] = " parts . body [ 4 ] . name " * ngIf = "pattern == 'edit'" >
< input type = "text" placeholder = "请输入内容" style = "width: 60%;background-color: #FFFFFF;" [ ( ngModel ) ] = " parts . body [ 4 ] . value " * ngIf = "pattern == 'edit'" >
< input type = "text" placeholder = "请输入内容" style = "width: 60%;background-color: #FFFFFF;" [ ( ngModel ) ] = " parts . body [ 4 ] . value " * ngIf = "pattern == 'edit'" >
< table * ngIf = "pattern == 'look'" style = "width: 100%;border-collapse: collapse;" >
< table * ngIf = "pattern == 'look'" style = "width: 100%;border-collapse: collapse;" >
< tr >
< tr >
@ -1146,31 +1054,28 @@
<!-- 自定义新增 -->
<!-- 自定义新增 -->
< div class = "centerBox"
< div class = "centerBox"
*ngIf="element.surveyName!='单位基本信息'& & element.surveyName!='建筑信息'& & element.surveyName!='四周毗邻'& & element.surveyName!='消防设施'& & element.surveyName!='进攻通道'& & element.surveyName!='重点部位'& & element.surveyName!='功能分区'">
*ngIf="element.surveyName!='单位基本信息'& & element.surveyName!='建筑信息'& & element.surveyName!='四周毗邻'& & element.surveyName!='消防设施'& & element.surveyName!='进攻通道'& & element.surveyName!='重点部位'& & element.surveyName!='功能分区'">
<!-- <div class="titleItem" style="width: 100%;
background-color: #2196F3;
text-align: center;
color: white;">
< span > {{element.surveyName}}< / span >
< / div > -->
< div class = "boxBody" * ngFor = "let element of element.attinf;let i=index" style = "height: 100 % ;
< div class = "boxBody" * ngFor = "let element of element.attinf;let i=index" style = "height: 100 % ;
width: 100%;
width: 100%;
display: flex;
display: flex;
flex-direction: column;">
flex-direction: column;">
<!-- <div class="boxBodyHead" style="width: 100% ;
< div class = "boxBodyHead" style = "width: 100 % ;
height: 40pt ;
height: 40px ;
background-color: #FFFBE8;
background-color: #FFFBE8;
text-align: center;">
text-align: center;">
< span style = "font-size: 16px ;
< span style = "font-size: 16px ;
text-align: center;
text-align: center;
height: 40pt ;
height: 40px ;
line-height: 40pt ;
line-height: 40px ;
color: #b99a00;">{{element.headName}}< / span >
color: #b99a00;">{{element.headName}}< / span >
< img src = "../../../assets/images/deleteblue .png" * ngIf = "element.level==1&& pattern == 'edit'"
< img src = "../../../assets/images/delyello .png" * ngIf = " pattern == 'edit'"
(click)='delTd(key,i)'>
(click)='delTd(key,i)'>
< img src = "../../../assets/images/add.png" * ngIf = "element.level==1&&pattern == 'edit'"
< img src = "../../../assets/images/updateyello.png" * ngIf = "(element.level==1||element.level==2)&&pattern == 'edit'"
(click)='addTd(key,i)'>
(click)='updataHl(key,uniti,elei,i)'>
< / div > -->
< img src = "../../../assets/images/addyello.png" * ngIf = "element.level==1&&pattern == 'edit'"
(click)='unitNewadd(key,uniti,elei,i)'>
< / div >
< div class = "body" >
< div class = "body" >
<!-- 表格类型 -->
<!-- 表格类型 -->
< table * ngIf = "element.level==1" style = "width: 100%;border-collapse: collapse;" >
< table * ngIf = "element.level==1" style = "width: 100%;border-collapse: collapse;" >
@ -1193,13 +1098,14 @@
< / th >
< / th >
< / thead >
< / thead >
< tbody * ngIf = "pattern == 'edit'" >
< tbody * ngIf = "pattern == 'edit'" >
< tr * ngFor = "let itemtr of element.tabletr" >
< tr * ngFor = "let itemtr of element.tabletr;let tri=index " >
< td
< td
*ngFor="let itemtd of itemtr.tabletd;let tabletdi=index;TrackBy:trackByFn">
*ngFor="let itemtd of itemtr.tabletd;let tabletdi=index;TrackBy:trackByFn">
< input type = "text" placeholder = "请输入"
< input type = "text" placeholder = "请输入"
[(ngModel)]="itemtr.tabletd[tabletdi]">
[(ngModel)]="itemtr.tabletd[tabletdi]">
< / td >
< / td >
< img src = "../../../assets/images/deletered.png" ( click ) = ' delTd ( key , uniti , elei , i , tri ) ' >
< / tr >
< / tr >
< / tbody >
< / tbody >
< tbody * ngIf = "pattern == 'look'" >
< tbody * ngIf = "pattern == 'look'" >
@ -1277,7 +1183,7 @@
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >