See999 4 years ago
parent
commit
7b336cb650

+ 5 - 3
src/xt_pages/dialysis/details/DialysisPrescription.vue View File

@@ -15,7 +15,9 @@
15 15
           <span class="content">{{
16 16
             replacement_total != "0" ? replacement_total : ""
17 17
           }}</span>
18
-          <span class="unit">{{ replacement_total != "0" ? "L" : "" }}</span>
18
+          <span v-if="this.$store.getters.xt_user.template_info.template_id != 20" class="unit">{{ replacement_total != "0" ? "L" : "" }}</span>
19
+          <span v-if="this.$store.getters.xt_user.template_info.template_id == 20" class="unit">{{ replacement_total != "0" ? "ml" : "" }}</span>
20
+          
19 21
         </li>
20 22
 
21 23
         <li v-if="isShow('透析液配方')">
@@ -77,8 +79,8 @@
77 79
           <span class="content">{{
78 80
             target_ultrafiltration != "0" ? target_ultrafiltration : ""
79 81
           }}</span>
80
-          <span v-if="this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9" class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
81
-          <span v-if="this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
82
+          <span v-if="this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20" class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
83
+          <span v-if="this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
82 84
         </li>
83 85
         <li v-if="isShow('葡萄糖')">
84 86
           <label>葡萄糖 : </label>

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

@@ -17,8 +17,8 @@
17 17
           <span class="content" v-if="actual_ultrafiltration != '0'">{{
18 18
             actual_ultrafiltration
19 19
           }}</span>
20
-          <span class="unit" v-if=" actual_ultrafiltration != '0' && (this.$store.getters.xt_user.template_info.template_id == 6 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 17) " >ml</span>
21
-          <span class="unit" v-if=" actual_ultrafiltration != '0' && this.$store.getters.xt_user.template_info.template_id != 6 && this.$store.getters.xt_user.template_info.template_id != 9" >L</span>
20
+          <span class="unit" v-if=" actual_ultrafiltration != '0' && (this.$store.getters.xt_user.template_info.template_id == 6 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 20) " >ml</span>
21
+          <span class="unit" v-if=" actual_ultrafiltration != '0' && this.$store.getters.xt_user.template_info.template_id != 6 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 20" >L</span>
22 22
         </li>
23 23
         <li v-if="isShow('导管')">
24 24
           <label>导管 : </label>

+ 5 - 2
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue View File

@@ -28,7 +28,7 @@
28 28
           <el-col :span="8" v-if="isShow('实际超滤量')">
29 29
             <el-form-item
30 30
               label="实际超滤量(ml): "
31
-              v-if=" this.template_id == 6 || this.template_id == 9 || this.template_id == 10 || this.template_id == 11  || this.template_id == 17 "  >
31
+              v-if=" this.template_id == 6 || this.template_id == 9 || this.template_id == 10 || this.template_id == 11  || this.template_id == 17 || this.template_id == 20"  >
32 32
               <el-input v-model="form.actual_ultrafiltration"></el-input>
33 33
             </el-form-item>
34 34
             <el-form-item label="实际超滤量(L): " v-else>
@@ -393,7 +393,10 @@
393 393
         <el-row :gutter="20"> -->
394 394
 
395 395
         <el-col :span="8" v-if="isShow('实际置换量')">
396
-          <el-form-item label="实际置换量(L): ">
396
+          <el-form-item v-if="this.template_id == 20" label="实际置换量(ml): ">
397
+            <el-input v-model="form.actual_displacement"></el-input>
398
+          </el-form-item>
399
+          <el-form-item v-else label="实际置换量(L): ">
397 400
             <el-input v-model="form.actual_displacement"></el-input>
398 401
           </el-form-item>
399 402
         </el-col>

+ 11 - 3
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

@@ -64,7 +64,7 @@
64 64
             </el-form-item>
65 65
           </el-col>
66 66
 
67
-          <el-col :span="8" v-if="isShows('目标超滤量') && (this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9)">
67
+          <el-col :span="8" v-if="isShows('目标超滤量') && (this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20)">
68 68
             <el-form-item label="目标超滤量(ml):">
