Parcourir la source

标本和万能交接增加备注

seimin il y a 4 mois
Parent
commit
614c4c1816

+ 30 - 182
src/app/views/hushijiandan/hushijiandan.component.html

@@ -1286,51 +1286,28 @@
1286 1286
               </div>
1287 1287
             </div>
1288 1288
             <div class="orders">
1289
-              <div
1290
-                class="orderTit display_flex justify-content_space-between align-items_center"
1291
-              >
1289
+              <div class="orderTit display_flex justify-content_space-between align-items_center">
1292 1290
                 <span>工单列表<b style="font-size: 12px">({{ orderListTime }}秒)</b></span>
1293 1291
                 <div>
1294
-                  <nz-select
1295
-                    style="width: 100px"
1296
-                    [(ngModel)]="orderStateSelected"
1297
-                    (ngModelChange)="changeOrderState($event)"
1298
-                    nzPlaceHolder="请选择工单状态"
1299
-                  >
1292
+                  <nz-select style="width: 100px" [(ngModel)]="orderStateSelected" (ngModelChange)="changeOrderState($event)" nzPlaceHolder="请选择工单状态">
1300 1293
                     <nz-option nzValue="-1" nzLabel="全部"></nz-option>
1301 1294
                     <nz-option nzValue="1" nzLabel="执行中"></nz-option>
1302 1295
                     <nz-option nzValue="2" nzLabel="待评价"></nz-option>
1303 1296
                   </nz-select>
1304
-                  <nz-select
1305
-                    class="ml8"
1306
-                    style="width: 100px"
1307
-                    [(ngModel)]="orderSelected"
1308
-                    (ngModelChange)="changeOrderSel(orderSelected)"
1309
-                    nzPlaceHolder="请选择任务类型"
1310
-                  >
1297
+                  <nz-select class="ml8" style="width: 100px" [(ngModel)]="orderSelected" (ngModelChange)="changeOrderSel(orderSelected)" nzPlaceHolder="请选择任务类型">
1311 1298
                     <nz-option nzValue="-1" nzLabel="全部"></nz-option>
1312
-                    <nz-option
1313
-                      *ngFor="let item of orderSelectList"
1314
-                      [nzValue]="item.id"
1315
-                      [nzLabel]="item.name"
1316
-                    >
1299
+                    <nz-option *ngFor="let item of orderSelectList" [nzValue]="item.id" [nzLabel]="item.name">
1317 1300
                     </nz-option>
1318 1301
                   </nz-select>
1319 1302
                 </div>
1320 1303
               </div>
1321
-              <div
1322
-                class="loading display_flex align-items_center justify-content_flex-center"
1323
-                *ngIf="OLoading"
1324
-              >
1304
+              <div class="loading display_flex align-items_center justify-content_flex-center" *ngIf="OLoading">
1325 1305
                 <div>
1326 1306
                   <img src="../../assets/images/loading.gif" alt="" />
1327 1307
                   <div>加载中...</div>
1328 1308
                 </div>
1329 1309
               </div>
1330
-              <div
1331
-                class="loading none display_flex align-items_center justify-content_flex-center"
1332
-                *ngIf="orderLength == 0 && !OLoading"
1333
-              >
1310
+              <div class="loading none display_flex align-items_center justify-content_flex-center" *ngIf="orderLength == 0 && !OLoading">
1334 1311
                 <div>
1335 1312
                   <div>暂无数据</div>
1336 1313
                 </div>
@@ -1339,47 +1316,22 @@
1339 1316
                 <overlay-scrollbars #osComponentRef1 class="box">
1340 1317
                   <div class="orderLisBox">
1341 1318
                     <div class="orderLis">
1342
-                      <div
1343
-                        class="loading display_flex align-items_center justify-content_flex-center"
1344
-                        *ngIf="OLoading"
1345
-                      >
1319
+                      <div class="loading display_flex align-items_center justify-content_flex-center" *ngIf="OLoading">
1346 1320
                         <div>
1347 1321
                           <img src="../../assets/images/loading.gif" alt="" />
1348 1322
                           <div>加载中...</div>
1349 1323
                         </div>
1350 1324
                       </div>
