Kaynağa Gözat

门诊服务点

seimin 1 yıl önce
ebeveyn
işleme
aa730b5e58

+ 1 - 1
proxy.conf.json

@@ -8,7 +8,7 @@
8 8
     }
9 9
   },
10 10
   "/file": {
11
-    "target": "http://192.168.3.108",
11
+    "target": "http://192.168.4.223",
12 12
     "logLevel": "debug",
13 13
     "changeOrigin": true,
14 14
     "pathRewrite": {

+ 6 - 0
src/app/services/main.service.ts

@@ -773,4 +773,10 @@ export class MainService {
773 773
       headers: this.headers,
774 774
     });
775 775
   }
776
+  // 打印门诊服务点二维码
777
+  qrcodeCardNo(data): any {
778
+    return this.http.post(host.host + "/patient/qrCode", data, {
779
+      headers: this.headers,
780
+    });
781
+  }
776 782
 }

+ 173 - 147
src/app/views/hushijiandan/hushijiandan.component.html

@@ -302,7 +302,10 @@
302 302
                   >
303 303
                   <span nz-col nzSpan="2"></span>
304 304
                 </div>
305
-                <div class="btn" (click)="newPatientOrder(item)">一键建单</div>
305
+                <div class="btnNews">
306
+                  <div class="btn" (click)="newPatientOrder(item)">一键建单</div>
307
+                  <div class="btn" (click)="openOutpatientServiceModal(item)" *ngIf="currentDept.typeValue == 'outpatientService'">打印二维码</div>
308
+                </div>
306 309
               </div>
307 310
             </div>
308 311
           </overlay-scrollbars>
@@ -432,8 +435,149 @@
432 435
         <div class="inner-content">
433 436
           <div class="mainInfo" nz-row>
434 437
             <div nz-col nzSpan="17" class="cont">
