Browse Source

[完善]单位详细信息页面查看

非煤矿山灾害智能感知和预警系统
邵佳豪 3 years ago
parent
commit
89345c1052
  1. 225
      src/app/home/basic-info/unit-details/unit-details.component.html
  2. 6
      src/app/home/basic-info/unit-details/unit-details.component.scss
  3. 11
      src/app/home/basic-info/unit-details/unit-details.component.ts
  4. 4
      src/app/home/home.module.ts
  5. 2625
      src/app/home/task/station-task-execution/task-details/task-details.component.html
  6. 6
      src/app/home/task/station-task-execution/task-details/task-details.component.ts

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

@ -163,6 +163,7 @@
<div style="width: 200px;">基本信息</div>
<div class="tabbtn">
<div class="bule" (click)="index = 1" [ngClass]="{'selected': index == 1}">切换为单位基本信息</div>
<div class="bule" (click)="index = 4" [ngClass]="{'selected': index == 4}">切换为“防消联勤”工作检查情况登记表</div>
<div class="bule" (click)="index = 2" [ngClass]="{'selected': index == 2}">切换为实战演练卡</div>
<div class="bule" (click)="index = 3" [ngClass]="{'selected': index == 3}">切换为数字化预案卡</div>
</div>
@ -2181,5 +2182,229 @@
</tr>
</table>
</div>
<div class="formbox" *ngIf="index == 4">
<button nz-button nzType="primary" (click)="print()">打印表格</button>
<div id="xxx">
<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">执勤中队:</span><span
style="font-family:'Times New Roman'; font-size:12pt">xxx </span><span
style="font-family:'Times New Roman'; font-size:12pt"> </span><span
style="font-family:仿宋_GB2312; font-size:12pt">检查日期:</span><span
style="font-family:'Times New Roman'; font-size:12pt">2021</span><span
style="font-family:仿宋_GB2312; font-size:12pt">年</span><span
style="font-family:'Times New Roman'; font-size:12pt">10</span><span
style="font-family:仿宋_GB2312; font-size:12pt">月</span><span
style="font-family:'Times New Roman'; font-size:12pt">21</span><span
style="font-family:仿宋_GB2312; font-size:12pt">日</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">谢谢谢</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">&#xa0;</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">X</span><span style="font-family:宋体; font-size:9pt">xx</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">&#xa0;</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">&#xa0;</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">&#xa0;</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">&#xa0;</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">&#xa0;</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">&#xa0;</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">&#xa0;</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">&#xa0;</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">&#xa0;</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">室内消火栓数量:</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">室外消火栓数量:</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">消防泵数量:</span></p>
</td>
</tr>
<tr>
<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">消防控制室</span></p>
<p style="margin:0pt; orphans:0; text-align:justify; widows:0">
<img src="232b9cf5-abbe-423b-a74a-d502309a310b.001.png" 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" />
<img src="232b9cf5-abbe-423b-a74a-d502309a310b.001.png" 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" />
<img src="232b9cf5-abbe-423b-a74a-d502309a310b.001.png" 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" />
<img src="232b9cf5-abbe-423b-a74a-d502309a310b.001.png" 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" />
</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
style="font-family:宋体; font-size:9pt">位置:控制室 </span></p>
<p style="margin:0pt; orphans:0; text-align:justify; 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:middle; width:48.6pt">
<p style="margin:0pt; orphans:0; text-indent:16pt; widows:0"><span style="font-family:宋体; font-size:9pt">
</span><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="margin:0pt; orphans:0; text-align:justify; widows:0"><span
style="font-family:宋体; font-size:9pt">具体问题:</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>
</div>
</div>
</div>

6
src/app/home/basic-info/unit-details/unit-details.component.scss

@ -235,5 +235,11 @@
.formbox {
width: 100%;
margin: 0 auto;
position: relative;
button{
position: absolute;
right: 80px;
top: 80px;
}
}
}

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

@ -14,6 +14,8 @@ declare var AMap: any;
import Viewer from 'viewerjs';
import { NzModalService } from 'ng-zorro-antd/modal';
import { OperationLogComponent } from './operation-log/operation-log.component';
declare var $: any
@Component({
selector: 'app-unit-details',
templateUrl: './unit-details.component.html',
@ -337,7 +339,7 @@ export class UnitDetailsComponent implements OnInit {
}
this.company = this.route.snapshot.queryParams.company
this.organization = this.route.snapshot.queryParams.organization
let taskId = this.route.snapshot.queryParams.id
this.methodService.getCompanyTaskDetails(taskId).then((data: any) => {
let obj = JSON.parse(data.resultData)
@ -1437,7 +1439,7 @@ export class UnitDetailsComponent implements OnInit {
this.datas = JSON.parse(data.data)
}
this.datas.basicInfo.name = data.companyName
this.datas.basicInfo.addr = data.address
// this.datas.basicInfo.phone = data.directorPhone
@ -1503,4 +1505,9 @@ export class UnitDetailsComponent implements OnInit {
nzFooter: null
});
}
print() {
// console.log(1111111,$('#xxx'))
// $('#xxx').printArea()
}
}

4
src/app/home/home.module.ts

@ -75,6 +75,7 @@ import { HomeComponent } from './statistic-analysis/home/home.component';
import { UploadComponent } from './task/station-task-execution/upload/upload.component';
import { chineseNumbers, fileName } from '../pipe/pipe';
import { TaskDetailsPagesComponent } from './task/station-task-execution/task-details/task-details.component';
import { NzTabsModule } from 'ng-zorro-antd/tabs';
@NgModule({
declarations: [
NavComponent,
@ -156,7 +157,8 @@ import { TaskDetailsPagesComponent } from './task/station-task-execution/task-de
NzBadgeModule,
NzListModule,
NzDividerModule,
AngularDraggableModule
AngularDraggableModule,
NzTabsModule
],
providers: [StationTaskExecutionComponent, StationWeeklyPlanComponent],
entryComponents: [AddroleComponent, EditroleComponent, AdduserComponent, EdituserComponent, AddorComponent, EditorComponent, ApplyComponent, ApplyLookComponent, LookTaskComponent, AllotPersonComponent, EditOrComponent, CreateTaskComponent, UploadComponent]

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

File diff suppressed because it is too large Load Diff

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

@ -256,7 +256,11 @@ export class TaskDetailsPagesComponent implements OnInit {
this.methodService.getTaskDetails(taskId).then((data: any) => {
let obj = JSON.parse(data.resultData)
console.log('所有数据', obj)
if(!obj){
return
}else{
}
let exerciseData = this.methodService.getTaskDetailsItem('实战演练', obj.form)
if (exerciseData.data.data) {

Loading…
Cancel
Save