Browse Source

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

XMLWAN 4 years ago
parent
commit
67e37bfce4

+ 5 - 4
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

@@ -276,7 +276,7 @@
276 276
             align="center"
277 277
             label="置换量(ml)"
278 278
             width="100"
279
-            v-if=" isShow('置换量') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26) " >
279
+            v-if=" isShow('置换量') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26) || org_id != 9919" >
280 280
             <template slot-scope="scope">
281 281
               {{ scope.row.displacement_quantity ? scope.row.displacement_quantity : "" }}
282 282
             </template>
@@ -287,7 +287,7 @@
287 287
             align="center"
288 288
             label="置换量(L)"
289 289
             width="100"
290
-            v-if=" isShow('置换量') &&  template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20 && template_id != 26" >
290
+            v-if=" isShow('置换量') &&  (template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20 && template_id != 26) || org_id == 9919" >
291 291
             <template slot-scope="scope">
292 292
               {{ scope.row.displacement_quantity ? scope.row.displacement_quantity : "" }}
293 293
             </template>
@@ -527,12 +527,12 @@
527 527
               <el-input v-model="form.replacement_rate"></el-input>
528 528
             </el-form-item>
529 529
           </el-col>
530
-          <el-col :span="8" v-if=" isShow('置换量') &&  template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20 && template_id != 26">
530
+          <el-col :span="8" v-if=" isShow('置换量') &&  (template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20 && template_id != 26) || org_id == 9919">
531 531
             <el-form-item label="置换量(L):">
532 532
               <el-input v-model="form.displacement_quantity"></el-input>
533 533
             </el-form-item>
534 534
           </el-col>
535
-          <el-col :span="8" v-if=" isShow('置换量') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26)">
535
+          <el-col :span="8" v-if=" isShow('置换量') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26) || org_id != 9919">
536 536
             <el-form-item label="置换量(ml):">
537 537
               <el-input v-model="form.displacement_quantity"></el-input>
538 538
             </el-form-item>
@@ -789,6 +789,7 @@ export default {
789 789
   },
790 790
   created() {
791 791
     this.template_id = this.$store.getters.xt_user.template_info.template_id
792
+    this.org_id = this.$store.getters.xt_user.template_info.org_id
792 793
     var date = this.$route.query.date
793 794
     var patient_id = this.$route.query.patient_id
794 795
     this.patient_id = patient_id

+ 3 - 2
src/xt_pages/dialysis/details/dialysisMonitoring.vue View File

@@ -22,8 +22,8 @@
22 22
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
23 23
           <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26) " width="92px" > 置换率(ml/min) </th>
24 24
           <th v-if=" isShow('置换率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20 && template_id != 26" width="92px" > 置换率(L/h)  </th>
25
-          <th v-if=" isShow('置换量') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26) " width="92px"  > 置换量(ml)  </th>
26
-          <th v-if=" isShow('置换量') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20 && template_id != 26" width="92px" > 置换量(L) </th>
25
+          <th v-if=" isShow('置换量') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26) || org_id != 9919" width="92px"  > 置换量(ml)  </th>
26
+          <th v-if=" isShow('置换量') && (template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20 && template_id != 26) || org_id == 9919" width="92px" > 置换量(L) </th>
27 27
           <th v-if=" isShow('SpO₂') && template_id != 6 && template_id != 10 && template_id != 11  " width="92px" > SpO₂(%) </th>
28 28
           <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
29 29
           <th v-if="isShow('置换液流量')" width="92px">置换液流量(ml/h)</th>
@@ -83,6 +83,7 @@ export default {
83 83
   },
84 84
   created() {
85 85
     this.template_id = this.$store.getters.xt_user.template_info.template_id
86
+    this.org_id = this.$store.getters.xt_user.template_info.org_id
86 87
   },