435
-              <div class="top">
436
-                <div class="nums borderB" nz-row *ngIf="currentDept.typeValue != 'surgery'; else elseBlock2">
438
+              <div class="top" [ngSwitch]="currentDept.typeValue">
439
+                <div class="nums borderB" nz-row *ngSwitchCase="'outpatientService'" hidden></div>
440
+                <div class="nums borderB" nz-row *ngSwitchCase="'surgery'">
441
+                  <!-- 手术未开通 -->
442
+                  <div
443
+                    *ngIf="!deptTaskTypeRules.openPatientTransport && !surgeryLoading"
444
+                    nz-col
445
+                    nzSpan="24"
446
+                    nz-row
447
+                    class="h100p"
448
+                  >
449
+                    <div
450
+                      class="notAvailable display_flex align-items_center justify-content_flex-center"
451
+                    >
452
+                      <div>
453
+                        <img
454
+                          src="../../assets/images/icon_jianchakong.png"
455
+                          alt=""
456
+                        />
457
+                        <div>暂未开通</div>
458
+                      </div>
459
+                    </div>
460
+                    <div
461
+                      nz-col
462
+                      nzSpan="6"
463
+                      class="borderR alignC display_flex justify-content_flex-center align-items_center h100p"
464
+                    >
465
+                      <span>*****</span>
466
+                    </div>
467
+                    <div nz-col nzSpan="18" class="h100p">
468
+                      <div
469
+                        class="txtC h50p alignC display_flex justify-content_flex-center align-items_center overAuto borderB"
470
+                      >
471
+                        <span>*****</span>
472
+                      </div>
473
+                      <div
474
+                        class="txtC h50p alignC display_flex justify-content_flex-center align-items_center overAuto"
475
+                      >
476
+                        <span>*****</span>
477
+                      </div>
478
+                    </div>
479
+                  </div>
480
+                  <!-- 手术已开通 -->
481
+                  <div
482
+                    *ngIf="deptTaskTypeRules.openPatientTransport && !surgeryLoading"
483
+                    nz-col
484
+                    nzSpan="24"
485
+                    nz-row
486
+                    class="h100p"
487
+                  >
488
+                    <div nz-col nzSpan="16" class="h100p">
489
+                      <div class="txtC h50p borderB">
490
+                        <div class="swiperBox">
491
+                          <div class="swiper" *ngIf="surgeryWKOMsg.patientDTO">
492
+                            <div class="item txtC alignC display_flex justify-content_flex-center align-items_center patientStyle">
493
+                              <ng-container *ngIf="surgeryWKOMsg.patientDTO && surgeryWKOMsg.patientDTO.illnessState">
494
+                                <i
495
+                                  *ngIf="surgeryWKOMsg.patientDTO && surgeryWKOMsg.patientDTO.illnessState.value === '2'"
496
+                                  class="colorRed icon_transport transport-wei"
497
+                                  nz-tooltip
498
+                                  nzTooltipTitle="病危"
499
+                                ></i>
500
+                                <i
501
+                                  *ngIf="surgeryWKOMsg.patientDTO && surgeryWKOMsg.patientDTO.illnessState.value === '3'"
502
+                                  class="colorRed icon_transport transport-zhong1"
503
+                                  nz-tooltip
504
+                                  nzTooltipTitle="病重"
505
+                                ></i>
506
+                              </ng-container>
507
+                              <ng-container *ngIf="surgeryWKOMsg.patientDTO && surgeryWKOMsg.patientDTO.careLevel">
508
+                                <i
509
+                                  *ngIf="surgeryWKOMsg.patientDTO && surgeryWKOMsg.patientDTO.careLevel.value === '0'"
510
+                                  class="icon_transport transport-te1"
511
+                                  nz-tooltip
512
+                                  nzTooltipTitle="特级护理"
513
+                                ></i>
514
+                                <i
515
+                                  *ngIf="surgeryWKOMsg.patientDTO && surgeryWKOMsg.patientDTO.careLevel.value === '1'"
516
+                                  class="icon_transport transport-Bduanshuzi1"
517
+                                  nz-tooltip
518
+                                  nzTooltipTitle="一级护理"
519
+                                ></i>
520
+                                <i
521
+                                  *ngIf="surgeryWKOMsg.patientDTO && surgeryWKOMsg.patientDTO.careLevel.value === '2'"
522
+                                  class="icon_transport transport-Bduanshuzi"
523
+                                  nz-tooltip
524
+                                  nzTooltipTitle="二级护理"
525
+                                ></i>
526
+                                <i
527
+                                  *ngIf="surgeryWKOMsg.patientDTO && surgeryWKOMsg.patientDTO.careLevel.value === '3'"
528
+                                  class="icon_transport transport-Bduanshuzi11"
529
+                                  nz-tooltip
530
+                                  nzTooltipTitle="三级护理"
531
+                                ></i>
532
+                              </ng-container>
533
+                              <strong>{{ surgeryWKOMsg.patientDTO ? surgeryWKOMsg.patientDTO.patientName : '' }}({{ surgeryWKOMsg.patientDTO ? surgeryWKOMsg.patientDTO.residenceNo : '' }})</strong>
534
+                            </div>
535
+                          </div>
536
+                          <div class="swiper none display_flex justify-content_flex-center align-items_center" *ngIf="!surgeryWKOMsg.patientDTO">
537
+                            <div class="item alignC display_flex justify-content_flex-center align-items_center">
538
+                              <span>暂无信息</span>
539
+                            </div>
540
+                          </div>
541
+                        </div>
542
+                      </div>
543
+                      <div class="txtC h50p">
544
+                        <div class="swiperBox">
545
+                          <div class="swiper" *ngIf="surgeryWKOMsg.surgeryName">
546
+                            <div class="item txtC alignC display_flex justify-content_flex-center align-items_center">
547
+                              <span>{{ surgeryWKOMsg.surgeryName }}</span>
548
+                            </div>
549
+                          </div>
550
+                          <div class="swiper none display_flex justify-content_flex-center align-items_center" *ngIf="!surgeryWKOMsg.surgeryName">
551
+                            <div class="item alignC display_flex justify-content_flex-center align-items_center">
552
+                              <span>暂无信息</span>
553
+                            </div>
554
+                          </div>
555
+                        </div>
556
+                      </div>
557
+                    </div>
558
+                    <div
559
+                      nz-col
560
+                      nzSpan="8"
561
+                      class="borderL alignC display_flex justify-content_flex-center align-items_center h100p"
562
+                    >
563
+                      <button *ngIf="surgeryWKOMsg.patientDTO && surgeryConfigs && surgeryConfigs.remandClinical == 1" nz-button nzType="primary" class="btn txtC mr8" (click)="sendWard($event, surgeryWKOMsg)">送回病房</button>
564
+                      <button *ngIf="surgeryWKOMsg.patientDTO && surgeryConfigs && surgeryConfigs.remandRecovery == 1" nz-button nzType="primary" class="btn txtC" (click)="sendAwakeningRoom($event, surgeryWKOMsg)">送回苏醒间</button>
565
+                    </div>
566
+                  </div>
567
+                  <div
568
+                    *ngIf="surgeryLoading"
569
+                    nz-col
570
+                    nzSpan="24"
571
+                    nz-row
572
+                    class="h100p display_flex justify-content_flex-center align-items_center"
573
+                  >
574
+                    <div class="txtC" style="text-align: center">
575
+                      <img src="../../../assets/images/loading.gif" alt="" />
576
+                      <div>加载中...</div>
577
+                    </div>
578
+                  </div>
579
+                </div>
580
+                <div class="nums borderB" nz-row *ngSwitchDefault>
437 581
                   <!-- 标本信息未开通 -->
