Browse Source

[完善]修改bug

非煤矿山灾害智能感知和预警系统
邵佳豪 2 years ago
parent
commit
20daeced7d
  1. 29
      src/app/home/basic-info/unit-details/unit-details.component.ts
  2. 6
      src/app/home/task/station-task-execution/station-task-execution.component.ts
  3. 238
      src/app/home/task/station-task-execution/task-details/task-details.component.html
  4. 39
      src/app/home/task/station-task-execution/task-details/task-details.component.ts

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

@ -1448,35 +1448,6 @@ export class UnitDetailsComponent implements OnInit {
this.http.get('/api/Companies/' + this.id).subscribe((data: any) => {
console.log('当前单位信息', data);
this.olddata = 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.imageUrl = data.imageFile
console.log('当前单位信息2', this.datas);
this.validateForm.patchValue({
code: data.usci,
organizationId: data.organizationId,
relatedOrganizationId: data.relatedOrganizationId,
buildingTypeId: data.buildingTypeId,
legalPersonName: data.legalPersonName,
legalPersonPhone: data.legalPersonPhone,
principalName: data.directorName,
principalPhone: data.directorPhone,
adminName: data.securityAdministratorName,
adminPhone: data.securityAdministratorPhone,
})
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 = []

6
src/app/home/task/station-task-execution/station-task-execution.component.ts

@ -300,7 +300,11 @@ export class StationTaskExecutionComponent implements OnInit {
look(item) {
console.log(item)
this.router.navigate(['/task/taskexecution/taskdetails'], { queryParams: { id: item.id, company: item.company.companyName, organization: item.organization.name } })
if (item.approvalStatus == '待检查') {
this.message.create('warning', '该单位未检查');
return
}
this.router.navigate(['/task/taskexecution/taskdetails'], { queryParams: { id: item.id, company: item.company.companyName, organization: item.organization.name, legalPersonName: item.company.legalPersonName ? item.company.legalPersonName : '' } })
}
complete(item) {

238
src/app/home/task/station-task-execution/task-details/task-details.component.html

@ -7,6 +7,244 @@
<div class="box">
<nz-tabset>
<nz-tab nzTitle="“防消联勤”工作检查情况登记表">
<div id="tablebox3">
<p style="margin:0pt; orphans:0; text-align:center; widows:0">
<span style="font-family:'Times New Roman'; font-size:16pt; font-weight:bold"></span>
<span style="font-family:仿宋_GB2312; font-size:16pt; font-weight:bold">防消联勤</span>
<span style="font-family:'Times New Roman'; font-size:16pt; font-weight:bold"></span>
<span style="font-family:仿宋_GB2312; font-size:16pt; font-weight:bold">工作检查情况登记表</span>
</p>
<p style="margin:0pt; orphans:0;text-align: center;">
<span style="font-family:仿宋_GB2312; font-size:12pt;margin-right: 50pt;">执勤中队:{{organization}}</span>
<span style="font-family:仿宋_GB2312; font-size:12pt;margin-left: 50pt;">
检查日期:{{checkTime | date:"yyyy-MM-dd HH:mm:ss" }}
</span>
</p>
<table cellspacing="0" cellpadding="0" style="border-collapse:collapse; margin:0 auto; width:475.65pt">
<tr style="height:20.8pt">
<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:top; width:88.45pt">
<p style="font-size:9pt; line-height:150%; margin:0pt; orphans:0; 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-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:top; width:130.95pt">
<p style="font-size:9pt; line-height:150%; margin:0pt; orphans:0; widows:0">
<span style="font-family:宋体; font-size:9pt">{{company}}</span>
</p>
</td>
<td colspan="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; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:top; width:84.05pt">
<p style="font-size:9pt; line-height:150%; margin:0pt; orphans:0; 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-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:top; width:128.25pt">
<p style="font-size:10.5pt; line-height:150%; margin:0pt; orphans:0; widows:0">
<span style="font-family:宋体; font-size:9pt">{{legalPersonName}}</span>
</p>
</td>
</tr>
<tr style="height:18.3pt">
<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:top; width:88.45pt">
<p style="font-size:9pt; line-height:150%; margin:0pt; orphans:0; 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-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:top; width:130.95pt">
<p style="font-size:9pt; line-height:150%; margin:0pt; orphans:0; widows:0"><span
style="font-family:宋体; font-size:9pt">
{{taskAlldataOfcompany.address}}</span>
</p>
</td>
<td colspan="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; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:top; width:84.05pt">
<p style="font-size:9pt; line-height:150%; margin:0pt; orphans:0; 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-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:top; width:128.25pt">
<p style="font-size:10.5pt; line-height:150%; margin:0pt; orphans:0; widows:0"><span
style="font-family:宋体; font-size:10.5pt">{{taskAlldataOfcompany.datas.basicInfo.structure}}</span>
</p>
</td>
</tr>
<tr style="height:22.2pt">
<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:top; width:88.45pt">
<p style="font-size:9pt; line-height:150%; margin:0pt; orphans:0; 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-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:top; width:130.95pt">
<p style="font-size:9pt; line-height:150%; margin:0pt; orphans:0; widows:0"><span
style="font-family:宋体; font-size:9pt">{{taskAlldataOfcompany.datas.basicInfo.height}}</span></p>
</td>
<td colspan="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; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:top; width:84.05pt">
<p style="font-size:9pt; line-height:150%; margin:0pt; orphans:0; 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-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:top; width:128.25pt">
<p style="font-size:10.5pt; line-height:150%; margin:0pt; orphans:0; widows:0"><span
style="font-family:宋体; font-size:10.5pt">{{taskAlldataOfcompany.datas.basicInfo.layer}}</span></p>
</td>
</tr>
<tr style="height:21.25pt">
<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:top; width:88.45pt">
<p style="font-size:9pt; line-height:150%; margin:0pt; orphans:0; 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-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:top; width:130.95pt">
<p style="font-size:9pt; line-height:150%; margin:0pt; orphans:0; widows:0"><span
style="font-family:宋体; font-size:9pt">{{taskAlldataOfcompany.directorName}}</span></p>
</td>
<td colspan="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; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:top; width:84.05pt">
<p style="font-size:9pt; line-height:150%; margin:0pt; orphans:0; 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-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:top; width:128.25pt">
<p style="font-size:10.5pt; line-height:150%; margin:0pt; orphans:0; widows:0"><span
style="font-family:宋体; font-size:10.5pt">{{taskAlldataOfcompany.directorPhone}}</span></p>
</td>
</tr>
<tr style="height:22.95pt">
<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:top; width:88.45pt">
<p style="font-size:9pt; line-height:150%; margin:0pt; orphans:0; 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-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:top; width:130.95pt">
<p style="font-size:9pt; line-height:150%; margin:0pt; orphans:0; widows:0"><span
style="font-family:宋体; font-size:9pt">{{taskAlldataOfcompany.useNature}}</span></p>
</td>
<td colspan="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; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:top; width:84.05pt">
<p style="font-size:9pt; line-height:150%; margin:0pt; orphans:0; 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-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:top; width:128.25pt">
<p style="font-size:10.5pt; line-height:150%; margin:0pt; orphans:0; widows:0"><span
style="font-family:宋体; font-size:10.5pt">{{taskAlldataOfcompany.datas.facilities.controlPosition}}</span>
</p>
</td>
</tr>
<tr style="height:20.4pt">
<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:top; width:88.45pt">
<p style="font-size:9pt; line-height:150%; margin:0pt; orphans:0; 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-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:top; width:364.85pt">
<p style="font-size:9pt; line-height:150%; margin:0pt; orphans:0; widows:0"><span
style="font-family:宋体; font-size:9pt">{{taskAlldataOfcompany.datas.basicInfo.nature}}</span></p>
</td>
</tr>
<tr style="height:25.5pt">
<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:top; width:88.45pt">
<p style="font-size:9pt; line-height:150%; margin:0pt; orphans:0; 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-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:top; width:364.85pt">
<p style="font-size:9pt; line-height:150%; margin:0pt; orphans:0; widows:0">
<span style="font-family:宋体; font-size:9pt"
*ngFor="let item of taskAlldataOfcompany.zhuyaosheshi.data">
{{item.check ? item.name : ''}}
</span>
</p>
</td>
</tr>
<tr style="height:19.7pt">
<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:top; width:88.45pt">
<p style="font-size:9pt; line-height:150%; margin:0pt; orphans:0; 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-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:top; width:111.05pt">
<p style="font-size:9pt; line-height:150%; margin:0pt; orphans:0; widows:0"><span
style="font-family:宋体; font-size:9pt">室内消火栓数量:{{taskAlldataOfcompany.datas.facilities.fireFightingFacilities.shineishuliang}}</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: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:top; width:103.95pt">
<p style="font-size:9pt; line-height:150%; margin:0pt; orphans:0; widows:0"><span
style="font-family:宋体; font-size:9pt">室外消火栓数量:{{taskAlldataOfcompany.datas.facilities.fireFightingFacilities.shiwaishuliang}}</span>
</p>
</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:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:top; width:128.25pt">
<p style="font-size:9pt; line-height:150%; margin:0pt; orphans:0; widows:0"><span
style="font-family:宋体; font-size:9pt">消防泵数量:{{taskAlldataOfcompany.datas.facilities.fireFightingFacilities.xiaofangshuanshuliang}}</span>
</p>
</td>
</tr>
<tr *ngFor="let item of taskAlldataOfform">
<td colspan="4"
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:top; width:265.65pt">
<p style="margin:0pt; orphans:0; text-align:justify; widows:0"><span
style="font-family:宋体; font-size:9pt">{{item.name}}</span></p>
<p *ngIf="item.name != '实战演练' && item.name != '数字化预案'"
style="margin:0pt; orphans:0; text-align:justify; widows:0">
<img (click)="viewImg(i)" *ngFor="let i of item.data.imgShow" [src]="i" width="145" height="82" alt=""
style="-aw-left-pos:0pt; -aw-rel-hpos:column; -aw-rel-vpos:paragraph; -aw-top-pos:0pt; -aw-wrap-type:inline;margin-right: 3pt;" />
</p>
<p style="margin:0pt; orphans:0; text-align:justify; widows:0"><span
style="font-family:宋体; font-size:9pt">&#xa0;</span></p>
<p style="margin:0pt; orphans:0; text-align:justify; widows:0">
<span *ngIf="item.name != '实战演练' && item.name != '数字化预案'"
style="font-family:宋体; font-size:9pt">位置:{{item.data.addres}} </span>
</p>
<p style="margin:0pt; orphans:0; text-align:justify; widows:0"><span
*ngIf="item.name != '实战演练' && item.name != '数字化预案'"
style="font-family:宋体; font-size:9pt">结果:{{item.data.jieguo}}</span></p>
</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:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:48.6pt">
<p style="margin:0pt; orphans:0; text-indent:8pt; widows:0">
<ng-container *ngIf="item.name != '实战演练' && item.name != '数字化预案'; else elseTemplate">
<span style="font-family:宋体; font-size:6pt">{{item.data.zhenggai == '是' ? '√' : '□'}}是</span>
<span style="font-family:宋体; font-size:6pt">{{item.data.zhenggai == '是' ? '□' : '√'}}否</span>
</ng-container>
<ng-template #elseTemplate>
<span style="font-family:宋体; font-size:9pt">□是</span>
<span style="font-family:宋体; font-size:9pt">□否</span>
</ng-template>
</p>
</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:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:top; width:128.25pt">
<p style="margin:0pt; orphans:0; text-align:justify; widows:0"><span
style="font-family:宋体; font-size:9pt">具体问题: <span
*ngIf="item.name != '实战演练' && item.name != '数字化预案'">{{item.data.remarks}}</span> </span></p>
</td>
</tr>
<tr style="height:0pt">
<td style="width:99.25pt; border:none"></td>
<td style="width:121.85pt; border:none"></td>
<td style="width:19.9pt; border:none"></td>
<td style="width:35.45pt; border:none"></td>
<td style="width:59.4pt; border:none"></td>
<td style="width:139.05pt; border:none"></td>
</tr>
</table>
<p style="margin:0pt; orphans:0; text-align:justify; widows:0"><span
style="font-family:宋体; font-size:16pt">&#xa0;</span></p>
</div>
</nz-tab>
<nz-tab nzTitle="演练卡">
<div id="tablebox">
<table cellspacing="0" cellpadding="0" style="border-collapse:collapse; margin-left:0pt; width:465.2pt">

39
src/app/home/task/station-task-execution/task-details/task-details.component.ts

@ -1,3 +1,4 @@
import { HttpClient } from '@angular/common/http';
import { Component, OnInit } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { MethodService } from 'src/app/service/method.service';
@ -10,7 +11,7 @@ import Viewer from 'viewerjs';
})
export class TaskDetailsPagesComponent implements OnInit {
constructor(public methodService: MethodService, private route: ActivatedRoute) { }
constructor(public methodService: MethodService, private route: ActivatedRoute, private http: HttpClient) { }
/**
@ -249,31 +250,27 @@ export class TaskDetailsPagesComponent implements OnInit {
company: string
organization: string
legalPersonName: string
checkTime: string
taskAlldataOfcompany: any = {
datas: {
facilities: {
fireFightingFacilities: {
shiwaishuliang: '',
shineishuliang: ''
}
}
}
}
taskAlldataOfcompany: any
taskAlldataOfform: any
ngOnInit(): void {
this.company = this.route.snapshot.queryParams.company
this.legalPersonName = this.route.snapshot.queryParams.legalPersonName
this.organization = JSON.parse(sessionStorage.getItem('userData')).organizationName
let taskId = this.route.snapshot.queryParams.id
this.methodService.getTaskDetails(taskId).then((data: any) => {
this.checkTime = data.checkTime
let obj = JSON.parse(data.resultData)
// if (!obj) {
// return
// }
console.log('所有数据', obj)
this.checkTime = data.checkTime
if (!obj) {
return
}
this.taskAlldataOfcompany = obj.company
console.log(689, this.taskAlldataOfcompany)
this.taskAlldataOfform = obj.form
let exerciseData = this.methodService.getTaskDetailsItem('实战演练', obj.form)
@ -311,7 +308,13 @@ export class TaskDetailsPagesComponent implements OnInit {
})
}
olddata: any
getCompanies() {
// this.http.get('/api/Companies/' + this.id).subscribe((data: any) => {
// console.log('当前单位信息', data);
// this.olddata = data
// })
}
goback() {
window.history.back()

Loading…
Cancel
Save