See999 4 anos atrás
pai
commit
e5c4667579

+ 2 - 2
src/xt_pages/dialysis/details/DialysisPrescription.vue Ver arquivo

79
           <span class="content">{{
79
           <span class="content">{{
80
             target_ultrafiltration != "0" ? target_ultrafiltration : ""
80
             target_ultrafiltration != "0" ? target_ultrafiltration : ""
81
           }}</span>
81
           }}</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 && this.$store.getters.xt_user.template_info.template_id != 21" 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 || this.$store.getters.xt_user.template_info.template_id == 21" 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 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22" 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 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
84
         </li>
84
         </li>
85
         <li v-if="isShow('葡萄糖')">
85
         <li v-if="isShow('葡萄糖')">
86
           <label>葡萄糖 : </label>
86
           <label>葡萄糖 : </label>

+ 2 - 2
src/xt_pages/dialysis/details/assessmentAfter.vue Ver arquivo

17
           <span class="content" v-if="actual_ultrafiltration != '0'">{{
17
           <span class="content" v-if="actual_ultrafiltration != '0'">{{
18
             actual_ultrafiltration
18
             actual_ultrafiltration
19
           }}</span>
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 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21) " >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 && this.$store.getters.xt_user.template_info.template_id != 21" >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 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22) " >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 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22" >L</span>
22
         </li>
22
         </li>
23
         <li v-if="isShow('导管')">
23
         <li v-if="isShow('导管')">
24
           <label>导管 : </label>
24
           <label>导管 : </label>

+ 1 - 1
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue Ver arquivo

28
           <el-col :span="8" v-if="isShow('实际超滤量')">
28
           <el-col :span="8" v-if="isShow('实际超滤量')">
29
             <el-form-item
29
             <el-form-item
30
               label="实际超滤量(ml): "
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 || this.template_id == 20 || this.template_id == 21"  >
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 || this.template_id == 21 || this.template_id == 22"  >
32
               <el-input v-model="form.actual_ultrafiltration"></el-input>
32
               <el-input v-model="form.actual_ultrafiltration"></el-input>
33
             </el-form-item>
33
             </el-form-item>
34
             <el-form-item label="实际超滤量(L): " v-else>
34
             <el-form-item label="实际超滤量(L): " v-else>

+ 2 - 2
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Ver arquivo

66
           </el-col>
66
           </el-col>
67
 
67
 
68
           <el-col :span="8"
68
           <el-col :span="8"
69
-                  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 || this.$store.getters.xt_user.template_info.template_id == 21)">
69
+                  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 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22)">
70
             <el-form-item label="目标超滤量(ml):">
70
             <el-form-item label="目标超滤量(ml):">
71
               <el-input
71
               <el-input
72
                 type="number"
72
                 type="number"
76
           </el-col>
76
           </el-col>
77
 
77
 
78
           <el-col :span="8"
78
           <el-col :span="8"
79
-                  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 && this.$store.getters.xt_user.template_info.template_id != 21">
79
+                  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 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22">
80
             <el-form-item label="目标超滤量(L):">
80
             <el-form-item label="目标超滤量(L):">
81
               <el-input
81
               <el-input
82
                 type="number"
82
                 type="number"

+ 6 - 4
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue Ver arquivo

151
                   template_id == 18 ||
151
                   template_id == 18 ||
152
                   template_id == 19 ||
152
                   template_id == 19 ||
153
                   template_id == 20 ||
153
                   template_id == 20 ||
154
-                  template_id == 21)
154
+                  template_id == 21 ||
155
+                  template_id == 22)
155
             "
156
             "
156
           >
157
           >
157
             <template slot-scope="scope">
158
             <template slot-scope="scope">
178
                 template_id != 18 &&
179
                 template_id != 18 &&
179
                 template_id != 19 &&
180
                 template_id != 19 &&
180
                 template_id != 20 &&
181
                 template_id != 20 &&
181
-                template_id != 21
182
+                template_id != 21 &&
183
+                template_id != 22
182
             "
184
             "
183
           >
185
           >
184
             <template slot-scope="scope">
186
             <template slot-scope="scope">
480
 
482
 
481
           <el-col
483
           <el-col
482
             :span="8"
484
             :span="8"
483
-            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) " >
485
+            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) " >
484
             <el-form-item label="超滤量(ml):">
486
             <el-form-item label="超滤量(ml):">
485
               <el-input v-model="form.ultrafiltration_volume"></el-input>
487
               <el-input v-model="form.ultrafiltration_volume"></el-input>
486
             </el-form-item>
488
             </el-form-item>
488
 
490
 
489
           <el-col
491
           <el-col
490
             :span="8"
492
             :span="8"
491
-            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" >
493
+            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" >
492
             <el-form-item label="超滤量(L):">
494
             <el-form-item label="超滤量(L):">
493
               <el-input v-model="form.ultrafiltration_volume"></el-input>
495
               <el-input v-model="form.ultrafiltration_volume"></el-input>
494
             </el-form-item>
496
             </el-form-item>

