28169 1 week ago
parent
commit
8fba582022
1 changed files with 43 additions and 43 deletions
  1. 43 43
      src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue

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

@@ -3,55 +3,57 @@
3 3
         <el-dialog
4 4
                 title="透析处方"
5 5
                 :visible.sync="isVisibility"
6
-                width="80%"
6
+                width="72%"
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>
50 13
 
51
-            
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>
52 27
             <!-- <span style="position: absolute;left: 48%;top: 3%"  :modal = 'false'>
53 28
               衣物重:{{predialysis&&predialysis.additional_weight?predialysis.additional_weight:""}}kg
54 29
             </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:51%;top: 3%">
37
+              4小时超滤量上限(5%):
38
+              <span v-if="predialysis!=null && ((predialysis.dry_weight)*0.05) >0 "></span> {{(predialysis.dry_weight*0.05).toFixed(2)}}
39
+              kg
40
+            </span>
41
+            <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">
42
+              透前血压:  {{predialysis&&predialysis.systolic_blood_pressure?predialysis.systolic_blood_pressure:""  }} / {{ predialysis&&predialysis.diastolic_blood_pressure?predialysis.diastolic_blood_pressure:"" }} mmHg
43
+            </span>
44
+
45
+            <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">
46
+             衣物重:{{predialysis&&predialysis.additional_weight?predialysis.additional_weight:"" }} kg
47
+            </span>
48
+
49
+            <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">
50
+              体重增长:
51
+              <span v-if="predialysis!=null && last_record!=null">
52
+                {{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
53
+              </span>
54
+
55
+
56
+            </span>
55 57
             <div class="warnTxt" v-if="showTxt != ''">{{ showTxt }}</div>
56 58
             <el-form
57 59
                     ref="dialysisPrescription"
@@ -1930,7 +1932,6 @@
1930 1932
         tableData:[],
1931 1933
         afterList:[],
1932 1934
         monitorList:[],
1933
-        org_id:'',
1934 1935
       }
1935 1936
 
1936 1937
     },
@@ -5629,9 +5630,8 @@ mu
5629 5630
 
5630 5631
       this.educationList = getDataConfig('dialysis_remark', 'dialysis_remark')
5631 5632
 
5632
-      this.org_id = this.$store.getters.xt_user.org.id
5633
-      console.log('this.org_id',this.org_id);
5634
-      
5633
+
5634
+
5635 5635
     }
5636 5636
   }
5637 5637
 </script>