See999 4 anos atrás
pai
commit
4a948ec5dd

+ 61 - 0
src/xt_pages/dialysis/dialysisPrintOrder.vue Ver arquivo

@@ -364,6 +364,39 @@
364 364
           >打印</el-button
365 365
         >
366 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 400
     </div>
368 401
     <div class="app-container" style="min-height:0;">
369 402
       <!--<div class="order-print-btn"-->
@@ -574,6 +607,11 @@
574 607
             v-if="org_template_info.template_id == 26"
575 608
           >
576 609
           </DialysisPrintOrderTwentySix>
610
+          <DialysisPrintOrderTwentySeven
611
+            v-bind:childResponse="childResponse"
612
+            v-if="org_template_info.template_id == 27"
613
+          >
614
+          </DialysisPrintOrderTwentySeven>
577 615
         </div>
578 616
       </el-container>
579 617
     </div>
@@ -619,9 +657,11 @@ import DialysisPrintOrderTwentyThree from "./template/DialysisPrintOrderTwentyTh
619 657
 import DialysisPrintOrderTwentyFour from "./template/DialysisPrintOrderTwentyFour";
620 658
 import DialysisPrintOrderTwentyFive from "./template/DialysisPrintOrderTwentyFive";
621 659
 import DialysisPrintOrderTwentySix from "./template/DialysisPrintOrderTwentySix";
660
+import DialysisPrintOrderTwentySeven from "./template/DialysisPrintOrderTwentySeven";
622 661
 export default {
623 662
   name: "dialysisPrintOrder",
624 663
   components: {
664
+    DialysisPrintOrderTwentySeven,
625 665
     DialysisPrintOrderTwentySix,
626 666
     DialysisPrintOrderTwentyFive,
627 667
     DialysisPrintOrderTwentyFour,
@@ -997,6 +1037,13 @@ export default {
997 1037
           style: style,
998 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 1049
     printThisOnePage() {
@@ -1041,6 +1088,13 @@ export default {
1041 1088
           style: style,
1042 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 1100
     printThisTwoPage() {
@@ -1085,6 +1139,13 @@ export default {
1085 1139
           style: style,
1086 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 1151
     getNumber() {

Diferenças do arquivo suprimidas por serem muito extensas
+ 2254 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderTwentySeven.vue