Browse Source

Merge branch '20230223_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch

28169 1 month ago
parent
commit
64c82df872

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

@@ -1044,6 +1044,18 @@
1044 1044
         >
1045 1045
         </div>
1046 1046
       </template>
1047
+      <template v-if="org_template_info.template_id == 84">
1048
+        <div>
1049
+          <el-button
1050
+          :loading="loading"
1051
+          size="small"
1052
+          icon="el-icon-printer"
1053
+          @click="printThisPage"
1054
+          type="primary"
1055
+          >打印</el-button
1056
+        >
1057
+        </div>
1058
+      </template>
1047 1059
     </div>
1048 1060
     <div class="app-container" style="min-height: 0">
1049 1061
       <!--<div class="order-print-btn"-->
@@ -1576,6 +1588,10 @@
1576 1588
           <DialysisPrintOrdereightythree v-bind:childResponse="childResponse"
1577 1589
           v-if="org_template_info.template_id == 83">
1578 1590
           </DialysisPrintOrdereightythree>
1591
+          <DialysisPrintOrdereightyfour v-bind:childResponse="childResponse"
1592
+          v-if="org_template_info.template_id == 84">
1593
+
1594
+          </DialysisPrintOrdereightyfour>
1579 1595
         </div>
1580 1596
       </el-container>
1581 1597
     </div>
@@ -1677,6 +1693,7 @@ import DialysisPrintOrdereighty from './template/DialysisPrintOrdereighty'
1677 1693
 import DialysisPrintOrdereightyone from './template/DialysisPrintOrdereightyone'
1678 1694
 import DialysisPrintOrdereightytwo from './template/DialysisPrintOrdereightytwo'
1679 1695
 import DialysisPrintOrdereightythree from './template/DialysisPrintOrdereightythree'
1696
+import DialysisPrintOrdereightyfour from './template/DialysisPrintOrdereightyfour'
1680 1697
 import DialysisPrintOrderZero from './template/DialysisPrintOrderZero'
1681 1698
 export default {
1682 1699
   name: "dialysisPrintOrder",
@@ -1764,6 +1781,7 @@ export default {
1764 1781
     DialysisPrintOrdereightyone,
1765 1782
     DialysisPrintOrdereightytwo,
1766 1783
     DialysisPrintOrdereightythree,
1784
+    DialysisPrintOrdereightyfour,
1767 1785
     DialysisPrintOrderZero,
1768 1786
     LabelBox,
1769 1787
     BreadCrumb,
@@ -2508,6 +2526,13 @@ export default {
2508 2526
           style: style17,
2509 2527
           scanStyles: false,
2510 2528
         });
2529
+      } else if (this.org_template_info.template_id == 84) {
2530
+        printJS({
2531
+          printable: "dialysis-print-box",
2532
+          type: "html",
2533
+          style: style4,
2534
+          scanStyles: false,
2535
+        });
2511 2536
       }
2512 2537
        else if (this.org_template_info.template_id == 199 ) {
2513 2538
         printJS({
@@ -2732,7 +2757,7 @@ export default {
2732 2757
             this.org_template_info = response.data.data.org_template_info;
2733 2758
           // }else{
2734 2759
           //   this.org_template_info = response.data.data.org_template_info;
2735
-          //   this.org_template_info.template_id= 83
2760
+          //   this.org_template_info.template_id= 84
2736 2761
           // }
2737 2762
 
2738 2763
 

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