+ 2 - 2
src/xt_pages/dialysis/details/dialysisMonitoring.vue Ver arquivo

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 == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21)" 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 && template_id != 21"  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 || template_id == 21 || template_id == 22)" 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 && template_id != 21 && template_id != 22"  width="76px"> 超滤量(L) </th>
19
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
19
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
20
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
20
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
21
           <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20) " width="92px" > 置换率(ml/min) </th>
21
           <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20) " width="92px" > 置换率(ml/min) </th>

+ 45 - 2
src/xt_pages/dialysis/dialysisPrintOrder.vue Ver arquivo

263
           >打印</el-button
263
           >打印</el-button
264
         >
264
         >
265
       </template>
265
       </template>
266
+      <template v-if="org_template_info.template_id == 22">
267
+        <div>
268
+          <el-button
269
+            :loading="loading"
270
+            size="small"
271
+            icon="el-icon-printer"
272
+            @click="printThisPage"
273
+            type="primary"
274
+            >打印全部</el-button
275
+          >
276
+          <el-button
277
+            :loading="loading"
278
+            size="small"
279
+            icon="el-icon-printer"
280
+            @click="printThisOnePage"
281
+            type="primary"
282
+            >打印纪录单</el-button
283
+          >
284
+          <el-button
285
+            :loading="loading"
286
+            size="small"
287
+            icon="el-icon-printer"
288
+            @click="printThisTwoPage"
289
+            type="primary"
290
+            >打印医嘱单</el-button
291
+          >
292
+        </div>
293
+      </template>
266
     </div>
294
     </div>
267
     <div class="app-container" style="min-height:0;">
295
     <div class="app-container" style="min-height:0;">
268
       <!--<div class="order-print-btn"-->
296
       <!--<div class="order-print-btn"-->
451
             v-bind:childResponse="childResponse"
479
             v-bind:childResponse="childResponse"
452
             v-if="org_template_info.template_id == 21"
480
             v-if="org_template_info.template_id == 21"
453
           ></DialysisPrintOrderTwentyOne>
481
           ></DialysisPrintOrderTwentyOne>
482
+          <DialysisPrintOrderTwentyTwo
483
+            v-bind:childResponse="childResponse"
484
+            v-if="org_template_info.template_id == 22"
485
+          ></DialysisPrintOrderTwentyTwo>
454
         </div>
486
         </div>
455
       </el-container>
487
       </el-container>
456
     </div>
488
     </div>
491
 import DialysisPrintOrderNineteen from "./template/DialysisPrintOrderNineteen";
523
 import DialysisPrintOrderNineteen from "./template/DialysisPrintOrderNineteen";
492
 import DialysisPrintOrderTwenty from "./template/DialysisPrintOrderTwenty";
524
 import DialysisPrintOrderTwenty from "./template/DialysisPrintOrderTwenty";
493
 import DialysisPrintOrderTwentyOne from "./template/DialysisPrintOrderTwentyOne";
525
 import DialysisPrintOrderTwentyOne from "./template/DialysisPrintOrderTwentyOne";
526
+import DialysisPrintOrderTwentyTwo from "./template/DialysisPrintOrderTwentyTwo";
494
 
527
 
495
 export default {
528
 export default {
496
   name: "dialysisPrintOrder",
529
   name: "dialysisPrintOrder",
497
   components: {
530
   components: {
531
+    DialysisPrintOrderTwentyTwo,
498
     DialysisPrintOrderTwentyOne,
532
     DialysisPrintOrderTwentyOne,
499
     DialysisPrintOrderTwenty,
533
     DialysisPrintOrderTwenty,
500
     DialysisPrintOrderNineteen,
534
     DialysisPrintOrderNineteen,
829
           style: style,
863
           style: style,
830
           scanStyles: false
864
           scanStyles: false
831
         });
865
         });
866
+      } else if (this.org_template_info.template_id == 22) {
867
+        printJS({
868
+          printable: "dialysis-print-box-1",
869
+          type: "html",
870
+          style: style2,
871
+          scanStyles: false
872
+        });
832
       } 
873
       } 
833
     },
874
     },
834
     printThisOnePage() {
875
     printThisOnePage() {
850
       } else if (
891
       } else if (
851
         this.org_template_info.template_id == 2 ||
892
         this.org_template_info.template_id == 2 ||
852
         this.org_template_info.template_id == 0 ||
893
         this.org_template_info.template_id == 0 ||
853
-        this.org_template_info.template_id == 5 
894
+        this.org_template_info.template_id == 5 ||
895
+        this.org_template_info.template_id == 22 
854
       ) {
896
       ) {
855
         printJS({
897
         printJS({
856
           printable: "dialysis-print-box-1-1",
898
           printable: "dialysis-print-box-1-1",
886
       } else if (
928
       } else if (
887
         this.org_template_info.template_id == 2 ||
929
         this.org_template_info.template_id == 2 ||
888
         this.org_template_info.template_id == 0 ||
930
         this.org_template_info.template_id == 0 ||
889
-        this.org_template_info.template_id == 5
931
+        this.org_template_info.template_id == 5 ||
932
+        this.org_template_info.template_id == 22 
890
       ) {
933
       ) {
891
         printJS({
934
         printJS({
892
           printable: "dialysis-print-box-1-2",
935
           printable: "dialysis-print-box-1-2",

Diferenças do arquivo suprimidas por serem muito extensas
+ 2170 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyTwo.vue