Browse Source

Merge branch 'master' of http://121.36.37.70:3000/shaojiahao/Jinan_project

非煤矿山灾害智能感知和预警系统
邵佳豪 2 years ago
parent
commit
83c37a0ae9
  1. 344
      src/app/home/basic-info/unit-details/unit-details.component.html
  2. 232
      src/app/home/basic-info/unit-details/unit-details.component.ts

344
src/app/home/basic-info/unit-details/unit-details.component.html

@ -1,4 +1,3 @@
<div class="detailsbox">
<div class="top"><button nz-button (click)="back()">返回</button></div>
<div class="buttons">
@ -11,53 +10,78 @@
<div class="title">单位信息</div>
<div class="content" style="display: flex;">
<div class="content-left" style="width: 50%;">
<form nz-form [formGroup]="validateForm" (ngSubmit)="submitForm(validateForm.value)">
<form nz-form [formGroup]="validateForm">
<!-- <nz-form-item>
<nz-form-label [nzSpan]="7" nzRequired nzFor="单位名称">单位名称</nz-form-label>
<nz-form-control [nzSpan]="12">
<nz-input-group>
<input nz-input type="text" formControlName="companyName" placeholder="请输入单位名称" />
</nz-input-group>
</nz-form-control>
</nz-form-item> -->
<nz-form-item>
<nz-form-label [nzSpan]="7" nzRequired>所属救援站</nz-form-label>
<nz-form-control [nzSpan]="12" nzHasFeedback nzValidatingTip="Validating..." [nzErrorTip]="userErrorTpl">
<input nz-input formControlName="userName" placeholder="async validate try to write JasonWood" />
<ng-template #userErrorTpl let-control>
<ng-container *ngIf="control.hasError('required')">
Please input your username!
</ng-container>
<ng-container *ngIf="control.hasError('duplicated')">
The username is redundant!
</ng-container>
</ng-template>
<nz-form-label [nzSpan]="7" nzFor="消防安全责任人">消防安全责任人</nz-form-label>
<nz-form-control [nzSpan]="12">
<nz-input-group>
<input nz-input type="text" formControlName="directorName" placeholder="请输入消防安全责任人" />
</nz-input-group>
</nz-form-control>
</nz-form-item>
<!-- <nz-form-item>
<nz-form-label [nzSpan]="7" nzFor="联系方式">联系方式</nz-form-label>
<nz-form-control [nzSpan]="12">
<nz-input-group>
<input nz-input type="text" formControlName="directorPhone" placeholder="请输入联系方式" />
</nz-input-group>
</nz-form-control>
</nz-form-item> -->
<!-- <nz-form-item>
<nz-form-label [nzSpan]="7" nzFor="单位地址">单位地址</nz-form-label>
<nz-form-control [nzSpan]="12">
<nz-input-group>
<input nz-input type="text" formControlName="address" placeholder="请输入单位地址" />
</nz-input-group>
</nz-form-control>
</nz-form-item> -->
<nz-form-item>
<nz-form-label [nzSpan]="7" nzRequired>所属大队</nz-form-label>
<nz-form-control [nzSpan]="12" nzHasFeedback [nzErrorTip]="emailErrorTpl">
<input nz-input formControlName="email" placeholder="email" type="email" />
<ng-template #emailErrorTpl let-control>
<ng-container *ngIf="control.hasError('email')">
The input is not valid E-mail!
</ng-container>
<ng-container *ngIf="control.hasError('required')">
Please input your E-mail!
</ng-container>
</ng-template>
<nz-form-label nzRequired [nzSpan]="7" nzFor="所属救援站">所属救援站</nz-form-label>
<nz-form-control [nzSpan]="12">
<nz-select formControlName="organizationId" nzPlaceHolder="请选择所属救援站">
<nz-option *ngFor="let item of jiuyuanzhan" [nzValue]="item.id" [nzLabel]="item.name">
</nz-option>
</nz-select>
</nz-form-control>
</nz-form-item>
<nz-form-item>
<nz-form-label [nzSpan]="7" nzRequired>建筑类型</nz-form-label>
<nz-form-control [nzSpan]="12" nzHasFeedback nzErrorTip="Please input your password!">
<input nz-input type="password" formControlName="passwor " (ngModelChange)="validateConfirmPassword()" />
<nz-form-label [nzSpan]="7" nzFor="所属大队">所属大队</nz-form-label>
<nz-form-control [nzSpan]="12">
<nz-select formControlName="relatedOrganizationId" nzPlaceHolder="请选择所属大队">
<nz-option *ngFor="let item of dadui" [nzValue]="item.id" [nzLabel]="item.name">
</nz-option>
</nz-select>
</nz-form-control>
</nz-form-item>
<!-- <nz-form-item>
<nz-form-label nzRequired [nzSpan]="7" nzFor="使用性质">使用性质</nz-form-label>
<nz-form-control [nzSpan]="12">
<nz-input-group>
<input nz-input type="text" formControlName="useNature" placeholder="请输入使用性质" />
</nz-input-group>
</nz-form-control>
</nz-form-item> -->
<nz-form-item>
<nz-form-label [nzSpan]="7" nzRequired>Comment</nz-form-label>
<nz-form-control [nzSpan]="12" nzErrorTip="Please write something here!">
<textarea formControlName="comment" nz-input rows="2" placeholder="write any thing"></textarea>
<nz-form-label [nzSpan]="7" nzFor="建筑类型">建筑类型</nz-form-label>
<nz-form-control [nzSpan]="12">
<nz-select formControlName="buildingTypeId" nzPlaceHolder="请选择建筑类型">
<nz-option *ngFor="let item of listOfData2" [nzValue]="item.id" [nzLabel]="item.name">
</nz-option>
</nz-select>
</nz-form-control>
</nz-form-item>
</form>
</div>
<div class="content-right" style="width: 50%;">
</div>
</div>
<div>
@ -67,7 +91,7 @@
<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;">山东小满园餐饮有限公司</span><span
style="font-family:宋体; font-size:22pt; font-weight:bold; color: #000;">{{datas.basicInfo.name}}</span><span
style="font-family:宋体; font-size:22pt; font-weight:bold; color: #000;">基本情况</span></a></p>
</td>
</tr>
@ -85,7 +109,8 @@
<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"><input [(ngModel)]="datas.basicInfo.name" style="width: 120px;" nz-input type="text"></span></p>
style="font-family:宋体; font-size:9pt"><input [(ngModel)]="datas.basicInfo.name" style="width: 120px;"
nz-input type="text"></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">
@ -95,7 +120,8 @@
<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"><input [(ngModel)]="datas.basicInfo.addr" style="width: 120px;" nz-input type="text"></span>
style="font-family:宋体; font-size:9pt"><input [(ngModel)]="datas.basicInfo.addr" style="width: 120px;"
nz-input type="text"></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">
@ -105,7 +131,8 @@
<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"><input [(ngModel)]="datas.basicInfo.phone" style="width: 90px;" nz-input type="text"></span></p>
style="font-family:'Times New Roman'; font-size:9pt"><input [(ngModel)]="datas.basicInfo.phone"
style="width: 90px;" nz-input type="text"></span></p>
</td>
</tr>
<tr style="height:22.3pt">
@ -116,7 +143,8 @@
</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"><input [(ngModel)]="datas.basicInfo.total" style="width: 120px;" nz-input type="text"></span></p>
<p style="margin:0pt; text-align:center"><span style="font-family:'Times New Roman'; font-size:9pt"><input
[(ngModel)]="datas.basicInfo.total" style="width: 120px;" nz-input type="text"></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">
@ -125,7 +153,8 @@
</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"><input [(ngModel)]="datas.basicInfo.height" style="width: 120px;" nz-input type="text"></span></p>
<p style="margin:0pt; text-align:center"><span style="font-family:'Times New Roman'; font-size:9pt"><input
[(ngModel)]="datas.basicInfo.height" style="width: 120px;" nz-input type="text"></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">
@ -134,7 +163,8 @@
</td>
<td colspan="2"
style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:1pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:4.9pt; vertical-align:middle; width:65.6pt">
<p style="margin:0pt; text-align:center"><span style="font-family:'Times New Roman'; font-size:9pt"><input [(ngModel)]="datas.basicInfo.layer" style="width: 90px;" nz-input type="text"></span></p>
<p style="margin:0pt; text-align:center"><span style="font-family:'Times New Roman'; font-size:9pt"><input
[(ngModel)]="datas.basicInfo.layer" style="width: 90px;" nz-input type="text"></span></p>
</td>
</tr>
<tr style="height:4pt">
@ -146,7 +176,8 @@
<td
style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:35.45pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"><input [(ngModel)]="datas.basicInfo.structure" style="width: 50px;" nz-input type="text"></span></p>
style="font-family:宋体; font-size:9pt"><input [(ngModel)]="datas.basicInfo.structure"
style="width: 50px;" nz-input type="text"></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">
@ -156,7 +187,8 @@
<td colspan="3"
style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:42.15pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:'Times New Roman'; font-size:9pt"><input [(ngModel)]="datas.basicInfo.coveredArea" style="width: 60px;" nz-input type="text"></span></p>
style="font-family:'Times New Roman'; font-size:9pt"><input [(ngModel)]="datas.basicInfo.coveredArea"
style="width: 60px;" nz-input type="text"></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">
@ -166,7 +198,8 @@
<td colspan="3"
style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:43.15pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:'Times New Roman'; font-size:9pt"><input [(ngModel)]="datas.basicInfo.builtUpArea" style="width: 60px;" nz-input type="text"></span></p>
style="font-family:'Times New Roman'; font-size:9pt"><input [(ngModel)]="datas.basicInfo.builtUpArea"
style="width: 60px;" nz-input type="text"></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">
@ -176,7 +209,8 @@
<td colspan="2"
style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:1pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:4.9pt; vertical-align:middle; width:65.6pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"><input [(ngModel)]="datas.basicInfo.nature" style="width: 90px;" nz-input type="text"></span></p>
style="font-family:宋体; font-size:9pt"><input [(ngModel)]="datas.basicInfo.nature" style="width: 90px;"
nz-input type="text"></span></p>
</td>
</tr>
<tr style="height:16.9pt">
@ -188,22 +222,26 @@
<td colspan="4"
style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:101.05pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt">东:</span><span style="font-family:宋体; font-size:9pt"><input [(ngModel)]="datas.basicInfo.east" style="width: 90px;" nz-input type="text"></span></p>
style="font-family:宋体; font-size:9pt">东:</span><span style="font-family:宋体; font-size:9pt"><input
[(ngModel)]="datas.basicInfo.east" style="width: 90px;" nz-input type="text"></span></p>
</td>
<td colspan="7"
style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:87.5pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt">南:</span><span style="font-family:宋体; font-size:9pt"><input [(ngModel)]="datas.basicInfo.south" style="width: 90px;" nz-input type="text"></span></p>
style="font-family:宋体; font-size:9pt">南:</span><span style="font-family:宋体; font-size:9pt"><input
[(ngModel)]="datas.basicInfo.south" style="width: 90px;" nz-input type="text"></span></p>
</td>
<td colspan="5"
style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:90.5pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt">西:</span><span style="font-family:宋体; font-size:9pt"><input [(ngModel)]="datas.basicInfo.west" style="width: 90px;" nz-input type="text"></span></p>
style="font-family:宋体; font-size:9pt">西:</span><span style="font-family:宋体; font-size:9pt"><input
[(ngModel)]="datas.basicInfo.west" style="width: 90px;" nz-input type="text"></span></p>
</td>
<td colspan="2"
style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:1pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:4.9pt; vertical-align:middle; width:65.6pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt">北:</span><span style="font-family:宋体; font-size:9pt"><input [(ngModel)]="datas.basicInfo.north" style="width: 50px;" nz-input type="text"></span></p>
style="font-family:宋体; font-size:9pt">北:</span><span style="font-family:宋体; font-size:9pt"><input
[(ngModel)]="datas.basicInfo.north" style="width: 50px;" nz-input type="text"></span></p>
</td>
</tr>
<tr style="height:21.45pt">
@ -215,7 +253,8 @@
<td colspan="18"
style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:1pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:4.9pt; vertical-align:middle; width:377.05pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"><textarea [(ngModel)]="datas.basicInfo.routeAndTime" style="width: 400px; height: 100px;" type="text"></textarea></span></p>
style="font-family:宋体; font-size:9pt"><textarea [(ngModel)]="datas.basicInfo.routeAndTime"
style="width: 400px; height: 100px;" type="text"></textarea></span></p>
</td>
</tr>
<tr style="height:22.3pt">
@ -236,7 +275,8 @@
</td>
<td colspan="17"
style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:1pt; padding-left:5.4pt; padding-right:4.9pt; vertical-align:middle; width:330.8pt">
<p style="margin:0pt; text-align:center"><span style="font-family:宋体; font-size:9pt"><input [(ngModel)]="datas.facilities.controlPosition" style="width: 200px;" nz-input type="text"></span></p>
<p style="margin:0pt; text-align:center"><span style="font-family:宋体; font-size:9pt"><input
[(ngModel)]="datas.facilities.controlPosition" style="width: 200px;" nz-input type="text"></span></p>
</td>
</tr>
<tr style="height:22.3pt">
@ -253,7 +293,8 @@
<td colspan="3"
style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:54.8pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:'Times New Roman'; font-size:9pt"><input [(ngModel)]="datas.facilities.poolNumbe" nz-input style="width:50px" type="text"></span></p>
style="font-family:'Times New Roman'; font-size:9pt"><input [(ngModel)]="datas.facilities.poolNumbe"
nz-input style="width:50px" type="text"></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">
@ -263,7 +304,8 @@
<td colspan="4"
style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:34.55pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:'Times New Roman'; font-size:9pt"><input [(ngModel)]="datas.facilities.poolPosition" nz-input style="width:50px" type="text"></span></p>
style="font-family:'Times New Roman'; font-size:9pt"><input [(ngModel)]="datas.facilities.poolPosition"
nz-input style="width:50px" type="text"></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">
@ -273,7 +315,8 @@
<td colspan="2"
style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:36.55pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:'Times New Roman'; font-size:9pt"><input [(ngModel)]="datas.facilities.poolCapacity" nz-input style="width:50px" type="text"></span></p>
style="font-family:'Times New Roman'; font-size:9pt"><input [(ngModel)]="datas.facilities.poolCapacity"
nz-input style="width:50px" type="text"></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">
@ -283,7 +326,8 @@
<td
style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:1pt; padding-left:5.4pt; padding-right:4.9pt; vertical-align:middle; width:26.15pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:'Times New Roman'; font-size:9pt"><input [(ngModel)]="datas.facilities.supplyMode" nz-input style="width:50px" type="text"></span></p>
style="font-family:'Times New Roman'; font-size:9pt"><input [(ngModel)]="datas.facilities.supplyMode"
nz-input style="width:50px" type="text"></span></p>
</td>
</tr>
<tr style="height:21.45pt">
@ -295,7 +339,8 @@
<td colspan="10"
style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:153.1pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:'Times New Roman'; font-size:9pt"><input [(ngModel)]="datas.facilities.waterSources" nz-input style="width:120px" type="text"></span></p>
style="font-family:'Times New Roman'; font-size:9pt"><input [(ngModel)]="datas.facilities.waterSources"
nz-input style="width:120px" type="text"></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">
@ -305,7 +350,9 @@
<td colspan="4"
style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:1pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:4.9pt; vertical-align:middle; width:112.95pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:'Times New Roman'; font-size:9pt"><input [(ngModel)]="datas.facilities.waterSourcesPosition" nz-input style="width:140px" type="text"></span></p>
style="font-family:'Times New Roman'; font-size:9pt"><input
[(ngModel)]="datas.facilities.waterSourcesPosition" nz-input style="width:140px" type="text"></span>
</p>
</td>
</tr>
<tr style="height:29.5pt">
@ -322,7 +369,7 @@
style="font-family:宋体; font-size:9pt">)</span><br /><span
style="font-family:宋体; font-size:9pt">无(</span><span style="font-family:宋体; font-size:9pt"></span><span
style="font-family:宋体; font-size:9pt">)</span> -->
<label nz-checkbox [(ngModel)]="datas.facilities.alarm">有无</label>
<label nz-checkbox [(ngModel)]="datas.facilities.alarm">有无</label>
</p>
</td>
<td colspan="3"
@ -338,7 +385,7 @@
style="font-family:宋体; font-size:9pt">)</span><br /><span
style="font-family:宋体; font-size:9pt">无(</span><span style="font-family:宋体; font-size:9pt"></span><span
style="font-family:宋体; font-size:9pt">)</span> -->
<label nz-checkbox [(ngModel)]="datas.facilities.spray">有无</label>
<label nz-checkbox [(ngModel)]="datas.facilities.spray">有无</label>
</p>
</td>
<td colspan="4"
@ -354,7 +401,7 @@
style="font-family:宋体; font-size:9pt">)</span><br /><span
style="font-family:宋体; font-size:9pt">无(</span><span style="font-family:宋体; font-size:9pt"></span><span
style="font-family:宋体; font-size:9pt">)</span> -->
<label nz-checkbox [(ngModel)]="datas.facilities.broadcast">有无</label>
<label nz-checkbox [(ngModel)]="datas.facilities.broadcast">有无</label>
</p>
</td>
<td colspan="2"
@ -370,7 +417,7 @@
style="font-family:宋体; font-size:9pt">)</span><br /><span
style="font-family:宋体; font-size:9pt">无(</span><span style="font-family:宋体; font-size:9pt"></span><span
style="font-family:宋体; font-size:9pt">)</span> -->
<label nz-checkbox [(ngModel)]="datas.facilities.smoke">有无</label>
<label nz-checkbox [(ngModel)]="datas.facilities.smoke">有无</label>
</p>
</td>
</tr>
@ -383,7 +430,8 @@
<td colspan="5"
style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:130.4pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:'Times New Roman'; font-size:9pt"><input [(ngModel)]="datas.facilities.hydrantsNumber" nz-input style="width:50px" type="text"></span><span
style="font-family:'Times New Roman'; font-size:9pt"><input
[(ngModel)]="datas.facilities.hydrantsNumber" nz-input style="width:50px" type="text"></span><span
style="font-family:宋体; font-size:9pt">个</span></p>
</td>
<td colspan="5"
@ -394,7 +442,8 @@
<td colspan="8"
style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:1pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:4.9pt; vertical-align:middle; width:172.05pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt"><input [(ngModel)]="datas.facilities.hydrantsPosition" nz-input style="width:150px" type="text"></span></p>
style="font-family:宋体; font-size:9pt"><input [(ngModel)]="datas.facilities.hydrantsPosition" nz-input
style="width:150px" type="text"></span></p>
</td>
</tr>
<tr style="height:28.05pt">
@ -412,20 +461,23 @@
style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:41.5pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt">数量:</span><span
style="font-family:'Times New Roman'; font-size:9pt"><input [(ngModel)]="datas.facilities.pumpNumber" nz-input style="width:50px" type="text"></span></p>
style="font-family:'Times New Roman'; font-size:9pt"><input [(ngModel)]="datas.facilities.pumpNumber"
nz-input style="width:50px" type="text"></span></p>
</td>
<td colspan="3"
style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:40.9pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt">扬程:</span><span
style="font-family:'Times New Roman'; font-size:9pt"><input [(ngModel)]="datas.facilities.pumpRange" nz-input style="width:50px" type="text"></span><span
style="font-family:'Times New Roman'; font-size:9pt"><input [(ngModel)]="datas.facilities.pumpRange"
nz-input style="width:50px" type="text"></span><span
style="font-family:'Times New Roman'; font-size:9pt">m</span></p>
</td>
<td colspan="3"
style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:39.2pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt">流量</span><span style="font-family:宋体; font-size:9pt"></span><span
style="font-family:'Times New Roman'; font-size:9pt"><input [(ngModel)]="datas.facilities.pumpFlow" nz-input style="width:50px" type="text"></span><span
style="font-family:'Times New Roman'; font-size:9pt"><input [(ngModel)]="datas.facilities.pumpFlow"
nz-input style="width:50px" type="text"></span><span
style="font-family:'Times New Roman'; font-size:9pt">L/S</span></p>
</td>
<td colspan="4"
@ -442,7 +494,8 @@
<td colspan="2"
style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:1pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:4.9pt; vertical-align:middle; width:65.6pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:'Times New Roman'; font-size:9pt"><input [(ngModel)]="datas.facilities.pumpAdapter" nz-input style="width:50px" type="text"></span></p>
style="font-family:'Times New Roman'; font-size:9pt"><input [(ngModel)]="datas.facilities.pumpAdapter"
nz-input style="width:50px" type="text"></span></p>
</td>
</tr>
<tr style="height:26.1pt">
@ -455,20 +508,23 @@
style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:41.5pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt">数量:</span><span
style="font-family:'Times New Roman'; font-size:9pt"><input [(ngModel)]="datas.facilities.SprayPumpNumber" nz-input style="width:50px" type="text"></span></p>
style="font-family:'Times New Roman'; font-size:9pt"><input
[(ngModel)]="datas.facilities.SprayPumpNumber" nz-input style="width:50px" type="text"></span></p>
</td>
<td colspan="3"
style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:40.9pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt">扬程:</span><span
style="font-family:'Times New Roman'; font-size:9pt"><input [(ngModel)]="datas.facilities.SprayPumpRange" nz-input style="width:50px" type="text"></span><span
style="font-family:'Times New Roman'; font-size:9pt"><input
[(ngModel)]="datas.facilities.SprayPumpRange" nz-input style="width:50px" type="text"></span><span
style="font-family:'Times New Roman'; font-size:9pt">m</span></p>
</td>
<td colspan="3"
style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:39.2pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:宋体; font-size:9pt">流量:</span><span
style="font-family:'Times New Roman'; font-size:9pt"><input [(ngModel)]="datas.facilities.SprayPumpFlow" nz-input style="width:50px" type="text"></span><span
style="font-family:'Times New Roman'; font-size:9pt"><input [(ngModel)]="datas.facilities.SprayPumpFlow"
nz-input style="width:50px" type="text"></span><span
style="font-family:'Times New Roman'; font-size:9pt">L/S</span></p>
</td>
<td colspan="4"
@ -485,7 +541,8 @@
<td colspan="2"
style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:1pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:4.9pt; vertical-align:middle; width:65.6pt">
<p style="line-height:12pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
style="font-family:'Times New Roman'; font-size:9pt"><input [(ngModel)]="datas.facilities.SprayPumpAdapter" nz-input style="width:50px" type="text"></span></p>
style="font-family:'Times New Roman'; font-size:9pt"><input
[(ngModel)]="datas.facilities.SprayPumpAdapter" nz-input style="width:50px" type="text"></span></p>
</td>
</tr>
<tr style="height:26.1pt">
@ -498,7 +555,8 @@
</td>
<td colspan="2"
style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:82.25pt">
<p style="margin:0pt; text-align:center"><span style="font-family:'Times New Roman'; font-size:9pt"><input [(ngModel)]="datas.facilities.elevator" nz-input style="width:100px" type="text"></span>
<p style="margin:0pt; text-align:center"><span style="font-family:'Times New Roman'; font-size:9pt"><input
[(ngModel)]="datas.facilities.elevator" nz-input style="width:100px" type="text"></span>
</p>
</td>
<td colspan="4"
@ -510,8 +568,8 @@
</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"><input [(ngModel)]="datas.facilities.stairs" nz-input style="width:100px" type="text"></span></p>
<p style="margin:0pt; text-align:center"><span style="font-family:'Times New Roman'; font-size:9pt"><input
[(ngModel)]="datas.facilities.stairs" nz-input style="width:100px" type="text"></span></p>
</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">
@ -522,8 +580,8 @@
</td>
<td colspan="2"
style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:1pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:4.9pt; vertical-align:middle; width:65.6pt">
<p style="margin:0pt; text-align:center"><span
style="font-family:'Times New Roman'; font-size:9pt"><input [(ngModel)]="datas.facilities.Export" nz-input style="width:50px" type="text"></span></p>
<p style="margin:0pt; text-align:center"><span style="font-family:'Times New Roman'; font-size:9pt"><input
[(ngModel)]="datas.facilities.Export" nz-input style="width:50px" type="text"></span></p>
</td>
</tr>
<tr style="height:26.1pt">
@ -534,8 +592,8 @@
</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"><input [(ngModel)]="datas.facilities.indoorHydrant" nz-input style="width:50px" type="text"></span><span
<p style="margin:0pt; text-align:center"><span style="font-family:'Times New Roman'; font-size:9pt"><input
[(ngModel)]="datas.facilities.indoorHydrant" nz-input style="width:50px" type="text"></span><span
style="font-family:宋体; font-size:9pt">个</span></p>
</td>
<td colspan="4"
@ -545,10 +603,133 @@
</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"><input [(ngModel)]="datas.facilities.standardIndoorHydrant" nz-input style="width:180px" type="text"></span></p>
<p style="margin:0pt; text-align:center"><span style="font-family:'Times New Roman'; font-size:9pt"><input
[(ngModel)]="datas.facilities.standardIndoorHydrant" nz-input style="width:180px" type="text"></span>
</p>
</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">
<input
[(ngModel)]="datas.KeyParts[0].keyparts" nz-input style="width:50px" type="text">
</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"><input
[(ngModel)]="datas.KeyParts[0].keypartsposition" nz-input style="width:120px" type="text"></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">钢结构</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">存储漆类,油类</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">油类,漆类易燃,有毒</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">淬火油池</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">厂区中部</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">钢结构</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">淬火</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">高温</span></p>
</td>
</tr>
<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">
@ -560,7 +741,8 @@
<td colspan="19"
style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:5.03pt; vertical-align:middle; width:436.8pt">
<p style="margin:0pt; text-align:center"><span
style="font-family:'Times New Roman'; font-size:9pt"><textarea [(ngModel)]="datas.tips" style="width: 400px; height: 100px;" type="text"></textarea></span></p>
style="font-family:'Times New Roman'; font-size:9pt"><textarea [(ngModel)]="datas.tips"
style="width: 400px; height: 100px;" type="text"></textarea></span></p>
</td>
</tr>
<tr style="height:0pt">
@ -584,7 +766,7 @@
<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>
</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>

