seimin hai 4 meses
pai
achega
eae76a81a5

+ 1 - 1
src/app/share/detail-patients/detail-patients.component.html

@@ -37,7 +37,7 @@
37 37
           <div nz-col nzSpan="8" *ngIf="orderInfo.inspectUsersNum">
38 38
             陪检人数:{{orderInfo.inspectUsersNum}}</div>
39 39
           <div nz-col nzSpan="24" *ngIf="orderInfo.workOrderRemark">
40
-            备注信息:{{orderInfo.workOrderRemark}}</div>
40
+            注意事项:{{orderInfo.workOrderRemark}}</div>
41 41
           <div nz-col nzSpan="24" *ngIf="orderInfo.specialCloseReason">
42 42
             特殊情况关闭原因:{{orderInfo.specialCloseReason}}
43 43
           </div>

+ 43 - 256
src/app/views/fuwutai/fuwutai.component.html

@@ -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>

+ 16 - 0
src/app/views/fuwutai/fuwutai.component.ts

@@ -146,6 +146,7 @@ export class FuwutaiComponent implements OnInit {
146 146
   startDeptQt = ""; //其他->选中起点科室
147 147
   endDeptQt = ""; //其他->选中终点科室
148 148
   workOrderRemark = ""; //工单备注
149
+  workOrderRemarkZy = ""; //工单备注
149 150
   // 新建工单弹框
150 151
   newOrderShow = false; //展示/隐藏新建工单弹框
151 152
   newOrderShowOpen = false; //展示/隐藏新建工单弹框(辅助项)
@@ -426,6 +427,7 @@ export class FuwutaiComponent implements OnInit {
426 427
             patientCode: this.validateFormZy.controls.patient.value,
427 428
           },
428 429
           goods: goods,
430
+          workOrderRemark: this.validateFormZy.controls.workOrderRemarkZy.value,
429 431
         },
430 432
       };
431 433
       if (!this.noWorkerPhone) {
@@ -749,6 +751,7 @@ export class FuwutaiComponent implements OnInit {
749 751
       patient: [null, [Validators.required]], //患者信息
750 752
       // patient: [null],//患者信息ca
751 753
       goods: [null], //携带物品
754
+      workOrderRemarkZy: [null], //工单备注
752 755
     });
753 756
     //其他
