From 28b56132966e1d016410cddbb922bc5a6f2e72cd Mon Sep 17 00:00:00 2001 From: SHAOJIAHAO <55341701@qq.com> Date: Tue, 27 Sep 2022 16:47:59 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=AE=8C=E5=96=84]=E5=AE=8C=E5=96=84=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/home/home.module.ts | 5 +- .../task-details/task-details.component.html | 295 +++++++++--------- .../task-details/task-details.component.ts | 179 ++++++++++- src/app/pipe/pipe.ts | 9 + 4 files changed, 325 insertions(+), 163 deletions(-) diff --git a/src/app/home/home.module.ts b/src/app/home/home.module.ts index f26661e..28016bb 100644 --- a/src/app/home/home.module.ts +++ b/src/app/home/home.module.ts @@ -73,7 +73,7 @@ import { ChatWindowComponent } from './commonComponents/chat-window/chat-window. import { AngularDraggableModule } from 'angular2-draggable'; import { HomeComponent } from './statistic-analysis/home/home.component'; import { UploadComponent } from './task/station-task-execution/upload/upload.component'; -import { fileName } from '../pipe/pipe'; +import { chineseNumbers, fileName } from '../pipe/pipe'; import { TaskDetailsPagesComponent } from './task/station-task-execution/task-details/task-details.component'; @NgModule({ declarations: [ @@ -117,7 +117,8 @@ import { TaskDetailsPagesComponent } from './task/station-task-execution/task-de ChatWindowComponent, HomeComponent, UploadComponent, - fileName + fileName, + chineseNumbers ], imports: [ CommonModule, diff --git a/src/app/home/task/station-task-execution/task-details/task-details.component.html b/src/app/home/task/station-task-execution/task-details/task-details.component.html index 47994fd..691d102 100644 --- a/src/app/home/task/station-task-execution/task-details/task-details.component.html +++ b/src/app/home/task/station-task-execution/task-details/task-details.component.html @@ -160,12 +160,14 @@ 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:183.6pt">
- {{exerciseData.data.data.from[0].form.mode}} + {{exerciseData.data.data.from[0].form.marshalling}}
+ @@ -210,7 +212,7 @@ 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:183.6pt">
- {{exerciseData.data.data.from[0].form.marshalling}} + {{exerciseData.data.data.from[0].form.mode}}
- {{exerciseData.data.data.from[1].form.mode}} + {{exerciseData.data.data.from[1].form.marshalling}}
+
{{exerciseData.data.data.from[3].form.mode}}
+ *ngIf="exerciseData.data.data.from[3].form">{{exerciseData.data.data.from[3].form.marshalling}} ++ @@ -349,11 +356,14 @@
{{exerciseData.data.data.from[4].form.mode}}
+ *ngIf="exerciseData.data.data.from[4].form">{{exerciseData.data.data.from[4].form.marshalling}} ++ @@ -408,11 +418,14 @@
{{exerciseData.data.data.from[5].form.mode}}
+ *ngIf="exerciseData.data.data.from[5].form">{{exerciseData.data.data.from[5].form.marshalling}} ++ @@ -467,11 +480,14 @@
{{exerciseData.data.data.from[5].form.mode}}
+ *ngIf="exerciseData.data.data.from[2].form">{{exerciseData.data.data.from[5].form.marshalling}} ++ @@ -526,11 +542,14 @@
{{exerciseData.data.data.from[6].form.mode}}
+ *ngIf="exerciseData.data.data.from[6].form">{{exerciseData.data.data.from[6].form.marshalling}} ++ @@ -578,7 +597,9 @@
+ @@ -615,7 +636,9 @@
+ @@ -686,11 +709,8 @@
泰富特钢悬架有限公司基本情况{{xxx ? '牛牛牛' : - '嘤嘤嘤'}}
- - + style="font-family:宋体; font-size:22pt; font-weight:bold">{{company}}基本情况泰富特钢悬架有限公司
+ style="font-family:宋体; font-size:9pt">{{planData.data.basicInfo.name}}泰富路中段
+ style="font-family:宋体; font-size:9pt">{{planData.data.basicInfo.address}}13335180877
+ style="font-family:'Times New Roman'; font-size:9pt">{{planData.data.basicInfo.phone}}260
+ style="font-family:'Times New Roman'; font-size:9pt">{{planData.data.basicInfo.peoplenum}}12
+ style="font-family:'Times New Roman'; font-size:9pt">{{planData.data.basicInfo.buildingheight}} +1 +
{{planData.data.basicInfo.cengshu}}
钢结构
+ style="font-family:宋体; font-size:9pt">{{planData.data.basicInfo.jiegou}}120000
+ style="font-family:'Times New Roman'; font-size:9pt">{{planData.data.basicInfo.zhandimianji}}24000
+ style="font-family:'Times New Roman'; font-size:9pt">{{planData.data.basicInfo.zongmianji}}钢材悬架生产
+ style="font-family:宋体; font-size:9pt">{{planData.data.basicInfo.xingzhi}}东:玉凯路 + style="font-family:宋体; font-size:9pt">东:{{planData.data.basicInfo.pilin.dong}}
南:泰富街
+ style="font-family:宋体; font-size:9pt">{{planData.data.basicInfo.pilin.nan}}西:玉皇路 + style="font-family:宋体; font-size:9pt">西:{{planData.data.basicInfo.pilin.xi}}
北:空地
+ style="font-family:宋体; font-size:9pt">北:{{planData.data.basicInfo.pilin.bei}}府前街,玉凯路,泰富路
+ style="font-family:宋体; font-size:9pt">{{planData.data.basicInfo.luxian}}厂区北侧 +
+ + {{kongzhishi.data.addres}} +
2
+ style="font-family:'Times New Roman'; font-size:9pt">{{planData.data.other.listdata[0].data[0].value}} +厂区中部
+ style="font-family:宋体; font-size:9pt">{{planData.data.other.listdata[0].data[1].value}} +300
+ style="font-family:'Times New Roman'; font-size:9pt">{{planData.data.other.listdata[0].data[2].value}} +市政供水
+ style="font-family:宋体; font-size:9pt">{{planData.data.other.listdata[0].data[3].value}}2
+ style="font-family:'Times New Roman'; font-size:9pt">{{planData.data.other.listdata[0].data[4].value}} +南侧,东侧各一个
+ style="font-family:宋体; font-size:9pt">{{planData.data.other.listdata[0].data[5].value}}有()
无(√{{planData.data.other.radiodata[0].isHave ? '√' :
+ ''}})
无({{planData.data.other.radiodata[0].isHave ? '' : '√'}})
有()
无(√{{planData.data.other.radiodata[1].isHave ? '√' :
+ ''}})
无({{planData.data.other.radiodata[1].isHave ? '' : '√'}})
有()
无(√{{planData.data.other.radiodata[2].isHave ? '√' :
+ ''}})
无({{planData.data.other.radiodata[2].isHave ? '' : '√'}})
有()
无(√{{planData.data.other.radiodata[3].isHave ? '√' :
+ ''}})
无({{planData.data.other.radiodata[3].isHave ? '' : '√'}})
20个
+ style="font-family:'Times New Roman'; font-size:9pt">厂区四周
++ + {{shiwaixiaohuoshuan.data.addres}} + +
数量:0
+ style="font-family:'Times New Roman'; font-size:9pt">{{planData.data.other.listdata[1].data[0].value}} +扬程:0{{planData.data.other.listdata[1].data[1].value}}m
流量:0{{planData.data.other.listdata[1].data[2].value}}L/S
数量:0
+ style="font-family:'Times New Roman'; font-size:9pt">{{planData.data.other.listdata[1].data[3].value}} +无
+ style="font-family:宋体; font-size:9pt">{{planData.data.other.listdata[1].data[4].value}}数量:0
+ style="font-family:'Times New Roman'; font-size:9pt">{{planData.data.other.listdata[2].data[0].value}} +扬程:0{{planData.data.other.listdata[2].data[1].value}}m
流量:0{{planData.data.other.listdata[2].data[2].value}}L/S
数量:0
+ style="font-family:'Times New Roman'; font-size:9pt">{{planData.data.other.listdata[2].data[3].value}} +0
+ style="font-family:'Times New Roman'; font-size:9pt">{{planData.data.other.listdata[2].data[4].value}} +0 +
{{planData.data.other.listdata[3].data[0].value}} + , + {{planData.data.other.listdata[3].data[1].value}}
0,无
+ style="font-family:'Times New Roman'; font-size:9pt">{{planData.data.other.listdata[4].data[0].value}} + ,{{planData.data.other.listdata[4].data[1].value}} +8,厂区四周
+ style="font-family:'Times New Roman'; font-size:9pt">{{planData.data.other.listdata[5].data[0].value}},{{planData.data.other.listdata[5].data[1].value}} +0个
++
0,无
+ style="font-family:'Times New Roman'; font-size:9pt">{{planData.data.other.listdata[6].data[0].value}},{{planData.data.other.listdata[6].data[1].value}} +- 重点部位情况(一) + 重点部位情况({{key | chineseNumbers}})
物质存储仓库
+ style="font-family:宋体; font-size:9pt">{{item.data[0].value}}厂区东侧厂房
+ style="font-family:宋体; font-size:9pt">{{item.data[1].value}}钢结构
+ style="font-family:宋体; font-size:9pt">{{item.data[2].value}}存储漆类,油类
+ style="font-family:宋体; font-size:9pt">{{item.data[3].value}}油类,漆类易燃,有毒
+ style="font-family:宋体; font-size:9pt">{{item.data[4].value}}- 重点部位情况(二) -
-重点部位名称
-淬火油池
-重点部位所在位置
-厂区中部
-建筑结构
-钢结构
-使用性质
-淬火
-主要危险性
-高温
-+
+ + {{planData.data.zhongdiantishi}} + +