Browse Source

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

XMLWAN 4 years ago
parent
commit
ae999fb5ed

+ 8 - 6
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

@@ -163,6 +163,7 @@
163 163
                   template_id == 31 ||
164 164
                   template_id == 32 ||
165 165
                   template_id == 34 ||
166
+                  template_id == 35 ||
166 167
                   org_id == 9555)
167 168
             "
168 169
           >
@@ -202,6 +203,7 @@
202 203
                 template_id != 31 &&
203 204
                 template_id != 32 &&
204 205
                 template_id != 34 &&
206
+                template_id != 35 &&
205 207
                 org_id!=9555
206 208
             "
207 209
           >
@@ -219,7 +221,7 @@
219 221
             align="center"
220 222
             label="超滤率(ml/h)"
221 223
             width="100"
222
-            v-if="isShow('超滤率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34) "
224
+            v-if="isShow('超滤率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35) "
223 225
           >
224 226
             <template slot-scope="scope">
225 227
               {{ scope.row.ultrafiltration_rate ? scope.row.ultrafiltration_rate : ""  }}
@@ -230,7 +232,7 @@
230 232
             align="center"
231 233
             label="超滤率(L/h)"
232 234
             width="100"
233
-            v-if="isShow('超滤率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 12 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22  && template_id != 23 && template_id != 24 && template_id != 26 && template_id != 29 && template_id != 30 && template_id != 31 && template_id != 34"
235
+            v-if="isShow('超滤率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 12 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22  && template_id != 23 && template_id != 24 && template_id != 26 && template_id != 29 && template_id != 30 && template_id != 31 && template_id != 34 && template_id != 35"
234 236
           >
235 237
             <template slot-scope="scope">
236 238
               {{ scope.row.ultrafiltration_rate ? scope.row.ultrafiltration_rate : ""  }}
@@ -518,12 +520,12 @@
518 520
             </el-form-item>
519 521
           </el-col>
520 522
 
521
-          <el-col :span="8" v-if="isShow('超滤率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34) ">
523
+          <el-col :span="8" v-if="isShow('超滤率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35) ">
522 524
             <el-form-item label="超滤率(ml/h)">
523 525
               <el-input v-model="form.ultrafiltration_rate"></el-input>
524 526
             </el-form-item>
525 527
           </el-col>
526
-          <el-col :span="8" v-if="isShow('超滤率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 12 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id != 29 && template_id != 30 && template_id != 31 && template_id != 34">
528
+          <el-col :span="8" v-if="isShow('超滤率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 12 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id != 29 && template_id != 30 && template_id != 31 && template_id != 34 && template_id != 35">
527 529
             <el-form-item label="超滤率(L/h)">
528 530
               <el-input v-model="form.ultrafiltration_rate"></el-input>
529 531
             </el-form-item>
@@ -531,7 +533,7 @@
531 533
 
532 534
           <el-col
533 535
             :span="8"
534
-            v-if=" isShow('超滤量') && (template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || org_id == 9555) " >
536
+            v-if=" isShow('超滤量') && (template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || org_id == 9555) " >
535 537
             <el-form-item label="超滤量(ml):">
536 538
               <el-input v-model="form.ultrafiltration_volume"></el-input>
537 539
             </el-form-item>
@@ -539,7 +541,7 @@
539 541
 
540 542
           <el-col
541 543
             :span="8"
542
-            v-if=" isShow('超滤量') && template_id != 6 && template_id !=9 && template_id != 10 && template_id != 11 && template_id != 12 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id!=27 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && org_id !=9555" >
544
+            v-if=" isShow('超滤量') && template_id != 6 && template_id !=9 && template_id != 10 && template_id != 11 && template_id != 12 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id!=27 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && org_id !=9555" >
543 545
             <el-form-item label="超滤量(L):">
544 546
               <el-input v-model="form.ultrafiltration_volume"></el-input>
545 547
             </el-form-item>

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

@@ -14,10 +14,10 @@
14 14
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
15 15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
16 16
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
17
-          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || this.$store.getters.xt_user.template_info.org_id == 9555)" width="76px" > 超滤量(ml)</th>
18
-          <th v-if=" isShow('超滤量') && template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && this.$store.getters.xt_user.template_info.org_id != 9555"  width="76px"> 超滤量(L) </th>
19
-          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34)" width="50px"> 超滤率 <br />(ml/h) </th>
20
-          <th v-if="isShow('超滤率') && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34" width="50px"> 超滤率 <br />(L/h) </th>
17
+          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || this.$store.getters.xt_user.template_info.org_id == 9555)" width="76px" > 超滤量(ml)</th>
18
+          <th v-if=" isShow('超滤量') && template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && this.$store.getters.xt_user.template_info.org_id != 9555"  width="76px"> 超滤量(L) </th>
19
+          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35)" width="50px"> 超滤率 <br />(ml/h) </th>
20
+          <th v-if="isShow('超滤率') && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35" width="50px"> 超滤率 <br />(L/h) </th>
21 21
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
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 || template_id == 29) " width="92px" > 置换率(ml/min) </th>

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

@@ -485,6 +485,16 @@
485 485
           >打印</el-button
486 486
         >
487 487
       </template>
488
+      <template v-if="org_template_info.template_id == 35">
489
+        <el-button
490
+          :loading="loading"
491
+          size="small"
492
+          icon="el-icon-printer"
493
+          @click="printThisPage"
494
+          type="primary"
495
+          >打印</el-button
496
+        >
497
+      </template>
488 498
     </div>
489 499
     <div class="app-container" style="min-height:0;">
490 500
       <!--<div class="order-print-btn"-->
@@ -735,6 +745,11 @@
735 745
             v-if="org_template_info.template_id == 34"
736 746
           >
737 747
           </DialysisPrintOrderThirtyFour>
748
+          <DialysisPrintOrderThirtyFive
749
+            v-bind:childResponse="childResponse"
750
+            v-if="org_template_info.template_id == 35"
751
+          >
752
+          </DialysisPrintOrderThirtyFive>
738 753
         </div>
739 754
       </el-container>
740 755
     </div>
@@ -788,9 +803,11 @@ import DialysisPrintOrderThirtyOne from "./template/DialysisPrintOrderThirtyOne"
788 803
 import DialysisPrintOrderThirtyTwo from "./template/DialysisPrintOrderThirtyTwo";
789 804
 import DialysisPrintOrderThirtyThree from "./template/DialysisPrintOrderThirtyThree";
790 805
 import DialysisPrintOrderThirtyFour from "./template/DialysisPrintOrderThirtyFour";
806
+import DialysisPrintOrderThirtyFive from "./template/DialysisPrintOrderThirtyFive";
791 807
 export default {
792 808
   name: "dialysisPrintOrder",
793 809
   components: {
810
+    DialysisPrintOrderThirtyFive,
794 811
     DialysisPrintOrderThirtyFour,
795 812
     DialysisPrintOrderThirtyThree,
796 813
     DialysisPrintOrderThirtyTwo,
@@ -1223,6 +1240,13 @@ export default {
1223 1240
           style: style2,
1224 1241
           scanStyles: false
1225 1242
         });
1243
+      } else if (this.org_template_info.template_id == 35) {
1244
+        printJS({
1245
+          printable: "dialysis-print-box",
1246
+          type: "html",
1247
+          style: style,
1248
+          scanStyles: false
1249
+        });
1226 1250
       }
1227 1251
     },
1228 1252
     printThisOnePage() {

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