|
@@ -30,6 +30,7 @@
|
30
|
30
|
<nz-header>
|
31
|
31
|
<div class="app-header display_flex justify-content_space-between align-items_center">
|
32
|
32
|
<div class="left">
|
|
33
|
+ <!-- <i class="icon_transport transport-bg-add green" *ngIf='speediness' (click)="speedinessAdd()" nz-tooltip nzTooltipTitle="新增报修"></i> -->
|
33
|
34
|
<i class="icon_transport transport-tiaodu-fill green" *ngIf='deskRole' (click)="toFuwutai()" nz-tooltip nzTooltipTitle="调度台"></i>
|
34
|
35
|
<i class="icon_transport transport-hushizhihanghuligongzuo green" *ngIf="nurseRole" (click)="toHuShi()" nz-tooltip nzTooltipTitle="护士端"></i>
|
35
|
36
|
<i class="icon_transport transport-peizhi1 green" *ngIf="incidentConfigRole || otherConfigRole || pageConfigRole || nurseConfigRole" (click)="toConfigurationCenter()" nz-tooltip nzTooltipTitle="配置中心"></i>
|
|
@@ -154,3 +155,464 @@
|
154
|
155
|
<app-select-menu (cancelMenuModal)="cancelMenuModal($event)" [iShowMenuModal]="iShowMenuModal"></app-select-menu>
|
155
|
156
|
<!-- 遮罩 -->
|
156
|
157
|
<app-mask *ngIf="maskFlag"></app-mask>
|
|
158
|
+
|
|
159
|
+<!-- 新建工单 -->
|
|
160
|
+<div class="newOrder display_flex justify-content_flex-center align-items_center" *ngIf="newOrderShowOpen" (click)="clickExtra($event)">
|
|
161
|
+ <div class="modalBody">
|
|
162
|
+ <div class="title" *ngIf="currentTabIndex === '故障报修'">
|
|
163
|
+ <div class="newTop">
|
|
164
|
+ <div class="name">来电咨询</div>
|
|
165
|
+ <div class="newTopItem">
|
|
166
|
+ <span class="grayFont required">院区:</span>
|
|
167
|
+ <nz-select style="width: 160px" [nzDropdownMatchSelectWidth]="false" nzServerSearch nzPlaceHolder="请选择院区" [(ngModel)]="incidentModel.hosId" (ngModelChange)="changeApplyHospital($event)" nzAllowClear [nzDisabled]="buildType === '编辑事件'">
|
|
168
|
+ <ng-container *ngFor="let option of applicationHospitalList">
|
|
169
|
+ <nz-option *ngIf="!isLoading" [nzLabel]="option.hosName" [nzValue]="option.id"></nz-option>
|
|
170
|
+ </ng-container>
|
|
171
|
+ <nz-option *ngIf="isLoading" nzDisabled nzCustomContent>
|
|
172
|
+ <i nz-icon nzType="loading" class="loading-icon"></i> 搜索中...
|
|
173
|
+ </nz-option>
|
|
174
|
+ </nz-select>
|
|
175
|
+ </div>
|
|
176
|
+ <div class="newTopItem" [hidden]="incidentModel.repairIncidentType === 'public'">
|
|
177
|
+ <span class="grayFont required">申请科室:</span>
|
|
178
|
+ <nz-select style="width: 160px" [nzDropdownMatchSelectWidth]="false" nzServerSearch nzShowSearch (nzOnSearch)="changeInp('itsm', $event)" nzPlaceHolder="请选择申请科室" [(ngModel)]="incidentModel.department" (ngModelChange)="changeApplyDept($event)" nzAllowClear (nzOpenChange)="openChangeApplyDept($event)">
|
|
179
|
+ <ng-container *ngFor="let option of applicationDeptList">
|
|
180
|
+ <nz-option *ngIf="!isLoadingApply" [nzLabel]="option.dept" [nzValue]="option.id"></nz-option>
|
|
181
|
+ </ng-container>
|
|
182
|
+ <nz-option *ngIf="isLoadingApply" nzDisabled nzCustomContent>
|
|
183
|
+ <i nz-icon nzType="loading" class="loading-icon"></i> 搜索中...
|
|
184
|
+ </nz-option>
|
|
185
|
+ </nz-select>
|
|
186
|
+ </div>
|
|
187
|
+ <div class="newTopItem">
|
|
188
|
+ <span class="grayFont" [ngClass]="{'required': incidentModel.repairIncidentType === 'public'}">申请人:</span>
|
|
189
|
+ <ng-container *ngIf="buildType === '报修转事件'">{{incidentMsg.requesterName}}</ng-container>
|
|
190
|
+ <ng-container *ngIf="buildType !== '报修转事件'">
|
|
191
|
+ <nz-select style="width: 160px" [nzDropdownMatchSelectWidth]="false" nzServerSearch nzShowSearch (nzOnSearch)="changeCommonInp('requester', $event)" nzPlaceHolder="请选择申请人" [(ngModel)]="incidentModel.requester" (ngModelChange)="changeApplyRequester($event)" nzAllowClear (nzOpenChange)="openChangeApplyRequester($event)">
|
|
192
|
+ <ng-container *ngFor="let option of applicationRequesterList">
|
|
193
|
+ <nz-option *ngIf="!isLoading" [nzLabel]="option.name" [nzValue]="option.id"></nz-option>
|
|
194
|
+ </ng-container>
|
|
195
|
+ <nz-option *ngIf="isLoading" nzDisabled nzCustomContent>
|
|
196
|
+ <i nz-icon nzType="loading" class="loading-icon"></i> 搜索中...
|
|
197
|
+ </nz-option>
|
|
198
|
+ </nz-select>
|
|
199
|
+ <label [hidden]="incidentModel.repairIncidentType === 'public'" nz-checkbox [(ngModel)]="isRelatedDepartment" (ngModelChange)="changeApplyRelatedDepartment($event)" class="ml8">关联查</label>
|
|
200
|
+ </ng-container>
|
|
201
|
+ </div>
|
|
202
|
+ <div class="newTopItem" *ngIf="incidentModel.incomingPhone">
|
|
203
|
+ <span class="grayFont">来电电话:{{incidentModel.incomingPhone}}</span>
|
|
204
|
+ </div>
|
|
205
|
+ <div class="newTopItem">
|
|
206
|
+ <span class="grayFont">
|
|
207
|
+ <nz-radio-group [nzDisabled]="buildType === '编辑事件'" [(ngModel)]="incidentModel.repairIncidentType" (ngModelChange)="changeRepairIncidentType($event)">
|
|
208
|
+ <label nz-radio [nzValue]="item.value" *ngFor="let item of repairIncidentTypeList">{{item.name}}</label>
|
|
209
|
+ </nz-radio-group>
|
|
210
|
+ </span>
|
|
211
|
+ </div>
|
|
212
|
+ </div>
|
|
213
|
+ </div>
|
|
214
|
+ <div nz-row class="content">
|
|
215
|
+ <div nz-col nzSpan="15" class="col left">
|
|
216
|
+ <!-- <div class="tabs">
|
|
217
|
+ <div class="tabs__inner" #tab>
|
|
218
|
+ <div class="tabs__wrap" [style.transform]="'translateX(' + disX + 'px)'">
|
|
219
|
+ <ng-container *ngFor="let item of workTypesArrange;let index = index;">
|
|
220
|
+ <div [ngClass]="{ tab: true, checked: currentTabIndex == item.key}" (click)="tabClick(item.key)" *ngIf="buildType !== '编辑事件' || (buildType === '编辑事件' && item.key == '故障报修')">
|
|
221
|
+ {{ item.key }}
|
|
222
|
+ </div>
|
|
223
|
+ </ng-container>
|
|
224
|
+ </div>
|
|
225
|
+ </div>
|
|
226
|
+ <div class="tabs__operate" *ngIf="workTypesFlag && applyDept">
|
|
227
|
+ <i class="tabs__Icon--right icon_transport transport-xiangzuo" (click)="toLeft()"></i>
|
|
228
|
+ <i class="tabs__Icon--left icon_transport transport-xiangzuo" (click)="toRight()"></i>
|
|
229
|
+ </div>
|
|
230
|
+ </div> -->
|
|
231
|
+ <!-- 底部tab页 -->
|
|
232
|
+ <div class="bottomWrap">
|
|
233
|
+ <ng-container *ngFor="let item of workTypesArrange;let index = index;">
|
|
234
|
+ <!-- 故障报修 -->
|
|
235
|
+ <overlay-scrollbars #osComponentRef15 class="bottom_req" *ngIf="currentTabIndex === '故障报修'">
|
|
236
|
+ <div class="req">
|
|
237
|
+ <div class="row">
|
|
238
|
+ <div class="col flex4">
|
|
239
|
+ <span class="name">详细地址:</span>
|
|
240
|
+ <nz-select class="w100" [(ngModel)]="incidentModel.area" (ngModelChange)="changeApplyBuilding($event)" nzAllowClear nzPlaceHolder="请选择楼栋">
|
|
241
|
+ <nz-option [nzValue]="item.id" [nzLabel]="item.buildingName" *ngFor="let item of applicationBuildingList"></nz-option>
|
|
242
|
+ </nz-select>
|
|
243
|
+ </div>
|
|
244
|
+ <div class="col flex3">
|
|
245
|
+ <nz-select class="w100" [(ngModel)]="incidentModel.place" nzAllowClear nzPlaceHolder="请选择楼层">
|
|
246
|
+ <nz-option [nzValue]="item.id" [nzLabel]="item.floorName" *ngFor="let item of applicationFloorList"></nz-option>
|
|
247
|
+ </nz-select>
|
|
248
|
+ </div>
|
|
249
|
+ <div class="col flex7">
|
|
250
|
+ <input class="addressFocus" nz-input placeholder="请填写详细地址" [(ngModel)]="incidentModel.houseNumber" (focus)="focusAddress()" />
|
|
251
|
+ <div class="addressList" *ngIf="isShowAddressList">
|
|
252
|
+ <ng-container *ngIf="!addressLoading && addressList.length">
|
|
253
|
+ <div class="addressItem ellipsis-oneline" *ngFor="let item of addressList" [title]="item.name" (click)="selectAddress(item.name)">{{item.name}}</div>
|
|
254
|
+ </ng-container>
|
|
255
|
+ <div *ngIf="!addressLoading && !addressList.length" class="w100 h100 padding8 display_flex justify-content_flex-center align-items_center">
|
|
256
|
+ <nz-empty></nz-empty>
|
|
257
|
+ </div>
|
|
258
|
+ <div *ngIf="addressLoading" class="w100 h100 padding8 display_flex justify-content_flex-center align-items_center">
|
|
259
|
+ <nz-spin nzSimple></nz-spin>
|
|
260
|
+ </div>
|
|
261
|
+ </div>
|
|
262
|
+ </div>
|
|
263
|
+ </div>
|
|
264
|
+
|
|
265
|
+ <div class="row">
|
|
266
|
+ <div class="col">
|
|
267
|
+ <span class="name">科室电话:</span>
|
|
268
|
+ <ng-container *ngIf="incidentMsg.deptManyPhone">{{incidentMsg.deptManyPhone|stringToFirstValue}}<em (click)="importPhone(incidentMsg.deptManyPhone, true)">引入</em></ng-container>
|
|
269
|
+ </div>
|
|
270
|
+ <div class="col">
|
|
271
|
+ <span class="name">报修人电话:</span>
|
|
272
|
+ <ng-container *ngIf="incidentMsg.requesterPhone">{{incidentMsg.requesterPhone}}<em (click)="importPhone(incidentMsg.requesterPhone)">引入</em></ng-container>
|
|
273
|
+ </div>
|
|
274
|
+ <div class="col">
|
|
275
|
+ <ng-container *ngIf="buildType !== '编辑事件'">
|
|
276
|
+ <span class="name">来电电话:</span>
|
|
277
|
+ <ng-container *ngIf="incidentModel.incomingPhone">{{incidentModel.incomingPhone}}<em (click)="importPhone(incidentModel.incomingPhone)">引入</em></ng-container>
|
|
278
|
+ </ng-container>
|
|
279
|
+ </div>
|
|
280
|
+ </div>
|
|
281
|
+
|
|
282
|
+ <div class="row">
|
|
283
|
+ <div class="col">
|
|
284
|
+ <span class="name">联系人:</span>
|
|
285
|
+ <input class="w100" nz-input placeholder="请填写联系人" [(ngModel)]="incidentModel.contacts" />
|
|
286
|
+ </div>
|
|
287
|
+ <div class="col">
|
|
288
|
+ <span class="name required">联系电话:</span>
|
|
289
|
+ <input class="w100" nz-input placeholder="请填写联系电话" [(ngModel)]="incidentModel.contactsInformation" />
|
|
290
|
+ </div>
|
|
291
|
+ <div class="col">
|
|
292
|
+ <span class="name">责任部门:</span>
|
|
293
|
+ {{incidentModel.duty ? incidentModel.duty.hosName : ''}}
|
|
294
|
+ </div>
|
|
295
|
+ </div>
|
|
296
|
+
|
|
297
|
+ <div class="row">
|
|
298
|
+ <div class="col">
|
|
299
|
+ <span class="name required">故障现象:</span>
|
|
300
|
+ <nz-select class="w100" [nzDropdownMatchSelectWidth]="false" nzServerSearch nzShowSearch (nzOnSearch)="changeCommonInp('category', $event)" nzPlaceHolder="请选择故障现象" [(ngModel)]="incidentModel.category" (ngModelChange)="changeApplyCategory($event)" (nzOpenChange)="openChangeApplyCategory($event)">
|
|
301
|
+ <ng-container *ngFor="let option of applicationCategoryList">
|
|
302
|
+ <nz-option *ngIf="!isLoading" [nzLabel]="option.mutiCategory" [nzValue]="option.id"></nz-option>
|
|
303
|
+ </ng-container>
|
|
304
|
+ <nz-option *ngIf="isLoading" nzDisabled nzCustomContent>
|
|
305
|
+ <i nz-icon nzType="loading" class="loading-icon"></i> 搜索中...
|
|
306
|
+ </nz-option>
|
|
307
|
+ </nz-select>
|
|
308
|
+ </div>
|
|
309
|
+ </div>
|
|
310
|
+
|
|
311
|
+ <div class="row">
|
|
312
|
+ <div class="col alignItemsStart">
|
|
313
|
+ <span class="name required">故障描述:</span>
|
|
314
|
+ <nz-input-group [nzSuffix]="suffixTemplate">
|
|
315
|
+ <textarea class="w100" nz-input rows="4" placeholder="请填写故障描述" [(ngModel)]="incidentModel.description"></textarea>
|
|
316
|
+ </nz-input-group>
|
|
317
|
+ <span #suffixTemplate class="ant-input-clear-icon ml8" *ngIf="incidentModel.description" (click)="incidentModel.description = null">清空</span>
|
|
318
|
+ </div>
|
|
319
|
+ </div>
|
|
320
|
+
|
|
321
|
+ <div class="row">
|
|
322
|
+ <div class="col">
|
|
323
|
+ <span class="name required">优先级:</span>
|
|
324
|
+ <nz-select class="w100" [(ngModel)]="incidentModel.priorityId" nzAllowClear nzPlaceHolder="请选择优先级" [nzDisabled]="buildType === '编辑事件'">
|
|
325
|
+ <nz-option [nzValue]="item.id" [nzLabel]="item.name" *ngFor="let item of applicationPriorityList"></nz-option>
|
|
326
|
+ </nz-select>
|
|
327
|
+ </div>
|
|
328
|
+ <div class="col">
|
|
329
|
+ <span class="name required">报修来源:</span>
|
|
330
|
+ <nz-select class="w100" [(ngModel)]="incidentModel.source" nzAllowClear nzPlaceHolder="请选择报修来源">
|
|
331
|
+ <nz-option [nzValue]="item.id" [nzLabel]="item.name" *ngFor="let item of applicationSourceList"></nz-option>
|
|
332
|
+ </nz-select>
|
|
333
|
+ </div>
|
|
334
|
+ <div class="col">
|
|
335
|
+ <span class="name">预约时间:</span>
|
|
336
|
+ <nz-date-picker style="width: 150px;" [(ngModel)]="incidentModel.yyTime" nzShowTime></nz-date-picker>
|
|
337
|
+ </div>
|
|
338
|
+ </div>
|
|
339
|
+
|
|
340
|
+ <div class="row">
|
|
341
|
+ <div class="col">
|
|
342
|
+ <span class="name">报修图片:</span>
|
|
343
|
+ <div class="value w100 upload">
|
|
344
|
+ <ng-container *ngIf="repairImgs.length === 0">
|
|
345
|
+ <nz-upload nzListType="picture-card" [(nzFileList)]="fileList" [nzShowUploadList]="showUploadList" [nzPreview]="handlePreview" nzFileType="image/jpeg,image/png" nzAccept="image/jpeg,image/png" [nzShowButton]="fileList.length < 3" [nzBeforeUpload]="beforeUpload" [nzAction]="temporarilyUrl" [nzSize]="10240">
|
|
346
|
+ <i nz-icon nzType="plus"></i>
|
|
347
|
+ <div class="ant-upload-text">上传照片</div>
|
|
348
|
+ </nz-upload>
|
|
349
|
+ <nz-modal [nzVisible]="previewVisible" [nzContent]="modalContent" [nzFooter]="null" (nzOnCancel)="previewVisible = false">
|
|
350
|
+ <ng-template #modalContent>
|
|
351
|
+ <img [src]="previewImage" [ngStyle]="{ width: '100%' }" />
|
|
352
|
+ </ng-template>
|
|
353
|
+ </nz-modal>
|
|
354
|
+ <div class="tips">(支持JPG/PNG格式图片,单张大小10M以内)</div>
|
|
355
|
+ </ng-container>
|
|
356
|
+ <div class="thumbList" *ngIf="repairImgs.length > 0">
|
|
357
|
+ <div class="thumb" *ngFor="let item of repairImgs;let index = index;" (click)="previewImageHandler(repairImgs, index)"><img [src]="item.thumbFilePath" alt=""></div>
|
|
358
|
+ </div>
|
|
359
|
+ </div>
|
|
360
|
+ </div>
|
|
361
|
+ </div>
|
|
362
|
+
|
|
363
|
+ <div class="row" *ngIf="buildType !== '编辑事件'">
|
|
364
|
+ <div class="col">
|
|
365
|
+ <span class="name required">处理组:</span>
|
|
366
|
+ <nz-select class="w100" [nzDropdownMatchSelectWidth]="false" nzServerSearch nzShowSearch (nzOnSearch)="changeCommonInp('group', $event)" nzPlaceHolder="请选择处理组" [(ngModel)]="incidentModel.group" (ngModelChange)="changeApplyGroup($event)" (nzOpenChange)="openChangeApplyGroup($event)">
|
|
367
|
+ <ng-container *ngFor="let option of applicationGroupList">
|
|
368
|
+ <nz-option *ngIf="!isLoading" [nzLabel]="option.groupName" [nzValue]="option.id"></nz-option>
|
|
369
|
+ </ng-container>
|
|
370
|
+ <nz-option *ngIf="isLoading" nzDisabled nzCustomContent>
|
|
371
|
+ <i nz-icon nzType="loading" class="loading-icon"></i> 搜索中...
|
|
372
|
+ </nz-option>
|
|
373
|
+ </nz-select>
|
|
374
|
+ </div>
|
|
375
|
+ <div class="col">
|
|
376
|
+ <span class="name">处理人:</span>
|
|
377
|
+ <nz-select class="w100" [nzDropdownMatchSelectWidth]="false" nzServerSearch nzShowSearch (nzOnSearch)="changeCommonInp('user', $event)" nzPlaceHolder="请选择处理人" [(ngModel)]="incidentModel.user" (nzOpenChange)="openChangeApplyUser($event)" nzAllowClear>
|
|
378
|
+ <ng-container *ngFor="let option of applicationUserList">
|
|
379
|
+ <nz-option *ngIf="!isLoading" [nzLabel]="option.name" [nzValue]="option.id"></nz-option>
|
|
380
|
+ </ng-container>
|
|
381
|
+ <nz-option *ngIf="isLoading" nzDisabled nzCustomContent>
|
|
382
|
+ <i nz-icon nzType="loading" class="loading-icon"></i> 搜索中...
|
|
383
|
+ </nz-option>
|
|
384
|
+ </nz-select>
|
|
385
|
+ </div>
|
|
386
|
+ <div class="col"></div>
|
|
387
|
+ </div>
|
|
388
|
+ </div>
|
|
389
|
+ </overlay-scrollbars>
|
|
390
|
+ </ng-container>
|
|
391
|
+ <!-- loading -->
|
|
392
|
+ <div class="bottom" *ngIf="newLoading">
|
|
393
|
+ <div class="bottom255">
|
|
394
|
+ <div class="txtC">
|
|
395
|
+ <img src="../../../assets/images/loading.gif" alt="" />
|
|
396
|
+ <div>加载中...</div>
|
|
397
|
+ </div>
|
|
398
|
+ </div>
|
|
399
|
+ </div>
|
|
400
|
+ </div>
|
|
401
|
+ <!-- 底部信息提示 -->
|
|
402
|
+ <!-- <div class="bottomInfo" *ngIf="currentTabIndex !== '故障报修'">提示:临床科室建单会更简便哟!</div> -->
|
|
403
|
+ </div>
|
|
404
|
+ <div nz-col nzSpan="9" class="col right">
|
|
405
|
+ <div class="rightTitle">
|
|
406
|
+ <div class="rightTitle_tab" [class.active]="currentRTab == tab.id" *ngFor="let tab of rightTitle_tab;" (click)="rightTitleHandler(tab.id)">{{ tab.name }}</div>
|
|
407
|
+ <span class="toLastTime1"><span class="time" *ngIf="applyDept">{{ orderRefreshTime }}s</span></span>
|
|
408
|
+ </div>
|
|
409
|
+ <!-- 近期配送 start -->
|
|
410
|
+ <div class="cots_body weifenpai" *ngIf="currentRTab == 0" [ngClass]="{ top185: hurseInfoHiding != 1 }">
|
|
411
|
+ <overlay-scrollbars #osComponentRef12 [ngStyle]="{ height: '100%' }">
|
|
412
|
+ <div *ngIf="noArrives.length && !loading4">
|
|
413
|
+ <div class="list listsTypeColor" *ngFor="let data of noArrives">
|
|
414
|
+ <div class="left_cots" (click)="openDetails(data)">
|
|
415
|
+ <!-- 工单 -->
|
|
416
|
+ <div class="gongdan">
|
|
417
|
+ <span class="left">{{ data.taskType.taskName }}({{ data.gdcode }})</span>
|
|
418
|
+ <span class="right">
|
|
419
|
+ <span>{{ data.gdState.name }}</span>
|
|
420
|
+ </span>
|
|
421
|
+ </div>
|
|
422
|
+ <!-- 地点 -->
|
|
423
|
+ <div class="didian">
|
|
424
|
+ <span class="left" *ngIf="data.taskType.associationType.value == 'inspect'">
|
|
425
|
+ {{ data.startDept ? data.startDept.dept : "" }}
|
|
426
|
+ <span *ngFor="let item of data.middleDept">
|
|
427
|
+ ->{{ item.dept }}
|
|
428
|
+ </span>
|
|
429
|
+ </span>
|
|
430
|
+ <span class="left" *ngIf="data.taskType.associationType.id != 260">
|
|
431
|
+ {{ data.startDept ? data.startDept.dept : "" }}{{ data.endDepts ? "->" + data.endDepts[0].dept : "" }}
|
|
432
|
+ </span>
|
|
433
|
+ <span class="right" *ngIf="data.goods">
|
|
434
|
+ <i class="icon_transport transport-icon3"></i>
|
|
435
|
+ <span>{{ data.goods }}</span>
|
|
436
|
+ </span>
|
|
437
|
+ <span class="right" *ngIf="data.workOrderRemark" [title]="data.workOrderRemark">
|
|
438
|
+ <i class="icon_transport transport-icon3"></i>
|
|
439
|
+ <span>{{ data.workOrderRemark }}</span>
|
|
440
|
+ </span>
|
|
441
|
+ </div>
|
|
442
|
+ <!-- 时间 -->
|
|
443
|
+ <div class="shijian">
|
|
444
|
+ <span class="left" *ngIf="data.expectTimeNum && data.timeOut != true">
|
|
445
|
+ <i class="icon_transport transport-shouye10" nz-tooltip nzTooltipTitle="进行中"></i>
|
|
446
|
+ <ng-container *ngIf="(data.taskType.associationType.value == 'patientTransport' || data.taskType.associationType.value == 'inspect') && data.patient?.illnessState">
|
|
447
|
+ <i *ngIf="data.patient.illnessState.value === '2'" class="colorRed icon_transport transport-tubiao_wei" nz-tooltip nzTooltipTitle="病危"></i>
|
|
448
|
+ <i *ngIf="data.patient.illnessState.value === '3'" class="colorRed icon_transport transport-zhong" nz-tooltip nzTooltipTitle="病重"></i>
|
|
449
|
+ </ng-container>
|
|
450
|
+ <ng-container *ngIf="(data.taskType.associationType.value == 'patientTransport' || data.taskType.associationType.value == 'inspect') && data.patient?.careLevel">
|
|
451
|
+ <i *ngIf="data.patient.careLevel.value === '0'" class="icon_transport transport-te1" nz-tooltip nzTooltipTitle="特级护理"></i>
|
|
452
|
+ <i *ngIf="data.patient.careLevel.value === '1'" class="icon_transport transport-1_round_solid" nz-tooltip nzTooltipTitle="一级护理"></i>
|
|
453
|
+ <i *ngIf="data.patient.careLevel.value === '2'" class="icon_transport transport-2_round_solid" nz-tooltip nzTooltipTitle="二级护理"></i>
|
|
454
|
+ <i *ngIf="data.patient.careLevel.value === '3'" class="icon_transport transport-3_round_solid" nz-tooltip nzTooltipTitle="三级护理"></i>
|
|
455
|
+ </ng-container>
|
|
456
|
+ <span nz-tooltip nzTooltipTitle="患者姓名(住院号)" *ngIf="data.taskType.associationType.value == 'patientTransport' || data.taskType.associationType.value == 'inspect'">{{ data.patient.patientName }}<span *ngIf="data.patient.residenceNo">({{ data.patient.residenceNo }})</span></span>
|
|
457
|
+ </span>
|
|
458
|
+ <span class="left" *ngIf="data.timeOutLength && data.timeOut == true">
|
|
459
|
+ <i class="colorRed icon_transport transport-daojishi" nz-tooltip nzTooltipTitle="超时"></i>
|
|
460
|
+ <ng-container *ngIf="(data.taskType.associationType.value == 'patientTransport' || data.taskType.associationType.value == 'inspect') && data.patient?.illnessState">
|
|
461
|
+ <i *ngIf="data.patient.illnessState.value === '2'" class="colorRed icon_transport transport-tubiao_wei" nz-tooltip nzTooltipTitle="病危"></i>
|
|
462
|
+ <i *ngIf="data.patient.illnessState.value === '3'" class="colorRed icon_transport transport-zhong" nz-tooltip nzTooltipTitle="病重"></i>
|
|
463
|
+ </ng-container>
|
|
464
|
+ <ng-container *ngIf="(data.taskType.associationType.value == 'patientTransport' || data.taskType.associationType.value == 'inspect') && data.patient?.careLevel">
|
|
465
|
+ <i *ngIf="data.patient.careLevel.value === '0'" class="icon_transport transport-te1" nz-tooltip nzTooltipTitle="特级护理"></i>
|
|
466
|
+ <i *ngIf="data.patient.careLevel.value === '1'" class="icon_transport transport-1_round_solid" nz-tooltip nzTooltipTitle="一级护理"></i>
|
|
467
|
+ <i *ngIf="data.patient.careLevel.value === '2'" class="icon_transport transport-2_round_solid" nz-tooltip nzTooltipTitle="二级护理"></i>
|
|
468
|
+ <i *ngIf="data.patient.careLevel.value === '3'" class="icon_transport transport-3_round_solid" nz-tooltip nzTooltipTitle="三级护理"></i>
|
|
469
|
+ </ng-container>
|
|
470
|
+ <span nz-tooltip nzTooltipTitle="患者姓名(住院号)" *ngIf="data.taskType.associationType.value == 'patientTransport' || data.taskType.associationType.value == 'inspect'">{{ data.patient.patientName }}<span *ngIf="data.patient.residenceNo">({{ data.patient.residenceNo }})</span></span>
|
|
471
|
+ </span>
|
|
472
|
+ <span class="right" nz-tooltip [nzTooltipTitle]="'总时长' + formatTime(data.expectTimeNum / 1000)">
|
|
473
|
+ {{ data.showCreateTime }}
|
|
474
|
+ </span>
|
|
475
|
+ </div>
|
|
476
|
+ <!-- 急单 -->
|
|
477
|
+ <img *ngIf="data.emergencyType && data.emergencyType.id == 300" src="../../assets/images/icon_ji.png" alt="" class="ji" />
|
|
478
|
+ <!-- 加急单 -->
|
|
479
|
+ <img *ngIf="data.emergencyType && data.emergencyType.id == 301" src="../../assets/images/icon_jiaji.png" alt="" class="ji" />
|
|
480
|
+ </div>
|
|
481
|
+ <div class="right_bots display_flex col-flex align-items_center justify-content_flex-center">
|
|
482
|
+ <input type="button" *ngIf="data.gdState.value == 2" class="top_bot" value="派单" (click)="allotWorker(data.id, data.gdState.id)" />
|
|
483
|
+ <input type="button" *ngIf="data.gdState.value == 3 || data.gdState.value == 4" class="mid_bot" value="撤回" (click)="openRecallModal(data.id)" />
|
|
484
|
+ <input type="button" *ngIf="data.gdState.value == 2 || data.gdState.value == 3 || data.gdState.value == 4" class="btm_bot" value="删除" (click)="openDelModal(data.id, 'hsms')" />
|
|
485
|
+ </div>
|
|
486
|
+ <div *ngIf="data.timeOut != true" class="slider sgreen" [ngStyle]="{ width: data.percent + '%' }"></div>
|
|
487
|
+ <div *ngIf="data.timeOut == true" class="slider sred" [ngStyle]="{ width: '100%' }"></div>
|
|
488
|
+ </div>
|
|
489
|
+ </div>
|
|
490
|
+ <div class="no_data" *ngIf="noArrives.length == 0 && !loading4">
|
|
491
|
+ 暂无数据
|
|
492
|
+ </div>
|
|
493
|
+ <div class="no_data" *ngIf="loading4">
|
|
494
|
+ <div class="loadingFull display_flex justify-content_flex-center align-items_center">
|
|
495
|
+ <div class="loadingFullInner">
|
|
496
|
+ <img src="../../../assets/images/loading.gif" alt="" />
|
|
497
|
+ <div>加载中...</div>
|
|
498
|
+ </div>
|
|
499
|
+ </div>
|
|
500
|
+ </div>
|
|
501
|
+ </overlay-scrollbars>
|
|
502
|
+ </div>
|
|
503
|
+
|
|
504
|
+ <!-- 近期维修 start -->
|
|
505
|
+ <div class="cots_body weifenpai" *ngIf="currentRTab == 2" [ngClass]="{ top185: hurseInfoHiding != 1 }">
|
|
506
|
+ <overlay-scrollbars #osComponentRef16 [ngStyle]="{ height: '100%' }">
|
|
507
|
+ <div *ngIf="itsmOrders.length && !loading6">
|
|
508
|
+ <div class="list listsTypeColor" *ngFor="let data of itsmOrders">
|
|
509
|
+ <div class="left_cots" style="width: 96%;">
|
|
510
|
+ <!-- 工单 -->
|
|
511
|
+ <div class="gongdan">
|
|
512
|
+ <span class="left">{{ data.incidentsign }}</span>
|
|
513
|
+ <span class="right">
|
|
514
|
+ <span>{{ data.state?.name }}</span>
|
|
515
|
+ </span>
|
|
516
|
+ </div>
|
|
517
|
+ <!-- 描述 -->
|
|
518
|
+ <div class="didian">
|
|
519
|
+ <span class="left">
|
|
520
|
+ {{ data.description }}
|
|
521
|
+ </span>
|
|
522
|
+ </div>
|
|
523
|
+ <!-- 时间 -->
|
|
524
|
+ <div class="shijian">
|
|
525
|
+ <span class="left"></span>
|
|
526
|
+ <span class="right">
|
|
527
|
+ {{ data.acceptDate | date: "MM-dd HH:mm" }}
|
|
528
|
+ </span>
|
|
529
|
+ </div>
|
|
530
|
+ </div>
|
|
531
|
+ </div>
|
|
532
|
+ </div>
|
|
533
|
+ <div class="no_data" *ngIf="itsmOrders.length == 0 && !loading6">
|
|
534
|
+ 暂无数据
|
|
535
|
+ </div>
|
|
536
|
+ <div class="no_data" *ngIf="loading6">
|
|
537
|
+ <div class="loadingFull display_flex justify-content_flex-center align-items_center">
|
|
538
|
+ <div class="loadingFullInner">
|
|
539
|
+ <img src="../../../assets/images/loading.gif" alt="" />
|
|
540
|
+ <div>加载中...</div>
|
|
541
|
+ </div>
|
|
542
|
+ </div>
|
|
543
|
+ </div>
|
|
544
|
+ </overlay-scrollbars>
|
|
545
|
+ </div>
|
|
546
|
+ <!-- 近期维修 end -->
|
|
547
|
+ <!-- 知识库 start -->
|
|
548
|
+ <div class="cots_body weifenpai" *ngIf="currentRTab == 3" [ngClass]="{ top185: hurseInfoHiding != 1 }">
|
|
549
|
+ <overlay-scrollbars #osComponentRef17 [ngStyle]="{ height: '100%' }">
|
|
550
|
+ <div *ngIf="knowageList.length && !loading7">
|
|
551
|
+ <div class="list listsTypeColor" *ngFor="let data of knowageList" style="height: auto;overflow: hidden;">
|
|
552
|
+ <div class="left_cots" style="width: 96%;height: auto;">
|
|
553
|
+ <!-- 工单 -->
|
|
554
|
+ <div class="gongdan" style="font-size: 16px;">
|
|
555
|
+ <span class="left ellipsis-oneline w100" nz-tooltip [nzTooltipTitle]="data.title">{{data.title}}</span>
|
|
556
|
+ </div>
|
|
557
|
+ <!-- 描述 -->
|
|
558
|
+ <div class="didian" style="font-size: 12px;height: auto;">
|
|
559
|
+ <span class="left noEllipsis">{{data.content | stripHtml}}</span>
|
|
560
|
+ </div>
|
|
561
|
+ <!-- 时间 -->
|
|
562
|
+ <div class="shijian" style="height: auto;line-height: normal;overflow: hidden;padding-bottom: 16px;">
|
|
563
|
+ <span class="right">
|
|
564
|
+ <button nz-button nzType="primary" (click)="importKnowage(data)">引用</button>
|
|
565
|
+ <button class="ml8" nz-button nzType="primary" (click)="showKnowledgeModal(data)">查看</button>
|
|
566
|
+ </span>
|
|
567
|
+ </div>
|
|
568
|
+ </div>
|
|
569
|
+ </div>
|
|
570
|
+ </div>
|
|
571
|
+ <div class="no_data" *ngIf="knowageList.length == 0 && !loading7">
|
|
572
|
+ 暂无数据
|
|
573
|
+ </div>
|
|
574
|
+ <div class="no_data" *ngIf="loading7">
|
|
575
|
+ <div class="loadingFull display_flex justify-content_flex-center align-items_center">
|
|
576
|
+ <div class="loadingFullInner">
|
|
577
|
+ <img src="../../../assets/images/loading.gif" alt="" />
|
|
578
|
+ <div>加载中...</div>
|
|
579
|
+ </div>
|
|
580
|
+ </div>
|
|
581
|
+ </div>
|
|
582
|
+ </overlay-scrollbars>
|
|
583
|
+ </div>
|
|
584
|
+ <!-- 知识库 end -->
|
|
585
|
+ </div>
|
|
586
|
+ </div>
|
|
587
|
+ <div class="btns display_flex justify-content_flex-center align-items_center">
|
|
588
|
+ <ng-container *ngIf="applyDept && currentTabIndex !== '故障报修'">
|
|
589
|
+ <button nz-button class="btn" nzType="primary" (click)="newOrderOk('&go&')" [nzLoading]="isGoLoading" *ngIf="(radioValueQt || radioValueZy) && currentTasktype && currentTasktype.associationType && ((currentTasktype.associationType.value === 'inspect' && linkCheckLisTrue && !(currentTasktype.isMoreDept === 0 && isInspects)) || currentTasktype.associationType.value !== 'inspect')">
|
|
590
|
+ 继续建单
|
|
591
|
+ </button>
|
|
592
|
+ <button nz-button class="btn" nzType="primary" (click)="newOrderOk()" [nzLoading]="isOkLoading" *ngIf="(radioValueQt || radioValueZy) && currentTasktype && currentTasktype.associationType && ((currentTasktype.associationType.value === 'inspect' && linkCheckLisTrue && !(currentTasktype.isMoreDept === 0 && isInspects)) || currentTasktype.associationType.value !== 'inspect')">
|
|
593
|
+ {{isYyInspect ? '预约建单' :'直接建单'}}
|
|
594
|
+ </button>
|
|
595
|
+ </ng-container>
|
|
596
|
+ <ng-container *ngIf="currentTabIndex === '故障报修' && buildType !== '编辑事件'">
|
|
597
|
+ <label nz-checkbox [(ngModel)]="isBuildOrderAgagin" *ngIf="buildType !== '报修转事件' && buildType !== '留言转事件' && buildType !== '继续建单'">是否连续建单</label>
|
|
598
|
+ <button nz-button class="btn" nzType="primary" (click)="directOrder()">
|
|
599
|
+ 直接解决
|
|
600
|
+ </button>
|
|
601
|
+ <button nz-button class="btn" nzType="primary" (click)="assignOrder()">
|
|
602
|
+ 建单并派单
|
|
603
|
+ </button>
|
|
604
|
+ <button nz-button class="btn" nzType="primary" (click)="temporaryStorage()">
|
|
605
|
+ 暂存
|
|
606
|
+ </button>
|
|
607
|
+ </ng-container>
|
|
608
|
+ <ng-container *ngIf="currentTabIndex === '故障报修' && buildType === '编辑事件'">
|
|
609
|
+ <button nz-button class="btn" nzType="primary" (click)="saveOrder()">
|
|
610
|
+ 保存
|
|
611
|
+ </button>
|
|
612
|
+ </ng-container>
|
|
613
|
+ <button class="btn cancel" nz-button nzType="default" (click)="newOrderCancel()">
|
|
614
|
+ 取消
|
|
615
|
+ </button>
|
|
616
|
+ </div>
|
|
617
|
+ </div>
|
|
618
|
+</div>
|