438 582
                   <div
439 583
                     *ngIf="!deptTaskTypeRules.openSpecimen"
@@ -708,148 +852,6 @@
708 852
                     </div>
709 853
                   </div>
710 854
                 </div>
711
-                <ng-template #elseBlock2>
712
-                  <div class="nums borderB" nz-row>
713
-                    <!-- 手术未开通 -->
714
-                    <div
715
-                      *ngIf="!deptTaskTypeRules.openPatientTransport && !surgeryLoading"
716
-                      nz-col
717
-                      nzSpan="24"
718
-                      nz-row
719
-                      class="h100p"
720
-                    >
721
-                      <div
722
-                        class="notAvailable display_flex align-items_center justify-content_flex-center"
723
-                      >
724
-                        <div>
725
-                          <img
726
-                            src="../../assets/images/icon_jianchakong.png"
727
-                            alt=""
728
-                          />
729
-                          <div>暂未开通</div>
730
-                        </div>
731
-                      </div>
732
-                      <div
733
-                        nz-col
734
-                        nzSpan="6"
735
-                        class="borderR alignC display_flex justify-content_flex-center align-items_center h100p"
736
-                      >
737
-                        <span>*****</span>
738
-                      </div>
739
-                      <div nz-col nzSpan="18" class="h100p">
740
-                        <div
741
-                          class="txtC h50p alignC display_flex justify-content_flex-center align-items_center overAuto borderB"
742
-                        >
743
-                          <span>*****</span>
744
-                        </div>
745
-                        <div
746
-                          class="txtC h50p alignC display_flex justify-content_flex-center align-items_center overAuto"
747
-                        >
748
-                          <span>*****</span>
749
-                        </div>
750
-                      </div>
751
-                    </div>
752
-                    <!-- 手术已开通 -->
753
-                    <div
754
-                      *ngIf="deptTaskTypeRules.openPatientTransport && !surgeryLoading"
755
-                      nz-col
756
-                      nzSpan="24"
757
-                      nz-row
758
-                      class="h100p"
759
-                    >
760
-                      <div nz-col nzSpan="16" class="h100p">
761
-                        <div class="txtC h50p borderB">
762
-                          <div class="swiperBox">
763
-                            <div class="swiper" *ngIf="surgeryWKOMsg.patientDTO">
764
-                              <div class="item txtC alignC display_flex justify-content_flex-center align-items_center patientStyle">
765
-                                <ng-container *ngIf="surgeryWKOMsg.patientDTO && surgeryWKOMsg.patientDTO.illnessState">
766
-                                  <i
767
-                                    *ngIf="surgeryWKOMsg.patientDTO && surgeryWKOMsg.patientDTO.illnessState.value === '2'"
768
-                                    class="colorRed icon_transport transport-wei"
769
-                                    nz-tooltip
770
-                                    nzTooltipTitle="病危"
771
-                                  ></i>
772
-                                  <i
773
-                                    *ngIf="surgeryWKOMsg.patientDTO && surgeryWKOMsg.patientDTO.illnessState.value === '3'"
774
-                                    class="colorRed icon_transport transport-zhong1"
775
-                                    nz-tooltip
776
-                                    nzTooltipTitle="病重"
777
-                                  ></i>
778
-                                </ng-container>
779
-                                <ng-container *ngIf="surgeryWKOMsg.patientDTO && surgeryWKOMsg.patientDTO.careLevel">
780
-                                  <i
781
-                                    *ngIf="surgeryWKOMsg.patientDTO && surgeryWKOMsg.patientDTO.careLevel.value === '0'"
782
-                                    class="icon_transport transport-te1"
783
-                                    nz-tooltip
784
-                                    nzTooltipTitle="特级护理"
785
-                                  ></i>
786
-                                  <i
787
-                                    *ngIf="surgeryWKOMsg.patientDTO && surgeryWKOMsg.patientDTO.careLevel.value === '1'"
788
-                                    class="icon_transport transport-Bduanshuzi1"
789
-                                    nz-tooltip
790
-                                    nzTooltipTitle="一级护理"
791
-                                  ></i>
792
-                                  <i
793
-                                    *ngIf="surgeryWKOMsg.patientDTO && surgeryWKOMsg.patientDTO.careLevel.value === '2'"
794
-                                    class="icon_transport transport-Bduanshuzi"
795
-                                    nz-tooltip
796
-                                    nzTooltipTitle="二级护理"
797
-                                  ></i>
798
-                                  <i
799
-                                    *ngIf="surgeryWKOMsg.patientDTO && surgeryWKOMsg.patientDTO.careLevel.value === '3'"
800
-                                    class="icon_transport transport-Bduanshuzi11"
801
-                                    nz-tooltip
802
-                                    nzTooltipTitle="三级护理"
803
-                                  ></i>
804
-                                </ng-container>
805
-                                <strong>{{ surgeryWKOMsg.patientDTO ? surgeryWKOMsg.patientDTO.patientName : '' }}({{ surgeryWKOMsg.patientDTO ? surgeryWKOMsg.patientDTO.residenceNo : '' }})</strong>
806
-                              </div>
807
-                            </div>
808
-                            <div class="swiper none display_flex justify-content_flex-center align-items_center" *ngIf="!surgeryWKOMsg.patientDTO">
809
-                              <div class="item alignC display_flex justify-content_flex-center align-items_center">
810
-                                <span>暂无信息</span>
811
-                              </div>
812
-                            </div>
813
-                          </div>
814
-                        </div>
815
-                        <div class="txtC h50p">
816
-                          <div class="swiperBox">
817
-                            <div class="swiper" *ngIf="surgeryWKOMsg.surgeryName">
818
-                              <div class="item txtC alignC display_flex justify-content_flex-center align-items_center">
819
-                                <span>{{ surgeryWKOMsg.surgeryName }}</span>
820
-                              </div>
821
-                            </div>
822
-                            <div class="swiper none display_flex justify-content_flex-center align-items_center" *ngIf="!surgeryWKOMsg.surgeryName">
823
-                              <div class="item alignC display_flex justify-content_flex-center align-items_center">
824
-                                <span>暂无信息</span>
825
-                              </div>
826
-                            </div>
827
-                          </div>
828
-                        </div>
829
-                      </div>
830
-                      <div
831
-                        nz-col
832
-                        nzSpan="8"
833
-                        class="borderL alignC display_flex justify-content_flex-center align-items_center h100p"
834
-                      >
835
-                        <button *ngIf="surgeryWKOMsg.patientDTO && surgeryConfigs && surgeryConfigs.remandClinical == 1" nz-button nzType="primary" class="btn txtC mr8" (click)="sendWard($event, surgeryWKOMsg)">送回病房</button>
836
-                        <button *ngIf="surgeryWKOMsg.patientDTO && surgeryConfigs && surgeryConfigs.remandRecovery == 1" nz-button nzType="primary" class="btn txtC" (click)="sendAwakeningRoom($event, surgeryWKOMsg)">送回苏醒间</button>
837
-                      </div>
838
-                    </div>
839
-                    <div
840
-                      *ngIf="surgeryLoading"
841
-                      nz-col
842
-                      nzSpan="24"
843
-                      nz-row
844
-                      class="h100p display_flex justify-content_flex-center align-items_center"
845
-                    >
846
-                      <div class="txtC" style="text-align: center">
847
-                        <img src="../../../assets/images/loading.gif" alt="" />
848
-                        <div>加载中...</div>
849
-                      </div>
850
-                    </div>
851
-                  </div>
852
-                </ng-template>
853 855
                 <div class="tab borderB" nz-row style="padding: 4px 0">
