@ -95,6 +95,30 @@ export class UnitDetailsComponent implements OnInit {
}
exportClick() {
let alarm = ""
let spray = ""
let broadcast = ""
let smoke = ""
if ( this . datas . facilities . alarm ) {
alarm = "有"
} else {
alarm = "无"
}
if ( this . datas . facilities . spray ) {
spray = "有"
} else {
spray = "无"
}
if ( this . datas . facilities . broadcast ) {
broadcast = "有"
} else {
broadcast = "无"
}
if ( this . datas . facilities . smoke ) {
smoke = "有"
} else {
smoke = "无"
}
let box = ` <table cellspacing="0" cellpadding="0" style="border-collapse:collapse; margin: 0 auto; ">
< tr style = "height:18.4pt" >
< td colspan = "20"
@ -167,7 +191,7 @@ export class UnitDetailsComponent implements OnInit {
< / td >
< td colspan = "2"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:1pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:4.9pt; vertical-align:middle; width:65.6pt" >
< p style = "margin:0pt; text-align:center" > < span style = "font-family:'Times New Roman'; font-size:9pt" > < input [ ( ngModel ) ] = " datas.basicInfo.layer " style = "width: 90px;" nz - input type = "text" > < / span > < / p >
< p style = "margin:0pt; text-align:center" > < span style = "font-family:'Times New Roman'; font-size:9pt" > ` +this.datas.basicInfo.layer+ ` < / span > < / p >
< / td >
< / tr >
< tr style = "height:4pt" >
@ -179,7 +203,7 @@ export class UnitDetailsComponent implements OnInit {
< td
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:35.45pt" >
< p style = "line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0" > < span
style = "font-family:宋体; font-size:9pt" > < input [ ( ngModel ) ] = " datas.basicInfo.structure " style = "width: 50px;" nz - input type = "text" > < / span > < / p >
style = "font-family:宋体; font-size:9pt" > ` +this.datas.basicInfo.structure+ ` < / span > < / p >
< / td >
< td colspan = "3"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:54.8pt" >
@ -189,7 +213,7 @@ export class UnitDetailsComponent implements OnInit {
< td colspan = "3"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:42.15pt" >
< p style = "line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0" > < span
style = "font-family:'Times New Roman'; font-size:9pt" > < input [ ( ngModel ) ] = " datas.basicInfo.coveredArea " style = "width: 60px;" nz - input type = "text" > < / span > < / p >
style = "font-family:'Times New Roman'; font-size:9pt" > ` +this.datas.basicInfo.coveredArea+ ` < / span > < / p >
< / td >
< td colspan = "4"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:34.55pt" >
@ -199,7 +223,7 @@ export class UnitDetailsComponent implements OnInit {
< td colspan = "3"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:43.15pt" >
< p style = "line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0" > < span
style = "font-family:'Times New Roman'; font-size:9pt" > < input [ ( ngModel ) ] = " datas.basicInfo.builtUpArea " style = "width: 60px;" nz - input type = "text" > < / span > < / p >
style = "font-family:'Times New Roman'; font-size:9pt" > ` +this.datas.basicInfo.builtUpArea+ ` < / span > < / p >
< / td >
< td colspan = "2"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:36.55pt" >
@ -209,7 +233,7 @@ export class UnitDetailsComponent implements OnInit {
< td colspan = "2"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:1pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:4.9pt; vertical-align:middle; width:65.6pt" >
< p style = "line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0" > < span
style = "font-family:宋体; font-size:9pt" > < input [ ( ngModel ) ] = " datas.basicInfo.nature " style = "width: 90px;" nz - input type = "text" > < / span > < / p >
style = "font-family:宋体; font-size:9pt" > ` +this.datas.basicInfo.nature+ ` < / span > < / p >
< / td >
< / tr >
< tr style = "height:16.9pt" >
@ -221,22 +245,22 @@ export class UnitDetailsComponent implements OnInit {
< td colspan = "4"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:101.05pt" >
< p style = "line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0" > < span
style = "font-family:宋体; font-size:9pt" > 东 : < / span > < span style = "font-family:宋体; font-size:9pt" > < input [ ( ngModel ) ] = " datas.basicInfo.east " style = "width: 90px;" nz - input type = "text" > < / span > < / p >
style = "font-family:宋体; font-size:9pt" > 东 : < / span > < span style = "font-family:宋体; font-size:9pt" > ` +this.datas.basicInfo.east+ ` < / span > < / p >
< / td >
< td colspan = "7"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:87.5pt" >
< p style = "line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0" > < span
style = "font-family:宋体; font-size:9pt" > 南 : < / span > < span style = "font-family:宋体; font-size:9pt" > < input [ ( ngModel ) ] = " datas.basicInfo.south " style = "width: 90px;" nz - input type = "text" > < / span > < / p >
style = "font-family:宋体; font-size:9pt" > 南 : < / span > < span style = "font-family:宋体; font-size:9pt" > ` +this.datas.basicInfo.south+ ` < / span > < / p >
< / td >
< td colspan = "5"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:90.5pt" >
< p style = "line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0" > < span
style = "font-family:宋体; font-size:9pt" > 西 : < / span > < span style = "font-family:宋体; font-size:9pt" > < input [ ( ngModel ) ] = " datas.basicInfo.west " style = "width: 90px;" nz - input type = "text" > < / span > < / p >
style = "font-family:宋体; font-size:9pt" > 西 : < / span > < span style = "font-family:宋体; font-size:9pt" > ` +this.datas.basicInfo.west+ ` < / span > < / p >
< / td >
< td colspan = "2"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:1pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:4.9pt; vertical-align:middle; width:65.6pt" >
< p style = "line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0" > < span
style = "font-family:宋体; font-size:9pt" > 北 : < / span > < span style = "font-family:宋体; font-size:9pt" > < input [ ( ngModel ) ] = " datas.basicInfo.north " style = "width: 50px;" nz - input type = "text" > < / span > < / p >
style = "font-family:宋体; font-size:9pt" > 北 : < / span > < span style = "font-family:宋体; font-size:9pt" > ` +this.datas.basicInfo.north+ ` < / span > < / p >
< / td >
< / tr >
< tr style = "height:21.45pt" >
@ -248,7 +272,7 @@ export class UnitDetailsComponent implements OnInit {
< td colspan = "18"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:1pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:4.9pt; vertical-align:middle; width:377.05pt" >
< p style = "line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0" > < span
style = "font-family:宋体; font-size:9pt" > < textarea [ ( ngModel ) ] = " datas.basicInfo.routeAndTime " style = "width: 400px; height: 100px;" type = "text" > < / textarea > < / span > < / p >
style = "font-family:宋体; font-size:9pt" > ` +this.datas.basicInfo.routeAndTime+ ` < / span > < / p >
< / td >
< / tr >
< tr style = "height:22.3pt" >
@ -269,7 +293,7 @@ export class UnitDetailsComponent implements OnInit {
< / td >
< td colspan = "17"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:1pt; padding-left:5.4pt; padding-right:4.9pt; vertical-align:middle; width:330.8pt" >
< p style = "margin:0pt; text-align:center" > < span style = "font-family:宋体; font-size:9pt" > < input style = "width: 200px;" nz - input type = "text" > < / span > < / p >
< p style = "margin:0pt; text-align:center" > < span style = "font-family:宋体; font-size:9pt" > ` +this.datas.facilities.controlPosition+ ` < / span > < / p >
< / td >
< / tr >
< tr style = "height:22.3pt" >
@ -286,7 +310,7 @@ export class UnitDetailsComponent implements OnInit {
< td colspan = "3"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:54.8pt" >
< p style = "line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0" > < span
style = "font-family:'Times New Roman'; font-size:9pt" > < input nz - input style = "width:50px" type = "text" > < / span > < / p >
style = "font-family:'Times New Roman'; font-size:9pt" > ` +this.datas.facilities.poolNumbe+ ` < / span > < / p >
< / td >
< td colspan = "3"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:42.15pt" >
@ -296,7 +320,7 @@ export class UnitDetailsComponent implements OnInit {
< td colspan = "4"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:34.55pt" >
< p style = "line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0" > < span
style = "font-family:'Times New Roman'; font-size:9pt" > < input nz - input style = "width:50px" type = "text" > < / span > < / p >
style = "font-family:'Times New Roman'; font-size:9pt" > ` +this.datas.facilities.poolPosition+ ` < / span > < / p >
< / td >
< td colspan = "3"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:43.15pt" >
@ -306,7 +330,7 @@ export class UnitDetailsComponent implements OnInit {
< td colspan = "2"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:36.55pt" >
< p style = "line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0" > < span
style = "font-family:'Times New Roman'; font-size:9pt" > < input nz - input style = "width:50px" type = "text" > < / span > < / p >
style = "font-family:'Times New Roman'; font-size:9pt" > ` +this.datas.facilities.poolCapacity+ ` < / span > < / p >
< / td >
< td
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:28.65pt" >
@ -316,7 +340,7 @@ export class UnitDetailsComponent implements OnInit {
< td
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:1pt; padding-left:5.4pt; padding-right:4.9pt; vertical-align:middle; width:26.15pt" >
< p style = "line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0" > < span
style = "font-family:'Times New Roman'; font-size:9pt" > < input nz - input style = "width:50px" type = "text" > < / span > < / p >
style = "font-family:'Times New Roman'; font-size:9pt" ` +this.datas.facilities.supplyMode+ ` < / span > < / p >
< / td >
< / tr >
< tr style = "height:21.45pt" >
@ -328,7 +352,7 @@ export class UnitDetailsComponent implements OnInit {
< td colspan = "10"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:153.1pt" >
< p style = "line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0" > < span
style = "font-family:'Times New Roman'; font-size:9pt" > < input nz - input style = "width:120px" type = "text" > < / span > < / p >
style = "font-family:'Times New Roman'; font-size:9pt" > ` +this.datas.facilities.waterSources+ ` < / span > < / p >
< / td >
< td colspan = "3"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:43.15pt" >
@ -338,7 +362,7 @@ export class UnitDetailsComponent implements OnInit {
< td colspan = "4"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:1pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:4.9pt; vertical-align:middle; width:112.95pt" >
< p style = "line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0" > < span
style = "font-family:'Times New Roman'; font-size:9pt" > < input nz - input style = "width:140px" type = "text" > < / span > < / p >
style = "font-family:'Times New Roman'; font-size:9pt" > ` +this.datas.facilities.waterSourcesPosition+ ` < / span > < / p >
< / td >
< / tr >
< tr style = "height:29.5pt" >
@ -351,8 +375,7 @@ export class UnitDetailsComponent implements OnInit {
< td
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:35.45pt" >
< p style = "line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0" >
< label nz - checkbox [ ( ngModel ) ] = " datas.facilities.alarm " > 有 无 < / label >
` +alarm+ `
< / p >
< / td >
< td colspan = "3"
@ -363,8 +386,7 @@ export class UnitDetailsComponent implements OnInit {
< td colspan = "3"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:42.15pt" >
< p style = "line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0" >
< label nz - checkbox [ ( ngModel ) ] = " datas.facilities.spray " > 有 无 < / label >
` +spray+ `
< / p >
< / td >
< td colspan = "4"
@ -375,8 +397,7 @@ export class UnitDetailsComponent implements OnInit {
< td colspan = "3"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:43.15pt" >
< p style = "line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0" >
< label nz - checkbox [ ( ngModel ) ] = " datas.facilities.broadcast " > 有 无 < / label >
` +broadcast+ `
< / p >
< / td >
< td colspan = "2"
@ -387,8 +408,7 @@ export class UnitDetailsComponent implements OnInit {
< td colspan = "2"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:1pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:4.9pt; vertical-align:middle; width:65.6pt" >
< p style = "line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0" >
< label nz - checkbox [ ( ngModel ) ] = " datas.facilities.smoke " > 有 无 < / label >
` +smoke+ `
< / p >
< / td >
< / tr >
@ -401,7 +421,7 @@ export class UnitDetailsComponent implements OnInit {
< td colspan = "5"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:130.4pt" >
< p style = "line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0" > < span
style = "font-family:'Times New Roman'; font-size:9pt" > < input [ ( ngModel ) ] = " datas.facilities.hydrantsNumber " nz - input style = "width:50px" type = "text" > < / span > < span
style = "font-family:'Times New Roman'; font-size:9pt" > ` +this.datas.facilities.hydrantsNumber+ ` < / span > < span
style = "font-family:宋体; font-size:9pt" > 个 < / span > < / p >
< / td >
< td colspan = "5"
@ -412,7 +432,7 @@ export class UnitDetailsComponent implements OnInit {
< td colspan = "8"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:1pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:4.9pt; vertical-align:middle; width:172.05pt" >
< p style = "line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0" > < span
style = "font-family:宋体; font-size:9pt" > < input [ ( ngModel ) ] = " datas.facilities.hydrantsPosition " nz - input style = "width:150px" type = "text" > < / span > < / p >
style = "font-family:宋体; font-size:9pt" > ` +this.datas.facilities.hydrantsPosition+ ` < / span > < / p >
< / td >
< / tr >
< tr style = "height:28.05pt" >
@ -430,20 +450,20 @@ export class UnitDetailsComponent implements OnInit {
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:41.5pt" >
< p style = "line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0" > < span
style = "font-family:宋体; font-size:9pt" > 数 量 : < / span > < span
style = "font-family:'Times New Roman'; font-size:9pt" > < input [ ( ngModel ) ] = " datas.facilities.pumpNumber " nz - input style = "width:50px" type = "text" > < / span > < / p >
style = "font-family:'Times New Roman'; font-size:9pt" > ` +this.datas.facilities.pumpNumber+ ` < / span > < / p >
< / td >
< td colspan = "3"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:40.9pt" >
< p style = "line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0" > < span
style = "font-family:宋体; font-size:9pt" > 扬 程 : < / span > < span
style = "font-family:'Times New Roman'; font-size:9pt" > < input [ ( ngModel ) ] = " datas.facilities.pumpRange " nz - input style = "width:50px" type = "text" > < / span > < span
style = "font-family:'Times New Roman'; font-size:9pt" > ` +this.datas.facilities.pumpRange+ ` < / span > < span
style = "font-family:'Times New Roman'; font-size:9pt" > m < / span > < / p >
< / td >
< td colspan = "3"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:39.2pt" >
< p style = "line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0" > < span
style = "font-family:宋体; font-size:9pt" > 流 量 < / span > < span style = "font-family:宋体; font-size:9pt" > : < / span > < span
style = "font-family:'Times New Roman'; font-size:9pt" > < input [ ( ngModel ) ] = " datas.facilities.pumpFlow " nz - input style = "width:50px" type = "text" > < / span > < span
style = "font-family:'Times New Roman'; font-size:9pt" > ` +this.datas.facilities.pumpFlow+ ` < / span > < span
style = "font-family:'Times New Roman'; font-size:9pt" > L / S < / span > < / p >
< / td >
< td colspan = "4"
@ -460,7 +480,7 @@ export class UnitDetailsComponent implements OnInit {
< td colspan = "2"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:1pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:4.9pt; vertical-align:middle; width:65.6pt" >
< p style = "line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0" > < span
style = "font-family:'Times New Roman'; font-size:9pt" > < input [ ( ngModel ) ] = " datas.facilities.pumpAdapter " nz - input style = "width:50px" type = "text" > < / span > < / p >
style = "font-family:'Times New Roman'; font-size:9pt" > ` +this.datas.facilities.pumpAdapter+ ` < / span > < / p >
< / td >
< / tr >
< tr style = "height:26.1pt" >
@ -473,20 +493,20 @@ export class UnitDetailsComponent implements OnInit {
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:41.5pt" >
< p style = "line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0" > < span
style = "font-family:宋体; font-size:9pt" > 数 量 : < / span > < span
style = "font-family:'Times New Roman'; font-size:9pt" > < input [ ( ngModel ) ] = " datas.facilities.SprayPumpNumber " nz - input style = "width:50px" type = "text" > < / span > < / p >
style = "font-family:'Times New Roman'; font-size:9pt" > ` +this.datas.facilities.SprayPumpNumber+ ` < / span > < / p >
< / td >
< td colspan = "3"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:40.9pt" >
< p style = "line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0" > < span
style = "font-family:宋体; font-size:9pt" > 扬 程 : < / span > < span
style = "font-family:'Times New Roman'; font-size:9pt" > < input [ ( ngModel ) ] = " datas.facilities.SprayPumpRange " nz - input style = "width:50px" type = "text" > < / span > < span
style = "font-family:'Times New Roman'; font-size:9pt" > ` +this.datas.facilities.SprayPumpRange+ ` < / span > < span
style = "font-family:'Times New Roman'; font-size:9pt" > m < / span > < / p >
< / td >
< td colspan = "3"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:39.2pt" >
< p style = "line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0" > < span
style = "font-family:宋体; font-size:9pt" > 流 量 : < / span > < span
style = "font-family:'Times New Roman'; font-size:9pt" > < input [ ( ngModel ) ] = " datas.facilities.SprayPumpFlow " nz - input style = "width:50px" type = "text" > < / span > < span
style = "font-family:'Times New Roman'; font-size:9pt" > ` +this.datas.facilities.SprayPumpFlow+ ` < / span > < span
style = "font-family:'Times New Roman'; font-size:9pt" > L / S < / span > < / p >
< / td >
< td colspan = "4"
@ -503,7 +523,7 @@ export class UnitDetailsComponent implements OnInit {
< td colspan = "2"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:1pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:4.9pt; vertical-align:middle; width:65.6pt" >
< p style = "line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0" > < span
style = "font-family:'Times New Roman'; font-size:9pt" > < input [ ( ngModel ) ] = " datas.facilities.SprayPumpAdapter " nz - input style = "width:50px" type = "text" > < / span > < / p >
style = "font-family:'Times New Roman'; font-size:9pt" > ` +this.datas.facilities.SprayPumpAdapter+ ` < / span > < / p >
< / td >
< / tr >
< tr style = "height:26.1pt" >
@ -516,7 +536,7 @@ export class UnitDetailsComponent implements OnInit {
< / td >
< td colspan = "2"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:82.25pt" >
< p style = "margin:0pt; text-align:center" > < span style = "font-family:'Times New Roman'; font-size:9pt" > < input [ ( ngModel ) ] = " datas.facilities.elevator " nz - input style = "width:100px" type = "text" > < / span >
< p style = "margin:0pt; text-align:center" > < span style = "font-family:'Times New Roman'; font-size:9pt" > ` +this.datas.facilities.elevator+ ` < / span >
< / p >
< / td >
< td colspan = "4"
@ -529,7 +549,7 @@ export class UnitDetailsComponent implements OnInit {
< td colspan = "6"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:82.05pt" >
< p style = "margin:0pt; text-align:center" > < span
style = "font-family:'Times New Roman'; font-size:9pt" > < input [ ( ngModel ) ] = " datas.facilities.stairs " nz - input style = "width:100px" type = "text" > < / span > < / p >
style = "font-family:'Times New Roman'; font-size:9pt" > ` +this.datas.facilities.stairs+ ` < / span > < / p >
< / td >
< td colspan = "4"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:57.55pt" >
@ -541,7 +561,7 @@ export class UnitDetailsComponent implements OnInit {
< td colspan = "2"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:1pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:4.9pt; vertical-align:middle; width:65.6pt" >
< p style = "margin:0pt; text-align:center" > < span
style = "font-family:'Times New Roman'; font-size:9pt" > < input [ ( ngModel ) ] = " datas.facilities.Export " nz - input style = "width:50px" type = "text" > < / span > < / p >
style = "font-family:'Times New Roman'; font-size:9pt" > ` +this.datas.facilities.Export+ ` < / span > < / p >
< / td >
< / tr >
< tr style = "height:26.1pt" >
@ -553,7 +573,7 @@ export class UnitDetailsComponent implements OnInit {
< td colspan = "4"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:101.05pt" >
< p style = "margin:0pt; text-align:center" > < span
style = "font-family:'Times New Roman'; font-size:9pt" > < input [ ( ngModel ) ] = " datas.facilities.indoorHydrant " nz - input style = "width:50px" type = "text" > < / span > < span
style = "font-family:'Times New Roman'; font-size:9pt" > ` +this.datas.facilities.indoorHydrant+ ` < / span > < span
style = "font-family:宋体; font-size:9pt" > 个 < / span > < / p >
< / td >
< td colspan = "4"
@ -564,7 +584,7 @@ export class UnitDetailsComponent implements OnInit {
< td colspan = "10"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:1pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:4.9pt; vertical-align:middle; width:191.1pt" >
< p style = "margin:0pt; text-align:center" > < span
style = "font-family:'Times New Roman'; font-size:9pt" > < input [ ( ngModel ) ] = " datas.facilities.standardIndoorHydrant " nz - input style = "width:180px" type = "text" > < / span > < / p >
style = "font-family:'Times New Roman'; font-size:9pt" > ` +this.datas.facilities.standardIndoorHydrant+ ` < / span > < / p >
< / td >
< / tr >
< tr style = "height:56pt" >
@ -578,7 +598,7 @@ export class UnitDetailsComponent implements OnInit {
< td colspan = "19"
style = "border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:436.8pt" >
< p style = "margin:0pt; text-align:center" > < span
style = "font-family:'Times New Roman'; font-size:9pt" > < textarea [ ( ngModel ) ] = " datas.tips " style = "width: 400px; height: 100px;" type = "text" > < / textarea > < / span > < / p >
style = "font-family:'Times New Roman'; font-size:9pt" > ` +this.datas.tips+ ` < / span > < / p >
< / td >
< / tr >
< tr style = "height:0pt" >
@ -606,7 +626,7 @@ export class UnitDetailsComponent implements OnInit {
< / table >
< p style = "margin:0pt; orphans:0; text-align:justify; widows:0" > < span style = "-aw-bookmark-end:_目录" > < / span > < span
style = "font-family:Calibri; font-size:10.5pt" > & # xa0 ; < / span > < / p > `
// return
const htmlString = ` <!DOCTYPE html>
< html lang = "en" >
< head >
@ -614,7 +634,7 @@ export class UnitDetailsComponent implements OnInit {
< title > Document < / title >
< / head >
< body >
` + this. box.nativeElement.innerHTML + `
` + box + `
< / body >
< / html > `
const fileData = asBlob ( htmlString ) . then ( ( data : any ) = > {