69 69
               <el-input
70 70
                 type="number"
@@ -73,7 +73,7 @@
73 73
             </el-form-item>
74 74
           </el-col>
75 75
 
76
-          <el-col :span="8" v-if="isShows('目标超滤量')  && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9">
76
+          <el-col :span="8" v-if="isShows('目标超滤量')  && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20">
77 77
             <el-form-item label="目标超滤量(L):">
78 78
               <el-input
79 79
                 type="number"
@@ -136,7 +136,15 @@
136 136
             </el-form-item>
137 137
           </el-col>
138 138
 
139
-          <el-col :span="8" v-if="isShows('置换量')" v-show="zhiShow">
139
+          <el-col :span="8" v-if="isShows('置换量') && (this.$store.getters.xt_user.template_info.template_id == 20)" v-show="zhiShow">
140
+            <el-form-item label="置换量(ml):">
141
+              <el-input
142
+                type="number"
143
+                v-model="dialysisPrescription.replacement_total"
144
+              ></el-input>
145
+            </el-form-item>
146
+          </el-col>
147
+          <el-col :span="8" v-if="isShows('置换量') && this.$store.getters.xt_user.template_info.template_id != 20" v-show="zhiShow">
140 148
             <el-form-item label="置换量(L):">
141 149
               <el-input
142 150
                 type="number"

+ 26 - 14
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

@@ -149,7 +149,8 @@
149 149
                   template_id == 13 ||
150 150
                   template_id == 17 ||
151 151
                   template_id == 18 || 
152
-                  template_id == 19)
152
+                  template_id == 19 ||
153
+                  template_id == 20)
153 154
             "
154 155
           >
155 156
             <template slot-scope="scope">
@@ -174,7 +175,8 @@
174 175
                 template_id != 13 &&
175 176
                 template_id != 17 &&
176 177
                 template_id != 18 &&
177
-                template_id != 19
178
+                template_id != 19 &&
179
+                template_id != 20
178 180
             "
179 181
           >
180 182
             <template slot-scope="scope">
@@ -220,7 +222,7 @@
220 222
             align="center"
221 223
             label="置换率(ml/min)"
222 224
             width="120"
223
-            v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11)" >
225
+            v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20)" >
224 226
             <template slot-scope="scope">
225 227
               {{ scope.row.replacement_rate ? scope.row.replacement_rate : "" }}
226 228
             </template>
@@ -231,7 +233,7 @@
231 233
             align="center"
232 234
             label="置换率(L/h)"
233 235
             width="120"
234
-            v-if=" isShow('置换率') && template_id != 6 && template_id != 10 && template_id != 11">
236
+            v-if=" isShow('置换率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20">
235 237
             <template slot-scope="scope">
236 238
               {{ scope.row.replacement_rate ? scope.row.replacement_rate : "" }}
237 239
             </template>
@@ -241,7 +243,7 @@
241 243
             align="center"
242 244
             label="置换量(ml)"
243 245
             width="100"
244
-            v-if=" isShow('置换量') && (template_id == 6 || template_id == 10 || template_id == 11) " >
246
+            v-if=" isShow('置换量') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20) " >
245 247
             <template slot-scope="scope">
246 248
               {{ scope.row.displacement_quantity ? scope.row.displacement_quantity : "" }}
247 249
             </template>
@@ -252,7 +254,7 @@
252 254
             align="center"
253 255
             label="置换量(L)"
254 256
             width="100"
255
-            v-if=" isShow('置换量') &&  template_id != 6 && template_id != 10 && template_id != 11 " >
257
+            v-if=" isShow('置换量') &&  template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20" >
256 258
             <template slot-scope="scope">
257 259
               {{ scope.row.displacement_quantity ? scope.row.displacement_quantity : "" }}
258 260
             </template>
@@ -311,7 +313,7 @@
311 313
             align="center"
312 314
             label="超滤率(ml/h)"
313 315
             width="100"