854 856
                   <div nz-col nzSpan="21" class="h100p">
855 857
                     <overlay-scrollbars #osComponentRef11 nz-row class="h100p w100">
@@ -865,10 +867,10 @@
865 867
                         <div *ngIf="coopBtns.surgery" nz-col nzSpan="3" [ngClass]="{txtC: true, cur: true, checked: checkedTableType == 'surgery'}" (click)="checkTable('surgery')">
866 868
                           <div class="text">手术排程信息</div>
867 869
                         </div>
868
-                        <div *ngIf="coopBtns.inquiryOfHistoricalSpecimens" nz-col nzSpan="3" [ngClass]="{txtC: true, cur: true, checked: checkedTableType == 'historySpecimen'}" (click)="checkTable('historySpecimen')">
870
+                        <div *ngIf="coopBtns.inquiryOfHistoricalSpecimens && currentDept.typeValue != 'outpatientService'" nz-col nzSpan="3" [ngClass]="{txtC: true, cur: true, checked: checkedTableType == 'historySpecimen'}" (click)="checkTable('historySpecimen')">
869 871
                           <div class="text">历史标本查询</div>
870 872
                         </div>
871
-                        <div *ngIf="coopBtns.historicalMedicineListInquiry" nz-col nzSpan="3" [ngClass]="{txtC: true, cur: true, checked: checkedTableType == 'historyDrugsbag'}" (click)="checkTable('historyDrugsbag')">
873
+                        <div *ngIf="coopBtns.historicalMedicineListInquiry && currentDept.typeValue != 'outpatientService'" nz-col nzSpan="3" [ngClass]="{txtC: true, cur: true, checked: checkedTableType == 'historyDrugsbag'}" (click)="checkTable('historyDrugsbag')">
872 874
                           <div class="text">历史药单查询</div>
