yq1 1 year ago
parent
commit
8fedcca4b7

File diff suppressed because it is too large
+ 3255 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_seventytwo.vue


+ 18 - 2
src/xt_pages/dialysis/bloodPresssWatch.vue View File

@@ -437,6 +437,15 @@
437 437
           type="primary"
438 438
           >批量打印</el-button>
439 439
       </template>
440
+      <template v-if="this.template_id == 72">
441
+        <el-button
442
+          size="small"
443
+          icon="el-icon-printer"
444
+          :disabled="selecting_schs.length == 0"
445
+          @click="batchPrintAction"
446
+          type="primary"
447
+          >批量打印</el-button>
448
+      </template>
440 449
     </div>
441 450
     <div class="app-container">
442 451
       <!-- <div class="filter-container">
@@ -1325,6 +1334,7 @@
1325 1334
         layout="total, sizes, prev, pager, next, jumper"
1326 1335
         :total="total"
1327 1336
       ></el-pagination>
1337
+      <!-- :page-sizes="[20, 40, 60, 80,100,300,500]" -->
1328 1338
     </div>
1329 1339
   </div>
1330 1340
 </template>
@@ -1458,10 +1468,12 @@ export default {
1458 1468
       complicationList: [],
1459 1469
       template_id:0,
1460 1470
       org_id:0,
1461
-
1471
+      page2:0,
1462 1472
     };
1463 1473
   },
1464 1474
   created() {
1475
+    this.listQuery.page=sessionStorage.getItem("page");
1476
+    sessionStorage.removeItem("page");
1465 1477
     this.template_id = this.$store.getters.xt_user.template_info.template_id;
1466 1478
     this.org_id = this.$store.getters.xt_user.template_info.org_id;
1467 1479
     this.bloodPressureMmonitoringSite = getDataConfig(
@@ -1553,7 +1565,9 @@ export default {
1553 1565
       });
1554 1566
     },
1555 1567
     clickCurrent(val) {
1556
-      console.log(val);
1568
+      sessionStorage.setItem("page", this.listQuery.page);
1569
+      // this.page2 = this.listQuery.page
1570
+      console.log('val',this.listQuery.page);
1557 1571
       this.$router.push({
1558 1572
         path: "/dialysis/details",
1559 1573
         query: { patient_id: val.patient_id, date: val.sch_time_int,mode_id:val.mode_id }
@@ -2191,6 +2205,8 @@ export default {
2191 2205
         this.$router.push({ path: "/dialysis/print/batch/sixtyeight" });
2192 2206
       }else if (this.template_id == 70) {
2193 2207
         this.$router.push({ path: "/dialysis/print/batch/seventy" });
2208
+      }else if (this.template_id == 72) {
2209
+        this.$router.push({ path: "/dialysis/print/batch/seventytwo" });
2194 2210
       }
2195 2211
     },
2196 2212
     batchPrintActionOne: function() {

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

@@ -892,6 +892,18 @@
892 892
         >
893 893
         </div>
894 894
       </template>
895
+      <template v-if="org_template_info.template_id == 72">
896
+        <div>
897
+          <el-button
898
+          :loading="loading"
899
+          size="small"
900
+          icon="el-icon-printer"
901
+          @click="printThisPage"
902
+          type="primary"
903
+          >打印</el-button
904
+        >
905
+        </div>
906
+      </template>
895 907
     </div>
896 908
     <div class="app-container" style="min-height: 0">
897 909
       <!--<div class="order-print-btn"-->
@@ -1373,6 +1385,11 @@
1373 1385
             v-if="org_template_info.template_id == 71"
1374 1386
           >
1375 1387
           </DialysisPrintOrderseventyone>
1388
+          <DialysisPrintOrderSeventyTwo
1389
+          v-bind:childResponse="childResponse"
1390
+            v-if="org_template_info.template_id == 72"
1391
+          >
1392
+          </DialysisPrintOrderSeventyTwo>
1376 1393
 
1377 1394
           <DialysisPrintOrderZero
1378 1395
             v-bind:childResponse="childResponse"
@@ -1469,6 +1486,7 @@ import DialysisPrintOrderSixtyeight from './template/DialysisPrintOrderSixtyeigh
1469 1486
 import DialysisPrintOrderSixtynine from './template/DialysisPrintOrderSixtynine'
1470 1487
 import DialysisPrintOrderSeventy from './template/DialysisPrintOrderSeventy'
1471 1488
 import DialysisPrintOrderseventyone from './template/DialysisPrintOrderseventyone'
1489
+import DialysisPrintOrderSeventyTwo from './template/DialysisPrintOrderSeventyTwo'
1472 1490
 import DialysisPrintOrderZero from './template/DialysisPrintOrderZero'
1473 1491
 export default {
1474 1492
   name: "dialysisPrintOrder",
@@ -1544,6 +1562,7 @@ export default {
1544 1562
     DialysisPrintOrderSixtynine,
1545 1563
     DialysisPrintOrderSeventy,
1546 1564
     DialysisPrintOrderseventyone,
1565
+    DialysisPrintOrderSeventyTwo,
1547 1566
     DialysisPrintOrderZero,
1548 1567
     LabelBox,
1549 1568
     BreadCrumb,
@@ -1711,6 +1730,7 @@ export default {
1711 1730
       }
1712 1731
       return "";
1713 1732
     },
1733
+    // 打印
1714 1734
     printThisPage() {
1715 1735
       // console.log("this.org_template_info.template_id",this.org_template_info.template_id)
1716 1736
       // if(this.$store.getters.xt_user.org.id == 0){
@@ -1806,7 +1826,8 @@ export default {
1806 1826
         this.org_template_info.template_id == 58 ||
1807 1827
         this.org_template_info.template_id == 60 ||
1808 1828
         this.org_template_info.template_id == 61 ||
1809
-        this.org_template_info.template_id == 66
1829
+        this.org_template_info.template_id == 66 ||
1830
+        this.org_template_info.template_id == 72
1810 1831
       ) {
1811 1832
         printJS({
1812 1833
           printable: "dialysis-print-box-1",
@@ -2204,7 +2225,8 @@ export default {
2204 2225
           style: style,
2205 2226
           scanStyles: false,
2206 2227
         });
2207
-      } else if (this.org_template_info.template_id == 199 ) {
2228
+      }
2229
+       else if (this.org_template_info.template_id == 199 ) {
2208 2230
         printJS({
2209 2231
           printable: "dialysis-print-box-1",
2210 2232
           type: "html",
@@ -2846,7 +2868,7 @@ export default {
2846 2868
       var xtdate = parseTime(schedual.schedule_date, "{y}-{m}-{d}");
2847 2869
       console.log('fffff',this.org_template_info.template_id);
2848 2870
       this.x_tdate=xtdate
2849
-    
2871
+
2850 2872
       // this.queryParams.xtdate = xtdate;
2851 2873
       // this.queryParams.xtno = schedual.patient.dialysis_no;
2852 2874
       // this.queryParams.patient_id = schedual.patient.id

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