Browse Source

9月30,80号

yq1 6 months ago
parent
commit
495a99243a

+ 0 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_fortyeight.vue View File

@@ -1201,8 +1201,6 @@ export default {
1201 1201
       return vascular_access_part_name
1202 1202
     },
1203 1203
     printThisPage() {
1204
-      
1205
-      
1206 1204
       var ptime = Math.round(new Date().getTime() / 1000)
1207 1205
       this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}')
1208 1206
       const style =

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

@@ -988,6 +988,18 @@
988 988
         >
989 989
         </div>
990 990
       </template>
991
+      <template v-if="org_template_info.template_id == 80">
992
+        <div>
993
+          <el-button
994
+          :loading="loading"
995
+          size="small"
996
+          icon="el-icon-printer"
997
+          @click="printThisPage"
998
+          type="primary"
999
+          >打印</el-button
1000
+        >
1001
+        </div>
1002
+      </template>
991 1003
     </div>
992 1004
     <div class="app-container" style="min-height: 0">
993 1005
       <!--<div class="order-print-btn"-->
@@ -1507,8 +1519,11 @@
1507 1519
 
1508 1520
           <DialysisPrintOrderSeventynine v-bind:childResponse="childResponse"
1509 1521
           v-if="org_template_info.template_id == 79">
1510
-
1511 1522
           </DialysisPrintOrderSeventynine>
1523
+
1524
+          <DialysisPrintOrdereighty v-bind:childResponse="childResponse"
1525
+            v-if="org_template_info.template_id == 80">
1526
+          </DialysisPrintOrdereighty>
1512 1527
         </div>
1513 1528
       </el-container>
1514 1529
     </div>
@@ -1606,6 +1621,7 @@ import DialysisPrintOrderSeventysix from './template/DialysisPrintOrderSeventysi
1606 1621
 import DialysisPrintOrderSeventyseven from './template/DialysisPrintOrderSeventyseven'
1607 1622
 import DialysisPrintOrderSeventyeight from './template/DialysisPrintOrderSeventyeight'
1608 1623
 import DialysisPrintOrderSeventynine from './template/DialysisPrintOrderSeventynine'
1624
+import DialysisPrintOrdereighty from './template/DialysisPrintOrdereighty'
1609 1625
 import DialysisPrintOrderZero from './template/DialysisPrintOrderZero'
1610 1626
 export default {
1611 1627
   name: "dialysisPrintOrder",
@@ -1689,6 +1705,7 @@ export default {
1689 1705
     DialysisPrintOrderSeventyseven,
1690 1706
     DialysisPrintOrderSeventyeight,
1691 1707
     DialysisPrintOrderSeventynine,
1708
+    DialysisPrintOrdereighty,
1692 1709
     DialysisPrintOrderZero,
1693 1710
     LabelBox,
1694 1711
     BreadCrumb,
@@ -2248,9 +2265,7 @@ export default {
2248 2265
           scanStyles: false,
2249 2266
         });
2250 2267
 
2251
-      }else if (
2252
-        this.org_template_info.template_id == 52
2253
-      ) {
2268
+      }else if ( this.org_template_info.template_id == 52) {
2254 2269
         printJS({
2255 2270
           printable: "dialysis-print-box-1",
2256 2271
           type: "html",
@@ -2402,6 +2417,13 @@ export default {
2402 2417
           style: style4,
2403 2418
           scanStyles: false,
2404 2419
         });
2420
+      }else if (this.org_template_info.template_id == 80) {
2421
+        printJS({
2422
+          printable: "dialysis-print-box-1",
2423
+          type: "html",
2424
+          style: style2,
2425
+          scanStyles: false,
2426
+        });
2405 2427
       }
2406 2428
        else if (this.org_template_info.template_id == 199 ) {
2407 2429
         printJS({

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