754 757
     this.validateFormQt = this.fb.group({
@@ -2548,6 +2551,7 @@ export class FuwutaiComponent implements OnInit {
2548 2551
     this.patientZy = null;
2549 2552
     this.goodsNow = [];
2550 2553
     this.workOrderRemark = "";
2554
+    this.workOrderRemarkZy = "";
2551 2555
     this.deptZyList["startDept"] = [];
2552 2556
     this.deptZyList["endDept"] = [];
2553 2557
     this.deptZyList["startStatus"] = 0;
@@ -3446,6 +3450,7 @@ export class FuwutaiComponent implements OnInit {
3446 3450
     this.goodsNow = [];
3447 3451
     this.patientList = [];
3448 3452
     this.workOrderRemark = "";
3453
+    this.workOrderRemarkZy = "";
3449 3454
     this.deptZyList["startDept"] = [];
3450 3455
     this.deptZyList["endDept"] = [];
3451 3456
     this.deptZyList["startStatus"] = 0;
@@ -4481,6 +4486,7 @@ export class FuwutaiComponent implements OnInit {
4481 4486
     this.goodsNow = [];
4482 4487
     this.patientList = [];
4483 4488
     this.workOrderRemark = "";
4489
+    this.workOrderRemarkZy = "";
4484 4490
     this.deptZyList["startDept"] = [];
4485 4491
     this.deptZyList["endDept"] = [];
4486 4492
     this.deptZyList["startStatus"] = 0;
@@ -5404,4 +5410,14 @@ export class FuwutaiComponent implements OnInit {
5404 5410
       }
5405 5411
     });
5406 5412
   }
5413
+
5414
+  // 选择患者
5415
+  selectPatientZy(e){
5416
+    let patient = this.patientList.find(v => v.patientCode === e);
5417
+    if(patient){
5418
+      this.workOrderRemarkZy = patient.remark || '';
5419
+    }else{
5420
+      this.workOrderRemarkZy = '';
5421
+    }
5422
+  }
5407 5423
 }

+ 2 - 5
src/app/views/hushijiandan/hushijiandan.component.html

@@ -1589,14 +1589,11 @@
1589 1589
                 <textarea rows="4" placeholder="请输入加急原因" nz-input [(ngModel)]="urgentReason" formControlName="urgentReason"></textarea>
1590 1590
               </nz-form-control>
1591 1591
             </nz-form-item>
1592
-            <!-- 工单备注 -->
1592
+            <!-- 注意事项 -->
1593 1593
             <ng-container *ngIf="isRemarks">
1594 1594
               <nz-form-item>
1595 1595
                 <div class="display_flex align-items_center">
1596
-                  <nz-form-label nzFor="workOrderRemark2" class="mt8 mb8">工单备注</nz-form-label>
1597
-                  <div *ngIf="customRemarks2.length" style="word-break: break-all;">
1598
-                    <span class="addRemarks" *ngFor="let item of customRemarks2" (click)="addRemarks2(item)">【{{ item }}】</span>
1599
-                  </div>
1596
+                  <nz-form-label nzFor="workOrderRemark2" class="mt8 mb8">注意事项</nz-form-label>
1600 1597
                 </div>
1601 1598
                 <nz-form-control>
1602 1599
                   <textarea nz-input [placeholder]="workOrderRemarkTips2" [nzAutosize]="{ minRows: 3, maxRows: 5 }" maxlength="100" formControlName="workOrderRemark2" [(ngModel)]="workOrderRemark2" #remarksEle2></textarea>

+ 6 - 1
src/app/views/hushijiandan/hushijiandan.component.ts

@@ -2927,7 +2927,6 @@ export class HushijiandanComponent implements OnInit {
2927 2927
   cLoading = false;
2928 2928
   historyCustomRemarks2 = [];
2929 2929
   changeCheckedType() {
2930
-    this.workOrderRemark2 = "";
2931 2930
     this.customRemarks2 = [];
2932 2931
     this.historyCustomRemarks2 = [];
2933 2932
     this.isYyInspect = false;
@@ -2937,6 +2936,12 @@ export class HushijiandanComponent implements OnInit {
2937 2936
     this.currentTasktype = this.checkTypeLis.find(
2938 2937
       (item) => item.id == this.patientForm.controls.checkedType.value
2939 2938
     );
2939
+    // 是否回显注意事项
2940
+    if(this.currentTasktype.remarksSwitch === 1){
2941
+      this.workOrderRemark2 = this.patientMsg.remark || "";
2942
+    }else{
2943
+      this.workOrderRemark2 = '';
2944
+    }
2940 2945
     // 获取患者其他服务,护士端是否预约建单
2941 2946
     let appointmentZyBuildFlag = this.checkTypeLis.filter(
2942 2947
       (item) =>

+ 15 - 8
src/app/views/qrcode-configuration/qrcode-configuration.service.ts

@@ -31,25 +31,32 @@ export class QRCodeConfigurationService {
31 31
   // 列表-增
32 32
   add({name, deptId, placeCode, phones, hosId}) {
33 33
     let data = {
34
-      name,
35
-      deptId,
36
-      placeCode,
37
-      phones,
38
-      hosId,
34
+      qrCode: {
35
+        name,
36
+        deptId,
37
+        placeCode,
38
+        phones,
39
+        hosId,
40
+      }
39 41
     };
40 42
 
41
-    return this.mainService.simplePost("addData", "qrCode", data);
43
+    return this.mainService.coopData("addData", "qrCode", data);
42 44
   }
43 45
 
44 46
   // 列表-改
45 47
   update({name, deptId, placeCode, phones, coopData}) {
46
-    let data = {
48
+    let data:any = {
47 49
       name,
48 50
       deptId,
49 51
       placeCode,
50 52
       phones,
51 53
     };
52
-    data = {...coopData, ...data};
54
+    data = {
55
+      qrCode: {
56
+        ...coopData,
57
+        ...data,
58
+      }
59
+    };
53 60
     return this.mainService.simplePost("addData", "qrCode", data);
54 61
   }
55 62
 

+ 3 - 3
src/app/views/task-type-management/task-type-management.component.html

@@ -150,10 +150,10 @@
150 150
           </nz-radio-group>
151 151
         </div>
152 152
         <div class="mb8 display_flex align-items_center" *ngIf="isRemarks == 1">
153
-          <nz-form-label class="label">备注信息提示用语</nz-form-label>
153
+          <nz-form-label class="label">{{(association.value == 'inspect' || association.value == 'patientTransport') ? '注意事项提示用语' : '备注信息提示用语'}}</nz-form-label>
154 154
           <input nz-input class="flex_1" [(ngModel)]="remarks" placeholder="请填写备注信息提示用语" nzSize="default" />
155 155
         </div>
156
-        <div class="mb8 w100" *ngIf="isRemarks == 1">
156
+        <div class="mb8 w100" *ngIf="!(association.value == 'inspect' || association.value == 'patientTransport') && isRemarks == 1">
157 157
           <nz-form-label class="label">备注快捷输入</nz-form-label>
158 158
           <button nz-button nzType="dashed" (click)="addQuickRemarks()" *ngIf="!quickRemarks">
159 159
             <i nz-icon nzType="plus"></i>
@@ -279,7 +279,7 @@
279 279
         </div> -->
280 280
         <div nz-row *ngIf="association.value == 'inspect' || association.value == 'patientTransport'">
281 281
           <nz-form-label class="label">携带设备</nz-form-label>
282
-          <nz-checkbox-group class="handlerType" [nzDisabled]="isRemarks == 1" [(ngModel)]="carryEquipmentIds"></nz-checkbox-group>
282
+          <nz-checkbox-group class="handlerType" [(ngModel)]="carryEquipmentIds"></nz-checkbox-group>
283 283
         </div>
284 284
         <div nz-row class="mb8 display_flex align-items_center">
285 285
           <nz-form-label class="label">急单权重</nz-form-label>