|
|
|
@ -1,7 +1,9 @@
|
|
|
|
|
import { Component, Renderer2, OnDestroy, AfterViewInit, ElementRef, OnInit, ViewChild } from '@angular/core'; |
|
|
|
|
import { Component, Input, Renderer2, OnDestroy, AfterViewInit, ElementRef, OnInit, ViewChild } from '@angular/core'; |
|
|
|
|
import { CustomReuseStrategy } from 'src/app/CustomReuseStrategy'; |
|
|
|
|
import { FormBuilder, FormGroup, Validators } from '@angular/forms'; |
|
|
|
|
import { NzMessageService } from 'ng-zorro-antd/message'; |
|
|
|
|
import { Router } from '@angular/router'; |
|
|
|
|
import { TreeService } from 'src/app/service/tree.service'; |
|
|
|
|
import { HttpClient } from '@angular/common/http'; |
|
|
|
|
import { asBlob } from 'html-docx-js-typescript' |
|
|
|
|
// 要保存这个docx文件推荐引入file-saver哦,你可以用npm i -D file-saver来安装
|
|
|
|
@ -14,10 +16,11 @@ import { saveAs } from 'file-saver'
|
|
|
|
|
|
|
|
|
|
export class UnitDetailsComponent implements OnInit { |
|
|
|
|
@ViewChild('box') box: ElementRef; |
|
|
|
|
constructor(private router: Router,private fb: FormBuilder, private http: HttpClient, private renderer: Renderer2, private el: ElementRef) { |
|
|
|
|
|
|
|
|
|
constructor(private message:NzMessageService, private router: Router, private toTree: TreeService, private fb: FormBuilder, private http: HttpClient, private renderer: Renderer2, private el: ElementRef) { |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
datas= { |
|
|
|
|
|
|
|
|
|
datas = { |
|
|
|
|
basicInfo: { |
|
|
|
|
name: "", |
|
|
|
|
addr: "", |
|
|
|
@ -25,116 +28,125 @@ export class UnitDetailsComponent implements OnInit {
|
|
|
|
|
total: "", |
|
|
|
|
height: "", |
|
|
|
|
layer: "", |
|
|
|
|
structure:"", |
|
|
|
|
coveredArea:"", |
|
|
|
|
builtUpArea:"", |
|
|
|
|
nature:"", |
|
|
|
|
east:"", |
|
|
|
|
south:"", |
|
|
|
|
west:"", |
|
|
|
|
north:"", |
|
|
|
|
routeAndTime:"", |
|
|
|
|
structure: "", |
|
|
|
|
coveredArea: "", |
|
|
|
|
builtUpArea: "", |
|
|
|
|
nature: "", |
|
|
|
|
east: "", |
|
|
|
|
south: "", |
|
|
|
|
west: "", |
|
|
|
|
north: "", |
|
|
|
|
routeAndTime: "", |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
facilities:{ |
|
|
|
|
controlPosition:"", |
|
|
|
|
poolNumbe:"", |
|
|
|
|
poolPosition:"", |
|
|
|
|
poolCapacity:"", |
|
|
|
|
supplyMode:"", |
|
|
|
|
waterSources:"", |
|
|
|
|
waterSourcesPosition:"", |
|
|
|
|
alarm:false, |
|
|
|
|
spray:false, |
|
|
|
|
broadcast:false, |
|
|
|
|
smoke:false, |
|
|
|
|
hydrantsNumber:"", |
|
|
|
|
hydrantsPosition:"", |
|
|
|
|
pumpNumber:"", |
|
|
|
|
pumpRange:"", |
|
|
|
|
pumpFlow:"", |
|
|
|
|
pumpAdapter:"", |
|
|
|
|
SprayPumpNumber:"", |
|
|
|
|
SprayPumpRange:"", |
|
|
|
|
SprayPumpFlow:"", |
|
|
|
|
SprayPumpAdapter:"", |
|
|
|
|
elevator:"", |
|
|
|
|
stairs:"", |
|
|
|
|
Export:"", |
|
|
|
|
indoorHydrant:"", |
|
|
|
|
standardIndoorHydrant:"" |
|
|
|
|
facilities: { |
|
|
|
|
controlPosition: "", |
|
|
|
|
poolNumbe: "", |
|
|
|
|
poolPosition: "", |
|
|
|
|
poolCapacity: "", |
|
|
|
|
supplyMode: "", |
|
|
|
|
waterSources: "", |
|
|
|
|
waterSourcesPosition: "", |
|
|
|
|
system:{ |
|
|
|
|
alarm: false, |
|
|
|
|
spray: false, |
|
|
|
|
broadcast: false, |
|
|
|
|
smoke: false, |
|
|
|
|
}, |
|
|
|
|
hydrantsNumber: "", |
|
|
|
|
hydrantsPosition: "", |
|
|
|
|
pumpNumber: "", |
|
|
|
|
pumpRange: "", |
|
|
|
|
pumpFlow: "", |
|
|
|
|
pumpAdapter: "", |
|
|
|
|
SprayPumpNumber: "", |
|
|
|
|
SprayPumpRange: "", |
|
|
|
|
SprayPumpFlow: "", |
|
|
|
|
SprayPumpAdapter: "", |
|
|
|
|
elevator: "", |
|
|
|
|
stairs: "", |
|
|
|
|
Export: "", |
|
|
|
|
indoorHydrant: "", |
|
|
|
|
standardIndoorHydrant: "" |
|
|
|
|
}, |
|
|
|
|
KeyParts:[ |
|
|
|
|
KeyParts: [ |
|
|
|
|
{ |
|
|
|
|
keyparts:"222", |
|
|
|
|
keypartsposition:"333", |
|
|
|
|
keyparts: "", |
|
|
|
|
keypartsposition: "", |
|
|
|
|
buildingstructure: "", |
|
|
|
|
useNature: "", |
|
|
|
|
danger: "" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
keyparts:"222", |
|
|
|
|
keypartsposition:"333", |
|
|
|
|
keyparts: "", |
|
|
|
|
keypartsposition: "", |
|
|
|
|
buildingstructure: "", |
|
|
|
|
useNature: "", |
|
|
|
|
danger: "" |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
tips:"" |
|
|
|
|
tips: "" |
|
|
|
|
} |
|
|
|
|
aaa = true |
|
|
|
|
list={} |
|
|
|
|
list = {} |
|
|
|
|
validateForm!: FormGroup; |
|
|
|
|
zhidui=[] |
|
|
|
|
dadui=[] |
|
|
|
|
jiuyuanzhan=[] |
|
|
|
|
id="" |
|
|
|
|
zhidui = [] |
|
|
|
|
dadui = [] |
|
|
|
|
jiuyuanzhan = [] |
|
|
|
|
id = "" |
|
|
|
|
item = false |
|
|
|
|
integrity = 0 |
|
|
|
|
ngOnInit(): void { |
|
|
|
|
console.log(this.datas.KeyParts); |
|
|
|
|
|
|
|
|
|
this.id=this.router['browserUrlTree'].queryParams.id |
|
|
|
|
this.validateForm = this.fb.group({ |
|
|
|
|
companyName: [null, [Validators.required]], |
|
|
|
|
directorName: [null], |
|
|
|
|
directorPhone: [null], |
|
|
|
|
address: [null], |
|
|
|
|
organizationId: [null], |
|
|
|
|
relatedOrganizationId: [null], |
|
|
|
|
useNature: [null], |
|
|
|
|
buildingTypeId: [null] |
|
|
|
|
}); |
|
|
|
|
this.getAllOrganization() |
|
|
|
|
this.getCompanies() |
|
|
|
|
|
|
|
|
|
this.item = true |
|
|
|
|
this.id = this.router['browserUrlTree'].queryParams.id |
|
|
|
|
this.validateForm = this.fb.group({ |
|
|
|
|
directorName: [null], |
|
|
|
|
organizationId: [null, [Validators.required]], |
|
|
|
|
relatedOrganizationId: [null], |
|
|
|
|
buildingTypeId: [null] |
|
|
|
|
|
|
|
|
|
}); |
|
|
|
|
console.log(this.validateForm); |
|
|
|
|
this.getAllOrganization() |
|
|
|
|
this.getCompanies() |
|
|
|
|
this.getBuildingTypes() |
|
|
|
|
} |
|
|
|
|
listOfData: any[] = []; |
|
|
|
|
listOfData2: any[] = []; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
exportClick() { |
|
|
|
|
let alarm="" |
|
|
|
|
let spray="" |
|
|
|
|
let broadcast="" |
|
|
|
|
let smoke="" |
|
|
|
|
if(this.datas.facilities.alarm){ |
|
|
|
|
alarm="有" |
|
|
|
|
}else{ |
|
|
|
|
alarm="无" |
|
|
|
|
let alarm = "" |
|
|
|
|
let spray = "" |
|
|
|
|
let broadcast = "" |
|
|
|
|
let smoke = "" |
|
|
|
|
if (this.datas.facilities.system.alarm) { |
|
|
|
|
alarm = "有" |
|
|
|
|
} else { |
|
|
|
|
alarm = "无" |
|
|
|
|
} |
|
|
|
|
if(this.datas.facilities.spray){ |
|
|
|
|
spray="有" |
|
|
|
|
}else{ |
|
|
|
|
spray="无" |
|
|
|
|
if (this.datas.facilities.system.spray) { |
|
|
|
|
spray = "有" |
|
|
|
|
} else { |
|
|
|
|
spray = "无" |
|
|
|
|
} |
|
|
|
|
if(this.datas.facilities.broadcast){ |
|
|
|
|
broadcast="有" |
|
|
|
|
}else{ |
|
|
|
|
broadcast="无" |
|
|
|
|
if (this.datas.facilities.system.broadcast) { |
|
|
|
|
broadcast = "有" |
|
|
|
|
} else { |
|
|
|
|
broadcast = "无" |
|
|
|
|
} |
|
|
|
|
if(this.datas.facilities.smoke){ |
|
|
|
|
smoke="有" |
|
|
|
|
}else{ |
|
|
|
|
smoke="无" |
|
|
|
|
if (this.datas.facilities.system.smoke) { |
|
|
|
|
smoke = "有" |
|
|
|
|
} else { |
|
|
|
|
smoke = "无" |
|
|
|
|
} |
|
|
|
|
let box=`<table cellspacing="0" cellpadding="0" style="border-collapse:collapse; margin: 0 auto; ">
|
|
|
|
|
let box = `<table cellspacing="0" cellpadding="0" style="border-collapse:collapse; margin: 0 auto; ">
|
|
|
|
|
<tr style="height:18.4pt"> |
|
|
|
|
<td colspan="20" |
|
|
|
|
style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:1pt; padding-left:5.4pt; padding-right:5.4pt; vertical-align:middle; width:477.65pt"> |
|
|
|
|
<p style="margin:0pt; orphans:0; text-align:center; widows:0"><a name="_目录"><span |
|
|
|
|
style="font-family:宋体; font-size:22pt; font-weight:bold; color: #000;">`+this.datas.basicInfo.name+`</span><span |
|
|
|
|
style="font-family:宋体; font-size:22pt; font-weight:bold; color: #000;">`+ this.datas.basicInfo.name + `</span><span |
|
|
|
|
style="font-family:宋体; font-size:22pt; font-weight:bold; color: #000;">基本情况</span></a></p> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
@ -152,7 +164,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:1pt; 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">`+this.datas.basicInfo.name+` </span></p> |
|
|
|
|
style="font-family:宋体; font-size:9pt">`+ this.datas.basicInfo.name + ` </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"> |
|
|
|
@ -162,7 +174,7 @@ export class UnitDetailsComponent implements OnInit {
|
|
|
|
|
<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:1pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:88.5pt"> |
|
|
|
|
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span |
|
|
|
|
style="font-family:宋体; font-size:9pt">`+this.datas.basicInfo.addr+`</span> |
|
|
|
|
style="font-family:宋体; font-size:9pt">`+ this.datas.basicInfo.addr + `</span> |
|
|
|
|
</td> |
|
|
|
|
<td |
|
|
|
|
style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-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:1pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:36.15pt"> |
|
|
|
@ -172,7 +184,7 @@ export class UnitDetailsComponent implements OnInit {
|
|
|
|
|
<td colspan="3" |
|
|
|
|
style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-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:1pt; padding-left:5.03pt; padding-right:4.9pt; vertical-align:middle; width:66pt"> |
|
|
|
|
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span |
|
|
|
|
style="font-family:'Times New Roman'; font-size:9pt">`+this.datas.basicInfo.phone+`</span></p> |
|
|
|
|
style="font-family:'Times New Roman'; font-size:9pt">`+ this.datas.basicInfo.phone + `</span></p> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr style="height:22.3pt"> |
|
|
|
@ -183,7 +195,7 @@ export class UnitDetailsComponent implements OnInit {
|
|
|
|
|
</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:101.05pt"> |
|
|
|
|
<p style="margin:0pt; text-align:center"><span style="font-family:'Times New Roman'; font-size:9pt">`+this.datas.basicInfo.total+`</span></p> |
|
|
|
|
<p style="margin:0pt; text-align:center"><span style="font-family:'Times New Roman'; font-size:9pt">`+ this.datas.basicInfo.total + `</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"> |
|
|
|
@ -192,7 +204,7 @@ export class UnitDetailsComponent implements OnInit {
|
|
|
|
|
</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; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:88.5pt"> |
|
|
|
|
<p style="margin:0pt; text-align:center"><span style="font-family:'Times New Roman'; font-size:9pt">`+this.datas.basicInfo.height+`</span></p> |
|
|
|
|
<p style="margin:0pt; text-align:center"><span style="font-family:'Times New Roman'; font-size:9pt">`+ this.datas.basicInfo.height + `</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"> |
|
|
|
@ -201,7 +213,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">`+this.datas.basicInfo.layer+`</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"> |
|
|
|
@ -213,7 +225,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">`+this.datas.basicInfo.structure+`</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"> |
|
|
|
@ -223,7 +235,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">`+this.datas.basicInfo.coveredArea+`</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"> |
|
|
|
@ -233,7 +245,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">`+this.datas.basicInfo.builtUpArea+`</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"> |
|
|
|
@ -243,7 +255,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">`+this.datas.basicInfo.nature+`</span></p> |
|
|
|
|
style="font-family:宋体; font-size:9pt">`+ this.datas.basicInfo.nature + `</span></p> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr style="height:16.9pt"> |
|
|
|
@ -255,22 +267,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">`+this.datas.basicInfo.east+`</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">`+this.datas.basicInfo.south+`</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">`+this.datas.basicInfo.west+`</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">`+this.datas.basicInfo.north+`</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"> |
|
|
|
@ -282,7 +294,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">`+this.datas.basicInfo.routeAndTime+`</span></p> |
|
|
|
|
style="font-family:宋体; font-size:9pt">`+ this.datas.basicInfo.routeAndTime + `</span></p> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr style="height:22.3pt"> |
|
|
|
@ -303,7 +315,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">`+this.datas.facilities.controlPosition+`</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"> |
|
|
|
@ -320,7 +332,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">`+this.datas.facilities.poolNumbe+`</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"> |
|
|
|
@ -330,7 +342,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">`+this.datas.facilities.poolPosition+`</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"> |
|
|
|
@ -340,7 +352,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">`+this.datas.facilities.poolCapacity+`</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"> |
|
|
|
@ -350,7 +362,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"`+this.datas.facilities.supplyMode+`</span></p> |
|
|
|
|
style="font-family:'Times New Roman'; font-size:9pt"`+ this.datas.facilities.supplyMode + `</span></p> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr style="height:21.45pt"> |
|
|
|
@ -362,7 +374,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">`+this.datas.facilities.waterSources+`</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"> |
|
|
|
@ -372,7 +384,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">`+this.datas.facilities.waterSourcesPosition+`</span></p> |
|
|
|
|
style="font-family:'Times New Roman'; font-size:9pt">`+ this.datas.facilities.waterSourcesPosition + `</span></p> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr style="height:29.5pt"> |
|
|
|
@ -385,7 +397,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"> |
|
|
|
|
`+alarm+` |
|
|
|
|
`+ alarm + ` |
|
|
|
|
</p> |
|
|
|
|
</td> |
|
|
|
|
<td colspan="3" |
|
|
|
@ -396,7 +408,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"> |
|
|
|
|
`+spray+` |
|
|
|
|
`+ spray + ` |
|
|
|
|
</p> |
|
|
|
|
</td> |
|
|
|
|
<td colspan="4" |
|
|
|
@ -407,7 +419,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"> |
|
|
|
|
`+broadcast+` |
|
|
|
|
`+ broadcast + ` |
|
|
|
|
</p> |
|
|
|
|
</td> |
|
|
|
|
<td colspan="2" |
|
|
|
@ -418,7 +430,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"> |
|
|
|
|
`+smoke+` |
|
|
|
|
`+ smoke + ` |
|
|
|
|
</p> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
@ -431,7 +443,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">`+this.datas.facilities.hydrantsNumber+`</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" |
|
|
|
@ -442,7 +454,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">`+this.datas.facilities.hydrantsPosition+`</span></p> |
|
|
|
|
style="font-family:宋体; font-size:9pt">`+ this.datas.facilities.hydrantsPosition + `</span></p> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr style="height:28.05pt"> |
|
|
|
@ -460,20 +472,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">`+this.datas.facilities.pumpNumber+`</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">`+this.datas.facilities.pumpRange+`</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">`+this.datas.facilities.pumpFlow+`</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" |
|
|
|
@ -490,7 +502,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">`+this.datas.facilities.pumpAdapter+`</span></p> |
|
|
|
|
style="font-family:'Times New Roman'; font-size:9pt">`+ this.datas.facilities.pumpAdapter + `</span></p> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr style="height:26.1pt"> |
|
|
|
@ -503,20 +515,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">`+this.datas.facilities.SprayPumpNumber+`</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">`+this.datas.facilities.SprayPumpRange+`</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">`+this.datas.facilities.SprayPumpFlow+`</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" |
|
|
|
@ -533,7 +545,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">`+this.datas.facilities.SprayPumpAdapter+`</span></p> |
|
|
|
|
style="font-family:'Times New Roman'; font-size:9pt">`+ this.datas.facilities.SprayPumpAdapter + `</span></p> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr style="height:26.1pt"> |
|
|
|
@ -546,7 +558,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">`+this.datas.facilities.elevator+`</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" |
|
|
|
@ -559,7 +571,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">`+this.datas.facilities.stairs+`</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"> |
|
|
|
@ -571,7 +583,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">`+this.datas.facilities.Export+`</span></p> |
|
|
|
|
style="font-family:'Times New Roman'; font-size:9pt">`+ this.datas.facilities.Export + `</span></p> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr style="height:26.1pt"> |
|
|
|
@ -583,7 +595,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">`+this.datas.facilities.indoorHydrant+`</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" |
|
|
|
@ -594,7 +606,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">`+this.datas.facilities.standardIndoorHydrant+`</span></p> |
|
|
|
|
style="font-family:'Times New Roman'; font-size:9pt">`+ this.datas.facilities.standardIndoorHydrant + `</span></p> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr style="height:35.1pt"> |
|
|
|
@ -726,7 +738,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">`+this.datas.tips+`</span></p> |
|
|
|
|
style="font-family:'Times New Roman'; font-size:9pt">`+ this.datas.tips + `</span></p> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr style="height:0pt"> |
|
|
|
@ -774,51 +786,122 @@ export class UnitDetailsComponent implements OnInit {
|
|
|
|
|
back() { |
|
|
|
|
window.history.back() |
|
|
|
|
} |
|
|
|
|
getCompanies(){ |
|
|
|
|
|
|
|
|
|
edit() { |
|
|
|
|
let num = 0 |
|
|
|
|
let num2 = 0 |
|
|
|
|
let num3 = 0 |
|
|
|
|
console.log(this.validateForm.value); |
|
|
|
|
for (const key in this.validateForm.value) { |
|
|
|
|
if (Object.prototype.hasOwnProperty.call(this.validateForm.value, key)) { |
|
|
|
|
const element = this.validateForm.value[key]; |
|
|
|
|
if (element) { |
|
|
|
|
num3 += 1 |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
this.http.get('/api/Companies/'+this.id).subscribe((data: any) => { |
|
|
|
|
for (const key in this.datas) { |
|
|
|
|
if (Object.prototype.hasOwnProperty.call(this.datas, key)) { |
|
|
|
|
const element = this.datas[key]; |
|
|
|
|
for (const key in element) { |
|
|
|
|
if (Object.prototype.hasOwnProperty.call(element, key)) { |
|
|
|
|
const element2 = element[key]; |
|
|
|
|
if (element2) { |
|
|
|
|
// console.log(element2);
|
|
|
|
|
num += 1 |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
for (const key in this.datas.KeyParts) { |
|
|
|
|
if (Object.prototype.hasOwnProperty.call(this.datas.KeyParts, key)) { |
|
|
|
|
const element = this.datas.KeyParts[key] |
|
|
|
|
for (const key in element) { |
|
|
|
|
if (Object.prototype.hasOwnProperty.call(element, key)) { |
|
|
|
|
const element2 = element[key] |
|
|
|
|
// console.log(element2);
|
|
|
|
|
if (element2) { |
|
|
|
|
num2 += 1 |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
let num4=(num+num2+num3+1)/56 |
|
|
|
|
this.integrity = Math.floor(num4*100)/100 |
|
|
|
|
let body = { |
|
|
|
|
id: this.id, |
|
|
|
|
companyName: this.datas.basicInfo.name, |
|
|
|
|
directorName: this.validateForm.value.directorName, |
|
|
|
|
directorPhone: this.datas.basicInfo.phone, |
|
|
|
|
address: this.datas.basicInfo.addr, |
|
|
|
|
organizationId: this.validateForm.value.organizationId, |
|
|
|
|
relatedOrganizationId: this.validateForm.value.relatedOrganizationId, |
|
|
|
|
useNature: this.datas.basicInfo.nature, |
|
|
|
|
buildingTypeId: this.validateForm.value.buildingTypeId, |
|
|
|
|
integrity: this.integrity, |
|
|
|
|
data:JSON.stringify(this.datas) |
|
|
|
|
} |
|
|
|
|
this.http.patch('/api/Companies/' + this.id, body).subscribe(data => {
|
|
|
|
|
console.log(data); |
|
|
|
|
|
|
|
|
|
this.message.create('success', '保存成功!'); |
|
|
|
|
this.getCompanies() |
|
|
|
|
|
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
BuildingTypes |
|
|
|
|
getBuildingTypes() { |
|
|
|
|
this.http.get('/api/BuildingTypes').subscribe((data: any) => { |
|
|
|
|
console.log(data); |
|
|
|
|
|
|
|
|
|
this.BuildingTypes = data |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
getCompanies() { |
|
|
|
|
|
|
|
|
|
this.http.get('/api/Companies/' + this.id).subscribe((data: any) => { |
|
|
|
|
console.log(data); |
|
|
|
|
this.datas=JSON.parse(data.data) |
|
|
|
|
this.datas.basicInfo.name=data.companyName |
|
|
|
|
this.datas.basicInfo.addr=data.address |
|
|
|
|
this.datas.basicInfo.phone=data.directorPhone |
|
|
|
|
this.datas.basicInfo.nature=data.useNature |
|
|
|
|
if(data.data){ |
|
|
|
|
this.datas=JSON.parse(data.data) |
|
|
|
|
} |
|
|
|
|
this.datas.basicInfo.name = data.companyName |
|
|
|
|
this.datas.basicInfo.addr = data.address |
|
|
|
|
this.datas.basicInfo.phone = data.directorPhone |
|
|
|
|
this.datas.basicInfo.nature = data.useNature |
|
|
|
|
this.integrity = data.integrity |
|
|
|
|
this.validateForm.patchValue({ |
|
|
|
|
companyName: [data.companyName, [Validators.required]], |
|
|
|
|
directorName: [data.directorName], |
|
|
|
|
directorPhone: [data.directorPhone], |
|
|
|
|
address: [data.address], |
|
|
|
|
organizationId: [data.organizationId], |
|
|
|
|
relatedOrganizationId: [data.relatedOrganizationId], |
|
|
|
|
useNature: [data.useNature], |
|
|
|
|
buildingTypeId: [data.buildingTypeId]}) |
|
|
|
|
|
|
|
|
|
directorName: data.directorName, |
|
|
|
|
organizationId: data.organizationId, |
|
|
|
|
relatedOrganizationId: data.relatedOrganizationId, |
|
|
|
|
buildingTypeId: data.buildingTypeId |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
nodes: any = [] |
|
|
|
|
getAllOrganization(){ |
|
|
|
|
getAllOrganization() { |
|
|
|
|
let organizationId = JSON.parse(sessionStorage.getItem('userData')).organizationId |
|
|
|
|
let params = { |
|
|
|
|
// OrganizationUnitId: OrganizationUnitId,
|
|
|
|
|
// IsContainsChildren: "true"
|
|
|
|
|
ContainsChildren: true, |
|
|
|
|
pageSize: 9999 |
|
|
|
|
OrganizationId: organizationId || '', |
|
|
|
|
ContainsChildren: "true", |
|
|
|
|
PageNumber: 1, |
|
|
|
|
PageSize: 9999 |
|
|
|
|
} |
|
|
|
|
this.http.get('/api/Organizations', { |
|
|
|
|
params: params |
|
|
|
|
}).subscribe((data: any) => { |
|
|
|
|
console.log(data); |
|
|
|
|
for (let index = 0; index < data.items.length; index++) { |
|
|
|
|
if(data.items[index].level==1){ |
|
|
|
|
this.zhidui.push(data.items[index]) |
|
|
|
|
}else if(data.items[index].level==2){ |
|
|
|
|
this.dadui.push(data.items[index]) |
|
|
|
|
}else{ |
|
|
|
|
this.jiuyuanzhan.push(data.items[index]) |
|
|
|
|
data.items.forEach(element => { |
|
|
|
|
if (element.id == organizationId) { |
|
|
|
|
element.parentId = null |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
console.log(this.dadui); |
|
|
|
|
|
|
|
|
|
element.key = element.id |
|
|
|
|
element.title = element.name |
|
|
|
|
}); |
|
|
|
|
this.nodes = [...this.toTree.toTree(data.items)] |
|
|
|
|
|
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|