See999 4 anos atrás
pai
commit
76a1c653d4

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

@@ -291,6 +291,16 @@
291 291
           >
292 292
         </div>
293 293
       </template>
294
+      <template v-if="org_template_info.template_id == 23">
295
+        <el-button
296
+          :loading="loading"
297
+          size="small"
298
+          icon="el-icon-printer"
299
+          @click="printThisPage"
300
+          type="primary"
301
+          >打印</el-button
302
+        >
303
+      </template>
294 304
     </div>
295 305
     <div class="app-container" style="min-height:0;">
296 306
       <!--<div class="order-print-btn"-->
@@ -483,6 +493,10 @@
483 493
             v-bind:childResponse="childResponse"
484 494
             v-if="org_template_info.template_id == 22"
485 495
           ></DialysisPrintOrderTwentyTwo>
496
+          <DialysisPrintOrderTwentyThree
497
+            v-bind:childResponse="childResponse"
498
+            v-if="org_template_info.template_id == 23"
499
+          ></DialysisPrintOrderTwentyThree>
486 500
         </div>
487 501
       </el-container>
488 502
     </div>
@@ -524,10 +538,12 @@ import DialysisPrintOrderNineteen from "./template/DialysisPrintOrderNineteen";
524 538
 import DialysisPrintOrderTwenty from "./template/DialysisPrintOrderTwenty";
525 539
 import DialysisPrintOrderTwentyOne from "./template/DialysisPrintOrderTwentyOne";
526 540
 import DialysisPrintOrderTwentyTwo from "./template/DialysisPrintOrderTwentyTwo";
541
+import DialysisPrintOrderTwentyThree from "./template/DialysisPrintOrderTwentyThree";
527 542
 
528 543
 export default {
529 544
   name: "dialysisPrintOrder",
530 545
   components: {
546
+    DialysisPrintOrderTwentyThree,
531 547
     DialysisPrintOrderTwentyTwo,
532 548
     DialysisPrintOrderTwentyOne,
533 549
     DialysisPrintOrderTwenty,
@@ -870,6 +886,13 @@ export default {
870 886
           style: style2,
871 887
           scanStyles: false
872 888
         });
889
+      } else if (this.org_template_info.template_id == 23){
890
+        printJS({
891
+          printable: "dialysis-print-box",
892
+          type: "html",
893
+          style: style,
894
+          scanStyles: false
895
+        });
873 896
       } 
874 897
     },
875 898
     printThisOnePage() {

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