Procházet zdrojové kódy

11月12 透析处方

yq1 před 2 dny
rodič
revize
512c143b8d

+ 43 - 43
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Zobrazit soubor

@@ -3,57 +3,55 @@
3 3
         <el-dialog
4 4
                 title="透析处方"
5 5
                 :visible.sync="isVisibility"
6
-                width="72%"
6
+                width="80%"
7 7
                 :modal = 'false'
8 8
                 :modal-append-to-body="false"
9 9
                 :close-on-click-modal="false"
10 10
                 class="newDialog"
11 11
         >
12 12
             <el-button style="position: absolute;left: 12%;top: 2%" @click="handlePatientInfo(patient.id)">{{ patient.name }}</el-button>
13
+            <div style="position: absolute;left: 20%;top: 3%;width: 80%;">
14
+              <span  v-if="this.$store.getters.xt_user.template_info.org_id!=0&&this.$store.getters.xt_user.template_info.org_id!=10702">
15
+                透前称重:{{predialysis&&predialysis.weight_before?predialysis.weight_before:"" }} kg
16
+              </span>&nbsp;&nbsp;
17
+
18
+              <span style="" v-if="this.$store.getters.xt_user.template_info.org_id ==0||this.$store.getters.xt_user.template_info.org_id==10702">
19
+                透前体重:{{predialysis&&(predialysis.weight_before-predialysis.additional_weight).toFixed(2)?(predialysis.weight_before-predialysis.additional_weight).toFixed(2):"" }} kg
20
+              </span>&nbsp;&nbsp;
21
+              <!-- style="position: absolute;left: 20%;top: 3%"  position: absolute;left:38%;top: 3%-->
22
+              <span style="">
23
+                干体重:{{predialysis&&predialysis.dry_weight?predialysis.dry_weight:""}}kg
24
+              </span>&nbsp;&nbsp;
25
+              <span style="">
26
+                上次透后体重:
27
+                <span v-if="this.$store.getters.xt_user.template_info.org_id!=0 && this.$store.getters.xt_user.template_info.org_id!=10702">{{last_record&&last_record.weight_after?last_record.weight_after:""}}kg</span>
28
+                <span v-if="this.$store.getters.xt_user.template_info.org_id==0 || this.$store.getters.xt_user.template_info.org_id==10702">{{last_record&&(last_record.weight_after-last_record.additional_weight).toFixed(2)?(last_record.weight_after-last_record.additional_weight).toFixed(2):""}}kg</span>
29
+              </span>&nbsp;&nbsp;
30
+            </div>
31
+            <div style="position: absolute;left: 20%;top: 10%;width: 80%;">
32
+              <span style="display: inline-block;" v-if="this.$store.getters.xt_user.template_info.org_id==0||this.$store.getters.xt_user.template_info.org_id==10702 || this.$store.getters.xt_user.template_info.org_id ==10721">
33
+                衣物重:{{predialysis&&predialysis.additional_weight?predialysis.additional_weight:"" }} kg
34
+              </span>&nbsp;&nbsp;
35
+              <div v-if="org_id == 0 ||org_id ==10702 || org_id ==10598 || org_id ==10721" style="display: inline-block;">
36
+                体重增长:
37
+                <span v-if="predialysis!=null && last_record!=null">
38
+                  {{predialysis&&last_record&&((predialysis.weight_before - predialysis.additional_weight)-(last_record.weight_after-last_record.additional_weight)).toFixed(2)?((predialysis.weight_before - predialysis.additional_weight)-(last_record.weight_after-last_record.additional_weight)).toFixed(2):"" }} kg
39
+                </span>&nbsp;&nbsp;
40
+                <span style="">
41
+                  4小时超滤量上限(5%):
42
+                  <span v-if="predialysis!=null && ((predialysis.dry_weight)*0.05) >0 "></span> {{(predialysis.dry_weight*0.05).toFixed(2)}}
43
+                  kg
44
+                </span>&nbsp;&nbsp;
45
+              </div>
46
+              <span style="display: inline-block;" v-if="this.$store.getters.xt_user.template_info.org_id!=10702">
47
+                透前血压:  {{predialysis&&predialysis.systolic_blood_pressure?predialysis.systolic_blood_pressure:""  }} / {{ predialysis&&predialysis.diastolic_blood_pressure?predialysis.diastolic_blood_pressure:"" }} mmHg
48
+              </span>
49
+            </div>
13 50
 
