See999 4 years ago
parent
commit
2c6ea0ffc8

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

354
           >打印</el-button
354
           >打印</el-button
355
         >
355
         >
356
       </template>
356
       </template>
357
-       <template v-if="org_template_info.template_id == 26">
357
+      <template v-if="org_template_info.template_id == 26">
358
         <el-button
358
         <el-button
359
           :loading="loading"
359
           :loading="loading"
360
           size="small"
360
           size="small"
397
           >
397
           >
398
         </div>
398
         </div>
399
       </template>
399
       </template>
400
+      <template v-if="org_template_info.template_id == 28">
401
+        <el-button
402
+          :loading="loading"
403
+          size="small"
404
+          icon="el-icon-printer"
405
+          @click="printThisPage"
406
+          type="primary"
407
+          >打印</el-button
408
+        >
409
+      </template>
400
     </div>
410
     </div>
401
     <div class="app-container" style="min-height:0;">
411
     <div class="app-container" style="min-height:0;">
402
       <!--<div class="order-print-btn"-->
412
       <!--<div class="order-print-btn"-->
612
             v-if="org_template_info.template_id == 27"
622
             v-if="org_template_info.template_id == 27"
613
           >
623
           >
614
           </DialysisPrintOrderTwentySeven>
624
           </DialysisPrintOrderTwentySeven>
625
+          <DialysisPrintOrderTwentyEight
626
+            v-bind:childResponse="childResponse"
627
+            v-if="org_template_info.template_id == 28"
628
+          >
629
+          </DialysisPrintOrderTwentyEight>
615
         </div>
630
         </div>
616
       </el-container>
631
       </el-container>
617
     </div>
632
     </div>
658
 import DialysisPrintOrderTwentyFive from "./template/DialysisPrintOrderTwentyFive";
673
 import DialysisPrintOrderTwentyFive from "./template/DialysisPrintOrderTwentyFive";
659
 import DialysisPrintOrderTwentySix from "./template/DialysisPrintOrderTwentySix";
674
 import DialysisPrintOrderTwentySix from "./template/DialysisPrintOrderTwentySix";
660
 import DialysisPrintOrderTwentySeven from "./template/DialysisPrintOrderTwentySeven";
675
 import DialysisPrintOrderTwentySeven from "./template/DialysisPrintOrderTwentySeven";
676
+import DialysisPrintOrderTwentyEight from "./template/DialysisPrintOrderTwentyEight";
661
 export default {
677
 export default {
662
   name: "dialysisPrintOrder",
678
   name: "dialysisPrintOrder",
663
   components: {
679
   components: {
680
+    DialysisPrintOrderTwentyEight,
664
     DialysisPrintOrderTwentySeven,
681
     DialysisPrintOrderTwentySeven,
665
     DialysisPrintOrderTwentySix,
682
     DialysisPrintOrderTwentySix,
666
     DialysisPrintOrderTwentyFive,
683
     DialysisPrintOrderTwentyFive,
1044
           style: style,
1061
           style: style,
1045
           scanStyles: false
1062
           scanStyles: false
1046
         });
1063
         });
1064
+      } else if (this.org_template_info.template_id == 28) {
1065
+        printJS({
1066
+          printable: "dialysis-print-box",
1067
+          type: "html",
1068
+          style: style5,
1069
+          scanStyles: false
1070
+        });
1047
       }
1071
       }
1048
     },
1072
     },
1049
     printThisOnePage() {
1073
     printThisOnePage() {

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