314
-            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) "
316
+            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) "
315 317
           >
316 318
             <template slot-scope="scope">
317 319
               {{ scope.row.ultrafiltration_rate ? scope.row.ultrafiltration_rate : ""  }}
@@ -322,7 +324,7 @@
322 324
             align="center"
323 325
             label="超滤率(L/h)"
324 326
             width="100"
325
-            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"
327
+            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"
326 328
           >
327 329
             <template slot-scope="scope">
328 330
               {{ scope.row.ultrafiltration_rate ? scope.row.ultrafiltration_rate : ""  }}
@@ -463,12 +465,12 @@
463 465
             </el-form-item>
464 466
           </el-col>
465 467
 
466
-          <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) ">
468
+          <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) ">
467 469
             <el-form-item label="超滤率(ml/h)">
468 470
               <el-input v-model="form.ultrafiltration_rate"></el-input>
469 471
             </el-form-item>
470 472
           </el-col>
471
-          <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">
473
+          <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">
472 474
             <el-form-item label="超滤率(L/h)">
473 475
               <el-input v-model="form.ultrafiltration_rate"></el-input>
474 476
             </el-form-item>
@@ -476,7 +478,7 @@
476 478
 
477 479
           <el-col
478 480
             :span="8"
479
-            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) " >
481
+            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) " >
480 482
             <el-form-item label="超滤量(ml):">
481 483
               <el-input v-model="form.ultrafiltration_volume"></el-input>
482 484
             </el-form-item>
@@ -484,7 +486,7 @@
484 486
 
485 487
           <el-col
486 488
             :span="8"
487
-            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" >
489
+            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" >
488 490
             <el-form-item label="超滤量(L):">
489 491
               <el-input v-model="form.ultrafiltration_volume"></el-input>
490 492
             </el-form-item>
@@ -503,16 +505,26 @@
503 505
               <el-input v-model="form.dialysate_temperature"></el-input>
504 506
             </el-form-item>
505 507
           </el-col>
506
-          <el-col :span="8" v-if="isShow('置换率')">
508
+          <el-col :span="8" v-if="isShow('置换率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20">
507 509
             <el-form-item label="置换率(L/h):">
508 510
               <el-input v-model="form.replacement_rate"></el-input>
509 511
             </el-form-item>
510 512
           </el-col>
511
-          <el-col :span="8" v-if="isShow('置换量')">
513
+          <el-col :span="8" v-if="isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20)">
514
+            <el-form-item label="置换率(ml/min):">
515
+              <el-input v-model="form.replacement_rate"></el-input>
516
+            </el-form-item>
517
+          </el-col>
518
+          <el-col :span="8" v-if=" isShow('置换量') &&  template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20">
512 519
             <el-form-item label="置换量(L):">
513 520
               <el-input v-model="form.displacement_quantity"></el-input>
514 521
             </el-form-item>
515 522
           </el-col>
523
+          <el-col :span="8" v-if=" isShow('置换量') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20)">
524
+            <el-form-item label="置换量(ml):">
525
+              <el-input v-model="form.displacement_quantity"></el-input>
526
+            </el-form-item>
527
+          </el-col>
516 528
 
517 529
           <el-col :span="8" v-if="isShow('电导度')">
518 530
             <el-form-item label="电导度(mS/m):">

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