87 88
   methods: {
88 89
     parseTime(time, layout) {

+ 61 - 0
src/xt_pages/dialysis/dialysisPrintOrder.vue View File

@@ -364,6 +364,39 @@
364 364
           >打印</el-button
365 365
         >
366 366
       </template>
367
+      <template
368
+        v-if="
369
+          org_template_info.template_id == 27 ||
370
+            org_template_info.template_id == 0
371
+        "
372
+      >
373
+      <div>
374
+          <el-button
375
+            :loading="loading"
376
+            size="small"
377
+            icon="el-icon-printer"
378
+            @click="printThisPage"
379
+            type="primary"
380
+            >打印全部</el-button
381
+          >
382
+          <el-button
383
+            :loading="loading"
384
+            size="small"
385
+            icon="el-icon-printer"
386
+            @click="printThisOnePage"
387
+            type="primary"
388
+            >打印纪录单</el-button
389
+          >
390
+          <el-button
391
+            :loading="loading"
392
+            size="small"
393
+            icon="el-icon-printer"
394
+            @click="printThisTwoPage"
395
+            type="primary"
396
+            >打印医嘱单</el-button
397
+          >
398
+        </div>
399
+      </template>
367 400
     </div>
368 401
     <div class="app-container" style="min-height:0;">
369 402
       <!--<div class="order-print-btn"-->
@@ -574,6 +607,11 @@
574 607
             v-if="org_template_info.template_id == 26"
575 608
           >
576 609
           </DialysisPrintOrderTwentySix>
610
+          <DialysisPrintOrderTwentySeven
611
+            v-bind:childResponse="childResponse"
612
+            v-if="org_template_info.template_id == 27"
613
+          >
614
+          </DialysisPrintOrderTwentySeven>
577 615
         </div>
578 616
       </el-container>
579 617
     </div>
@@ -619,9 +657,11 @@ import DialysisPrintOrderTwentyThree from "./template/DialysisPrintOrderTwentyTh
619 657
 import DialysisPrintOrderTwentyFour from "./template/DialysisPrintOrderTwentyFour";
620 658
 import DialysisPrintOrderTwentyFive from "./template/DialysisPrintOrderTwentyFive";
621 659
 import DialysisPrintOrderTwentySix from "./template/DialysisPrintOrderTwentySix";
660
+import DialysisPrintOrderTwentySeven from "./template/DialysisPrintOrderTwentySeven";
622 661
 export default {
623 662
   name: "dialysisPrintOrder",
624 663
   components: {
664
+    DialysisPrintOrderTwentySeven,
625 665
     DialysisPrintOrderTwentySix,
626 666
     DialysisPrintOrderTwentyFive,
627 667
     DialysisPrintOrderTwentyFour,
@@ -997,6 +1037,13 @@ export default {
997 1037
           style: style,
998 1038
           scanStyles: false
999 1039
         });
1040
+      } else if (this.org_template_info.template_id == 27) {
1041
+        printJS({
1042
+          printable: "dialysis-print-box",
1043
+          type: "html",
1044
+          style: style,
1045
+          scanStyles: false
1046
+        });
1000 1047
       }
1001 1048
     },
1002 1049
     printThisOnePage() {
@@ -1041,6 +1088,13 @@ export default {
1041 1088
           style: style,
1042 1089
           scanStyles: false
1043 1090
         });
1091
+      } else if(this.org_template_info.template_id == 27){
1092
+        printJS({
1093
+          printable: "new-dialysis-1",
1094
+          type: "html",
1095
+          style: style,
1096
+          scanStyles: false
1097
+        });
1044 1098
       }
1045 1099
     },
1046 1100
     printThisTwoPage() {
@@ -1085,6 +1139,13 @@ export default {
1085 1139
           style: style,
1086 1140
           scanStyles: false
1087 1141
         });
1142
+      } else if(this.org_template_info.template_id == 27){
1143
+        printJS({
1144
+          printable: "new-dialysis-2",
1145
+          type: "html",
1146
+          style: style,
1147
+          scanStyles: false
1148
+        });
1088 1149
       }
1089 1150
     },
1090 1151
     getNumber() {

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