See999 před 4 roky
rodič
revize
4a948ec5dd

+ 61 - 0
src/xt_pages/dialysis/dialysisPrintOrder.vue Zobrazit soubor

364
           >打印</el-button
364
           >打印</el-button
365
         >
365
         >
366
       </template>
366
       </template>
367
+      <template
368
+        v-if="
369
+          org_template_info.template_id == 27 ||
370
+            org_template_info.template_id == 0
371
+        "
372
+      >
373
+      <div>
374
+          <el-button
375
+            :loading="loading"
376
+            size="small"
377
+            icon="el-icon-printer"
378
+            @click="printThisPage"
379
+            type="primary"
380
+            >打印全部</el-button
381
+          >
382
+          <el-button
383
+            :loading="loading"
384
+            size="small"
385
+            icon="el-icon-printer"
386
+            @click="printThisOnePage"
387
+            type="primary"
388
+            >打印纪录单</el-button
389
+          >
390
+          <el-button
391
+            :loading="loading"
392
+            size="small"
393
+            icon="el-icon-printer"
394
+            @click="printThisTwoPage"
395
+            type="primary"
396
+            >打印医嘱单</el-button
397
+          >
398
+        </div>
399
+      </template>
367
     </div>
400
     </div>
368
     <div class="app-container" style="min-height:0;">
401
     <div class="app-container" style="min-height:0;">
369
       <!--<div class="order-print-btn"-->
402
       <!--<div class="order-print-btn"-->
574
             v-if="org_template_info.template_id == 26"
607
             v-if="org_template_info.template_id == 26"
575
           >
608
           >
576
           </DialysisPrintOrderTwentySix>
609
           </DialysisPrintOrderTwentySix>
610
+          <DialysisPrintOrderTwentySeven
611
+            v-bind:childResponse="childResponse"
612
+            v-if="org_template_info.template_id == 27"
613
+          >
614
+          </DialysisPrintOrderTwentySeven>
577
         </div>
615
         </div>
578
       </el-container>
616
       </el-container>
579
     </div>
617
     </div>
619
 import DialysisPrintOrderTwentyFour from "./template/DialysisPrintOrderTwentyFour";
657
 import DialysisPrintOrderTwentyFour from "./template/DialysisPrintOrderTwentyFour";
620
 import DialysisPrintOrderTwentyFive from "./template/DialysisPrintOrderTwentyFive";
658
 import DialysisPrintOrderTwentyFive from "./template/DialysisPrintOrderTwentyFive";
621
 import DialysisPrintOrderTwentySix from "./template/DialysisPrintOrderTwentySix";
659
 import DialysisPrintOrderTwentySix from "./template/DialysisPrintOrderTwentySix";
660
+import DialysisPrintOrderTwentySeven from "./template/DialysisPrintOrderTwentySeven";
622
 export default {
661
 export default {
623
   name: "dialysisPrintOrder",
662
   name: "dialysisPrintOrder",
624
   components: {
663
   components: {
664
+    DialysisPrintOrderTwentySeven,
625
     DialysisPrintOrderTwentySix,
665
     DialysisPrintOrderTwentySix,
626
     DialysisPrintOrderTwentyFive,
666
     DialysisPrintOrderTwentyFive,
627
     DialysisPrintOrderTwentyFour,
667
     DialysisPrintOrderTwentyFour,
997
           style: style,
1037
           style: style,
998
           scanStyles: false
1038
           scanStyles: false
999
         });
1039
         });
1040
+      } else if (this.org_template_info.template_id == 27) {
1041
+        printJS({
1042
+          printable: "dialysis-print-box",
1043
+          type: "html",
1044
+          style: style,
1045
+          scanStyles: false
1046
+        });
1000
       }
1047
       }
1001
     },
1048
     },
1002
     printThisOnePage() {
1049
     printThisOnePage() {
1041
           style: style,
1088
           style: style,
1042
           scanStyles: false
1089
           scanStyles: false
1043
         });
1090
         });
1091
+      } else if(this.org_template_info.template_id == 27){
1092
+        printJS({
1093
+          printable: "new-dialysis-1",
1094
+          type: "html",
1095
+          style: style,
1096
+          scanStyles: false
1097
+        });
1044
       }
1098
       }
1045
     },
1099
     },
1046
     printThisTwoPage() {
1100
     printThisTwoPage() {
1085
           style: style,
1139
           style: style,
1086
           scanStyles: false
1140
           scanStyles: false
1087
         });
1141
         });
1142
+      } else if(this.org_template_info.template_id == 27){
1143
+        printJS({
1144
+          printable: "new-dialysis-2",
1145
+          type: "html",
1146
+          style: style,
1147
+          scanStyles: false
1148
+        });
1088
       }
1149
       }
1089
     },
1150
     },
1090
     getNumber() {
1151
     getNumber() {

Diff nebyl zobrazen, protože je příliš veliký
+ 2254 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderTwentySeven.vue