济南项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1132 lines
75 KiB

import { Component, Input, Renderer2, OnDestroy, AfterViewInit, ElementRef, OnInit, ViewChild } from '@angular/core';
import { CustomReuseStrategy } from 'src/app/CustomReuseStrategy';
3 years ago
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
import { NzMessageService } from 'ng-zorro-antd/message';
3 years ago
import { Router } from '@angular/router';
import { TreeService } from 'src/app/service/tree.service';
import { HttpClient } from '@angular/common/http';
3 years ago
import { asBlob } from 'html-docx-js-typescript'
// 要保存这个docx文件推荐引入file-saver哦,你可以用npm i -D file-saver来安装
import { saveAs } from 'file-saver'
declare var AMap: any;
@Component({
selector: 'app-unit-details',
templateUrl: './unit-details.component.html',
styleUrls: ['./unit-details.component.scss']
})
3 years ago
export class UnitDetailsComponent implements OnInit {
@ViewChild('box') box: ElementRef;
constructor(private message: NzMessageService, private router: Router, private toTree: TreeService, private fb: FormBuilder, private http: HttpClient, private renderer: Renderer2, private el: ElementRef, public renderer2: Renderer2, private elementRef: ElementRef) {
3 years ago
}
disableds = false
datas = {
3 years ago
basicInfo: {
name: "",
addr: "",
phone: "",
total: "",
height: "",
layer: "",
structure: "",
coveredArea: "",
builtUpArea: "",
nature: "",
east: "",
south: "",
west: "",
north: "",
routeAndTime: "",
positionCoordinates: { x: 0, y: 0 }
3 years ago
},
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: ""
3 years ago
},
KeyParts: [
{
keyparts: "",
keypartsposition: "",
buildingstructure: "",
useNature: "",
danger: ""
},
{
keyparts: "",
keypartsposition: "",
buildingstructure: "",
useNature: "",
danger: ""
}
],
tips: ""
3 years ago
}
3 years ago
validateForm!: FormGroup;
id = ""
integrity = 0
ngOnInit(): void {
this.id = this.router['browserUrlTree'].queryParams.id
if (this.router['browserUrlTree'].queryParams.pattern != "edit") {
this.disableds = true
}
this.validateForm = this.fb.group({
directorName: [null],
organizationId: [null, [Validators.required]],
relatedOrganizationId: [null],
buildingTypeId: [null]
});
this.getAllOrganization()
this.getCompanies()
this.getBuildingTypes()
}
isMapLabel: boolean
//地图标注位置
markerPosition: any = { x: 0, y: 0 }//单位坐标
map: any //地图实例
isGisTopBox: boolean = false//点击位置按钮
isGisTopBoxTwo: boolean = false//点击位置按钮
oldPositionMarker: any //旧位置marker实例
newPositionMarker: any //新位置marker实例
newPositionMarkerContent: any =
'<div class="custom-content-marker">' +
' <img class="positionimg" src="/assets/images/newposition.png">' +
' <div class="btnbox2"></div>' +
'</div>'
newPositionMarkerContentBtn: any =
'<div class="custom-content-marker">' +
' <img class="positionimg" src="/assets/images/newposition.png">' +
' <div class="btnbox"><img id="setPositionOk" src="/assets/images/ok.png"><span>|</span><img id="setPositionClose" src="/assets/images/close.png"></div>' +
'</div>'
oldPositionMarkerContent: any =
'<div class="custom-content-marker">' +
' <img class="positionimg" src="/assets/images/oldposition.png">' +
' <div class="btnbox2"></div>' +
'</div>'
//初始化地图
searchTitle: any//搜索内容
placeSearch: any//地址搜索类
search() {
this.placeSearch.search(this.searchTitle, (status, result) => {
// 搜索成功时,result即是对应的匹配数据
if (result.info == "OK") {
this.newPositionMarker.setPosition([result.poiList.pois[0].location.lng, result.poiList.pois[0].location.lat])
this.markerPosition2 = { x: result.poiList.pois[0].location.lng, y: result.poiList.pois[0].location.lat }
this.map.setCenter([result.poiList.pois[0].location.lng, result.poiList.pois[0].location.lat]); //设置地图中心点
} else {
alert('查询不到输入地址信息')
}
})
}
//初始化地图
markerPosition2
labelGis() {
console.log('初始化地图')
this.map = new AMap.Map('container', {
zoom: 12
})
this.map.on('complete', () => {
this.isGisTopBox = true
});
//输入提示
var autoOptions = {
input: "tipinput"
};
AMap.plugin(['AMap.PlaceSearch', 'AMap.AutoComplete'], () => {
var auto = new AMap.AutoComplete(autoOptions);
this.placeSearch = new AMap.PlaceSearch(); //构造地点查询类
auto.on("select", (e) => {
this.newPositionMarker.setPosition([e.poi.location.lng, e.poi.location.lat])
this.markerPosition2 = { x: e.poi.location.lng, y: e.poi.location.lat }
this.map.setCenter([e.poi.location.lng, e.poi.location.lat]); //设置地图中心点
});//注册监听,当选中某条记录时会触发
});
if (this.isMapLabel) {//如果已经标注单位坐标
console.log('已标注单位位置')
this.map.setCenter([this.datas.basicInfo.positionCoordinates.x, this.datas.basicInfo.positionCoordinates.y]);
this.oldPositionMarker = new AMap.Marker({
position: [this.datas.basicInfo.positionCoordinates.x, this.datas.basicInfo.positionCoordinates.y],
content: this.newPositionMarkerContent,
offset: new AMap.Pixel(-34, -36)
})
// 将 markers 添加到地图
this.map.add(this.oldPositionMarker);
} else {
// console.log('未标注单位位置')
this.map.setCity('济南');
}
}
//点击位置按钮
setPosition() {
if(this.disableds){
return
}
this.isGisTopBox = false
this.isGisTopBoxTwo = true
if (this.isMapLabel) {//如果已经标注单位坐标
// console.log('已标注单位位置')
if (this.oldPositionMarker) {
this.oldPositionMarker.setContent(this.oldPositionMarkerContent)
}
if (this.newPositionMarker) {
this.newPositionMarker.setContent(this.oldPositionMarkerContent)
}
this.newPositionMarker = new AMap.Marker({
draggable: true,
position: [this.markerPosition.x, this.markerPosition.y],
content: this.newPositionMarkerContentBtn,
offset: new AMap.Pixel(-34, -36)
});
this.map.add(this.newPositionMarker);
if (this.markerPosition.x && this.markerPosition.x != 0) {
this.markerPosition2 = { x: this.markerPosition.x, y: this.markerPosition.y }
} else {
this.markerPosition2 = { x: this.map.getCenter().lng, y: this.map.getCenter().lat } //获取当前地图中心位置
}
this.newPositionMarker.on('dragend', (e) => {
let lnglat = this.map.containerToLngLat(e.pixel)
this.markerPosition2 = { x: lnglat.KL, y: lnglat.kT }
})
this.newPositionMarker.on('dragging', (e) => {
let lnglat = this.map.containerToLngLat(e.pixel)
this.newPositionMarker.setPosition(lnglat);
})
//点击确定
this.renderer2.listen(this.elementRef.nativeElement.querySelector('#setPositionOk'), 'click', (event) => {
this.map.clearMap();
this.isGisTopBox = true
this.isGisTopBoxTwo = false
this.newPositionMarker = new AMap.Marker({
position: [this.markerPosition2.x, this.markerPosition2.y],
content: this.newPositionMarkerContent,
offset: new AMap.Pixel(-34, -36)
});
this.markerPosition = this.markerPosition2
this.map.add(this.newPositionMarker);
})
//点击取消
this.renderer2.listen(this.elementRef.nativeElement.querySelector('#setPositionClose'), 'click', (event) => {
this.isGisTopBox = true
this.isGisTopBoxTwo = false
this.map.clearMap();
this.newPositionMarker = new AMap.Marker({
position: [this.markerPosition.x, this.markerPosition.y],
content: this.newPositionMarkerContent,
offset: new AMap.Pixel(-34, -36)
});
this.map.setCenter([this.markerPosition.x, this.markerPosition.y]); //设置地图中心点
this.map.add(this.newPositionMarker);
})
} else {
// console.log('未标注单位位置')
if (this.newPositionMarker) {
this.newPositionMarker.setContent(this.oldPositionMarkerContent)
}
let center
//this.markerPosition---单位坐标
if (this.markerPosition.x && this.markerPosition.x != 0) {
center = [this.markerPosition.x, this.markerPosition.y]
} else {
center = this.map.getCenter(); //获取当前地图中心位置
// console.log('获取当前地图中心位置', center)
this.map.setCenter(center);
}
this.newPositionMarker = new AMap.Marker({
draggable: true,
position: center,
content: this.newPositionMarkerContentBtn,
offset: new AMap.Pixel(-34, -36)
});
this.map.add(this.newPositionMarker);
if (this.markerPosition.x && this.markerPosition.x != 0) {
this.markerPosition2 = { x: this.markerPosition.x, y: this.markerPosition.y }
} else {
this.markerPosition2 = { x: this.map.getCenter().lng, y: this.map.getCenter().lat } //获取当前地图中心位置
}
this.newPositionMarker.on('dragend', (e) => {
let lnglat = this.map.containerToLngLat(e.pixel)
this.markerPosition2 = { x: lnglat.KL, y: lnglat.kT }
})
this.newPositionMarker.on('dragging', (e) => {
let lnglat = this.map.containerToLngLat(e.pixel)
this.newPositionMarker.setPosition(lnglat);
})
//点击确定
this.renderer2.listen(this.elementRef.nativeElement.querySelector('#setPositionOk'), 'click', (event) => {
this.isGisTopBox = true
this.isGisTopBoxTwo = false
this.markerPosition = this.markerPosition2
this.map.clearMap();
this.newPositionMarker = new AMap.Marker({
position: [this.markerPosition.x, this.markerPosition.y],
content: this.newPositionMarkerContent,
offset: new AMap.Pixel(-34, -36)
});
this.newPositionMarker.setMap(this.map)
})
this.renderer2.listen(this.elementRef.nativeElement.querySelector('#setPositionClose'), 'click', (event) => {
this.map.clearMap();
this.isGisTopBox = true
this.isGisTopBoxTwo = false
if (this.markerPosition.x && this.markerPosition.x != 0) {//说明之前标过点
this.newPositionMarker = new AMap.Marker({
position: [this.markerPosition.x, this.markerPosition.y],
content: this.newPositionMarkerContent,
offset: new AMap.Pixel(-34, -36)
});
this.map.setCenter([this.markerPosition.x, this.markerPosition.y]); //设置地图中心点
this.map.add(this.newPositionMarker);
}
})//取消
}
}
listOfData: any[] = [];
listOfData2: any[] = [];
3 years ago
exportClick() {
let alarm = ""
let spray = ""
let broadcast = ""
let smoke = ""
if (this.datas.facilities.system.alarm) {
alarm = "有"
} else {
alarm = "无"
3 years ago
}
if (this.datas.facilities.system.spray) {
spray = "有"
} else {
spray = "无"
3 years ago
}
if (this.datas.facilities.system.broadcast) {
broadcast = "有"
} else {
broadcast = "无"
3 years ago
}
if (this.datas.facilities.system.smoke) {
smoke = "有"
} else {
smoke = "无"
3 years ago
}
let box = `<table cellspacing="0" cellpadding="0" style="border-collapse:collapse; margin: 0 auto; ">
3 years ago
<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
3 years ago
style="font-family:宋体; font-size:22pt; font-weight:bold; color: #000;"></span></a></p>
</td>
</tr>
<tr style="height:18.4pt">
<td rowspan="5"
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:1pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; height:18.4pt; padding-left:4.9pt; padding-right:5.03pt; vertical-align:middle; width:30.05pt; writing-mode:tb-rl">
<p style="line-height:12pt; margin:0pt 5.65pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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:48.95pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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: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>
3 years ago
</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">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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: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>
3 years ago
</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">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></span></p>
</td>
<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>
3 years ago
</td>
</tr>
<tr style="height:22.3pt">
<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:48.95pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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: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>
3 years ago
</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">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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; 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>
3 years ago
</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">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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="margin:0pt; text-align:center"><span style="font-family:'Times New Roman'; font-size:9pt">`+ this.datas.basicInfo.layer + `</span></p>
3 years ago
</td>
</tr>
<tr style="height:4pt">
<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:48.95pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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: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>
3 years ago
</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">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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">
<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>
3 years ago
</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">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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">
<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>
3 years ago
</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">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt">使</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">`+ this.datas.basicInfo.nature + `</span></p>
3 years ago
</td>
</tr>
<tr style="height:16.9pt">
<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:48.95pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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: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>
3 years ago
</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>
3 years ago
</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>
3 years ago
</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>
3 years ago
</td>
</tr>
<tr style="height:21.45pt">
<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:48.95pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt; word-break: break-all; width: 70px;">线</span></p>
</td>
<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>
3 years ago
</td>
</tr>
<tr style="height:22.3pt">
<td rowspan="9"
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:1pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; height:22.3pt; padding-left:4.9pt; padding-right:5.03pt; vertical-align:middle; width:30.05pt; writing-mode:tb-rl">
<p style="line-height:12pt; margin:0pt 5.65pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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:48.95pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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:35.45pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></span></p>
</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>
3 years ago
</td>
</tr>
<tr style="height:22.3pt">
<td rowspan="2"
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; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:48.95pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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:35.45pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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">
<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>
3 years ago
</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">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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">
<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>
3 years ago
</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">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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">
<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>
3 years ago
</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">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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: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>
3 years ago
</td>
</tr>
<tr style="height:21.45pt">
<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"></span></p>
</td>
<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>
3 years ago
</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">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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: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>
3 years ago
</td>
</tr>
<tr style="height:29.5pt">
<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:48.95pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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:35.45pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0">
`+ alarm + `
3 years ago
</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">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0">
`+ spray + `
3 years ago
</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">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt">广</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">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0">
`+ broadcast + `
3 years ago
</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">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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">
`+ smoke + `
3 years ago
</p>
</td>
</tr>
<tr style="height:25.5pt">
<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:48.95pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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; 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
3 years ago
style="font-family:宋体; font-size:9pt"></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; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:53pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></span></p>
</td>
<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>
3 years ago
</td>
</tr>
<tr style="height:28.05pt">
<td rowspan="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:48.95pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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:35.45pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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: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>
3 years ago
</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
3 years ago
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
3 years ago
style="font-family:'Times New Roman'; font-size:9pt">L/S</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:46.35pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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.25pt">
<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"></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:'Times New Roman'; font-size:9pt">`+ this.datas.facilities.pumpAdapter + `</span></p>
3 years ago
</td>
</tr>
<tr style="height:26.1pt">
<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; 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:35.45pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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; 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>
3 years ago
</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
3 years ago
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
3 years ago
style="font-family:'Times New Roman'; font-size:9pt">L/S</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:46.35pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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:43.25pt">
<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"></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:'Times New Roman'; font-size:9pt">`+ this.datas.facilities.SprayPumpAdapter + `</span></p>
3 years ago
</td>
</tr>
<tr style="height:26.1pt">
<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:48.95pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></span></p>
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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; 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>
3 years ago
</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:46.4pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></span></p>
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></span></p>
</td>
<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>
3 years ago
</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">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></span></p>
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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="margin:0pt; text-align:center"><span
style="font-family:'Times New Roman'; font-size:9pt">`+ this.datas.facilities.Export + `</span></p>
3 years ago
</td>
</tr>
<tr style="height:26.1pt">
<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:48.95pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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: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
3 years ago
style="font-family:宋体; font-size:9pt"></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:63.3pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></span></p>
</td>
<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>
3 years ago
</td>
</tr>
<tr style="height:35.1pt">
<td rowspan="2"
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:1pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; height:35.1pt; padding-left:4.9pt; padding-right:5.03pt; vertical-align:middle; width:30.05pt; writing-mode:tb-rl">
<p style="line-height:12pt; margin:0pt 5.65pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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:48.95pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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: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.KeyParts[0].keyparts + `</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">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt">`+ this.datas.KeyParts[0].keypartsposition + `</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">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt">`+ this.datas.KeyParts[0].buildingstructure + `</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">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt">使</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; 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: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.KeyParts[0].useNature + `</span></p>
</td>
</tr>
<tr style="height:31.75pt">
<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:48.95pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></span></p>
</td>
<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.KeyParts[0].danger + `</span></p>
</td>
</tr>
<tr style="height:35.1pt">
<td rowspan="2"
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:1pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; height:35.1pt; padding-left:4.9pt; padding-right:5.03pt; vertical-align:middle; width:30.05pt; writing-mode:tb-rl">
<p style="line-height:12pt; margin:0pt 5.65pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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:48.95pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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: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.KeyParts[1].keyparts + `</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">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt">`+ this.datas.KeyParts[1].keypartsposition + `</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">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></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">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt">`+ this.datas.KeyParts[1].buildingstructure + `</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">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt">使</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; 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: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.KeyParts[1].useNature + `</span></p>
</td>
</tr>
<tr style="height:31.75pt">
<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:48.95pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></span></p>
</td>
<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.KeyParts[1].danger + `</span></p>
</td>
</tr>
3 years ago
<tr style="height:56pt">
<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:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:30.05pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></span></p>
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"></span></p>
</td>
<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>
3 years ago
</td>
</tr>
<tr style="height:0pt">
<td style="width:40.85pt; border:none"></td>
<td style="width:59.75pt; border:none"></td>
<td style="width:46.25pt; border:none"></td>
<td style="width:46.8pt; border:none"></td>
<td style="width:5.5pt; border:none"></td>
<td style="width:13.3pt; border:none"></td>
<td style="width:29.35pt; border:none"></td>
<td style="width:9.05pt; border:none"></td>
<td style="width:14.55pt; border:none"></td>
<td style="width:21.15pt; border:none"></td>
<td style="width:14.3pt; border:none"></td>
<td style="width:4.75pt; border:none"></td>
<td style="width:5.15pt; border:none"></td>
<td style="width:32.95pt; border:none"></td>
<td style="width:14.3pt; border:none"></td>
<td style="width:6.7pt; border:none"></td>
<td style="width:46.95pt; border:none"></td>
<td style="width:0.4pt; border:none"></td>
<td style="width:39.45pt; border:none"></td>
<td style="width:36.95pt; border:none"></td>
</tr>
</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>`
3 years ago
3 years ago
const htmlString = `<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
3 years ago
`+ box + `
3 years ago
</body>
</html>`
3 years ago
const fileData = asBlob(htmlString).then((data: any) => {
saveAs(data, this.datas.basicInfo.name + '基本信息.docx') // 保存为docx文件
3 years ago
})
3 years ago
}
back() {
window.history.back()
}
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
}
}
}
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) / 57
this.integrity = Math.floor(num4 * 100) / 100
console.log(num, num2, num3, num4);
this.datas.basicInfo.positionCoordinates = {
x: this.markerPosition.x, y: this.markerPosition.y
}
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);
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({
directorName: data.directorName,
organizationId: data.organizationId,
relatedOrganizationId: data.relatedOrganizationId,
buildingTypeId: data.buildingTypeId
})
if (this.datas.basicInfo.positionCoordinates && (this.datas.basicInfo.positionCoordinates.x != 0 && this.datas.basicInfo.positionCoordinates.y != 0)) {//已标注
this.isMapLabel = true
this.markerPosition = this.datas.basicInfo.positionCoordinates
} else {//未标注
this.isMapLabel = false
}
this.labelGis()
})
}
nodes: any = []
getAllOrganization() {
let organizationId = JSON.parse(sessionStorage.getItem('userData')).organizationId
let params = {
OrganizationId: organizationId || '',
ContainsChildren: "true",
PageNumber: 1,
PageSize: 9999
}
this.http.get('/api/Organizations', {
params: params
}).subscribe((data: any) => {
data.items.forEach(element => {
if (element.id == organizationId) {
element.parentId = null
}
element.key = element.id
element.title = element.name
});
this.nodes = [...this.toTree.toTree(data.items)]
})
}
}