|
@@ -2,7 +2,7 @@
|
2
|
2
|
* @Author: seimin
|
3
|
3
|
* @Date: 2024-10-24 13:47:40
|
4
|
4
|
* @LastEditors: seimin
|
5
|
|
- * @LastEditTime: 2024-10-25 14:51:58
|
|
5
|
+ * @LastEditTime: 2024-10-25 15:47:50
|
6
|
6
|
* @Description: 创建
|
7
|
7
|
-->
|
8
|
8
|
<!-- 新建工单 -->
|
|
@@ -62,7 +62,7 @@
|
62
|
62
|
</ng-container>
|
63
|
63
|
</div>
|
64
|
64
|
</div>
|
65
|
|
- <div class="tabs__operate" *ngIf="workTypesFlag && applyDept">
|
|
65
|
+ <div class="tabs__operate" *ngIf="workTypesFlag && incidentModel.department">
|
66
|
66
|
<i
|
67
|
67
|
class="tabs__Icon--right icon_transport transport-xiangzuo"
|
68
|
68
|
(click)="toLeft()"
|
|
@@ -76,635 +76,6 @@
|
76
|
76
|
<!-- 底部tab页 -->
|
77
|
77
|
<div class="bottomWrap">
|
78
|
78
|
<ng-container *ngFor="let item of workTypesArrange | keyvalue">
|
79
|
|
- <ng-container *ngIf="applyDept">
|
80
|
|
- <!-- 标本轮巡,标本配送 -->
|
81
|
|
- <div class="bottom" *ngIf="currentTabIndex == item.key && item.key == 256 && !newLoading">
|
82
|
|
- <div class="bottom380256">
|
83
|
|
- 起点科室默认为申请科室,终点科室为检验科室,确定后即可新建工单!
|
84
|
|
- </div>
|
85
|
|
- </div>
|
86
|
|
- <!-- 患者转运 -->
|
87
|
|
- <overlay-scrollbars #osComponentRef9 *ngIf="currentTabIndex == item.key && item.key == 255 && !newLoading" class="bottom">
|
88
|
|
- <div class="bottom255">
|
89
|
|
- <form nz-form [formGroup]="validateFormZy">
|
90
|
|
- <div nz-row [nzGutter]="24">
|
91
|
|
- <div nz-col [nzSpan]="24" style="height: 310px">
|
92
|
|
- <nz-form-item>
|
93
|
|
- <nz-form-label
|
94
|
|
- class="label"
|
95
|
|
- [nzSm]="24"
|
96
|
|
- [nzXs]="24"
|
97
|
|
- nzRequired
|
98
|
|
- nzFor="taskType"
|
99
|
|
- >类型
|
100
|
|
- </nz-form-label>
|
101
|
|
- <nz-form-control
|
102
|
|
- class="control"
|
103
|
|
- [nzSm]="24"
|
104
|
|
- [nzXs]="24"
|
105
|
|
- nzErrorTip="请选择类型!"
|
106
|
|
- >
|
107
|
|
- <div class="radios">
|
108
|
|
- <overlay-scrollbars
|
109
|
|
- #osComponentRef10
|
110
|
|
- [ngStyle]="{ height: '100%' }"
|
111
|
|
- >
|
112
|
|
- <nz-radio-group
|
113
|
|
- formControlName="taskType"
|
114
|
|
- nz-row
|
115
|
|
- [(ngModel)]="radioValueZy"
|
116
|
|
- (ngModelChange)="radioChangeZy(radioValueZy)"
|
117
|
|
- >
|
118
|
|
- <div nz-row>
|
119
|
|
- <label
|
120
|
|
- nz-col
|
121
|
|
- nz-radio
|
122
|
|
- [nzValue]="item1.id"
|
123
|
|
- *ngFor="
|
124
|
|
- let item1 of workTypesArrange[item.key]
|
125
|
|
- "
|
126
|
|
- >{{ item1.taskTypeName }}</label
|
127
|
|
- >
|
128
|
|
- </div>
|
129
|
|
- </nz-radio-group>
|
130
|
|
- </overlay-scrollbars>
|
131
|
|
- </div>
|
132
|
|
- </nz-form-control>
|
133
|
|
- </nz-form-item>
|
134
|
|
- </div>
|
135
|
|
- <div
|
136
|
|
- nz-col
|
137
|
|
- [nzSpan]="deptZyList['startStatus'] != 201 ? 12 : 24"
|
138
|
|
- style="height: 83px"
|
139
|
|
- [ngStyle]="{
|
140
|
|
- display:
|
141
|
|
- deptZyList['startStatus'] != 201 ? 'block' : 'none'
|
142
|
|
- }"
|
143
|
|
- >
|
144
|
|
- <nz-form-item>
|
145
|
|
- <nz-form-label
|
146
|
|
- class="label"
|
147
|
|
- [nzSm]="24"
|
148
|
|
- [nzXs]="24"
|
149
|
|
- nzRequired
|
150
|
|
- nzFor="startDept"
|
151
|
|
- >起点科室
|
152
|
|
- </nz-form-label>
|
153
|
|
- <nz-form-control
|
154
|
|
- class="control"
|
155
|
|
- [nzSm]="24"
|
156
|
|
- [nzXs]="24"
|
157
|
|
- nzErrorTip="请选择起点科室!"
|
158
|
|
- >
|
159
|
|
- <nz-select
|
160
|
|
- formControlName="startDept"
|
161
|
|
- [nzDisabled]="
|
162
|
|
- deptZyList.startStatus == 201 ||
|
163
|
|
- deptZyList.startStatus == 203 ||
|
164
|
|
- deptZyList.startStatus == 206
|
165
|
|
- "
|
166
|
|
- [nzDropdownMatchSelectWidth]="false"
|
167
|
|
- nzServerSearch
|
168
|
|
- nzShowSearch
|
169
|
|
- (nzOnSearch)="
|
170
|
|
- searchHosDepartment(checkedHos, 'start', $event)
|
171
|
|
- "
|
172
|
|
- nzAllowClear
|
173
|
|
- nzPlaceHolder="请选择起点科室"
|
174
|
|
- [(ngModel)]="startDeptZy"
|
175
|
|
- >
|
176
|
|
- <ng-container
|
177
|
|
- *ngFor="let option of deptZyList.startDept"
|
178
|
|
- >
|
179
|
|
- <nz-option
|
180
|
|
- *ngIf="!isLoading"
|
181
|
|
- [nzLabel]="option.dept"
|
182
|
|
- [nzValue]="option.id"
|
183
|
|
- ></nz-option>
|
184
|
|
- </ng-container>
|
185
|
|
- <nz-option
|
186
|
|
- *ngIf="isLoading"
|
187
|
|
- nzDisabled
|
188
|
|
- nzCustomContent
|
189
|
|
- >
|
190
|
|
- <i
|
191
|
|
- nz-icon
|
192
|
|
- nzType="loading"
|
193
|
|
- class="loading-icon"
|
194
|
|
- ></i>
|
195
|
|
- 搜索中...
|
196
|
|
- </nz-option>
|
197
|
|
- </nz-select>
|
198
|
|
- </nz-form-control>
|
199
|
|
- </nz-form-item>
|
200
|
|
- </div>
|
201
|
|
- <div
|
202
|
|
- nz-col
|
203
|
|
- [nzSpan]="deptZyList['startStatus'] != 201 ? 12 : 24"
|
204
|
|
- style="height: 83px"
|
205
|
|
- >
|
206
|
|
- <nz-form-item>
|
207
|
|
- <nz-form-label
|
208
|
|
- class="label"
|
209
|
|
- [nzSm]="24"
|
210
|
|
- [nzXs]="24"
|
211
|
|
- nzRequired
|
212
|
|
- nzFor="endDepts"
|
213
|
|
- >终点科室
|
214
|
|
- </nz-form-label>
|
215
|
|
- <nz-form-control
|
216
|
|
- class="control"
|
217
|
|
- [nzSm]="24"
|
218
|
|
- [nzXs]="24"
|
219
|
|
- nzErrorTip="请选择终点科室!"
|
220
|
|
- >
|
221
|
|
- <nz-select
|
222
|
|
- formControlName="endDepts"
|
223
|
|
- [nzDisabled]="
|
224
|
|
- deptZyList.endStatus == 201 ||
|
225
|
|
- deptZyList.endStatus == 203 ||
|
226
|
|
- deptZyList.endStatus == 206
|
227
|
|
- "
|
228
|
|
- [nzDropdownMatchSelectWidth]="false"
|
229
|
|
- nzServerSearch
|
230
|
|
- nzShowSearch
|
231
|
|
- (nzOnSearch)="
|
232
|
|
- searchHosDepartment(checkedHos, 'end', $event)
|
233
|
|
- "
|
234
|
|
- nzAllowClear
|
235
|
|
- nzPlaceHolder="请选择终点科室"
|
236
|
|
- [(ngModel)]="endDeptZy"
|
237
|
|
- (ngModelChange)="endDeptZyChange()"
|
238
|
|
- >
|
239
|
|
- <ng-container
|
240
|
|
- *ngFor="let option of deptZyList.endDept"
|
241
|
|
- >
|
242
|
|
- <nz-option
|
243
|
|
- *ngIf="!isLoading"
|
244
|
|
- [nzLabel]="option.dept"
|
245
|
|
- [nzValue]="option.id"
|
246
|
|
- ></nz-option>
|
247
|
|
- </ng-container>
|
248
|
|
- <nz-option
|
249
|
|
- *ngIf="isLoading"
|
250
|
|
- nzDisabled
|
251
|
|
- nzCustomContent
|
252
|
|
- >
|
253
|
|
- <i
|
254
|
|
- nz-icon
|
255
|
|
- nzType="loading"
|
256
|
|
- class="loading-icon"
|
257
|
|
- ></i>
|
258
|
|
- 搜索中...
|
259
|
|
- </nz-option>
|
260
|
|
- </nz-select>
|
261
|
|
- </nz-form-control>
|
262
|
|
- </nz-form-item>
|
263
|
|
- </div>
|
264
|
|
- <div nz-col [nzSpan]="24" style="height: 83px">
|
265
|
|
- <div class="control-flex">
|
266
|
|
- <nz-form-item class="control-flex__5">
|
267
|
|
- <nz-form-label
|
268
|
|
- class="label"
|
269
|
|
- [nzSm]="24"
|
270
|
|
- [nzXs]="24"
|
271
|
|
- nzRequired
|
272
|
|
- nzFor="patient"
|
273
|
|
- >患者信息
|
274
|
|
- </nz-form-label>
|
275
|
|
- <nz-form-control
|
276
|
|
- class="control"
|
277
|
|
- style="width: 160px"
|
278
|
|
- [nzSm]="24"
|
279
|
|
- [nzXs]="24"
|
280
|
|
- nzErrorTip="请选择患者信息!"
|
281
|
|
- >
|
282
|
|
- <nz-select
|
283
|
|
- formControlName="patient"
|
284
|
|
- [nzDropdownMatchSelectWidth]="false"
|
285
|
|
- nzServerSearch
|
286
|
|
- nzShowSearch
|
287
|
|
- (nzOnSearch)="
|
288
|
|
- searchPatientList(
|
289
|
|
- radioValueZy == deathTasktypeId && endDeptZy !== null
|
290
|
|
- ? endDeptZy
|
291
|
|
- : applyDept,
|
292
|
|
- $event
|
293
|
|
- )
|
294
|
|
- "
|
295
|
|
- nzAllowClear
|
296
|
|
- nzPlaceHolder="请选择患者信息"
|
297
|
|
- [(ngModel)]="patientZy"
|
298
|
|
- >
|
299
|
|
- <ng-container
|
300
|
|
- *ngFor="let option of patientList"
|
301
|
|
- >
|
302
|
|
- <nz-option
|
303
|
|
- *ngIf="!isLoadingPatient"
|
304
|
|
- [nzLabel]="
|
305
|
|
- option.bednum +
|
306
|
|
- '床 ' +
|
307
|
|
- option.patientname +
|
308
|
|
- ' ' +
|
309
|
|
- option.residenceNo
|
310
|
|
- "
|
311
|
|
- [nzValue]="option.patientCode"
|
312
|
|
- ></nz-option>
|
313
|
|
- </ng-container>
|
314
|
|
- <nz-option
|
315
|
|
- *ngIf="isLoadingPatient"
|
316
|
|
- nzDisabled
|
317
|
|
- nzCustomContent
|
318
|
|
- >
|
319
|
|
- <i
|
320
|
|
- nz-icon
|
321
|
|
- nzType="loading"
|
322
|
|
- class="loading-icon"
|
323
|
|
- ></i>
|
324
|
|
- 搜索中...
|
325
|
|
- </nz-option>
|
326
|
|
- </nz-select>
|
327
|
|
- </nz-form-control>
|
328
|
|
- </nz-form-item>
|
329
|
|
- <nz-form-item class="control-flex__7">
|
330
|
|
- <nz-form-label
|
331
|
|
- class="label"
|
332
|
|
- [nzSm]="24"
|
333
|
|
- [nzXs]="24"
|
334
|
|
- nzFor="goods"
|
335
|
|
- *ngIf="goodsNow.length"
|
336
|
|
- >
|
337
|
|
- 携带物品
|
338
|
|
- </nz-form-label>
|
339
|
|
- <nz-form-control
|
340
|
|
- class="control"
|
341
|
|
- [nzSm]="24"
|
342
|
|
- [nzXs]="24"
|
343
|
|
- nzErrorTip="请选择携带物品!"
|
344
|
|
- >
|
345
|
|
- <nz-checkbox-group
|
346
|
|
- [(ngModel)]="goodsNow"
|
347
|
|
- formControlName="goods"
|
348
|
|
- (ngModelChange)="changeGoods($event)"
|
349
|
|
- ></nz-checkbox-group>
|
350
|
|
- </nz-form-control>
|
351
|
|
- </nz-form-item>
|
352
|
|
- </div>
|
353
|
|
- </div>
|
354
|
|
- <!-- 预约建单时间-患者其他服务--start -->
|
355
|
|
- <div nz-col [nzSpan]="24" style="height: 83px" class="pos">
|
356
|
|
- <!-- 需要预约检查 -->
|
357
|
|
- <nz-form-item class="pos-item">
|
358
|
|
- <nz-form-control>
|
359
|
|
- <label
|
360
|
|
- nz-checkbox
|
361
|
|
- [(ngModel)]="isYyInspect"
|
362
|
|
- (ngModelChange)="yyInspectChange($event)"
|
363
|
|
- [ngModelOptions]="{ standalone: true }"
|
364
|
|
- style="font-weight: bold"
|
365
|
|
- >需要预约检查</label
|
366
|
|
- >
|
367
|
|
- </nz-form-control>
|
368
|
|
- </nz-form-item>
|
369
|
|
- <!-- 预约建单时间-患者其他服务 -->
|
370
|
|
- <nz-form-item class="yyTime" [ngClass]="{yyTimeError: (!yyTimeZy || !yyDateZy) && clickYYZyFlag}">
|
371
|
|
- <nz-form-label [nzSm]="24" [nzXs]="24">预约建单时间</nz-form-label>
|
372
|
|
- <nz-form-control [nzSm]="24" [nzXs]="24">
|
373
|
|
- <nz-date-picker
|
374
|
|
- [nzDisabled]="!isYyInspect"
|
375
|
|
- [(ngModel)]="yyDateZy"
|
376
|
|
- (ngModelChange)="yyDateChange($event)"
|
377
|
|
- [ngModelOptions]="{ standalone: true }"
|
378
|
|
- [nzAllowClear]="false"
|
379
|
|
- [nzDisabledDate]="disabledyyDateZy"
|
380
|
|
- [nzShowToday]="false"
|
381
|
|
- ></nz-date-picker>
|
382
|
|
- <nz-time-picker
|
383
|
|
- [nzDisabled]="!isYyInspect || !yyDateZy"
|
384
|
|
- class="ml8"
|
385
|
|
- nzFormat="HH:mm"
|
386
|
|
- [nzMinuteStep]="inspectAndPatientTransportConfig.timeMod"
|
387
|
|
- [nzSecondStep]="60"
|
388
|
|
- [(ngModel)]="yyTimeZy"
|
389
|
|
- (ngModelChange)="yyTimeZyChange($event)"
|
390
|
|
- [ngModelOptions]="{ standalone: true }"
|
391
|
|
- [nzDisabledHours]="disabledHours"
|
392
|
|
- [nzDisabledMinutes]="disabledMinutes"
|
393
|
|
- [nzAllowEmpty]="false"
|
394
|
|
- >
|
395
|
|
- </nz-time-picker>
|
396
|
|
- <button
|
397
|
|
- [disabled]="!isYyInspect || (isYyInspect && !yyDateZy)"
|
398
|
|
- nz-button
|
399
|
|
- nzType="primary"
|
400
|
|
- class="ml8"
|
401
|
|
- (click)="nextDayZy()"
|
402
|
|
- >
|
403
|
|
- 下一日
|
404
|
|
- </button>
|
405
|
|
- </nz-form-control>
|
406
|
|
- <div
|
407
|
|
- class="red w100"
|
408
|
|
- *ngIf="(!yyTimeZy || !yyDateZy) && clickYYZyFlag"
|
409
|
|
- >
|
410
|
|
- 请填写预约建单时间!
|
411
|
|
- </div>
|
412
|
|
- </nz-form-item>
|
413
|
|
- </div>
|
414
|
|
- <!-- 预约建单时间-患者其他服务--end -->
|
415
|
|
- </div>
|
416
|
|
- </form>
|
417
|
|
- </div>
|
418
|
|
- </overlay-scrollbars>
|
419
|
|
- <!-- 其他 -->
|
420
|
|
- <overlay-scrollbars #osComponentRef13 class="bottom" *ngIf="currentTabIndex == item.key && item.key == 259 && !newLoading">
|
421
|
|
- <div class="bottom255">
|
422
|
|
- <form nz-form [formGroup]="validateFormQt">
|
423
|
|
- <div nz-row [nzGutter]="24">
|
424
|
|
- <div nz-col [nzSpan]="24" style="height: 268px">
|
425
|
|
- <nz-form-item>
|
426
|
|
- <nz-form-label
|
427
|
|
- class="label"
|
428
|
|
- [nzSm]="24"
|
429
|
|
- [nzXs]="24"
|
430
|
|
- nzRequired
|
431
|
|
- nzFor="taskTypeQt"
|
432
|
|
- >类型
|
433
|
|
- </nz-form-label>
|
434
|
|
- <nz-form-control
|
435
|
|
- class="control"
|
436
|
|
- [nzSm]="24"
|
437
|
|
- [nzXs]="24"
|
438
|
|
- nzErrorTip="请选择类型!"
|
439
|
|
- >
|
440
|
|
- <div class="radios" style="height: 225px">
|
441
|
|
- <overlay-scrollbars
|
442
|
|
- #osComponentRef11
|
443
|
|
- [ngStyle]="{ height: '100%' }"
|
444
|
|
- >
|
445
|
|
- <nz-radio-group
|
446
|
|
- formControlName="taskTypeQt"
|
447
|
|
- nz-row
|
448
|
|
- [(ngModel)]="radioValueQt"
|
449
|
|
- (ngModelChange)="radioChangeQt(radioValueQt)"
|
450
|
|
- >
|
451
|
|
- <div nz-row>
|
452
|
|
- <label
|
453
|
|
- nz-col
|
454
|
|
- nz-radio
|
455
|
|
- [nzValue]="item1.id"
|
456
|
|
- *ngFor="
|
457
|
|
- let item1 of workTypesArrange[item.key]
|
458
|
|
- "
|
459
|
|
- >{{ item1.taskTypeName }}</label
|
460
|
|
- >
|
461
|
|
- </div>
|
462
|
|
- </nz-radio-group>
|
463
|
|
- </overlay-scrollbars>
|
464
|
|
- </div>
|
465
|
|
- </nz-form-control>
|
466
|
|
- </nz-form-item>
|
467
|
|
- </div>
|
468
|
|
- <div
|
469
|
|
- nz-col
|
470
|
|
- [nzSpan]="12"
|
471
|
|
- style="height: 83px"
|
472
|
|
- [ngStyle]="{
|
473
|
|
- display:
|
474
|
|
- deptQtList['startStatus'] != 201 ? 'block' : 'none'
|
475
|
|
- }"
|
476
|
|
- >
|
477
|
|
- <nz-form-item>
|
478
|
|
- <nz-form-label
|
479
|
|
- class="label"
|
480
|
|
- [nzSm]="24"
|
481
|
|
- [nzXs]="24"
|
482
|
|
- nzRequired
|
483
|
|
- nzFor="startDeptQt"
|
484
|
|
- >起点科室
|
485
|
|
- </nz-form-label>
|
486
|
|
- <nz-form-control
|
487
|
|
- class="control"
|
488
|
|
- [nzSm]="24"
|
489
|
|
- [nzXs]="24"
|
490
|
|
- nzErrorTip="请选择起点科室!"
|
491
|
|
- >
|
492
|
|
- <nz-select
|
493
|
|
- formControlName="startDeptQt"
|
494
|
|
- [nzDisabled]="
|
495
|
|
- deptQtList.startStatus == 201 ||
|
496
|
|
- deptQtList.startStatus == 203
|
497
|
|
- "
|
498
|
|
- [nzDropdownMatchSelectWidth]="false"
|
499
|
|
- nzServerSearch
|
500
|
|
- nzShowSearch
|
501
|
|
- (nzOnSearch)="
|
502
|
|
- searchHosDepartmentQt(
|
503
|
|
- checkedHos,
|
504
|
|
- 'start',
|
505
|
|
- $event
|
506
|
|
- )
|
507
|
|
- "
|
508
|
|
- nzAllowClear
|
509
|
|
- nzPlaceHolder="请选择起点科室"
|
510
|
|
- [(ngModel)]="startDeptQt"
|
511
|
|
- >
|
512
|
|
- <ng-container
|
513
|
|
- *ngFor="let option of deptQtList.startDept"
|
514
|
|
- >
|
515
|
|
- <nz-option
|
516
|
|
- *ngIf="!isLoading"
|
517
|
|
- [nzLabel]="option.dept"
|
518
|
|
- [nzValue]="option.id"
|
519
|
|
- ></nz-option>
|
520
|
|
- </ng-container>
|
521
|
|
- <nz-option
|
522
|
|
- *ngIf="isLoading"
|
523
|
|
- nzDisabled
|
524
|
|
- nzCustomContent
|
525
|
|
- >
|
526
|
|
- <i
|
527
|
|
- nz-icon
|
528
|
|
- nzType="loading"
|
529
|
|
- class="loading-icon"
|
530
|
|
- ></i>
|
531
|
|
- 搜索中...
|
532
|
|
- </nz-option>
|
533
|
|
- </nz-select>
|
534
|
|
- </nz-form-control>
|
535
|
|
- </nz-form-item>
|
536
|
|
- </div>
|
537
|
|
- <div nz-col [nzSpan]="12" style="height: 83px">
|
538
|
|
- <nz-form-item>
|
539
|
|
- <nz-form-label
|
540
|
|
- class="label"
|
541
|
|
- [nzSm]="24"
|
542
|
|
- [nzXs]="24"
|
543
|
|
- nzRequired
|
544
|
|
- nzFor="endDeptsQt"
|
545
|
|
- >终点科室
|
546
|
|
- </nz-form-label>
|
547
|
|
- <nz-form-control
|
548
|
|
- class="control"
|
549
|
|
- [nzSm]="24"
|
550
|
|
- [nzXs]="24"
|
551
|
|
- nzErrorTip="请选择终点科室!"
|
552
|
|
- >
|
553
|
|
- <nz-select
|
554
|
|
- formControlName="endDeptsQt"
|
555
|
|
- [nzDisabled]="
|
556
|
|
- deptQtList.endStatus == 201 ||
|
557
|
|
- deptQtList.endStatus == 203
|
558
|
|
- "
|
559
|
|
- [nzDropdownMatchSelectWidth]="false"
|
560
|
|
- nzServerSearch
|
561
|
|
- nzShowSearch
|
562
|
|
- (nzOnSearch)="
|
563
|
|
- searchHosDepartmentQt(checkedHos, 'end', $event)
|
564
|
|
- "
|
565
|
|
- nzAllowClear
|
566
|
|
- nzPlaceHolder="请选择终点科室"
|
567
|
|
- [(ngModel)]="endDeptQt"
|
568
|
|
- >
|
569
|
|
- <ng-container
|
570
|
|
- *ngFor="let option of deptQtList.endDept"
|
571
|
|
- >
|
572
|
|
- <nz-option
|
573
|
|
- *ngIf="!isLoading"
|
574
|
|
- [nzLabel]="option.dept"
|
575
|
|
- [nzValue]="option.id"
|
576
|
|
- ></nz-option>
|
577
|
|
- </ng-container>
|
578
|
|
- <nz-option
|
579
|
|
- *ngIf="isLoading"
|
580
|
|
- nzDisabled
|
581
|
|
- nzCustomContent
|
582
|
|
- >
|
583
|
|
- <i
|
584
|
|
- nz-icon
|
585
|
|
- nzType="loading"
|
586
|
|
- class="loading-icon"
|
587
|
|
- ></i>
|
588
|
|
- 搜索中...
|
589
|
|
- </nz-option>
|
590
|
|
- </nz-select>
|
591
|
|
- </nz-form-control>
|
592
|
|
- </nz-form-item>
|
593
|
|
- </div>
|
594
|
|
- <div
|
595
|
|
- nz-col
|
596
|
|
- [nzSpan]="24"
|
597
|
|
- *ngIf="
|
598
|
|
- deptQtList.taskType &&
|
599
|
|
- deptQtList.taskType.remarksSwitch == 1
|
600
|
|
- "
|
601
|
|
- >
|
602
|
|
- <nz-form-item>
|
603
|
|
- <nz-form-label
|
604
|
|
- class="label"
|
605
|
|
- [nzSm]="3"
|
606
|
|
- [nzXs]="3"
|
607
|
|
- nzFor="workOrderRemark"
|
608
|
|
- >工单备注
|
609
|
|
- </nz-form-label>
|
610
|
|
- <span
|
611
|
|
- class="customRemarks"
|
612
|
|
- *ngFor="
|
613
|
|
- let item of deptQtList.taskType.customRemarks
|
614
|
|
- "
|
615
|
|
- (click)="addRemarks(item)"
|
616
|
|
- >【{{ item }}】</span
|
617
|
|
- >
|
618
|
|
- <nz-form-control
|
619
|
|
- class="control"
|
620
|
|
- [nzSm]="24"
|
621
|
|
- [nzXs]="24"
|
622
|
|
- nzErrorTip="请填写工单备注!"
|
623
|
|
- >
|
624
|
|
- <textarea
|
625
|
|
- formControlName="workOrderRemark"
|
626
|
|
- nz-input
|
627
|
|
- [placeholder]="deptQtList.taskType.remarksPrompts"
|
628
|
|
- [nzAutosize]="{ minRows: 3, maxRows: 5 }"
|
629
|
|
- maxlength="100"
|
630
|
|
- [(ngModel)]="workOrderRemark"
|
631
|
|
- #remarksEle
|
632
|
|
- ></textarea>
|
633
|
|
- </nz-form-control>
|
634
|
|
- </nz-form-item>
|
635
|
|
- </div>
|
636
|
|
- <!-- 预约建单时间-其他临床服务--start -->
|
637
|
|
- <div nz-col [nzSpan]="24" style="height: 83px" class="pos">
|
638
|
|
- <!-- 需要预约检查 -->
|
639
|
|
- <nz-form-item class="pos-item">
|
640
|
|
- <nz-form-control>
|
641
|
|
- <label
|
642
|
|
- nz-checkbox
|
643
|
|
- [(ngModel)]="isYyInspect"
|
644
|
|
- (ngModelChange)="yyInspectChange($event)"
|
645
|
|
- [ngModelOptions]="{ standalone: true }"
|
646
|
|
- style="font-weight: bold"
|
647
|
|
- >需要预约检查</label
|
648
|
|
- >
|
649
|
|
- </nz-form-control>
|
650
|
|
- </nz-form-item>
|
651
|
|
- <!-- 预约建单时间 -->
|
652
|
|
- <nz-form-item
|
653
|
|
- class="yyTime"
|
654
|
|
- [ngClass]="{ yyTimeError: (!yyTime || !yyDate) && clickYYFlag }"
|
655
|
|
- >
|
656
|
|
- <nz-form-label [nzSm]="24" [nzXs]="24"
|
657
|
|
- >预约建单时间</nz-form-label
|
658
|
|
- >
|
659
|
|
- <nz-form-control [nzSm]="24" [nzXs]="24">
|
660
|
|
- <nz-date-picker
|
661
|
|
- [nzDisabled]="!isYyInspect"
|
662
|
|
- [(ngModel)]="yyDate"
|
663
|
|
- (ngModelChange)="yyDateChange($event)"
|
664
|
|
- [ngModelOptions]="{ standalone: true }"
|
665
|
|
- [nzAllowClear]="false"
|
666
|
|
- [nzDisabledDate]="disabledyyDate"
|
667
|
|
- [nzShowToday]="false"
|
668
|
|
- >
|
669
|
|
- </nz-date-picker>
|
670
|
|
- <nz-time-picker
|
671
|
|
- [nzDisabled]="!isYyInspect || !yyDate"
|
672
|
|
- class="ml8"
|
673
|
|
- nzFormat="HH:mm"
|
674
|
|
- [nzMinuteStep]="inspectAndPatientTransportConfig.timeMod"
|
675
|
|
- [nzSecondStep]="60"
|
676
|
|
- [(ngModel)]="yyTime"
|
677
|
|
- (ngModelChange)="yyTimeChange($event)"
|
678
|
|
- [ngModelOptions]="{ standalone: true }"
|
679
|
|
- [nzDisabledHours]="disabledHours"
|
680
|
|
- [nzDisabledMinutes]="disabledMinutes"
|
681
|
|
- [nzAllowEmpty]="false"
|
682
|
|
- >
|
683
|
|
- </nz-time-picker>
|
684
|
|
- <button
|
685
|
|
- [disabled]="!isYyInspect || (isYyInspect && !yyDate)"
|
686
|
|
- nz-button
|
687
|
|
- nzType="primary"
|
688
|
|
- class="ml8"
|
689
|
|
- (click)="nextDay()"
|
690
|
|
- >
|
691
|
|
- 下一日
|
692
|
|
- </button>
|
693
|
|
- </nz-form-control>
|
694
|
|
- <div
|
695
|
|
- class="red w100"
|
696
|
|
- *ngIf="(!yyTime || !yyDate) && clickYYFlag"
|
697
|
|
- >
|
698
|
|
- 请填写预约建单时间!
|
699
|
|
- </div>
|
700
|
|
- </nz-form-item>
|
701
|
|
- </div>
|
702
|
|
- <!-- 预约建单时间-其他临床服务--end -->
|
703
|
|
- </div>
|
704
|
|
- </form>
|
705
|
|
- </div>
|
706
|
|
- </overlay-scrollbars>
|
707
|
|
- </ng-container>
|
708
|
79
|
<!-- 故障报修 -->
|
709
|
80
|
<overlay-scrollbars #osComponentRef15 class="bottom_req" *ngIf="currentTabIndex === '99999'">
|
710
|
81
|
<div class="req">
|
|
@@ -845,161 +216,14 @@
|
845
|
216
|
</div>
|
846
|
217
|
</overlay-scrollbars>
|
847
|
218
|
</ng-container>
|
848
|
|
- <!-- loading -->
|
849
|
|
- <div class="bottom" *ngIf="newLoading">
|
850
|
|
- <div class="bottom255">
|
851
|
|
- <div class="txtC">
|
852
|
|
- <img src="../../../assets/images/loading.gif" alt="" />
|
853
|
|
- <div>加载中...</div>
|
854
|
|
- </div>
|
855
|
|
- </div>
|
856
|
|
- </div>
|
857
|
219
|
</div>
|
858
|
220
|
</div>
|
859
|
221
|
<div nz-col nzSpan="9" class="col right">
|
860
|
222
|
<div class="rightTitle">
|
861
|
223
|
<div class="rightTitle_tab" [class.active]="currentRTab == tab.id" *ngFor="let tab of rightTitle_tab;" (click)="rightTitleHandler(tab.id)">{{ tab.name }}</div>
|
862
|
|
- <span class="toLastTime1"><span class="time" *ngIf="applyDept">{{ orderRefreshTime }}s</span></span>
|
863
|
|
- </div>
|
864
|
|
- <!-- 近期配送 start -->
|
865
|
|
- <div class="cots_body weifenpai" *ngIf="currentRTab == 0" [ngClass]="{ top185: hurseInfoHiding != '1' }">
|
866
|
|
- <overlay-scrollbars #osComponentRef12 [ngStyle]="{ height: '100%' }">
|
867
|
|
- <div *ngIf="noArrives.length && !loading4">
|
868
|
|
- <div class="list listsTypeColor" *ngFor="let data of noArrives">
|
869
|
|
- <div class="left_cots" (click)="openDetails(data)">
|
870
|
|
- <!-- 工单 -->
|
871
|
|
- <div class="gongdan">
|
872
|
|
- <span class="left">{{ data.taskType.taskName }}({{ data.gdcode }})</span>
|
873
|
|
- <span class="right">
|
874
|
|
- <span>{{ data.gdState.name }}</span>
|
875
|
|
- </span>
|
876
|
|
- </div>
|
877
|
|
- <!-- 地点 -->
|
878
|
|
- <div class="didian">
|
879
|
|
- <span class="left" *ngIf="data.taskType.associationType.value == 'inspect'">
|
880
|
|
- {{ data.startDept ? data.startDept.dept : "" }}
|
881
|
|
- <span *ngFor="let item of data.middleDept">
|
882
|
|
- ->{{ item.dept }}
|
883
|
|
- </span>
|
884
|
|
- </span>
|
885
|
|
- <span class="left" *ngIf="data.taskType.associationType.id != 260">
|
886
|
|
- {{ data.startDept ? data.startDept.dept : "" }}{{ data.endDepts ? "->" + data.endDepts[0].dept : "" }}
|
887
|
|
- </span>
|
888
|
|
- <span class="right" *ngIf="data.goods">
|
889
|
|
- <i class="icon_transport transport-icon3"></i>
|
890
|
|
- <span>{{ data.goods }}</span>
|
891
|
|
- </span>
|
892
|
|
- <span class="right" *ngIf="data.workOrderRemark" [title]="data.workOrderRemark">
|
893
|
|
- <i class="icon_transport transport-icon3"></i>
|
894
|
|
- <span>{{ data.workOrderRemark }}</span>
|
895
|
|
- </span>
|
896
|
|
- </div>
|
897
|
|
- <!-- 时间 -->
|
898
|
|
- <div class="shijian">
|
899
|
|
- <span class="left" *ngIf="data.expectTimeNum && data.timeOut != true">
|
900
|
|
- <i class="icon_transport transport-shouye10" nz-tooltip nzTooltipTitle="进行中"></i>
|
901
|
|
- <ng-container *ngIf="(data.taskType.associationType.value == 'patientTransport' || data.taskType.associationType.value == 'inspect') && data.patient?.illnessState">
|
902
|
|
- <i *ngIf="data.patient.illnessState.value === '2'" class="colorRed icon_transport transport-tubiao_wei" nz-tooltip nzTooltipTitle="病危"></i>
|
903
|
|
- <i *ngIf="data.patient.illnessState.value === '3'" class="colorRed icon_transport transport-zhong" nz-tooltip nzTooltipTitle="病重"></i>
|
904
|
|
- </ng-container>
|
905
|
|
- <ng-container *ngIf="(data.taskType.associationType.value == 'patientTransport' || data.taskType.associationType.value == 'inspect') && data.patient?.careLevel">
|
906
|
|
- <i *ngIf="data.patient.careLevel.value === '0'" class="icon_transport transport-te1" nz-tooltip nzTooltipTitle="特级护理"></i>
|
907
|
|
- <i *ngIf="data.patient.careLevel.value === '1'" class="icon_transport transport-1_round_solid" nz-tooltip nzTooltipTitle="一级护理"></i>
|
908
|
|
- <i *ngIf="data.patient.careLevel.value === '2'" class="icon_transport transport-2_round_solid" nz-tooltip nzTooltipTitle="二级护理"></i>
|
909
|
|
- <i *ngIf="data.patient.careLevel.value === '3'" class="icon_transport transport-3_round_solid" nz-tooltip nzTooltipTitle="三级护理"></i>
|
910
|
|
- </ng-container>
|
911
|
|
- <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>
|
912
|
|
- </span>
|
913
|
|
- <span class="left" *ngIf="data.timeOutLength && data.timeOut == true">
|
914
|
|
- <i class="colorRed icon_transport transport-daojishi" nz-tooltip nzTooltipTitle="超时"></i>
|
915
|
|
- <ng-container *ngIf="(data.taskType.associationType.value == 'patientTransport' || data.taskType.associationType.value == 'inspect') && data.patient?.illnessState">
|
916
|
|
- <i *ngIf="data.patient.illnessState.value === '2'" class="colorRed icon_transport transport-tubiao_wei" nz-tooltip nzTooltipTitle="病危"></i>
|
917
|
|
- <i *ngIf="data.patient.illnessState.value === '3'" class="colorRed icon_transport transport-zhong" nz-tooltip nzTooltipTitle="病重"></i>
|
918
|
|
- </ng-container>
|
919
|
|
- <ng-container *ngIf="(data.taskType.associationType.value == 'patientTransport' || data.taskType.associationType.value == 'inspect') && data.patient?.careLevel">
|
920
|
|
- <i *ngIf="data.patient.careLevel.value === '0'" class="icon_transport transport-te1" nz-tooltip nzTooltipTitle="特级护理"></i>
|
921
|
|
- <i *ngIf="data.patient.careLevel.value === '1'" class="icon_transport transport-1_round_solid" nz-tooltip nzTooltipTitle="一级护理"></i>
|
922
|
|
- <i *ngIf="data.patient.careLevel.value === '2'" class="icon_transport transport-2_round_solid" nz-tooltip nzTooltipTitle="二级护理"></i>
|
923
|
|
- <i *ngIf="data.patient.careLevel.value === '3'" class="icon_transport transport-3_round_solid" nz-tooltip nzTooltipTitle="三级护理"></i>
|
924
|
|
- </ng-container>
|
925
|
|
- <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>
|
926
|
|
- </span>
|
927
|
|
- <span class="right" nz-tooltip [nzTooltipTitle]="'总时长' + formatTime(data.expectTimeNum / 1000)">
|
928
|
|
- {{ data.showCreateTime }}
|
929
|
|
- </span>
|
930
|
|
- </div>
|
931
|
|
- <!-- 急单 -->
|
932
|
|
- <img *ngIf="data.emergencyType && data.emergencyType.id == 300" src="../../assets/images/icon_ji.png" alt="" class="ji" />
|
933
|
|
- <!-- 加急单 -->
|
934
|
|
- <img *ngIf="data.emergencyType && data.emergencyType.id == 301" src="../../assets/images/icon_jiaji.png" alt="" class="ji" />
|
935
|
|
- </div>
|
936
|
|
- <div class="right_bots display_flex col-flex align-items_center justify-content_flex-center gap8">
|
937
|
|
- <input type="button" *ngIf="data.gdState.value == 2" class="top_bot" value="派单" (click)="allotWorker(data.id, data.gdState.id)" />
|
938
|
|
- <input type="button" *ngIf="data.gdState.value == 3 || data.gdState.value == 4" class="mid_bot" value="撤回" (click)="openRecallModal(data.id)" />
|
939
|
|
- <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')" />
|
940
|
|
- </div>
|
941
|
|
- <div *ngIf="data.timeOut != true" class="slider sgreen" [ngStyle]="{ width: data.percent + '%' }"></div>
|
942
|
|
- <div *ngIf="data.timeOut == true" class="slider sred" [ngStyle]="{ width: '100%' }"></div>
|
943
|
|
- </div>
|
944
|
|
- </div>
|
945
|
|
- <div class="no_data" *ngIf="noArrives.length == 0 && !loading4">
|
946
|
|
- 暂无数据
|
947
|
|
- </div>
|
948
|
|
- <div class="no_data" *ngIf="loading4">
|
949
|
|
- <div class="loadingFull display_flex justify-content_flex-center align-items_center">
|
950
|
|
- <div class="loadingFullInner">
|
951
|
|
- <img src="../../../assets/images/loading.gif" alt="" />
|
952
|
|
- <div>加载中...</div>
|
953
|
|
- </div>
|
954
|
|
- </div>
|
955
|
|
- </div>
|
956
|
|
- </overlay-scrollbars>
|
957
|
|
- </div>
|
958
|
|
- <!-- 近期配送 end -->
|
959
|
|
- <!-- 转出院记录 start -->
|
960
|
|
- <div class="cots_body weifenpai patientLog" *ngIf="currentRTab == 1" [ngClass]="{ top185: hurseInfoHiding != '1' }">
|
961
|
|
- <overlay-scrollbars
|
962
|
|
- #osComponentRef14
|
963
|
|
- [ngStyle]="{ height: '100%' }"
|
964
|
|
- >
|
965
|
|
- <div class="list listsTypeColor clearfix">
|
966
|
|
- <nz-table class="w100" [nzData]="patientLogList" nzSize="middle" [nzShowPagination]="false" [nzLoading]="loading5">
|
967
|
|
- <thead>
|
968
|
|
- <tr class="thead">
|
969
|
|
- <th nzWidth="10%">类型</th>
|
970
|
|
- <th nzWidth="17%">时间</th>
|
971
|
|
- <th nzWidth="23%">申请科室</th>
|
972
|
|
- <th nzWidth="23%">转入科室</th>
|
973
|
|
- <th nzWidth="15%">关联患者</th>
|
974
|
|
- <th nzWidth="12%">操作</th>
|
975
|
|
- </tr>
|
976
|
|
- </thead>
|
977
|
|
- <tbody>
|
978
|
|
- <tr *ngFor="let data of patientLogList; let i = index">
|
979
|
|
- <td>{{ data.type ? data.type.name : "-" }}</td>
|
980
|
|
- <td>{{ data.time | date: "yyyy-MM-dd HH:mm:ss" }}</td>
|
981
|
|
- <td>{{ data.sqDept ? data.sqDept.dept : "-" }}</td>
|
982
|
|
- <td>{{ data.zrDept ? data.zrDept.dept : "-" }}</td>
|
983
|
|
- <td>
|
984
|
|
- {{ data.patient ? data.patient.patientName : "-" }}
|
985
|
|
- </td>
|
986
|
|
- <td>
|
987
|
|
- <button
|
988
|
|
- style="cursor: pointer"
|
989
|
|
- (click)="patientLogBuild(data)"
|
990
|
|
- >
|
991
|
|
- 建单
|
992
|
|
- </button>
|
993
|
|
- </td>
|
994
|
|
- </tr>
|
995
|
|
- </tbody>
|
996
|
|
- </nz-table>
|
997
|
|
- </div>
|
998
|
|
- </overlay-scrollbars>
|
999
|
224
|
</div>
|
1000
|
|
- <!-- 转出院记录 end -->
|
1001
|
225
|
<!-- 近期维修 start -->
|
1002
|
|
- <div class="cots_body weifenpai" *ngIf="currentRTab == 2" [ngClass]="{ top185: hurseInfoHiding != '1' }">
|
|
226
|
+ <div class="cots_body weifenpai top185" *ngIf="currentRTab == 2">
|
1003
|
227
|
<overlay-scrollbars #osComponentRef16 [ngStyle]="{ height: '100%' }">
|
1004
|
228
|
<div *ngIf="itsmOrders.length && !loading6">
|
1005
|
229
|
<div class="list listsTypeColor" *ngFor="let data of itsmOrders">
|
|
@@ -1042,7 +266,7 @@
|
1042
|
266
|
</div>
|
1043
|
267
|
<!-- 近期维修 end -->
|
1044
|
268
|
<!-- 知识库 start -->
|
1045
|
|
- <div class="cots_body weifenpai" *ngIf="currentRTab == 3" [ngClass]="{ top185: hurseInfoHiding != '1' }">
|
|
269
|
+ <div class="cots_body weifenpai top185" *ngIf="currentRTab == 3">
|
1046
|
270
|
<overlay-scrollbars #osComponentRef17 [ngStyle]="{ height: '100%' }">
|
1047
|
271
|
<div *ngIf="knowageList.length && !loading7">
|
1048
|
272
|
<div class="list listsTypeColor" *ngFor="let data of knowageList" style="height: auto;overflow: hidden;">
|