|
@@ -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
|
|
-
|
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
|
|
-
|
|
13
|
+ <div style="position: absolute;left: 20%;top: 3%;width: 70%;">
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
30
|
+ </div>
|
|
31
|
+ <div style="position: absolute;left: 20%;top: 10%;width: 70%;">
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
22
|
50
|
|
23
|
51
|
|
24
|
|
- <span style="position: absolute;left: 30%;top: 3%">
|
25
|
|
- 干体重:{{predialysis&&predialysis.dry_weight?predialysis.dry_weight:""}}kg
|
26
|
|
- </span>
|
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: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>
|
57
|
55
|
<div class="warnTxt" v-if="showTxt != ''">{{ showTxt }}</div>
|
58
|
56
|
<el-form
|
59
|
57
|
ref="dialysisPrescription"
|
|
@@ -953,7 +951,7 @@
|
953
|
951
|
</el-col>
|
954
|
952
|
|
955
|
953
|
<el-col :span="8">
|
956
|
|
-
|
|
954
|
+
|
957
|
955
|
</el-col>
|
958
|
956
|
|
959
|
957
|
<el-col :span="8" v-if="isShows('置换液总量')" v-show="totalShow">
|
|
@@ -1932,6 +1930,7 @@
|
1932
|
1930
|
tableData:[],
|
1933
|
1931
|
afterList:[],
|
1934
|
1932
|
monitorList:[],
|
|
1933
|
+ org_id:'',
|
1935
|
1934
|
}
|
1936
|
1935
|
|
1937
|
1936
|
},
|
|
@@ -2637,7 +2636,7 @@ mu
|
2637
|
2636
|
},
|
2638
|
2637
|
show(pre, schedual, last, his_is_open,is_advice_open,admins) {
|
2639
|
2638
|
console.log("除非=======================")
|
2640
|
|
-
|
|
2639
|
+
|
2641
|
2640
|
if(this.$store.getters.xt_user.template_info.org_id==10702 || this.$store.getters.xt_user.template_info.org_id==10635 || this.$store.getters.xt_user.template_info.org_id==0 || this.$store.getters.xt_user.template_info.org_id==10721 || this.$store.getters.xt_user.template_info.org_id==10726){
|
2642
|
2641
|
if(this.predialysis!=undefined){
|
2643
|
2642
|
if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
|
|
@@ -3106,7 +3105,7 @@ mu
|
3106
|
3105
|
if(this.$store.getters.xt_user.template_info.org_id==10164 || this.$store.getters.xt_user.template_info.org_id==10721 || this.$store.getters.xt_user.template_info.org_id==10635 || this.$store.getters.xt_user.template_info.org_id==0 || this.$store.getters.xt_user.template_info.org_id == 10726){
|
3107
|
3106
|
this.getPatientBefor()
|
3108
|
3107
|
}
|
3109
|
|
-
|
|
3108
|
+
|
3110
|
3109
|
|
3111
|
3110
|
let last_weight_after = 0
|
3112
|
3111
|
let weight_before = 0
|
|
@@ -3242,14 +3241,14 @@ mu
|
3242
|
3241
|
}
|
3243
|
3242
|
|
3244
|
3243
|
if(this.$store.getters.xt_user.template_info.org_id ==10635 || 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 == 10727 || this.$store.getters.xt_user.template_info.org_id == 10721){
|
3245
|
|
-
|
|
3244
|
+
|
3246
|
3245
|
if(this.dialysisPrescription.target_ultrafiltration == 0 || this.dialysisPrescription.target_ultrafiltration=="" || this.dialysisPrescription.target_ultrafiltration == "undefined" || this.dialysisPrescription.target_ultrafiltration == undefined){
|
3247
|
|
-
|
|
3246
|
+
|
3248
|
3247
|
this.dialysisPrescription.target_ultrafiltration = (this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight).toFixed(2)
|
3249
|
|
-
|
|
3248
|
+
|
3250
|
3249
|
}
|
3251
|
3250
|
}
|
3252
|
|
-
|
|
3251
|
+
|
3253
|
3252
|
},
|
3254
|
3253
|
hide() {
|
3255
|
3254
|
this.isVisibility = false
|
|
@@ -3365,7 +3364,7 @@ mu
|
3365
|
3364
|
ParamsQuery['mode'] = '1'
|
3366
|
3365
|
ParamsQuery['patient_id'] = this.patient.id
|
3367
|
3366
|
console.log('第一', ParamsQuery)
|
3368
|
|
-
|
|
3367
|
+
|
3369
|
3368
|
|
3370
|
3369
|
postPrescription(ParamsQuery).then(response => {
|
3371
|
3370
|
if (response.data.state == 0) {
|
|
@@ -4894,7 +4893,7 @@ mu
|
4894
|
4893
|
})
|
4895
|
4894
|
},
|
4896
|
4895
|
getPatientBefor(){
|
4897
|
|
-
|
|
4896
|
+
|
4898
|
4897
|
var patient_id = 0
|
4899
|
4898
|
var record_date =""
|
4900
|
4899
|
if(this.$route.query.patient_id!=undefined){
|
|
@@ -4932,13 +4931,13 @@ mu
|
4932
|
4931
|
// }
|
4933
|
4932
|
}
|
4934
|
4933
|
if(prescription!=undefined){
|
4935
|
|
-
|
|
4934
|
+
|
4936
|
4935
|
this.dialysisPrescription.target_ultrafiltration = prescription.target_ultrafiltration
|
4937
|
4936
|
this.dialysisPrescription.prescription_water = prescription.prescription_water
|
4938
|
4937
|
}
|
4939
|
4938
|
|
4940
|
4939
|
}
|
4941
|
|
- })
|
|
4940
|
+ })
|
4942
|
4941
|
},
|
4943
|
4942
|
unique(arr) {
|
4944
|
4943
|
const res = new Map()
|
|
@@ -5562,7 +5561,7 @@ mu
|
5562
|
5561
|
|
5563
|
5562
|
}
|
5564
|
5563
|
|
5565
|
|
-
|
|
5564
|
+
|
5566
|
5565
|
|
5567
|
5566
|
},
|
5568
|
5567
|
stockType: function() {
|
|
@@ -5630,7 +5629,8 @@ mu
|
5630
|
5629
|
|
5631
|
5630
|
this.educationList = getDataConfig('dialysis_remark', 'dialysis_remark')
|
5632
|
5631
|
|
5633
|
|
-
|
|
5632
|
+ this.org_id = this.$store.getters.xt_user.org.id
|
|
5633
|
+ console.log('this.org_id',this.org_id);
|
5634
|
5634
|
|
5635
|
5635
|
}
|
5636
|
5636
|
}
|