873 875
                         </div>
874 876
                         <div *ngIf="coopBtns.quickReportForRepair && isShowBx" nz-col nzSpan="3" [ngClass]="{txtC: true, cur: true, checked: checkedTableType == 'kjbx'}" (click)="checkTable('kjbx')">
@@ -3322,6 +3324,14 @@
3322 3324
   (confirmDelEvent)="confirmRec()"
3323 3325
   content="您确认要撤销工单吗?撤销工单我们会通知服务台、配送人员不再执行此工单,请谨慎操作,如确认撤销请点击确认。"
3324 3326
 ></app-dialog-delete>
3327
+<!-- 打印二维码-门诊服务点 -->
3328
+<app-dialog-delete
3329
+  [delModal]="outpatientServiceModal"
3330
+  (hideDelModalEvent)="closeOutpatientServiceModal()"
3331
+  [btnLoading]="btnLoading"
3332
+  (confirmDelEvent)="confirmOutpatientService()"
3333
+  [content]="outpatientServiceMsg"
3334
+></app-dialog-delete>
3325 3335
 <!-- 立即执行定时预约工单 -->
3326 3336
 <app-dialog-delete
3327 3337
   [delModal]="execModal"
@@ -3882,3 +3892,19 @@
3882 3892
 
3883 3893
 <!-- 关联业务查看 -->