1351
-                      <div
1352
-                        class="orderItem borderB"
1353
-                        *ngFor="let item of orderList"
1354
-                      >
1325
+                      <div class="orderItem borderB" *ngFor="let item of orderList">
1355 1326
                         <div class="info">
1356 1327
                           <div class="row" nz-row>
1357 1328
                             <div nz-col nzSpan="12" class="col txtL">
1358
-                              {{
1359
-                                item.isHalfInspect === 1
1360
-                                  ? "半程陪检"
1361
-                                  : item.taskType.taskName
1362
-                              }}
1363
-                              <ng-container
1364
-                                *ngIf="
1365
-                                  item.taskType.associationType.value ==
1366
-                                    'drugsBag' && item.drugs
1367
-                                "
1368
-                              >
1329
+                              {{ item.isHalfInspect === 1 ? "半程陪检" : item.taskType.taskName }}
1330
+                              <ng-container *ngIf="item.taskType.associationType.value == 'drugsBag' && item.drugs">
1369 1331
                                 ({{ item.drugs.packid }})
1370 1332
                               </ng-container>
1371
-                              <ng-container *ngIf="item.goodsRemark"
1372
-                                >-{{ item.goodsRemark }}</ng-container
1373
-                              >
1374
-                              <span
1375
-                                *ngIf="
1376
-                                  item.patient &&
1377
-                                  (item.taskType.associationType.value ==
1378
-                                    'patientTransport' ||
1379
-                                    item.taskType.associationType.value ==
1380
-                                      'inspect')
1381
-                                "
1382
-                              >
1333
+                              <ng-container *ngIf="item.goodsRemark">-{{ item.goodsRemark }}</ng-container>
1334
+                              <span *ngIf="item.patient && (item.taskType.associationType.value == 'patientTransport' || item.taskType.associationType.value == 'inspect')">
1383 1335
                                 ({{ item.patient.patientName }})
1384 1336
                               </span>
1385 1337
                             </div>
@@ -1393,55 +1345,23 @@
1393 1345
                             </div>
1394 1346
                           </div>
1395 1347
                           <div class="row" nz-row>
1396
-                            <!-- <div nz-col nzSpan="12" class="col txtL"></div> -->
1397 1348
                             <div nz-col nzSpan="12" class="col txtL">
1398
-                              <ng-container
1399
-                                *ngIf="
1400
-                                  item.taskType.associationType.value ==
1401
-                                    'drugsBag' && item.startDept
1402
-                                "
1403
-                              >
1404
-                                {{
1405
-                                  deptDisplay == 2
1406
-                                    ? item.startDept.deptalias
1407
-                                    : item.startDept.dept
1408
-                                }}
1349
+                              <ng-container *ngIf="item.taskType.associationType.value == 'drugsBag' && item.startDept">
1350
+                                {{ deptDisplay == 2 ? item.startDept.deptalias : item.startDept.dept }}
1409 1351
                               </ng-container>
1410 1352
                             </div>
1411
-                            <div
1412
-                              *ngIf="item.showCreateTime"
1413
-                              nz-col
1414
-                              nzSpan="12"
1415
-                              class="col txtR"
1416
-                            >
1353
+                            <div *ngIf="item.showCreateTime" nz-col nzSpan="12" class="col txtR">
1417 1354
                               {{ item.showCreateTime }}
1418 1355
                             </div>
1419
-                            <div
1420
-                              *ngIf="item.yyjdTime && item.gdState.value == 11"
1421
-                              nz-col
1422
-                              nzSpan="12"
1423
-                              class="col txtR"
1424
-                            >
1356
+                            <div *ngIf="item.yyjdTime && item.gdState.value == 11" nz-col nzSpan="12" class="col txtR">
1425 1357
                               {{ item.yyjdTime | date: "MM-dd HH:mm" }}
1426 1358
                             </div>
1427 1359
                           </div>
1428 1360
                           <div class="row" nz-row>
1429 1361
                             <div nz-col nzSpan="12" class="col txtL">
1430
-                              <span *ngIf="item.worker"
1431
-                                >{{ item.worker.name }}
1432
-                                {{
1433
-                                  item.worker.phone
1434
-                                    ? "(" + item.worker.phone + ")"
1435
-                                    : ""
1436
-                                }}</span
1437
-                              >
1362
+                              <span *ngIf="item.worker">{{ item.worker.name }}{{ item.worker.phone ? "(" + item.worker.phone + ")" : "" }}</span>
1438 1363
                             </div>