@@ -14,20 +14,20 @@
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 == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19)" width="76px" > 超滤量(ml)</th>
18
-          <th v-if=" isShow('超滤量') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19"  width="76px"> 超滤量(L) </th>
17
+          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20)" width="76px" > 超滤量(ml)</th>
18
+          <th v-if=" isShow('超滤量') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20"  width="76px"> 超滤量(L) </th>
19 19
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
20 20
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
21
-          <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11) " width="92px" > 置换率(ml/min) </th>
22
-          <th v-if=" isShow('置换率') && template_id != 6 && template_id != 10 && template_id != 11 " width="92px" > 置换率(L/h)  </th>
23
-          <th v-if=" isShow('置换量') && (template_id == 6 || template_id == 10 || template_id == 11) " width="92px"  > 置换量(ml)  </th>
24
-          <th v-if=" isShow('置换量') && template_id != 6 && template_id != 10 && template_id != 10 " width="92px" > 置换量(L) </th>
21
+          <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20) " width="92px" > 置换率(ml/min) </th>
22
+          <th v-if=" isShow('置换率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20" width="92px" > 置换率(L/h)  </th>
23
+          <th v-if=" isShow('置换量') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20) " width="92px"  > 置换量(ml)  </th>
24
+          <th v-if=" isShow('置换量') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20" width="92px" > 置换量(L) </th>
25 25
           <th v-if=" isShow('SpO₂') && template_id != 6 && template_id != 10 && template_id != 11  " width="92px" > SpO₂(%) </th>
26 26
           <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
27 27
           <th v-if="isShow('置换液流量')" width="92px">置换液流量(ml/h)</th>
28 28
           <th v-if="isShow('透析液流量')" width="92px">透析液流量(ml/h)</th>
29
-          <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)" width="50px"> 超滤率 <br />(ml/h) </th>
30
-          <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" width="50px"> 超滤率 <br />(L/h) </th>
29
+          <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)" width="50px"> 超滤率 <br />(ml/h) </th>
30
+          <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" width="50px"> 超滤率 <br />(L/h) </th>
31 31
           <th v-if="isShow('肝素用量余量')" width="92px">肝素用量余量(ml)</th>
32 32
           <th v-if="isShow('病情变化')" width="92px">病情变化</th>
33 33
           <th v-if="isShow('处理')" width="92px">处理</th>

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

@@ -243,6 +243,16 @@
243 243
           >打印</el-button
244 244
         >
245 245
       </template>
246
+      <template v-if="org_template_info.template_id == 20">
247
+        <el-button
248
+          :loading="loading"
249
+          size="small"
250
+          icon="el-icon-printer"
251
+          @click="printThisPage"
252
+          type="primary"
253
+          >打印</el-button
254
+        >
255
+      </template>
246 256
     </div>
247 257
     <div class="app-container" style="min-height:0;">
248 258
       <!--<div class="order-print-btn"-->
@@ -423,6 +433,10 @@
423 433
             v-bind:childResponse="childResponse"
424 434
             v-if="org_template_info.template_id == 19"
425 435
           ></DialysisPrintOrderNineteen>
436
+          <DialysisPrintOrderTwenty
437
+            v-bind:childResponse="childResponse"
438
+            v-if="org_template_info.template_id == 20"
439
+          ></DialysisPrintOrderTwenty>
426 440
         </div>
427 441
       </el-container>
428 442
     </div>
@@ -461,10 +475,12 @@ import DialysisPrintOrderSixteen from "./template/DialysisPrintOrderSixteen";
461 475
 import DialysisPrintOrderSeventeen from "./template/DialysisPrintOrderSeventeen";
462 476
 import DialysisPrintOrderEighteen from "./template/DialysisPrintOrderEighteen";
463 477
 import DialysisPrintOrderNineteen from "./template/DialysisPrintOrderNineteen";
478
+import DialysisPrintOrderTwenty from "./template/DialysisPrintOrderTwenty";
464 479
 
465 480
 export default {
466 481
   name: "dialysisPrintOrder",
467 482
   components: {
483
+    DialysisPrintOrderTwenty,
468 484
     DialysisPrintOrderNineteen,
469 485
     DialysisPrintOrderEighteen,
470 486
     DialysisPrintOrderSeventeen,
@@ -783,7 +799,14 @@ export default {
783 799
           style: style2,
784 800
           scanStyles: false
785 801
         });
786
-      }
802
+      } else if (this.org_template_info.template_id == 1) {
803
+        printJS({
804
+          printable: "dialysis-print-box",
805
+          type: "html",
806
+          style: style,
807
+          scanStyles: false
808
+        });
809
+      } 
787 810
     },
788 811
     printThisOnePage() {
789 812
       var ptime = Math.round(new Date().getTime() / 1000);

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