3884 3894
 <app-relationTrans-detail-modal *ngIf="relationTransModalShow" [show]="relationTransModalShow" [otherBindConfigDto]="otherBindConfigDto" (closeModelHs)="closeModelRelationTrans($event)" (confirmModelHs)="confirmModelRelationTrans($event)" [deptDisplay]="deptDisplay"></app-relationTrans-detail-modal>
3895
+
3896
+<!-- 打印门诊二维码的内容 -->
3897
+<div id="print-section" hidden>
3898
+  <div style="width: 105mm;height: 148mm;overflow: hidden;display:flex;flex-direction: column;align-items: center; box-sizing: border-box;">
3899
+    <div style="display:flex;justify-content: center;align-items: center;padding: 5mm;border-bottom: 1px solid #88c785;margin-bottom: 5mm;">
3900
+      <img  [src]="cardNoDto.logo" style="width: 90%;height: auto;">
3901
+    </div>
3902
+    <div style="padding: 5mm 10mm;flex: 1;margin:0 5mm 5mm;background-color: #007138;-webkit-print-color-adjust: exact;display:flex;flex-direction: column;align-items: center;overflow: hidden;">
3903
+      <img [src]="cardNoDto.base64" style="width: 100%;">
3904
+      <p style="font-size: 7mm;margin: 2mm auto;color:#fff;">{{cardNoDto.name}}</p>
3905
+      <p style="font-size: 6mm;margin: 1mm auto;color:#fff;">{{cardNoDto.cardNo}}</p>
3906
+      <p style="font-size: 5mm;margin: 2mm auto 0;color:#fff;">{{cardNoDto.sysName}}患者帮扶服务</p>
3907
+    </div>
3908
+  </div>
3909
+</div>
3910
+<button ngxPrint printSectionId="print-section" #printBtn hidden [printStyle]="{ '@page': { margin: '0 !important' }, 'body': { margin: '0 !important' } }">打印</button>

+ 43 - 2
src/app/views/hushijiandan/hushijiandan.component.ts

@@ -50,6 +50,7 @@ function range(start: number, end: number): number[] {
50 50
   styleUrls: ["./hushijiandan.component.less"],
51 51
 })