1439
-                            <div
1440
-                              nz-col
1441
-                              nzSpan="12"
1442
-                              class="col txtR toDetail"
1443
-                              (click)="openDetails(item)"
1444
-                            >
1364
+                            <div nz-col nzSpan="12" class="col txtR toDetail" (click)="openDetails(item)">
1445 1365
                               <span>查看详情>></span>
1446 1366
                             </div>
1447 1367
                           </div>
@@ -1451,29 +1371,10 @@
1451 1371
                             <div class="steps" *ngFor="let step of item.record">
1452 1372
                               <div class="step">
1453 1373
                                 <div class="txt">
1454
-                                  <i
1455
-                                    [ngClass]="{
1456
-                                      icon_transport: true,
1457
-                                      'transport-icon_liucheng': true,
1458
-                                      green:
1459
-                                        step.record &&
1460
-                                        step.record[0] &&
1461
-                                        step.record[0].operationTime
1462
-                                    }"
1463
-                                  ></i>
1374
+                                  <i [ngClass]="{ icon_transport: true, 'transport-icon_liucheng': true, green: step.record && step.record[0] && step.record[0].operationTime }"></i>
1464 1375
                                   <p>{{ step.operationName }}</p>
1465
-                                  <p
1466
-                                    class="time"
1467
-                                    *ngIf="
1468
-                                      step.record &&
1469
-                                      step.record[0] &&
1470
-                                      step.record[0].operationTime
1471
-                                    "
1472
-                                  >
1473
-                                    {{
1474
-                                      step.record[0].operationTime
1475
-                                        | date: "MM-dd HH:mm"
1476
-                                    }}
1376
+                                  <p class="time" *ngIf="step.record && step.record[0] && step.record[0].operationTime">
1377
+                                    {{ step.record[0].operationTime | date: "MM-dd HH:mm"}}
1477 1378
                                   </p>
1478 1379
                                 </div>
1479 1380
                                 <div class="line"></div>
@@ -1482,73 +1383,27 @@
1482 1383
                           </div>
1483 1384
                         </div>
1484 1385
                         <div class="btns display_flex">
1485
-                          <div
1486
-                            class="btn flex_1 appraise"
1487
-                            *ngIf="item.gdState.id == 73"
1488
-                            (click)="showAppraise(item.id)"
1489
-                          >
1386
+                          <div class="btn flex_1 appraise" *ngIf="item.gdState.id == 73" (click)="showAppraise(item.id)">
1490 1387
                             评价
1491 1388
                           </div>
1492
-                          <div
1493
-                            *ngIf="isAssign && item.gdState.value == 2"
1494
-                            class="btn flex_1 revocation borderR primary"
1495
-                            (click)="allotWorker(item.id, item.gdState.id)"
1496
-                          >
1389
+                          <div *ngIf="isAssign && item.gdState.value == 2" class="btn flex_1 revocation borderR primary" (click)="allotWorker(item.id, item.gdState.id)">
1497 1390
                             指派
1498 1391
                           </div>
1499
-                          <div
1500
-                            *ngIf="isAssign && item.gdState.value == 4"
1501
-                            class="btn flex_1 revocation borderR primary"
1502
-                            (click)="allotWorker(item.id, item.gdState.id, 1)"
1503
-                          >
1392
+                          <div *ngIf="isAssign && item.gdState.value == 4" class="btn flex_1 revocation borderR primary" (click)="allotWorker(item.id, item.gdState.id, 1)">
1504 1393
                             指派
1505 1394
                           </div>
1506
-                          <div
1507
-                            *ngIf="
1508
-                              item.gdState.id == 69 ||
1509
-                              item.gdState.id == 70 ||
1510
-                              item.gdState.id == 71 ||
1511
-                              item.gdState.id == 433
1512
-                            "
1513
-                            class="btn flex_1 revocation borderR"
1514
-                            (click)="openRecallModal(item.id)"
1515
-                          >
1395
+                          <div *ngIf="item.gdState.id == 69 || item.gdState.id == 70 || item.gdState.id == 71 || item.gdState.id == 433" class="btn flex_1 revocation borderR" (click)="openRecallModal(item.id)">
1516 1396
                             撤销
