yq1 1 yıl önce
ebeveyn
işleme
8fedcca4b7

Dosya farkı çok büyük olduğundan ihmal edildi
+ 3255 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_seventytwo.vue


+ 18 - 2
src/xt_pages/dialysis/bloodPresssWatch.vue Dosyayı Görüntüle

437
           type="primary"
437
           type="primary"
438
           >批量打印</el-button>
438
           >批量打印</el-button>
439
       </template>
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
     </div>
449
     </div>
441
     <div class="app-container">
450
     <div class="app-container">
442
       <!-- <div class="filter-container">
451
       <!-- <div class="filter-container">
1325
         layout="total, sizes, prev, pager, next, jumper"
1334
         layout="total, sizes, prev, pager, next, jumper"
1326
         :total="total"
1335
         :total="total"
1327
       ></el-pagination>
1336
       ></el-pagination>
1337
+      <!-- :page-sizes="[20, 40, 60, 80,100,300,500]" -->
1328
     </div>
1338
     </div>
1329
   </div>
1339
   </div>
1330
 </template>
1340
 </template>
1458
       complicationList: [],
1468
       complicationList: [],
1459
       template_id:0,
1469
       template_id:0,
1460
       org_id:0,
1470
       org_id:0,
1461
-
1471
+      page2:0,
1462
     };
1472
     };
1463
   },
1473
   },
1464
   created() {
1474
   created() {
1475
+    this.listQuery.page=sessionStorage.getItem("page");
1476
+    sessionStorage.removeItem("page");
1465
     this.template_id = this.$store.getters.xt_user.template_info.template_id;
1477
     this.template_id = this.$store.getters.xt_user.template_info.template_id;
1466
     this.org_id = this.$store.getters.xt_user.template_info.org_id;
1478
     this.org_id = this.$store.getters.xt_user.template_info.org_id;
1467
     this.bloodPressureMmonitoringSite = getDataConfig(
1479
     this.bloodPressureMmonitoringSite = getDataConfig(
1553
       });
1565
       });
1554
     },
1566
     },
1555
     clickCurrent(val) {
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
       this.$router.push({
1571
       this.$router.push({
1558
         path: "/dialysis/details",
1572
         path: "/dialysis/details",
1559
         query: { patient_id: val.patient_id, date: val.sch_time_int,mode_id:val.mode_id }
1573
         query: { patient_id: val.patient_id, date: val.sch_time_int,mode_id:val.mode_id }
2191
         this.$router.push({ path: "/dialysis/print/batch/sixtyeight" });
2205
         this.$router.push({ path: "/dialysis/print/batch/sixtyeight" });
2192
       }else if (this.template_id == 70) {
2206
       }else if (this.template_id == 70) {
2193
         this.$router.push({ path: "/dialysis/print/batch/seventy" });
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
     batchPrintActionOne: function() {
2212
     batchPrintActionOne: function() {

+ 25 - 3
src/xt_pages/dialysis/dialysisPrintOrder.vue Dosyayı Görüntüle

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

Dosya farkı çok büyük olduğundan ihmal edildi
+ 4043 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderSeventyTwo.vue