52 52
 export class HushijiandanComponent implements OnInit {
53
+  @ViewChild('printBtn', { static: false }) printBtn: ElementRef<HTMLElement>;
53 54
   @ViewChild("remarksEle", { static: false }) remarksEle: ElementRef;
54 55
   @ViewChild("remarksEle1", { static: false }) remarksEle1: ElementRef;
55 56
   @ViewChild("remarksEle2", { static: false }) remarksEle2: ElementRef;
@@ -1447,11 +1448,11 @@ export class HushijiandanComponent implements OnInit {
1447 1448
   // 获取患者信息
1448 1449
   snum = 0;
1449 1450
   getPatient(e?) {
1450
-    if ((this.currentDept.typeValue == "checkRoom2" || this.currentDept.typeValue == "outpatientDept" || this.currentDept.typeValue == "checkRoom") && !this.tabSearchCont) {
1451
+    if ((this.currentDept.typeValue == "checkRoom2" || this.currentDept.typeValue == "outpatientDept" || this.currentDept.typeValue == "checkRoom" || this.currentDept.typeValue == "outpatientService") && !this.tabSearchCont) {
1451 1452
       this.pLoading = false;
1452 1453
       this.patientList = [];
1453 1454
       this.infoLength = 0;
1454
-      return; //护士端如果登录后如果科室类型为“检查科室”、“门诊科室”、“检验科室”,默认不显示患者信息
1455
+      return; //护士端如果登录后如果科室类型为“检查科室”、“门诊科室”、“检验科室”、“门诊服务点”,默认不显示患者信息
1455 1456
     }
1456 1457
     this.pLoading = true;
1457 1458
     let postData = {
@@ -3926,6 +3927,42 @@ export class HushijiandanComponent implements OnInit {
3926 3927
     this.recallOrderModal = false;
3927 3928
   }
3928 3929
 
3930
+  // 打印二维码-门诊服务点---------------start
3931
+  outpatientServiceMsg = "";
3932
+  coopOutpatientServiceItem: any;
3933
+  outpatientServiceModal: boolean = false;
3934
+  // 打开模态框
3935
+  openOutpatientServiceModal(item) {
3936
+    this.coopOutpatientServiceItem = item;
3937
+    this.outpatientServiceMsg = `提示:打印<strong class='red'>${item.patientName}</strong>患者二维码,可用于身份识别`
3938
+    this.outpatientServiceModal = true;
3939
+  }
3940
+  // 确认
3941
+  cardNoDto: any = {};
3942
+  confirmOutpatientService() {
3943
+    this.btnLoading = true;
3944
+    this.mainService.qrcodeCardNo({id: this.coopOutpatientServiceItem.id, fieldName: 'cardNo'}).subscribe((data) => {
3945
+      this.closeOutpatientServiceModal();
3946
+      this.btnLoading = false;
3947
+      if (data.state == 200) {
3948
+        data.logo = location.origin + '/file' + data.logo || '';
3949
+        this.cardNoDto = data;
3950
+        this.getPatient();
3951
+        // 打印
3952
+        setTimeout(()=>{
3953
+          this.printBtn.nativeElement.click();
3954
+        }, )
3955
+      } else {
3956
+        this.showPromptModal("打印", false, data.msg);
3957
+      }
3958
+    });
3959
+  }
3960
+  // 关闭模态框
3961
+  closeOutpatientServiceModal() {
3962
+    this.outpatientServiceModal = false;
3963
+  }
3964
+  // 打印二维码-门诊服务点---------------end
3965
+
3929 3966
   // 评价
3930 3967
   appraiseModal: boolean = false;
3931 3968
   starNum: number = 5; //评价星
@@ -4272,4 +4309,8 @@ export class HushijiandanComponent implements OnInit {
4272 4309
     }
4273 4310
     this.getOrderList();
4274 4311
   }
4312
+  // 打印二维码-门诊服务点
4313
+  printCode(item){
4314
+    console.log(item)
4315
+  }
4275 4316
 }

+ 3 - 1
src/app/views/hushijiandan/hushijiandan.module.ts

@@ -6,6 +6,7 @@ import { HushijiandanComponent } from './hushijiandan.component';
6 6
 import { ShareModule } from 'src/app/share/share.module';
7 7
 import { DragModule } from 'src/app/directives/drag/drag.module';
8 8
 import { SortablejsModule } from 'ngx-sortablejs';
9
+import { NgxPrintModule } from 'ngx-print';
9 10
 
10 11
 
11 12
 @NgModule({
@@ -17,7 +18,8 @@ import { SortablejsModule } from 'ngx-sortablejs';
17 18
     ShareModule,
18 19
     DragModule,
19 20
     SortablejsModule,
20
-    HushijiandanRoutingModule
21
+    HushijiandanRoutingModule,
22
+    NgxPrintModule,
21 23
   ]
22 24
 })
23 25
 export class HushijiandanModule { }