see999 4 年之前
父節點
當前提交
f7bbef78df

+ 8 - 6
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue 查看文件

163
                   template_id == 31 ||
163
                   template_id == 31 ||
164
                   template_id == 32 ||
164
                   template_id == 32 ||
165
                   template_id == 34 ||
165
                   template_id == 34 ||
166
+                  template_id == 35 ||
166
                   org_id == 9555)
167
                   org_id == 9555)
167
             "
168
             "
168
           >
169
           >
202
                 template_id != 31 &&
203
                 template_id != 31 &&
203
                 template_id != 32 &&
204
                 template_id != 32 &&
204
                 template_id != 34 &&
205
                 template_id != 34 &&
206
+                template_id != 35 &&
205
                 org_id!=9555
207
                 org_id!=9555
206
             "
208
             "
207
           >
209
           >
219
             align="center"
221
             align="center"
220
             label="超滤率(ml/h)"
222
             label="超滤率(ml/h)"
221
             width="100"
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
             <template slot-scope="scope">
226
             <template slot-scope="scope">
225
               {{ scope.row.ultrafiltration_rate ? scope.row.ultrafiltration_rate : ""  }}
227
               {{ scope.row.ultrafiltration_rate ? scope.row.ultrafiltration_rate : ""  }}
230
             align="center"
232
             align="center"
231
             label="超滤率(L/h)"
233
             label="超滤率(L/h)"
232
             width="100"
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
             <template slot-scope="scope">
237
             <template slot-scope="scope">
236
               {{ scope.row.ultrafiltration_rate ? scope.row.ultrafiltration_rate : ""  }}
238
               {{ scope.row.ultrafiltration_rate ? scope.row.ultrafiltration_rate : ""  }}
518
             </el-form-item>
520
             </el-form-item>
519
           </el-col>
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
             <el-form-item label="超滤率(ml/h)">
524
             <el-form-item label="超滤率(ml/h)">
523
               <el-input v-model="form.ultrafiltration_rate"></el-input>
525
               <el-input v-model="form.ultrafiltration_rate"></el-input>
524
             </el-form-item>
526
             </el-form-item>
525
           </el-col>
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
             <el-form-item label="超滤率(L/h)">
529
             <el-form-item label="超滤率(L/h)">
528
               <el-input v-model="form.ultrafiltration_rate"></el-input>
530
               <el-input v-model="form.ultrafiltration_rate"></el-input>
529
             </el-form-item>
531
             </el-form-item>
531
 
533
 
532
           <el-col
534
           <el-col
533
             :span="8"
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
             <el-form-item label="超滤量(ml):">
537
             <el-form-item label="超滤量(ml):">
536
               <el-input v-model="form.ultrafiltration_volume"></el-input>
538
               <el-input v-model="form.ultrafiltration_volume"></el-input>
537
             </el-form-item>
539
             </el-form-item>
539
 
541
 
540
           <el-col
542
           <el-col
541
             :span="8"
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
             <el-form-item label="超滤量(L):">
545
             <el-form-item label="超滤量(L):">
544
               <el-input v-model="form.ultrafiltration_volume"></el-input>
546
               <el-input v-model="form.ultrafiltration_volume"></el-input>
545
             </el-form-item>
547
             </el-form-item>

+ 4 - 4
src/xt_pages/dialysis/details/dialysisMonitoring.vue 查看文件

14
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
14
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
16
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
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
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
21
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
22
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
22
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
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>
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 查看文件

485
           >打印</el-button
485
           >打印</el-button
486
         >
486
         >
487
       </template>
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
     </div>
498
     </div>
489
     <div class="app-container" style="min-height:0;">
499
     <div class="app-container" style="min-height:0;">
490
       <!--<div class="order-print-btn"-->
500
       <!--<div class="order-print-btn"-->
735
             v-if="org_template_info.template_id == 34"
745
             v-if="org_template_info.template_id == 34"
736
           >
746
           >
737
           </DialysisPrintOrderThirtyFour>
747
           </DialysisPrintOrderThirtyFour>
748
+          <DialysisPrintOrderThirtyFive
749
+            v-bind:childResponse="childResponse"
750
+            v-if="org_template_info.template_id == 35"
751
+          >
752
+          </DialysisPrintOrderThirtyFive>
738
         </div>
753
         </div>
739
       </el-container>
754
       </el-container>
740
     </div>
755
     </div>
788
 import DialysisPrintOrderThirtyTwo from "./template/DialysisPrintOrderThirtyTwo";
803
 import DialysisPrintOrderThirtyTwo from "./template/DialysisPrintOrderThirtyTwo";
789
 import DialysisPrintOrderThirtyThree from "./template/DialysisPrintOrderThirtyThree";
804
 import DialysisPrintOrderThirtyThree from "./template/DialysisPrintOrderThirtyThree";
790
 import DialysisPrintOrderThirtyFour from "./template/DialysisPrintOrderThirtyFour";
805
 import DialysisPrintOrderThirtyFour from "./template/DialysisPrintOrderThirtyFour";
806
+import DialysisPrintOrderThirtyFive from "./template/DialysisPrintOrderThirtyFive";
791
 export default {
807
 export default {
792
   name: "dialysisPrintOrder",
808
   name: "dialysisPrintOrder",
793
   components: {
809
   components: {
810
+    DialysisPrintOrderThirtyFive,
794
     DialysisPrintOrderThirtyFour,
811
     DialysisPrintOrderThirtyFour,
795
     DialysisPrintOrderThirtyThree,
812
     DialysisPrintOrderThirtyThree,
796
     DialysisPrintOrderThirtyTwo,
813
     DialysisPrintOrderThirtyTwo,
1223
           style: style2,
1240
           style: style2,
1224
           scanStyles: false
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
     printThisOnePage() {
1252
     printThisOnePage() {

文件差異過大導致無法顯示
+ 2139 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyFive.vue