|
@@ -1039,26 +1039,14 @@
|
1039
|
1039
|
</div>
|
1040
|
1040
|
</div>
|
1041
|
1041
|
<div class="tabs__operate" *ngIf="workTypesFlag && applyDept">
|
1042
|
|
- <i
|
1043
|
|
- class="tabs__Icon--right icon_transport transport-xiangzuo"
|
1044
|
|
- (click)="toLeft()"
|
1045
|
|
- ></i>
|
1046
|
|
- <i
|
1047
|
|
- class="tabs__Icon--left icon_transport transport-xiangzuo"
|
1048
|
|
- (click)="toRight()"
|
1049
|
|
- ></i>
|
|
1042
|
+ <i class="tabs__Icon--right icon_transport transport-xiangzuo" (click)="toLeft()"></i>
|
|
1043
|
+ <i class="tabs__Icon--left icon_transport transport-xiangzuo" (click)="toRight()"></i>
|
1050
|
1044
|
</div>
|
1051
|
1045
|
</div>
|
1052
|
1046
|
<!-- 底部tab页 -->
|
1053
|
1047
|
<div class="bottomWrap">
|
1054
|
1048
|
<ng-container *ngFor="let item of workTypesArrange;let index = index;">
|
1055
|
1049
|
<ng-container *ngIf="applyDept">
|
1056
|
|
- <!-- 标本配送 -->
|
1057
|
|
- <!-- <div class="bottom" *ngIf="currentTabIndex == item.key && item.key == '物品配送' && !newLoading">
|
1058
|
|
- <div class="bottom380256">
|
1059
|
|
- 起点科室默认为申请科室,终点科室为检验科室,确定后即可新建工单!
|
1060
|
|
- </div>
|
1061
|
|
- </div> -->
|
1062
|
1050
|
<!-- 患者转运 -->
|
1063
|
1051
|
<overlay-scrollbars #osComponentRef9 *ngIf="currentTabIndex == item.key && item.key == '患者转运' && !newLoading" class="bottom">
|
1064
|
1052
|
<div class="bottom255">
|
|
@@ -1066,20 +1054,8 @@
|
1066
|
1054
|
<div nz-row [nzGutter]="24">
|
1067
|
1055
|
<div nz-col [nzSpan]="24" style="height: 310px">
|
1068
|
1056
|
<nz-form-item>
|
1069
|
|
- <nz-form-label
|
1070
|
|
- class="label"
|
1071
|
|
- [nzSm]="24"
|
1072
|
|
- [nzXs]="24"
|
1073
|
|
- nzRequired
|
1074
|
|
- nzFor="taskType"
|
1075
|
|
- >类型
|
1076
|
|
- </nz-form-label>
|
1077
|
|
- <nz-form-control
|
1078
|
|
- class="control"
|
1079
|
|
- [nzSm]="24"
|
1080
|
|
- [nzXs]="24"
|
1081
|
|
- nzErrorTip="请选择类型!"
|
1082
|
|
- >
|
|
1057
|
+ <nz-form-label class="label" [nzSm]="24" [nzXs]="24" nzRequired nzFor="taskType">类型</nz-form-label>
|
|
1058
|
+ <nz-form-control class="control" [nzSm]="24" [nzXs]="24" nzErrorTip="请选择类型!">
|
1083
|
1059
|
<div class="radios">
|
1084
|
1060
|
<overlay-scrollbars #osComponentRef10 [ngStyle]="{ height: '100%' }">
|
1085
|
1061
|
<nz-radio-group formControlName="taskType" nz-row [(ngModel)]="radioValueZy" (ngModelChange)="radioChangeZy(radioValueZy)">
|
|
@@ -1092,129 +1068,32 @@
|
1092
|
1068
|
</nz-form-control>
|
1093
|
1069
|
</nz-form-item>
|
1094
|
1070
|
</div>
|
1095
|
|
- <div
|
1096
|
|
- nz-col
|
1097
|
|
- [nzSpan]="deptZyList['startStatus'] != 201 ? 12 : 24"
|
1098
|
|
- style="height: 83px"
|
1099
|
|
- [ngStyle]="{
|
1100
|
|
- display:
|
1101
|
|
- deptZyList['startStatus'] != 201 ? 'block' : 'none'
|
1102
|
|
- }"
|
1103
|
|
- >
|
|
1071
|
+ <div nz-col [nzSpan]="deptZyList['startStatus'] != 201 ? 12 : 24" style="height: 83px" [ngStyle]="{ display: deptZyList['startStatus'] != 201 ? 'block' : 'none'}">
|
1104
|
1072
|
<nz-form-item>
|
1105
|
|
- <nz-form-label
|
1106
|
|
- class="label"
|
1107
|
|
- [nzSm]="24"
|
1108
|
|
- [nzXs]="24"
|
1109
|
|
- nzRequired
|
1110
|
|
- nzFor="startDept"
|
1111
|
|
- >起点科室
|
1112
|
|
- </nz-form-label>
|
1113
|
|
- <nz-form-control
|
1114
|
|
- class="control"
|
1115
|
|
- [nzSm]="24"
|
1116
|
|
- [nzXs]="24"
|
1117
|
|
- nzErrorTip="请选择起点科室!"
|
1118
|
|
- >
|
1119
|
|
- <nz-select
|
1120
|
|
- formControlName="startDept"
|
1121
|
|
- [nzDisabled]="
|
1122
|
|
- deptZyList.startStatus == 201 ||
|
1123
|
|
- deptZyList.startStatus == 203 ||
|
1124
|
|
- deptZyList.startStatus == 206
|
1125
|
|
- "
|
1126
|
|
- [nzDropdownMatchSelectWidth]="false"
|
1127
|
|
- nzServerSearch
|
1128
|
|
- nzShowSearch
|
1129
|
|
- (nzOnSearch)="
|
1130
|
|
- searchHosDepartment(checkedHos, 'start', $event)
|
1131
|
|
- "
|
1132
|
|
- nzAllowClear
|
1133
|
|
- nzPlaceHolder="请选择起点科室"
|
1134
|
|
- [(ngModel)]="startDeptZy"
|
1135
|
|
- >
|
1136
|
|
- <ng-container
|
1137
|
|
- *ngFor="let option of deptZyList.startDept"
|
1138
|
|
- >
|
1139
|
|
- <nz-option
|
1140
|
|
- *ngIf="!isLoading"
|
1141
|
|
- [nzLabel]="option.dept"
|
1142
|
|
- [nzValue]="option.id"
|
1143
|
|
- ></nz-option>
|
|
1073
|
+ <nz-form-label class="label" [nzSm]="24" [nzXs]="24" nzRequired nzFor="startDept">起点科室</nz-form-label>
|
|
1074
|
+ <nz-form-control class="control" [nzSm]="24" [nzXs]="24" nzErrorTip="请选择起点科室!">
|
|
1075
|
+ <nz-select formControlName="startDept" [nzDisabled]="deptZyList.startStatus == 201 || deptZyList.startStatus == 203 || deptZyList.startStatus == 206" [nzDropdownMatchSelectWidth]="false" nzServerSearch nzShowSearch (nzOnSearch)="searchHosDepartment(checkedHos, 'start', $event)" nzAllowClear nzPlaceHolder="请选择起点科室" [(ngModel)]="startDeptZy">
|
|
1076
|
+ <ng-container *ngFor="let option of deptZyList.startDept">
|
|
1077
|
+ <nz-option *ngIf="!isLoading" [nzLabel]="option.dept" [nzValue]="option.id"></nz-option>
|
1144
|
1078
|
</ng-container>
|
1145
|
|
- <nz-option
|
1146
|
|
- *ngIf="isLoading"
|
1147
|
|
- nzDisabled
|
1148
|
|
- nzCustomContent
|
1149
|
|
- >
|
1150
|
|
- <i
|
1151
|
|
- nz-icon
|
1152
|
|
- nzType="loading"
|
1153
|
|
- class="loading-icon"
|
1154
|
|
- ></i>
|
|
1079
|
+ <nz-option *ngIf="isLoading" nzDisabled nzCustomContent>
|
|
1080
|
+ <i nz-icon nzType="loading" class="loading-icon"></i>
|
1155
|
1081
|
搜索中...
|
1156
|
1082
|
</nz-option>
|
1157
|
1083
|
</nz-select>
|
1158
|
1084
|
</nz-form-control>
|
1159
|
1085
|
</nz-form-item>
|
1160
|
1086
|
</div>
|
1161
|
|
- <div
|
1162
|
|
- nz-col
|
1163
|
|
- [nzSpan]="deptZyList['startStatus'] != 201 ? 12 : 24"
|
1164
|
|
- style="height: 83px"
|
1165
|
|
- >
|
|
1087
|
+ <div nz-col [nzSpan]="deptZyList['startStatus'] != 201 ? 12 : 24" style="height: 83px">
|
1166
|
1088
|
<nz-form-item>
|
1167
|
|
- <nz-form-label
|
1168
|
|
- class="label"
|
1169
|
|
- [nzSm]="24"
|
1170
|
|
- [nzXs]="24"
|
1171
|
|
- nzRequired
|
1172
|
|
- nzFor="endDepts"
|
1173
|
|
- >终点科室
|
1174
|
|
- </nz-form-label>
|
1175
|
|
- <nz-form-control
|
1176
|
|
- class="control"
|
1177
|
|
- [nzSm]="24"
|
1178
|
|
- [nzXs]="24"
|
1179
|
|
- nzErrorTip="请选择终点科室!"
|
1180
|
|
- >
|
1181
|
|
- <nz-select
|
1182
|
|
- formControlName="endDepts"
|
1183
|
|
- [nzDisabled]="
|
1184
|
|
- deptZyList.endStatus == 201 ||
|
1185
|
|
- deptZyList.endStatus == 203 ||
|
1186
|
|
- deptZyList.endStatus == 206
|
1187
|
|
- "
|
1188
|
|
- [nzDropdownMatchSelectWidth]="false"
|
1189
|
|
- nzServerSearch
|
1190
|
|
- nzShowSearch
|
1191
|
|
- (nzOnSearch)="
|
1192
|
|
- searchHosDepartment(checkedHos, 'end', $event)
|
1193
|
|
- "
|
1194
|
|
- nzAllowClear
|
1195
|
|
- nzPlaceHolder="请选择终点科室"
|
1196
|
|
- [(ngModel)]="endDeptZy"
|
1197
|
|
- (ngModelChange)="endDeptZyChange()"
|
1198
|
|
- >
|
1199
|
|
- <ng-container
|
1200
|
|
- *ngFor="let option of deptZyList.endDept"
|
1201
|
|
- >
|
1202
|
|
- <nz-option
|
1203
|
|
- *ngIf="!isLoading"
|
1204
|
|
- [nzLabel]="option.dept"
|
1205
|
|
- [nzValue]="option.id"
|
1206
|
|
- ></nz-option>
|
|
1089
|
+ <nz-form-label class="label" [nzSm]="24" [nzXs]="24" nzRequired nzFor="endDepts">终点科室</nz-form-label>
|
|
1090
|
+ <nz-form-control class="control" [nzSm]="24" [nzXs]="24" nzErrorTip="请选择终点科室!">
|
|
1091
|
+ <nz-select formControlName="endDepts" [nzDisabled]="deptZyList.endStatus == 201 || deptZyList.endStatus == 203 || deptZyList.endStatus == 206" [nzDropdownMatchSelectWidth]="false" nzServerSearch nzShowSearch (nzOnSearch)="searchHosDepartment(checkedHos, 'end', $event)" nzAllowClear nzPlaceHolder="请选择终点科室" [(ngModel)]="endDeptZy" (ngModelChange)="endDeptZyChange()">
|
|
1092
|
+ <ng-container *ngFor="let option of deptZyList.endDept">
|
|
1093
|
+ <nz-option *ngIf="!isLoading" [nzLabel]="option.dept" [nzValue]="option.id"></nz-option>
|
1207
|
1094
|
</ng-container>
|
1208
|
|
- <nz-option
|
1209
|
|
- *ngIf="isLoading"
|
1210
|
|
- nzDisabled
|
1211
|
|
- nzCustomContent
|
1212
|
|
- >
|
1213
|
|
- <i
|
1214
|
|
- nz-icon
|
1215
|
|
- nzType="loading"
|
1216
|
|
- class="loading-icon"
|
1217
|
|
- ></i>
|
|
1095
|
+ <nz-option *ngIf="isLoading" nzDisabled nzCustomContent>
|
|
1096
|
+ <i nz-icon nzType="loading" class="loading-icon"></i>
|
1218
|
1097
|
搜索中...
|
1219
|
1098
|
</nz-option>
|
1220
|
1099
|
</nz-select>
|
|
@@ -1224,149 +1103,57 @@
|
1224
|
1103
|
<div nz-col [nzSpan]="24" style="height: 83px">
|
1225
|
1104
|
<div class="control-flex">
|
1226
|
1105
|
<nz-form-item class="control-flex__5">
|
1227
|
|
- <nz-form-label
|
1228
|
|
- class="label"
|
1229
|
|
- [nzSm]="24"
|
1230
|
|
- [nzXs]="24"
|
1231
|
|
- nzRequired
|
1232
|
|
- nzFor="patient"
|
1233
|
|
- >患者信息
|
1234
|
|
- </nz-form-label>
|
1235
|
|
- <nz-form-control
|
1236
|
|
- class="control"
|
1237
|
|
- style="width: 160px"
|
1238
|
|
- [nzSm]="24"
|
1239
|
|
- [nzXs]="24"
|
1240
|
|
- nzErrorTip="请选择患者信息!"
|
1241
|
|
- >
|
1242
|
|
- <nz-select
|
1243
|
|
- formControlName="patient"
|
1244
|
|
- [nzDropdownMatchSelectWidth]="false"
|
1245
|
|
- nzServerSearch
|
1246
|
|
- nzShowSearch
|
1247
|
|
- (nzOnSearch)="
|
1248
|
|
- searchPatientList(
|
1249
|
|
- radioValueZy == deathTasktypeId && endDeptZy !== null
|
1250
|
|
- ? endDeptZy
|
1251
|
|
- : applyDept,
|
1252
|
|
- $event
|
1253
|
|
- )
|
1254
|
|
- "
|
1255
|
|
- nzAllowClear
|
1256
|
|
- nzPlaceHolder="请选择患者信息"
|
1257
|
|
- [(ngModel)]="patientZy"
|
1258
|
|
- >
|
1259
|
|
- <ng-container
|
1260
|
|
- *ngFor="let option of patientList"
|
1261
|
|
- >
|
1262
|
|
- <nz-option
|
1263
|
|
- *ngIf="!isLoadingPatient"
|
1264
|
|
- [nzLabel]="
|
1265
|
|
- option.bednum +
|
1266
|
|
- '床 ' +
|
1267
|
|
- option.patientname +
|
1268
|
|
- ' ' +
|
1269
|
|
- option.residenceNo
|
1270
|
|
- "
|
1271
|
|
- [nzValue]="option.patientCode"
|
1272
|
|
- ></nz-option>
|
|
1106
|
+ <nz-form-label class="label" [nzSm]="24" [nzXs]="24" nzRequired nzFor="patient">患者信息</nz-form-label>
|
|
1107
|
+ <nz-form-control class="control" style="width: 160px" [nzSm]="24" [nzXs]="24" nzErrorTip="请选择患者信息!">
|
|
1108
|
+ <nz-select formControlName="patient" [nzDropdownMatchSelectWidth]="false" nzServerSearch nzShowSearch (nzOnSearch)="searchPatientList(radioValueZy == deathTasktypeId && endDeptZy !== null ? endDeptZy : applyDept, $event)" nzAllowClear nzPlaceHolder="请选择患者信息" [(ngModel)]="patientZy" (ngModelChange)="selectPatientZy($event)">
|
|
1109
|
+ <ng-container *ngFor="let option of patientList">
|
|
1110
|
+ <nz-option *ngIf="!isLoadingPatient" [nzLabel]="option.bednum + '床 ' + option.patientname + ' ' + option.residenceNo"[nzValue]="option.patientCode"></nz-option>
|
1273
|
1111
|
</ng-container>
|
1274
|
|
- <nz-option
|
1275
|
|
- *ngIf="isLoadingPatient"
|
1276
|
|
- nzDisabled
|
1277
|
|
- nzCustomContent
|
1278
|
|
- >
|
1279
|
|
- <i
|
1280
|
|
- nz-icon
|
1281
|
|
- nzType="loading"
|
1282
|
|
- class="loading-icon"
|
1283
|
|
- ></i>
|
|
1112
|
+ <nz-option *ngIf="isLoadingPatient" nzDisabled nzCustomContent>
|
|
1113
|
+ <i nz-icon nzType="loading" class="loading-icon"></i>
|
1284
|
1114
|
搜索中...
|
1285
|
1115
|
</nz-option>
|
1286
|
1116
|
</nz-select>
|
1287
|
1117
|
</nz-form-control>
|
1288
|
1118
|
</nz-form-item>
|
1289
|
1119
|
<nz-form-item class="control-flex__7">
|
1290
|
|
- <nz-form-label
|
1291
|
|
- class="label"
|
1292
|
|
- [nzSm]="24"
|
1293
|
|
- [nzXs]="24"
|
1294
|
|
- nzFor="goods"
|
1295
|
|
- *ngIf="goodsNow.length"
|
1296
|
|
- >
|
|
1120
|
+ <nz-form-label class="label" [nzSm]="24" [nzXs]="24" nzFor="goods" *ngIf="goodsNow.length">
|
1297
|
1121
|
携带物品
|
1298
|
1122
|
</nz-form-label>
|
1299
|
|
- <nz-form-control
|
1300
|
|
- class="control"
|
1301
|
|
- [nzSm]="24"
|
1302
|
|
- [nzXs]="24"
|
1303
|
|
- nzErrorTip="请选择携带物品!"
|
1304
|
|
- >
|
1305
|
|
- <nz-checkbox-group
|
1306
|
|
- [(ngModel)]="goodsNow"
|
1307
|
|
- formControlName="goods"
|
1308
|
|
- (ngModelChange)="changeGoods($event)"
|
1309
|
|
- ></nz-checkbox-group>
|
|
1123
|
+ <nz-form-control class="control" [nzSm]="24" [nzXs]="24" nzErrorTip="请选择携带物品!">
|
|
1124
|
+ <nz-checkbox-group [(ngModel)]="goodsNow" formControlName="goods" (ngModelChange)="changeGoods($event)"></nz-checkbox-group>
|
1310
|
1125
|
</nz-form-control>
|
1311
|
1126
|
</nz-form-item>
|
1312
|
1127
|
</div>
|
1313
|
1128
|
</div>
|
|
1129
|
+ <div nz-col [nzSpan]="24" *ngIf="deptZyList.taskType && deptZyList.taskType.remarksSwitch == 1">
|
|
1130
|
+ <nz-form-item>
|
|
1131
|
+ <nz-form-label class="label" [nzSm]="3" [nzXs]="3" nzFor="workOrderRemarkZy">注意事项</nz-form-label>
|
|
1132
|
+ <nz-form-control class="control" [nzSm]="24" [nzXs]="24" nzErrorTip="请填写注意事项!">
|
|
1133
|
+ <textarea formControlName="workOrderRemarkZy" nz-input [placeholder]="deptZyList.taskType.remarksPrompts" [nzAutosize]="{ minRows: 3, maxRows: 5 }" maxlength="100" [(ngModel)]="workOrderRemarkZy"></textarea>
|
|
1134
|
+ </nz-form-control>
|
|
1135
|
+ </nz-form-item>
|
|
1136
|
+ </div>
|
1314
|
1137
|
<!-- 预约建单时间-患者其他服务--start -->
|
1315
|
1138
|
<div nz-col [nzSpan]="24" style="height: 83px" class="pos">
|
1316
|
1139
|
<!-- 需要预约检查 -->
|
1317
|
1140
|
<nz-form-item class="pos-item">
|
1318
|
1141
|
<nz-form-control>
|
1319
|
|
- <label
|
1320
|
|
- nz-checkbox
|
1321
|
|
- [(ngModel)]="isYyInspect"
|
1322
|
|
- (ngModelChange)="yyInspectChange($event)"
|
1323
|
|
- [ngModelOptions]="{ standalone: true }"
|
1324
|
|
- style="font-weight: bold"
|
1325
|
|
- >需要预约检查</label
|
1326
|
|
- >
|
|
1142
|
+ <label nz-checkbox [(ngModel)]="isYyInspect" (ngModelChange)="yyInspectChange($event)" [ngModelOptions]="{ standalone: true }" style="font-weight: bold">需要预约检查</label>
|
1327
|
1143
|
</nz-form-control>
|
1328
|
1144
|
</nz-form-item>
|
1329
|
1145
|
<!-- 预约建单时间-患者其他服务 -->
|
1330
|
1146
|
<nz-form-item class="yyTime" [ngClass]="{yyTimeError: (!yyTimeZy || !yyDateZy) && clickYYZyFlag}">
|
1331
|
1147
|
<nz-form-label [nzSm]="24" [nzXs]="24">预约建单时间</nz-form-label>
|
1332
|
1148
|
<nz-form-control [nzSm]="24" [nzXs]="24">
|
1333
|
|
- <nz-date-picker
|
1334
|
|
- [nzDisabled]="!isYyInspect"
|
1335
|
|
- [(ngModel)]="yyDateZy"
|
1336
|
|
- (ngModelChange)="yyDateChange($event)"
|
1337
|
|
- [ngModelOptions]="{ standalone: true }"
|
1338
|
|
- [nzAllowClear]="false"
|
1339
|
|
- [nzDisabledDate]="disabledyyDateZy"
|
1340
|
|
- [nzShowToday]="false"
|
1341
|
|
- ></nz-date-picker>
|
1342
|
|
- <nz-time-picker
|
1343
|
|
- [nzDisabled]="!isYyInspect || !yyDateZy"
|
1344
|
|
- class="ml8"
|
1345
|
|
- nzFormat="HH:mm"
|
1346
|
|
- [nzMinuteStep]="inspectAndPatientTransportConfig.timeMod"
|
1347
|
|
- [nzSecondStep]="60"
|
1348
|
|
- [(ngModel)]="yyTimeZy"
|
1349
|
|
- (ngModelChange)="yyTimeZyChange($event)"
|
1350
|
|
- [ngModelOptions]="{ standalone: true }"
|
1351
|
|
- [nzDisabledHours]="disabledHours"
|
1352
|
|
- [nzDisabledMinutes]="disabledMinutes"
|
1353
|
|
- [nzAllowEmpty]="false"
|
1354
|
|
- >
|
|
1149
|
+ <nz-date-picker [nzDisabled]="!isYyInspect" [(ngModel)]="yyDateZy" (ngModelChange)="yyDateChange($event)" [ngModelOptions]="{ standalone: true }" [nzAllowClear]="false" [nzDisabledDate]="disabledyyDateZy" [nzShowToday]="false"></nz-date-picker>
|
|
1150
|
+ <nz-time-picker [nzDisabled]="!isYyInspect || !yyDateZy" class="ml8" nzFormat="HH:mm" [nzMinuteStep]="inspectAndPatientTransportConfig.timeMod" [nzSecondStep]="60" [(ngModel)]="yyTimeZy" (ngModelChange)="yyTimeZyChange($event)" [ngModelOptions]="{ standalone: true }" [nzDisabledHours]="disabledHours" [nzDisabledMinutes]="disabledMinutes" [nzAllowEmpty]="false">
|
1355
|
1151
|
</nz-time-picker>
|
1356
|
|
- <button
|
1357
|
|
- [disabled]="!isYyInspect || (isYyInspect && !yyDateZy)"
|
1358
|
|
- nz-button
|
1359
|
|
- nzType="primary"
|
1360
|
|
- class="ml8"
|
1361
|
|
- (click)="nextDayZy()"
|
1362
|
|
- >
|
|
1152
|
+ <button [disabled]="!isYyInspect || (isYyInspect && !yyDateZy)" nz-button nzType="primary" class="ml8" (click)="nextDayZy()">
|
1363
|
1153
|
下一日
|
1364
|
1154
|
</button>
|
1365
|
1155
|
</nz-form-control>
|
1366
|
|
- <div
|
1367
|
|
- class="red w100"
|
1368
|
|
- *ngIf="(!yyTimeZy || !yyDateZy) && clickYYZyFlag"
|
1369
|
|
- >
|
|
1156
|
+ <div class="red w100" *ngIf="(!yyTimeZy || !yyDateZy) && clickYYZyFlag">
|
1370
|
1157
|
请填写预约建单时间!
|
1371
|
1158
|
</div>
|
1372
|
1159
|
</nz-form-item>
|