232
src/app/home/basic-info/unit-details/unit-details.component.ts

@ -1,6 +1,8 @@
import { Component, Renderer2, OnDestroy, AfterViewInit, ElementRef, OnInit, ViewChild } from '@angular/core';
import { CustomReuseStrategy } from 'src/app/CustomReuseStrategy';
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
import { Router } from '@angular/router';
import { HttpClient } from '@angular/common/http';
import { asBlob } from 'html-docx-js-typescript'
// 要保存这个docx文件推荐引入file-saver哦,你可以用npm i -D file-saver来安装
import { saveAs } from 'file-saver'
@ -12,14 +14,8 @@ import { saveAs } from 'file-saver'
export class UnitDetailsComponent implements OnInit {
@ViewChild('box') box: ElementRef;
constructor(private fb: FormBuilder, private renderer: Renderer2, private el: ElementRef) {
this.validateForm = this.fb.group({
userName: [''],
email: [''],
password: [''],
confirm: [''],
comment: ['']
});
constructor(private router: Router,private fb: FormBuilder, private http: HttpClient, private renderer: Renderer2, private el: ElementRef) {
}
datas= {
basicInfo: {
@ -68,32 +64,46 @@ export class UnitDetailsComponent implements OnInit {
indoorHydrant:"",
standardIndoorHydrant:""
},
KeyParts:[
{
keyparts:"222",
keypartsposition:"333",
},
{
keyparts:"222",
keypartsposition:"333",
}
],
tips:""
}
aaa = true
list={}
validateForm!: FormGroup;
zhidui=[]
dadui=[]
jiuyuanzhan=[]
id=""
ngOnInit(): void {
console.log(666,this.datas);
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()
}
submitForm(value: { userName: string; email: string; password: string; confirm: string; comment: string }): void {
for (const key in this.validateForm.controls) {
this.validateForm.controls[key].markAsDirty();
this.validateForm.controls[key].updateValueAndValidity();
}
console.log(value);
}
resetForm(e: MouseEvent): void {
e.preventDefault();
this.validateForm.reset();
for (const key in this.validateForm.controls) {
this.validateForm.controls[key].markAsPristine();
this.validateForm.controls[key].updateValueAndValidity();
}
}
validateConfirmPassword(): void {
setTimeout(() => this.validateForm.controls.confirm.updateValueAndValidity());
}
listOfData: any[] = [];
listOfData2: any[] = [];
exportClick() {
let alarm=""
let spray=""
@ -587,6 +597,124 @@ export class UnitDetailsComponent implements OnInit {
style="font-family:'Times New Roman'; font-size:9pt">`+this.datas.facilities.standardIndoorHydrant+`</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"></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"></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"></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"></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"></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"></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"></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"></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"></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"></span></p>
</td>
</tr>
<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">
@ -646,5 +774,51 @@ export class UnitDetailsComponent implements OnInit {
back() {
window.history.back()
}
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
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]})
})
}
nodes: any = []
getAllOrganization(){
let params = {
// OrganizationUnitId: OrganizationUnitId,
// IsContainsChildren: "true"
ContainsChildren: true,
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])
}
}
console.log(this.dadui);
})
}
}

Loading…
Cancel
Save