Explorar o código

护士端页面调整暂存

seimin hai 4 meses
pai
achega
96e69b9204

+ 1 - 1
proxy.conf.json

@@ -1,6 +1,6 @@
1 1
 {
2 2
   "/service": {
3
-		"target": "http://192.168.4.105",
3
+		"target": "http://192.168.3.108",
4 4
     "logLevel": "debug",
5 5
     "changeOrigin": true,
6 6
     "pathRewrite": {

+ 102 - 386
src/app/views/hushijiandan/hushijiandan.component.html

@@ -39,14 +39,14 @@
39 39
               <div class="item" *ngFor="let item of patientList">
40 40
                 <div class="itemTit txtC" style="font-weight: bold">
41 41
                   <ng-container *ngIf="item.illnessState">
42
-                    <i *ngIf="item.illnessState.value === '2'" class="colorRed icon_transport transport-wei" nz-tooltip nzTooltipTitle="病危"></i>
43
-                    <i *ngIf="item.illnessState.value === '3'" class="colorRed icon_transport transport-zhong1" nz-tooltip nzTooltipTitle="病重"></i>
42
+                    <i *ngIf="item.illnessState.value === '2'" class="colorRed icon_transport transport-wei" nz-tooltip [nzTooltipTitle]="item.illnessState.name"></i>
43
+                    <i *ngIf="item.illnessState.value === '3'" class="colorRed icon_transport transport-zhong1" nz-tooltip [nzTooltipTitle]="item.illnessState.name"></i>
44 44
                   </ng-container>
45 45
                   <ng-container *ngIf="item.careLevel">
46
-                    <i *ngIf="item.careLevel.value === '0'" class="icon_transport transport-te1" nz-tooltip nzTooltipTitle="特级护理"></i>
47
-                    <i *ngIf="item.careLevel.value === '1'" class="icon_transport transport-Bduanshuzi1" nz-tooltip nzTooltipTitle="一级护理"></i>
48
-                    <i *ngIf="item.careLevel.value === '2'" class="icon_transport transport-Bduanshuzi" nz-tooltip nzTooltipTitle="二级护理"></i>
49
-                    <i *ngIf="item.careLevel.value === '3'" class="icon_transport transport-Bduanshuzi11" nz-tooltip nzTooltipTitle="三级护理"></i>
46
+                    <i *ngIf="item.careLevel.value === '0'" class="icon_transport transport-te1" nz-tooltip [nzTooltipTitle]="item.careLevel.name"></i>
47
+                    <i *ngIf="item.careLevel.value === '1'" class="icon_transport transport-Bduanshuzi1" nz-tooltip [nzTooltipTitle]="item.careLevel.name"></i>
48
+                    <i *ngIf="item.careLevel.value === '2'" class="icon_transport transport-Bduanshuzi" nz-tooltip [nzTooltipTitle]="item.careLevel.name"></i>
49
+                    <i *ngIf="item.careLevel.value === '3'" class="icon_transport transport-Bduanshuzi11" nz-tooltip [nzTooltipTitle]="item.careLevel.name"></i>
50 50
                   </ng-container>
51 51
                   <span nz-tooltip [nzTooltipTitle]="recentInfo" nzTooltipPlacement="right" [nzMouseEnterDelay]="1" (mouseenter)="getRecentInfo(item.patientCode)">{{ item.patientName }}({{ item.bedNum }})</span>
52 52
                 </div>
@@ -86,14 +86,14 @@
86 86
               <div class="item" *ngFor="let item of patientList">
87 87
                 <div class="itemTit txtC" style="font-weight: bold">
88 88
                   <ng-container *ngIf="item.illnessState">
89
-                    <i *ngIf="item.illnessState.value === '2'" class="colorRed icon_transport transport-wei" nz-tooltip nzTooltipTitle="病危"></i>
90
-                    <i *ngIf="item.illnessState.value === '3'" class="colorRed icon_transport transport-zhong1" nz-tooltip nzTooltipTitle="病重"></i>
89
+                    <i *ngIf="item.illnessState.value === '2'" class="colorRed icon_transport transport-wei" nz-tooltip [nzTooltipTitle]="item.illnessState.name"></i>
90
+                    <i *ngIf="item.illnessState.value === '3'" class="colorRed icon_transport transport-zhong1" nz-tooltip [nzTooltipTitle]="item.illnessState.name"></i>
91 91
                   </ng-container>
92 92
                   <ng-container *ngIf="item.careLevel">
93
-                    <i *ngIf="item.careLevel.value === '0'" class="icon_transport transport-te1" nz-tooltip nzTooltipTitle="特级护理"></i>
94
-                    <i *ngIf="item.careLevel.value === '1'" class="icon_transport transport-Bduanshuzi1" nz-tooltip nzTooltipTitle="一级护理"></i>
95
-                    <i *ngIf="item.careLevel.value === '2'" class="icon_transport transport-Bduanshuzi" nz-tooltip nzTooltipTitle="二级护理"></i>
96
-                    <i *ngIf="item.careLevel.value === '3'" class="icon_transport transport-Bduanshuzi11"  nz-tooltip nzTooltipTitle="三级护理"></i>
93
+                    <i *ngIf="item.careLevel.value === '0'" class="icon_transport transport-te1" nz-tooltip [nzTooltipTitle]="item.careLevel.name"></i>
94
+                    <i *ngIf="item.careLevel.value === '1'" class="icon_transport transport-Bduanshuzi1" nz-tooltip [nzTooltipTitle]="item.careLevel.name"></i>
95
+                    <i *ngIf="item.careLevel.value === '2'" class="icon_transport transport-Bduanshuzi" nz-tooltip [nzTooltipTitle]="item.careLevel.name"></i>
96
+                    <i *ngIf="item.careLevel.value === '3'" class="icon_transport transport-Bduanshuzi11" nz-tooltip [nzTooltipTitle]="item.careLevel.name"></i>
97 97
                   </ng-container>
98 98
                   <span nz-tooltip [nzTooltipTitle]="recentInfo" nzTooltipPlacement="right" [nzMouseEnterDelay]="1" (mouseenter)="getRecentInfo(item.patientCode)">{{ item.patientName }}({{ currentDept.typeValue == 'outpatientService' ? item.cardNo : item.bedNum }})</span>
99 99
                 </div>
@@ -146,14 +146,14 @@
146 146
               <div class="item" *ngFor="let item of patientList">
147 147
                 <div class="itemTit txtC" style="font-weight: bold">
148 148
                   <ng-container *ngIf="item.patientDTO && item.patientDTO.illnessState">
149
-                    <i *ngIf="item.patientDTO && item.patientDTO.illnessState.value === '2'" class="colorRed icon_transport transport-wei" nz-tooltip nzTooltipTitle="病危"></i>
150
-                    <i *ngIf="item.patientDTO && item.patientDTO.illnessState.value === '3'" class="colorRed icon_transport transport-zhong1" nz-tooltip nzTooltipTitle="病重"></i>
149
+                    <i *ngIf="item.patientDTO && item.patientDTO.illnessState.value === '2'" class="colorRed icon_transport transport-wei" nz-tooltip [nzTooltipTitle]="item.patientDTO.illnessState.name"></i>
150
+                    <i *ngIf="item.patientDTO && item.patientDTO.illnessState.value === '3'" class="colorRed icon_transport transport-zhong1" nz-tooltip [nzTooltipTitle]="item.patientDTO.illnessState.name"></i>
151 151
                   </ng-container>
152 152
                   <ng-container *ngIf="item.patientDTO && item.patientDTO.careLevel">
153
-                    <i *ngIf="item.patientDTO && item.patientDTO.careLevel.value === '0'" class="icon_transport transport-te1" nz-tooltip nzTooltipTitle="特级护理"></i>
154
-                    <i *ngIf="item.patientDTO && item.patientDTO.careLevel.value === '1'" class="icon_transport transport-Bduanshuzi1" nz-tooltip nzTooltipTitle="一级护理"></i>
155
-                    <i *ngIf="item.patientDTO && item.patientDTO.careLevel.value === '2'" class="icon_transport transport-Bduanshuzi" nz-tooltip nzTooltipTitle="二级护理"></i>
156
-                    <i *ngIf="item.patientDTO && item.patientDTO.careLevel.value === '3'" class="icon_transport transport-Bduanshuzi11" nz-tooltip nzTooltipTitle="三级护理"></i>
153
+                    <i *ngIf="item.patientDTO && item.patientDTO.careLevel.value === '0'" class="icon_transport transport-te1" nz-tooltip [nzTooltipTitle]="item.patientDTO.careLevel.name"></i>
154
+                    <i *ngIf="item.patientDTO && item.patientDTO.careLevel.value === '1'" class="icon_transport transport-Bduanshuzi1" nz-tooltip [nzTooltipTitle]="item.patientDTO.careLevel.name"></i>
155
+                    <i *ngIf="item.patientDTO && item.patientDTO.careLevel.value === '2'" class="icon_transport transport-Bduanshuzi" nz-tooltip [nzTooltipTitle]="item.patientDTO.careLevel.name"></i>
156
+                    <i *ngIf="item.patientDTO && item.patientDTO.careLevel.value === '3'" class="icon_transport transport-Bduanshuzi11" nz-tooltip [nzTooltipTitle]="item.patientDTO.careLevel.name"></i>
157 157
                   </ng-container>
158 158
                   <span>{{ item.patientDTO ? item.patientDTO.patientName : '' }}({{ item.patientDTO ? item.patientDTO.residenceNo : '' }})</span>
159 159
                 </div>
@@ -264,13 +264,13 @@
264 264
                                   *ngIf="surgeryWKOMsg.patientDTO && surgeryWKOMsg.patientDTO.illnessState.value === '2'"
265 265
                                   class="colorRed icon_transport transport-wei"
266 266
                                   nz-tooltip
267
-                                  nzTooltipTitle="病危"
267
+                                  [nzTooltipTitle]="surgeryWKOMsg.patientDTO.illnessState.name"
268 268
                                 ></i>
269 269
                                 <i
270 270
                                   *ngIf="surgeryWKOMsg.patientDTO && surgeryWKOMsg.patientDTO.illnessState.value === '3'"
271 271
                                   class="colorRed icon_transport transport-zhong1"
272 272
                                   nz-tooltip
273
-                                  nzTooltipTitle="病重"
273
+                                  [nzTooltipTitle]="surgeryWKOMsg.patientDTO.illnessState.name"
274 274
                                 ></i>
275 275
                               </ng-container>
276 276
                               <ng-container *ngIf="surgeryWKOMsg.patientDTO && surgeryWKOMsg.patientDTO.careLevel">
@@ -278,25 +278,25 @@
278 278
                                   *ngIf="surgeryWKOMsg.patientDTO && surgeryWKOMsg.patientDTO.careLevel.value === '0'"
279 279
                                   class="icon_transport transport-te1"
280 280
                                   nz-tooltip
281
-                                  nzTooltipTitle="特级护理"
281
+                                  [nzTooltipTitle]="surgeryWKOMsg.patientDTO.careLevel.name"
282 282
                                 ></i>
283 283
                                 <i
284 284
                                   *ngIf="surgeryWKOMsg.patientDTO && surgeryWKOMsg.patientDTO.careLevel.value === '1'"
285 285
                                   class="icon_transport transport-Bduanshuzi1"
286 286
                                   nz-tooltip
287
-                                  nzTooltipTitle="一级护理"
287
+                                  [nzTooltipTitle]="surgeryWKOMsg.patientDTO.careLevel.name"
288 288
                                 ></i>
289 289
                                 <i
290 290
                                   *ngIf="surgeryWKOMsg.patientDTO && surgeryWKOMsg.patientDTO.careLevel.value === '2'"
291 291
                                   class="icon_transport transport-Bduanshuzi"
292 292
                                   nz-tooltip
293
-                                  nzTooltipTitle="二级护理"
293
+                                  [nzTooltipTitle]="surgeryWKOMsg.patientDTO.careLevel.name"
294 294
                                 ></i>
295 295
                                 <i
296 296
                                   *ngIf="surgeryWKOMsg.patientDTO && surgeryWKOMsg.patientDTO.careLevel.value === '3'"
297 297
                                   class="icon_transport transport-Bduanshuzi11"
298 298
                                   nz-tooltip
299
-                                  nzTooltipTitle="三级护理"
299
+                                  [nzTooltipTitle]="surgeryWKOMsg.patientDTO.careLevel.name"
300 300
                                 ></i>
301 301
                               </ng-container>
302 302
                               <strong>{{ surgeryWKOMsg.patientDTO ? surgeryWKOMsg.patientDTO.patientName : '' }}({{ surgeryWKOMsg.patientDTO ? surgeryWKOMsg.patientDTO.residenceNo : '' }})</strong>
@@ -1424,54 +1424,34 @@
1424 1424
 </div>
1425 1425
 
1426 1426
 <!-- 患者信息一键建单模态框 -->
1427
-<div
1428
-  class="save display_flex align-items_center justify-content_flex-center patient"
1429
-  *ngIf="patientModal"
1430
->
1431
-  <div class="modalBody" style="width: 500px">
1432
-    <div class="title">
1433
-      患者送检<i
1434
-        class="icon_transport transport-guanbi"
1435
-        (click)="hidePatientOrder()"
1436
-      ></i>
1437
-    </div>
1438
-    <overlay-scrollbars
1439
-      #osComponentRef7
1440
-      class="content"
1441
-      style="max-height: 80vh"
1442
-    >
1443
-      <div class="jiTit borderB" *ngIf="checkedShowMsg.msg">
1444
-        提示:您即将创建<b style="color: red">{{ patientMsg.patientName }}</b
1445
-        >患者检查,{{ checkedShowMsg.msg }}
1446
-      </div>
1447
-      <div class="jiTit borderB" *ngIf="!checkedShowMsg.msg">
1448
-        提示:您即将创建<b style="color: red">{{ patientMsg.patientName }}</b
1449
-        >患者检查
1450
-      </div>
1451
-      <div class="jiTit borderB jiTitB">
1452
-        如患者无预约检查无法进行“当天预约检查时”,可使用“特殊情况送检”进行建单。
1427
+<div class="save display_flex align-items_center justify-content_flex-center patient" *ngIf="patientModal">
1428
+  <div class="modalBody">
1429
+    <div class="title">患者送检<i class="icon_transport transport-guanbi" (click)="hidePatientOrder()"></i></div>
1430
+    <overlay-scrollbars #osComponentRef7 class="content" style="max-height: 80vh">
1431
+      <div class="patientMsg">
1432
+        <div class="patientMsgTips">患者姓名:{{patientMsg.patientName}}</div>
1433
+        <div class="patientMsgTips">住院号:{{patientMsg.residenceNo}}</div>
1434
+        <div class="patientMsgTips">护理级别:{{patientMsg.illnessState?.name}}</div>
1435
+        <div class="patientMsgTips">危重等级:{{patientMsg.careLevel?.name}}</div>
1453 1436
       </div>
1454 1437
       <div>
1455 1438
         <form nz-form [formGroup]="patientForm" class="patientForm">
1456
-          <nz-form-item class="datesControl">
1457
-            <nz-form-label [nzSm]="6" [nzXs]="24" nzRequired nzFor="checkedType"
1458
-              >任务类型</nz-form-label
1459
-            >
1460
-            <nz-form-control nzErrorTip="请选择任务类型!" class="checkedType">
1461
-              <nz-radio-group
1462
-                class="radioGroup"
1463
-                formControlName="checkedType"
1464
-                (ngModelChange)="changeCheckedType()"
1465
-              >
1466
-                <label
1467
-                  *ngFor="let item of checkTypeLis"
1468
-                  nz-radio
1469
-                  [nzValue]="item.id"
1470
-                  >{{ item.taskName }}</label
1471
-                >
1472
-              </nz-radio-group>
1473
-            </nz-form-control>
1474
-          </nz-form-item>
1439
+          <div class="pos">
1440
+            <!-- 提示 -->
1441
+            <nz-form-item class="pos-item pos-tip" *ngIf="checkedShowMsg.msg">
1442
+              <nz-form-control>
1443
+                <b class="pos-red">{{ checkedShowMsg.msg }}</b>
1444
+              </nz-form-control>
1445
+            </nz-form-item>
1446
+            <nz-form-item class="datesControl">
1447
+              <nz-form-label [nzSm]="24" [nzXs]="24" nzRequired nzFor="checkedType">任务类型</nz-form-label>
1448
+              <nz-form-control nzErrorTip="请选择任务类型!" class="checkedType">
1449
+                <nz-radio-group class="radioGroup" formControlName="checkedType" (ngModelChange)="changeCheckedType()">
1450
+                  <label class="col6 ellipsis-oneline" [title]="item.taskName" *ngFor="let item of checkTypeLis" nz-radio [nzValue]="item.id">{{ item.taskName }}</label>
1451
+                </nz-radio-group>
1452
+              </nz-form-control>
1453
+            </nz-form-item>
1454
+          </div>
1475 1455
           <ng-container *ngIf="cLoading">
1476 1456
             <div style="text-align: center">
1477 1457
               <img src="../../../assets/images/loading.gif" alt="" />
@@ -1481,225 +1461,73 @@
1481 1461
           <ng-container *ngIf="!cLoading">
1482 1462
             <!-- 检查 -->
1483 1463
             <nz-form-item *ngIf="checkedShowMsg.status == 200">
1484
-              <nz-form-label [nzSm]="24" [nzXs]="24" nzFor="linkCheck"
1485
-                >关联的检查</nz-form-label
1486
-              >
1464
+              <nz-form-label [nzSm]="24" [nzXs]="24" nzFor="linkCheck">关联的检查</nz-form-label>
1487 1465
               <nz-form-control class="datesGroup" *ngIf="linkCheckLis.length">
1488
-                <nz-checkbox-wrapper
1489
-                  class="linkCheckCheck"
1490
-                  ngDefaultControl
1491
-                  formControlName="linkCheck"
1492
-                  (nzOnChange)="linkCheckLisChange($event)"
1493
-                >
1466
+                <nz-checkbox-wrapper class="linkCheckCheck" ngDefaultControl formControlName="linkCheck" (nzOnChange)="linkCheckLisChange($event)">
1494 1467
                   <div nz-row *ngFor="let item of linkCheckLis">
1495 1468
                     <div nz-col nzSpan="24">
1496
-                      <label nz-checkbox [nzValue]="item">{{
1497
-                        item.label
1498
-                      }}</label>
1499
-                      <i
1500
-                        class="icon_transport transport-zu1468 priority"
1501
-                        *ngIf="item.priority === 1 || item.priority === '1'"
1502
-                      ></i>
1469
+                      <label nz-checkbox [nzValue]="item">{{ item.label}}</label>
1470
+                      <i class="icon_transport transport-zu1468 priority" *ngIf="item.priority === 1 || item.priority === '1'"></i>
1503 1471
                     </div>
1504 1472
                   </div>
1505 1473
                 </nz-checkbox-wrapper>
1506
-                <div
1507
-                  class="red"
1508
-                  style="line-height: normal; font-weight: bold"
1509
-                  *ngIf="currentTasktype.isMoreDept === 0 && isInspects"
1510
-                >
1474
+                <div class="red" style="line-height: normal; font-weight: bold" *ngIf="currentTasktype.isMoreDept === 0 && isInspects">
1511 1475
                   您选择的检查包含了多个科室,请您只包含一个科室。
1512 1476
                 </div>
1513 1477
               </nz-form-control>
1514 1478
               <div *ngIf="!linkCheckLis.length">暂无关联的检查</div>
1515 1479
             </nz-form-item>
1516
-            <div
1517
-              class="pos"
1518
-              *ngIf="
1519
-                (currentTasktype.associationType.value === 'patientTransport' &&
1520
-                  appointmentZyBuildFlag == 1) ||
1521
-                (currentTasktype.associationType.value === 'inspect' &&
1522
-                  appointmentBuildFlag == 1)
1523
-              "
1524
-            >
1480
+            <div class="pos" *ngIf="(currentTasktype.associationType.value === 'patientTransport' && appointmentZyBuildFlag == 1) || (currentTasktype.associationType.value === 'inspect' && appointmentBuildFlag == 1)">
1525 1481
               <!-- 需要预约检查 -->
1526 1482
               <nz-form-item class="pos-item">
1527 1483
                 <nz-form-control>
1528
-                  <label
1529
-                    nz-checkbox
1530
-                    [nzDisabled]="
1531
-                      (!linkCheckLisTrue &&
1532
-                        currentTasktype.associationType.value === 'inspect') ||
1533
-                      (linkCheckLisTrue &&
1534
-                        allowUrgent == 1 &&
1535
-                        currentTasktype.associationType.value === 'inspect') ||
1536
-                      (allowUrgent == 1 &&
1537
-                        currentTasktype.associationType.value ===
1538
-                          'patientTransport')
1539
-                    "
1540
-                    [(ngModel)]="isYyInspect"
1541
-                    (ngModelChange)="yyInspectChange($event)"
1542
-                    [ngModelOptions]="{ standalone: true }"
1543
-                    style="font-weight: bold"
1544
-                    >需要预约检查</label
1545
-                  >
1484
+                  <label class="mt13" nz-checkbox [nzDisabled]="(!linkCheckLisTrue && currentTasktype.associationType.value === 'inspect') || (linkCheckLisTrue && allowUrgent == 1 && currentTasktype.associationType.value === 'inspect') || (allowUrgent == 1 && currentTasktype.associationType.value === 'patientTransport')" [(ngModel)]="isYyInspect" (ngModelChange)="yyInspectChange($event)" [ngModelOptions]="{ standalone: true }" style="font-weight: bold">需要预约检查</label>
1485
+                  <span class="red pos-red">请您填写实际预约检查时间,系统会根据时间安排人员进行陪检!</span>
1546 1486
                 </nz-form-control>
1547 1487
               </nz-form-item>
1548 1488
               <!-- 预约建单时间-患者其他服务 -->
1549
-              <nz-form-item
1550
-                class="yyTime"
1551
-                [ngClass]="{
1552
-                  yyTimeError: (!yyTimeZy || !yyDateZy) && clickYYZyFlag
1553
-                }"
1554
-                *ngIf="
1555
-                  currentTasktype.associationType.value === 'patientTransport'
1556
-                "
1557
-              >
1558
-                <nz-form-label [nzSm]="24" [nzXs]="24"
1559
-                  >预约建单时间</nz-form-label
1560
-                >
1489
+              <nz-form-item class="yyTime" [ngClass]="{yyTimeError: (!yyTimeZy || !yyDateZy) && clickYYZyFlag}" *ngIf="currentTasktype.associationType.value === 'patientTransport'">
1490
+                <nz-form-label [nzSm]="24" [nzXs]="24">预约建单时间</nz-form-label>
1561 1491
                 <nz-form-control [nzSm]="24" [nzXs]="24">
1562
-                  <nz-date-picker
1563
-                    [nzDisabled]="!isYyInspect"
1564
-                    [(ngModel)]="yyDateZy"
1565
-                    (ngModelChange)="yyDateChange($event)"
1566
-                    [ngModelOptions]="{ standalone: true }"
1567
-                    [nzAllowClear]="false"
1568
-                    [nzDisabledDate]="disabledyyDateZy"
1569
-                    [nzShowToday]="false"
1570
-                  ></nz-date-picker>
1571
-                  <nz-time-picker
1572
-                    [nzDisabled]="!isYyInspect || !yyDateZy"
1573
-                    class="ml8"
1574
-                    nzFormat="HH:mm"
1575
-                    [nzMinuteStep]="inspectAndPatientTransportConfig.timeMod"
1576
-                    [nzSecondStep]="60"
1577
-                    [(ngModel)]="yyTimeZy"
1578
-                    (ngModelChange)="yyTimeZyChange($event)"
1579
-                    [ngModelOptions]="{ standalone: true }"
1580
-                    [nzDisabledHours]="disabledHours"
1581
-                    [nzDisabledMinutes]="disabledMinutes"
1582
-                    [nzAllowEmpty]="false"
1583
-                  >
1492
+                  <nz-date-picker [nzDisabled]="!isYyInspect" [(ngModel)]="yyDateZy" (ngModelChange)="yyDateChange($event)" [ngModelOptions]="{ standalone: true }" [nzAllowClear]="false" [nzDisabledDate]="disabledyyDateZy" [nzShowToday]="false"></nz-date-picker>
1493
+                  <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">
1584 1494
                   </nz-time-picker>
1585
-                  <button
1586
-                    [disabled]="!isYyInspect || (isYyInspect && !yyDateZy)"
1587
-                    nz-button
1588
-                    nzType="primary"
1589
-                    class="ml8"
1590
-                    (click)="nextDayZy()"
1591
-                  >
1495
+                  <button [disabled]="!isYyInspect || (isYyInspect && !yyDateZy)" nz-button nzType="primary" class="ml8" (click)="nextDayZy()">
1592 1496
                     下一日
1593 1497
                   </button>
1594 1498
                 </nz-form-control>
1595
-                <div
1596
-                  class="red w100"
1597
-                  *ngIf="(!yyTimeZy || !yyDateZy) && clickYYZyFlag"
1598
-                >
1499
+                <div class="red w100" *ngIf="(!yyTimeZy || !yyDateZy) && clickYYZyFlag">
1599 1500
                   请填写预约建单时间!
1600 1501
                 </div>
1601
-                <div class="red">
1602
-                  请您填写实际预约检查时间,系统会根据时间安排人员进行陪检!
1603
-                </div>
1604 1502
               </nz-form-item>
1605 1503
               <!-- 预约建单时间 -->
1606
-              <nz-form-item
1607
-                class="yyTime"
1608
-                [ngClass]="{ yyTimeError: (!yyTime || !yyDate) && clickYYFlag }"
1609
-                *ngIf="currentTasktype.associationType.value === 'inspect'"
1610
-              >
1611
-                <nz-form-label [nzSm]="24" [nzXs]="24"
1612
-                  >预约建单时间</nz-form-label
1613
-                >
1504
+              <nz-form-item class="yyTime" [ngClass]="{ yyTimeError: (!yyTime || !yyDate) && clickYYFlag }" *ngIf="currentTasktype.associationType.value === 'inspect'">
1505
+                <nz-form-label [nzSm]="24" [nzXs]="24">预约建单时间</nz-form-label>
1614 1506
                 <nz-form-control [nzSm]="24" [nzXs]="24">
1615
-                  <nz-date-picker
1616
-                    [nzDisabled]="!isYyInspect"
1617
-                    [(ngModel)]="yyDate"
1618
-                    (ngModelChange)="yyDateChange($event)"
1619
-                    [ngModelOptions]="{ standalone: true }"
1620
-                    [nzAllowClear]="false"
1621
-                    [nzDisabledDate]="disabledyyDate"
1622
-                    [nzShowToday]="false"
1623
-                  >
1507
+                  <nz-date-picker [nzDisabled]="!isYyInspect" [(ngModel)]="yyDate" (ngModelChange)="yyDateChange($event)" [ngModelOptions]="{ standalone: true }" [nzAllowClear]="false" [nzDisabledDate]="disabledyyDate" [nzShowToday]="false">
1624 1508
                   </nz-date-picker>
1625
-                  <nz-time-picker
1626
-                    [nzDisabled]="!isYyInspect || !yyDate"
1627
-                    class="ml8"
1628
-                    nzFormat="HH:mm"
1629
-                    [nzMinuteStep]="inspectAndPatientTransportConfig.timeMod"
1630
-                    [nzSecondStep]="60"
1631
-                    [(ngModel)]="yyTime"
1632
-                    (ngModelChange)="yyTimeChange($event)"
1633
-                    [ngModelOptions]="{ standalone: true }"
1634
-                    [nzDisabledHours]="disabledHours"
1635
-                    [nzDisabledMinutes]="disabledMinutes"
1636
-                    [nzAllowEmpty]="false"
1637
-                  >
1509
+                  <nz-time-picker [nzDisabled]="!isYyInspect || !yyDate" class="ml8" nzFormat="HH:mm" [nzMinuteStep]="inspectAndPatientTransportConfig.timeMod" [nzSecondStep]="60" [(ngModel)]="yyTime" (ngModelChange)="yyTimeChange($event)" [ngModelOptions]="{ standalone: true }" [nzDisabledHours]="disabledHours" [nzDisabledMinutes]="disabledMinutes" [nzAllowEmpty]="false">
1638 1510
                   </nz-time-picker>
1639
-                  <button
1640
-                    [disabled]="!isYyInspect || (isYyInspect && !yyDate)"
1641
-                    nz-button
1642
-                    nzType="primary"
1643
-                    class="ml8"
1644
-                    (click)="nextDay()"
1645
-                  >
1511
+                  <button [disabled]="!isYyInspect || (isYyInspect && !yyDate)" nz-button nzType="primary" class="ml8" (click)="nextDay()">
1646 1512
                     下一日
1647 1513
                   </button>
1648 1514
                 </nz-form-control>
1649
-                <div
1650
-                  class="red w100"
1651
-                  *ngIf="(!yyTime || !yyDate) && clickYYFlag"
1652
-                >
1515
+                <div class="red w100" *ngIf="(!yyTime || !yyDate) && clickYYFlag">
1653 1516
                   请填写预约建单时间!
1654 1517
                 </div>
1655
-                <div class="red">
1656
-                  请您填写实际预约检查时间,系统会根据时间安排人员进行陪检!
1657
-                </div>
1658 1518
               </nz-form-item>
1659 1519
             </div>
1660 1520
             <!-- 100009 科室任务类型状态码未配置 -->
1661
-            <nz-form-item
1662
-              *ngIf="
1663
-                checkedShowMsg.status != 200 && checkedShowMsg.status == 100009
1664
-              "
1665
-            >
1521
+            <nz-form-item *ngIf="checkedShowMsg.status != 200 && checkedShowMsg.status == 100009">
1666 1522
               <div class="txtC">{{ checkedShowMsg.msg }}</div>
1667 1523
             </nz-form-item>
1668 1524
             <!-- 100015 (护士端一键建单展策略)起点科室和终点科室下拉展示 -->
1669
-            <nz-form-item
1670
-              *ngIf="
1671
-                checkedShowMsg.status != 200 &&
1672
-                (checkedShowMsg.status == 100015 ||
1673
-                  checkedShowMsg.status == 100013)
1674
-              "
1675
-            >
1676
-              <nz-form-label
1677
-                [nzSm]="6"
1678
-                [nzXs]="24"
1679
-                nzRequired
1680
-                nzFor="originOffice"
1681
-                >起点科室</nz-form-label
1682
-              >
1525
+            <nz-form-item *ngIf="checkedShowMsg.status != 200 && (checkedShowMsg.status == 100015 || checkedShowMsg.status == 100013)">
1526
+              <nz-form-label [nzSm]="6" [nzXs]="24" nzRequired nzFor="originOffice">起点科室</nz-form-label>
1683 1527
               <nz-form-control nzErrorTip="请选择起点科室!">
1684
-                <nz-select
1685
-                  class="w100"
1686
-                  formControlName="originOffice"
1687
-                  [nzDropdownMatchSelectWidth]="false"
1688
-                  nzServerSearch
1689
-                  nzShowSearch
1690
-                  (nzOnSearch)="searchDept('start', checkedShowMsg, $event)"
1691
-                  nzPlaceHolder="请选择起点科室"
1692
-                >
1693
-                  <ng-container
1694
-                    *ngFor="let option of checkedShowMsg.start.start.list"
1695
-                  >
1696
-                    <nz-option
1697
-                      *ngIf="true"
1698
-                      [nzLabel]="
1699
-                        deptDisplay == 2 ? option.deptalias : option.dept
1700
-                      "
1701
-                      [nzValue]="option.id"
1702
-                    ></nz-option>
1528
+                <nz-select class="w100" formControlName="originOffice" [nzDropdownMatchSelectWidth]="false" nzServerSearch nzShowSearch (nzOnSearch)="searchDept('start', checkedShowMsg, $event)" nzPlaceHolder="请选择起点科室">
1529
+                  <ng-container *ngFor="let option of checkedShowMsg.start.start.list">
1530
+                    <nz-option *ngIf="true" [nzLabel]="deptDisplay == 2 ? option.deptalias : option.dept" [nzValue]="option.id"></nz-option>
1703 1531
                   </ng-container>
1704 1532
                   <nz-option *ngIf="false" nzDisabled nzCustomContent>
1705 1533
                     <i nz-icon nzType="loading" class="loading-icon"></i>
@@ -1709,40 +1537,12 @@
1709 1537
               </nz-form-control>
1710 1538
             </nz-form-item>
1711 1539
             <!-- 100014 (护士端一键建单展示策略)取终点科室和msg 值展示 -->
1712
-            <nz-form-item
1713
-              *ngIf="
1714
-                checkedShowMsg.status != 200 &&
1715
-                (checkedShowMsg.status == 100014 ||
1716
-                  checkedShowMsg.status == 100015)
1717
-              "
1718
-            >
1719
-              <nz-form-label
1720
-                [nzSm]="6"
1721
-                [nzXs]="24"
1722
-                nzRequired
1723
-                nzFor="targetOffice"
1724
-                >目标科室</nz-form-label
1725
-              >
1726
-              <nz-form-control nzErrorTip="请选择目标科室!">
1727
-                <nz-select
1728
-                  class="w100"
1729
-                  formControlName="targetOffice"
1730
-                  [nzDropdownMatchSelectWidth]="false"
1731
-                  nzServerSearch
1732
-                  nzShowSearch
1733
-                  (nzOnSearch)="searchDept('target', checkedShowMsg, $event)"
1734
-                  nzPlaceHolder="请选择目标科室"
1735
-                >
1736
-                  <ng-container
1737
-                    *ngFor="let option of checkedShowMsg.end.end.list"
1738
-                  >
1739
-                    <nz-option
1740
-                      *ngIf="true"
1741
-                      [nzLabel]="
1742
-                        deptDisplay == 2 ? option.deptalias : option.dept
1743
-                      "
1744
-                      [nzValue]="option.id"
1745
-                    ></nz-option>
1540
+            <nz-form-item nz-row *ngIf="checkedShowMsg.status != 200 && (checkedShowMsg.status == 100014 || checkedShowMsg.status == 100015)">
1541
+              <nz-form-label [nzSpan]="4" nzRequired nzFor="targetOffice">目标科室</nz-form-label>
1542
+              <nz-form-control [nzSpan]="20" nzErrorTip="请选择目标科室!">
1543
+                <nz-select formControlName="targetOffice" [nzDropdownMatchSelectWidth]="false" nzServerSearch nzShowSearch (nzOnSearch)="searchDept('target', checkedShowMsg, $event)" nzPlaceHolder="请选择目标科室">
1544
+                  <ng-container *ngFor="let option of checkedShowMsg.end.end.list">
1545
+                    <nz-option *ngIf="true" [nzLabel]="deptDisplay == 2 ? option.deptalias : option.dept" [nzValue]="option.id"></nz-option>
1746 1546
                   </ng-container>
1747 1547
                   <nz-option *ngIf="false" nzDisabled nzCustomContent>
1748 1548
                     <i nz-icon nzType="loading" class="loading-icon"></i>
@@ -1752,18 +1552,19 @@
1752 1552
               </nz-form-control>
1753 1553
             </nz-form-item>
1754 1554
             <!-- 自动送回 -->
1755
-            <nz-form-item
1756
-              *ngIf="
1757
-                checkedShowMsg.status != 200 && checkedShowMsg.isRemand == 1
1758
-              "
1759
-            >
1555
+            <nz-form-item *ngIf="checkedShowMsg.status != 200 && checkedShowMsg.isRemand == 1">
1760 1556
               <nz-form-control>
1761
-                <label
1762
-                  nz-checkbox
1763
-                  [(ngModel)]="isRemand"
1764
-                  [ngModelOptions]="{ standalone: true }"
1765
-                  >自动送回</label
1766
-                >
1557
+                <label nz-checkbox [(ngModel)]="isRemand" [ngModelOptions]="{ standalone: true }">自动送回</label>
1558
+              </nz-form-control>
1559
+            </nz-form-item>
1560
+            <!-- 是否加急 -->
1561
+            <nz-form-item *ngIf="current_allowUrgent">
1562
+              <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="allowUrgent" class="goods">是否加急</nz-form-label>
1563
+              <nz-form-control>
1564
+                <nz-radio-group [(ngModel)]="allowUrgent" (ngModelChange)="allowUrgentChange($event)" formControlName="allowUrgent">
1565
+                  <label nz-radio nzValue="1">是</label>
1566
+                  <label nz-radio nzValue="0">否</label>
1567
+                </nz-radio-group>
1767 1568
               </nz-form-control>
1768 1569
             </nz-form-item>
1769 1570
             <!-- 工单备注 -->
@@ -1776,69 +1577,22 @@
1776 1577
                   </div>
1777 1578
                 </div>
1778 1579
                 <nz-form-control>
1779
-                  <textarea
1780
-                  nz-input
1781
-                  [placeholder]="workOrderRemarkTips2"
1782
-                  [nzAutosize]="{ minRows: 3, maxRows: 5 }"
1783
-                  maxlength="100"
1784
-                  formControlName="workOrderRemark2"
1785
-                  [(ngModel)]="workOrderRemark2"
1786
-                  #remarksEle2
1787
-                ></textarea>
1580
+                  <textarea nz-input [placeholder]="workOrderRemarkTips2" [nzAutosize]="{ minRows: 3, maxRows: 5 }" maxlength="100" formControlName="workOrderRemark2" [(ngModel)]="workOrderRemark2" #remarksEle2></textarea>
1788 1581
                 </nz-form-control>
1789 1582
               </nz-form-item>
1790 1583
             </ng-container>
1791 1584
             <!-- 携带设备 -->
1792 1585
             <nz-form-item *ngIf="!isRemarks && goodsLis.length">
1793
-              <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="goods" class="goods"
1794
-                >携带设备</nz-form-label
1795
-              >
1586
+              <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="goods" class="goods">携带设备</nz-form-label>
1796 1587
               <nz-form-control>
1797
-                <nz-checkbox-group
1798
-                  formControlName="goods"
1799
-                  [(ngModel)]="goodsLis"
1800
-                >
1801
-                </nz-checkbox-group>
1802
-              </nz-form-control>
1803
-            </nz-form-item>
1804
-            <!-- 是否加急 -->
1805
-            <nz-form-item *ngIf="current_allowUrgent">
1806
-              <nz-form-label
1807
-                [nzSm]="6"
1808
-                [nzXs]="24"
1809
-                nzFor="allowUrgent"
1810
-                class="goods"
1811
-                >是否加急</nz-form-label
1812
-              >
1813
-              <nz-form-control>
1814
-                <nz-radio-group
1815
-                  [(ngModel)]="allowUrgent"
1816
-                  (ngModelChange)="allowUrgentChange($event)"
1817
-                  formControlName="allowUrgent"
1818
-                >
1819
-                  <label nz-radio nzValue="1">是</label>
1820
-                  <label nz-radio nzValue="0">否</label>
1821
-                </nz-radio-group>
1588
+                <nz-checkbox-group formControlName="goods" [(ngModel)]="goodsLis"></nz-checkbox-group>
1822 1589
               </nz-form-control>
1823 1590
             </nz-form-item>
1824 1591
             <!-- 加急原因 -->
1825 1592
             <nz-form-item *ngIf="current_allowUrgent && allowUrgent == 1">
1826
-              <nz-form-label
1827
-                [nzSm]="6"
1828
-                [nzXs]="24"
1829
-                nzRequired
1830
-                nzFor="urgentReason"
1831
-                class="goods"
1832
-                >加急原因</nz-form-label
1833
-              >
1593
+              <nz-form-label [nzSm]="6" [nzXs]="24" nzRequired nzFor="urgentReason" class="goods">加急原因</nz-form-label>
1834 1594
               <nz-form-control>
1835
-                <textarea
1836
-                  rows="4"
1837
-                  placeholder="请输入加急原因"
1838
-                  nz-input
1839
-                  [(ngModel)]="urgentReason"
1840
-                  formControlName="urgentReason"
1841
-                ></textarea>
1595
+                <textarea rows="4" placeholder="请输入加急原因" nz-input [(ngModel)]="urgentReason" formControlName="urgentReason"></textarea>
1842 1596
               </nz-form-control>
1843 1597
             </nz-form-item>
1844 1598
           </ng-container>
@@ -1846,54 +1600,16 @@
1846 1600
       </div>
1847 1601
     </overlay-scrollbars>
1848 1602
     <div class="btns display_flex justify-content_flex-center">
1849
-      <button
1850
-        nz-button
1851
-        nzType="primary"
1852
-        [nzLoading]="btnLoading1"
1853
-        (click)="confirmPatient1('patient-yuyue')"
1854
-        *ngIf="
1855
-          currentTasktype.associationType.value === 'inspect' &&
1856
-          isYyInspect &&
1857
-          !(currentTasktype.isMoreDept === 0 && isInspects) && checkedShowMsg.status != 100009
1858
-        "
1859
-      >
1603
+      <button nz-button nzType="primary" [nzLoading]="btnLoading1" (click)="confirmPatient1('patient-yuyue')" *ngIf="currentTasktype.associationType.value === 'inspect' && isYyInspect && !(currentTasktype.isMoreDept === 0 && isInspects) && checkedShowMsg.status != 100009">
1860 1604
         预约建单
1861 1605
       </button>
1862
-      <button
1863
-        nz-button
1864
-        nzType="primary"
1865
-        [nzLoading]="btnLoading1"
1866
-        (click)="confirmPatient1('patient-zy-yuyue')"
1867
-        *ngIf="
1868
-          currentTasktype.associationType.value === 'patientTransport' &&
1869
-          isYyInspect && checkedShowMsg.status != 100009
1870
-        "
1871
-      >
1606
+      <button nz-button nzType="primary" [nzLoading]="btnLoading1" (click)="confirmPatient1('patient-zy-yuyue')" *ngIf="currentTasktype.associationType.value === 'patientTransport' && isYyInspect && checkedShowMsg.status != 100009">
1872 1607
         预约建单
1873 1608
       </button>
1874
-      <button
1875
-        nz-button
1876
-        nzType="default"
1877
-        [nzLoading]="btnLoading"
1878
-        (click)="confirmPatient()"
1879
-        class="orderThis"
1880
-        *ngIf="
1881
-          ((!isYyInspect &&
1882
-            currentTasktype.associationType.value === 'inspect' &&
1883
-            linkCheckLisTrue) ||
1884
-            (!isYyInspect &&
1885
-              currentTasktype.associationType.value === 'patientTransport')) &&
1886
-          !(currentTasktype.isMoreDept === 0 && isInspects) && checkedShowMsg.status != 100009
1887
-        "
1888
-      >
1609
+      <button nz-button nzType="default" [nzLoading]="btnLoading" (click)="confirmPatient()" class="orderThis" *ngIf="((!isYyInspect && currentTasktype.associationType.value === 'inspect' && linkCheckLisTrue) || (!isYyInspect && currentTasktype.associationType.value === 'patientTransport')) && !(currentTasktype.isMoreDept === 0 && isInspects) && checkedShowMsg.status != 100009">
1889 1610
         直接建单
1890 1611
       </button>
1891
-      <button
1892
-        class="btn cancel"
1893
-        nz-button
1894
-        nzType="default"
1895
-        (click)="hidePatientOrder()"
1896
-      >
1612
+      <button class="btn cancel" nz-button nzType="default" (click)="hidePatientOrder()">
1897 1613
         取消
1898 1614
       </button>
1899 1615
     </div>

+ 76 - 0
src/app/views/hushijiandan/hushijiandan.component.less

@@ -2569,3 +2569,79 @@
2569 2569
 .tabPermissionItem{
2570 2570
   padding: 0 16px;
2571 2571
 }
2572
+
2573
+.patient ::ng-deep .ant-form label{
2574
+  font-size: 18px;
2575
+  margin-top: 8px;
2576
+  &.col6{
2577
+    width: 16.666%;
2578
+  }
2579
+  &.mt13{
2580
+    margin-top: 13px;
2581
+  }
2582
+}
2583
+.patient ::ng-deep .ant-radio-wrapper{
2584
+  margin-right: 0;
2585
+  padding-right: 8px;
2586
+}
2587
+
2588
+.patient ::ng-deep .ant-form-item-control{
2589
+  line-height: normal;
2590
+}
2591
+.patient ::ng-deep .ant-radio-inner{
2592
+  top: -3px;
2593
+}
2594
+.patient ::ng-deep .ant-form-item-label{
2595
+  line-height: 32px!important;
2596
+}
2597
+.patient{
2598
+  .modalBody{
2599
+    width: 950px;
2600
+    border-radius: 16px;
2601
+    padding: 16px 24px;
2602
+    .title{
2603
+      font-size: 22px;
2604
+      font-weight: bold;
2605
+      i{
2606
+        font-size: 24px;
2607
+        padding: 0;
2608
+      }
2609
+    }
2610
+    .content{
2611
+      margin-top: 16px;
2612
+      border-radius: 8px;
2613
+      padding: 0;
2614
+      .patientMsg{
2615
+        display: flex;
2616
+        justify-content: space-between;
2617
+        align-items: center;
2618
+        padding: 16px;
2619
+        border-bottom: 2px solid #D1D1D1;
2620
+        .patientMsgTips{
2621
+          font-size: 18px;
2622
+          color: #000000;
2623
+        }
2624
+      }
2625
+      .patientForm{
2626
+        padding: 16px 24px;
2627
+        .radioGroup{
2628
+          line-height: normal;
2629
+        }
2630
+        .pos-item{
2631
+          left: 125px;
2632
+          &.pos-tip{
2633
+            left: 100px;
2634
+            .pos-red{
2635
+              margin-top: 13px;
2636
+            }
2637
+          }
2638
+          .pos-red{
2639
+            font-size: 18px;
2640
+            margin-top: 8px;
2641
+            display: inline-block;
2642
+          }
2643
+        }
2644
+      }
2645
+    }
2646
+  }
2647
+}