14
-            <span style="position: absolute;left: 20%;top: 3%" v-if="this.$store.getters.xt_user.template_info.org_id!=0&&this.$store.getters.xt_user.template_info.org_id!=10702">
15
-              透前称重:{{predialysis&&predialysis.weight_before?predialysis.weight_before:"" }} kg
16
-            </span>
17
-
18
-            <span style="position: absolute;left: 20%;top: 3%" v-if="this.$store.getters.xt_user.template_info.org_id ==0||this.$store.getters.xt_user.template_info.org_id==10702">
19
-              透前体重:{{predialysis&&(predialysis.weight_before-predialysis.additional_weight).toFixed(2)?(predialysis.weight_before-predialysis.additional_weight).toFixed(2):"" }} kg
20
-            </span>
21
-
22
-
23
-
24
-            <span style="position: absolute;left: 30%;top: 3%">
25
-              干体重:{{predialysis&&predialysis.dry_weight?predialysis.dry_weight:""}}kg
26
-            </span>
51
+            
27 52
             <!-- <span style="position: absolute;left: 48%;top: 3%"  :modal = 'false'>
28 53
               衣物重:{{predialysis&&predialysis.additional_weight?predialysis.additional_weight:""}}kg
29 54
             </span> -->
30
-            <span style="position: absolute;left:38%;top: 3%">
31
-              上次透后体重:
32
-               <span v-if="this.$store.getters.xt_user.template_info.org_id!=0 && this.$store.getters.xt_user.template_info.org_id!=10702">{{last_record&&last_record.weight_after?last_record.weight_after:""}}kg</span>
33
-               <span v-if="this.$store.getters.xt_user.template_info.org_id==0 || this.$store.getters.xt_user.template_info.org_id==10702">{{last_record&&(last_record.weight_after-last_record.additional_weight).toFixed(2)?(last_record.weight_after-last_record.additional_weight).toFixed(2):""}}kg</span>
34
-            </span>
35
-
36
-            <span style="position: absolute;left: 70%;top: 3%" v-if="this.$store.getters.xt_user.template_info.org_id==0||this.$store.getters.xt_user.template_info.org_id==10702 || this.$store.getters.xt_user.template_info.org_id ==10721">
37
-             衣物重:{{predialysis&&predialysis.additional_weight?predialysis.additional_weight:"" }} kg
38
-            </span>
39
-
40
-            <span style="position: absolute;left: 80%;top: 3%" v-if="this.$store.getters.xt_user.template_info.org_id == 0 || this.$store.getters.xt_user.template_info.org_id ==10702 || this.$store.getters.xt_user.template_info.org_id ==10598 || this.$store.getters.xt_user.template_info.org_id ==10721">
41
-              体重增长:
42
-              <span v-if="predialysis!=null && last_record!=null">
43
-                {{predialysis&&last_record&&((predialysis.weight_before - predialysis.additional_weight)-(last_record.weight_after-last_record.additional_weight)).toFixed(2)?((predialysis.weight_before - predialysis.additional_weight)-(last_record.weight_after-last_record.additional_weight)).toFixed(2):"" }} kg
44
-              </span>
45
-
46
-              <span style="position: absolute;left:51%;top: 3%">
47
-              4小时超滤量上限(5%):
48
-              <span v-if="predialysis!=null && ((predialysis.dry_weight)*0.05) >0 "></span> {{(predialysis.dry_weight*0.05).toFixed(2)}}
49
-              kg
50
-            </span>
51
-            <span style="position: absolute;left: 70%;top: 3%" v-if="this.$store.getters.xt_user.template_info.org_id!=10702">
52
-              透前血压:  {{predialysis&&predialysis.systolic_blood_pressure?predialysis.systolic_blood_pressure:""  }} / {{ predialysis&&predialysis.diastolic_blood_pressure?predialysis.diastolic_blood_pressure:"" }} mmHg
53
-            </span>
54
-
55
-
56
-            </span>
57 55
             <div class="warnTxt" v-if="showTxt != ''">{{ showTxt }}</div>
58 56
             <el-form
59 57
                     ref="dialysisPrescription"
@@ -1932,6 +1930,7 @@
1932 1930
         tableData:[],
1933 1931
         afterList:[],
1934 1932
         monitorList:[],
1933
+        org_id:'',
1935 1934
       }
1936 1935
 
1937 1936
     },
@@ -5630,8 +5629,9 @@ mu
5630 5629
 
5631 5630
       this.educationList = getDataConfig('dialysis_remark', 'dialysis_remark')
5632 5631
 
5633
-
5634
-
5632
+      this.org_id = this.$store.getters.xt_user.org.id
5633
+      console.log('this.org_id',this.org_id);
5634
+      
5635 5635
     }
5636 5636
   }
5637 5637
 </script>