Browse Source

打印单

huangyw 2 years ago
parent
commit
85c598650d

+ 38 - 1
src/xt_pages/dialysis/dialysisPrintOrder.vue View File

@@ -644,6 +644,26 @@
644 644
           >打印</el-button
645 645
         >
646 646
       </template>
647
+       <template v-if="org_template_info.template_id == 49">
648
+        <el-button
649
+          :loading="loading"
650
+          size="small"
651
+          icon="el-icon-printer"
652
+          @click="printThisPage"
653
+          type="primary"
654
+          >打印</el-button
655
+        >
656
+      </template>
657
+      <template v-if="org_template_info.template_id == 50">
658
+        <el-button
659
+          :loading="loading"
660
+          size="small"
661
+          icon="el-icon-printer"
662
+          @click="printThisPage"
663
+          type="primary"
664
+          >打印</el-button
665
+        >
666
+      </template>
647 667
     </div>
648 668
     <div class="app-container" style="min-height: 0">
649 669
       <!--<div class="order-print-btn"-->
@@ -1011,6 +1031,17 @@
1011 1031
             v-if="org_template_info.template_id == 48"
1012 1032
           >
1013 1033
           </DialysisPrintOrderFortyEight>
1034
+
1035
+            <DialysisPrintOrderFortyNine
1036
+            v-bind:childResponse="childResponse"
1037
+            v-if="org_template_info.template_id == 49"
1038
+          >
1039
+          </DialysisPrintOrderFortyNine>
1040
+          <DialysisPrintOrderFifty
1041
+            v-bind:childResponse="childResponse"
1042
+            v-if="org_template_info.template_id == 50"
1043
+          >
1044
+          </DialysisPrintOrderFifty>
1014 1045
         </div>
1015 1046
       </el-container>
1016 1047
     </div>
@@ -1077,9 +1108,13 @@ import DialysisPrintOrderFortyFive from "./template/DialysisPrintOrderFortyFive"
1077 1108
 import DialysisPrintOrderFortySix from "./template/DialysisPrintOrderFortySix";
1078 1109
 import DialysisPrintOrderFortySeven from "./template/DialysisPrintOrderFortySeven";
1079 1110
 import DialysisPrintOrderFortyEight from "./template/DialysisPrintOrderFortyEight";
1111
+import DialysisPrintOrderFortyNine from "./template/DialysisPrintOrderFortyNine";
1112
+import DialysisPrintOrderFifty from "./template/DialysisPrintOrderFifty";
1080 1113
 export default {
1081 1114
   name: "dialysisPrintOrder",
1082 1115
   components: {
1116
+    DialysisPrintOrderFifty,
1117
+    DialysisPrintOrderFortyNine,
1083 1118
     DialysisPrintOrderFortyEight,
1084 1119
     DialysisPrintOrderFortySeven,
1085 1120
     DialysisPrintOrderFortySix,
@@ -1353,7 +1388,9 @@ export default {
1353 1388
       } else if (
1354 1389
         this.org_template_info.template_id == 6 ||
1355 1390
         this.org_template_info.template_id == 10 ||
1356
-        this.org_template_info.template_id == 11
1391
+        this.org_template_info.template_id == 11 ||
1392
+        this.org_template_info.template_id == 49 ||
1393
+        this.org_template_info.template_id == 50
1357 1394
       ) {
1358 1395
         printJS({
1359 1396
           printable: "dialysis-print-box-1",

File diff suppressed because it is too large
+ 3709 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFifty.vue


File diff suppressed because it is too large
+ 2238 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFortyNine.vue


+ 1 - 1
src/xt_pages/outpatientDoctorStation/print.vue View File

@@ -18,7 +18,7 @@
18 18
 9675:测试
19 19
  -->
20 20
     <div class="dialysisPage" style="padding-top: 40px">
21
-      <div v-if="org_id != 10138 && org_id != 10278 && org_id != 10243 && org_id != 4 && org_id !=0">
21
+      <div v-if="org_id != 10138 && org_id != 10278 && org_id != 10243">
22 22
 
23 23
         <printOne v-if="org_id != 10088 && org_id != 10215" v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :doctorPorject="doctorPorject" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printOne>
24 24