1517 1397
                           </div>
1518
-                          <div
1519
-                            *ngIf="item.gdState.id == 433"
1520
-                            class="btn flex_1 revocation borderR"
1521
-                            (click)="openExecModal(item)"
1522
-                          >
1398
+                          <div *ngIf="item.gdState.id == 433" class="btn flex_1 revocation borderR" (click)="openExecModal(item)">
1523 1399
                             立即执行
1524 1400
                           </div>
1525
-                          <div
1526
-                            *ngIf="
1527
-                              (item.gdState.id == 69 ||
1528
-                                item.gdState.id == 71) &&
1529
-                              item.taskType.allowUrgent == 1 &&
1530
-                              !item.urgentDetails
1531
-                            "
1532
-                            class="btn flex_1 urgent"
1533
-                            (click)="showJiaji(item.id)"
1534
-                          >
1401
+                          <div *ngIf="(item.gdState.id == 69 || item.gdState.id == 71) && item.taskType.allowUrgent == 1 && !item.urgentDetails" class="btn flex_1 urgent" (click)="showJiaji(item.id)">
1535 1402
                             加急
1536 1403
                           </div>
1537 1404
                         </div>
1538
-                        <img
1539
-                          src="../../assets/images/icon_ji.png"
1540
-                          class="icon_ji"
1541
-                          *ngIf="
1542
-                            item.emergencyType && item.emergencyType.id == 300
1543
-                          "
1544
-                        />
1545
-                        <img
1546
-                          src="../../assets/images/icon_jiaji.png"
1547
-                          class="icon_ji"
1548
-                          *ngIf="
1549
-                            item.emergencyType && item.emergencyType.id == 301
1550
-                          "
1551
-                        />
1405
+                        <img src="../../assets/images/icon_ji.png" class="icon_ji" *ngIf="item.emergencyType && item.emergencyType.id == 300" />
1406
+                        <img src="../../assets/images/icon_jiaji.png" class="icon_ji" *ngIf="item.emergencyType && item.emergencyType.id == 301" />
1552 1407
                       </div>
1553 1408
                     </div>
1554 1409
                   </div>
@@ -1556,14 +1411,7 @@
1556 1411
                 <!-- 翻页 -->
1557 1412
                 <div class="pageing">
1558 1413
                   <div>
1559
-                    <nz-pagination
1560
-                      [(nzPageIndex)]="orderIdx"
1561
-                      [(nzTotal)]="orderLength"
1562
-                      (nzPageIndexChange)="getOrderList()"
1563
-                      [nzPageSize]="10"
1564
-                      nzSimple
1565
-                    >
1566
-                    </nz-pagination>
1414
+                    <nz-pagination [(nzPageIndex)]="orderIdx" [(nzTotal)]="orderLength" (nzPageIndexChange)="getOrderList()" [nzPageSize]="10" nzSimple></nz-pagination>
1567 1415
                   </div>
1568 1416
                 </div>
1569 1417
               </div>

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

@@ -4960,6 +4960,7 @@ export class HushijiandanComponent implements OnInit {
4960 4960
       this.loadingQuick = this.btnLoading;
4961 4961
       this.buildType = "bb";
4962 4962
       this.shortcutMsg1 = taskType;
4963
+      this.workOrderRemark1 = workOrderRemark;
4963 4964
       this.confirmShortcut1(shortcutForm);
4964 4965
     }
4965 4966
   }

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

@@ -142,7 +142,7 @@
142 142
             <label nz-radio nzValue='0'>否</label>
143 143
           </nz-radio-group>
144 144
         </div>
145
-        <div class="mb8 w100" *ngIf="association.value == 'patientTransport' || association.value == 'inspect' || association.value == 'specimen' || association.value == 'other'">
145
+        <div class="mb8 w100">
146 146
           <nz-form-label class="label" nzRequired>是否需要备注信息</nz-form-label>
147 147
           <nz-radio-group class="handlerType" [(ngModel)]="isRemarks" (ngModelChange)="isRemarksChange()">
148 148
             <label nz-radio nzValue='1'>是</label>