|
@@ -10,7 +10,7 @@
|
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
|
|
-
|
|
13
|
+
|
14
|
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
|
15
|
透前称重:{{predialysis&&predialysis.weight_before?predialysis.weight_before:"" }} kg
|
16
|
16
|
</span>
|
|
@@ -19,8 +19,8 @@
|
19
|
19
|
透前体重:{{predialysis&&(predialysis.weight_before-predialysis.additional_weight).toFixed(2)?(predialysis.weight_before-predialysis.additional_weight).toFixed(2):"" }} kg
|
20
|
20
|
</span>
|
21
|
21
|
|
22
|
|
-
|
23
|
|
-
|
|
22
|
+
|
|
23
|
+
|
24
|
24
|
<span style="position: absolute;left: 30%;top: 3%">
|
25
|
25
|
干体重:{{predialysis&&predialysis.dry_weight?predialysis.dry_weight:""}}kg
|
26
|
26
|
</span>
|
|
@@ -29,8 +29,8 @@
|
29
|
29
|
</span> -->
|
30
|
30
|
<span style="position: absolute;left:38%;top: 3%">
|
31
|
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>
|
|
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
|
34
|
</span>
|
35
|
35
|
|
36
|
36
|
<span style="position: absolute;left:51%;top: 3%">
|
|
@@ -51,8 +51,8 @@
|
51
|
51
|
<span v-if="predialysis!=null && last_record!=null">
|
52
|
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
|
53
|
</span>
|
54
|
|
-
|
55
|
|
-
|
|
54
|
+
|
|
55
|
+
|
56
|
56
|
</span>
|
57
|
57
|
<div class="warnTxt" v-if="showTxt != ''">{{ showTxt }}</div>
|
58
|
58
|
<el-form
|
|
@@ -560,7 +560,7 @@
|
560
|
560
|
<el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
|
561
|
561
|
v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
|
562
|
562
|
</el-form-item>
|
563
|
|
- <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '"
|
|
563
|
+ <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '"
|
564
|
564
|
v-if="dialysisPrescription.anticoagulant != 2 && dialysisPrescription.anticoagulant != 11 && dialysisPrescription.anticoagulant != 13"
|
565
|
565
|
prop="anticoagulant_weichi" :rules="isCheckmust('维持')">
|
566
|
566
|
<el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
|
|
@@ -966,10 +966,10 @@
|
966
|
966
|
<el-col :span="8"
|
967
|
967
|
v-if="isShows('置换液总量') && (this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id !=24 && this.$store.getters.xt_user.template_info.template_id !=53) || this.$store.getters.xt_user.template_info.org_id == 10249 || this.$store.getters.xt_user.template_info.org_id == 10441 "
|
968
|
968
|
v-show="totalShow">
|
969
|
|
- <el-form-item label="置换液总量(L)" prop="displace_liqui_value" :rules="isCheckmust('置换液总量')" v-if="dialysisPrescription.mode_id!=26">
|
|
969
|
+ <el-form-item label="置换液总量(L)" prop="displace_liqui_value" :rules="isCheckmust('置换液总量')" v-if="dialysisPrescription.mode_id!=26 && this.$store.getters.xt_user.template_info.org_id !=10206">
|
970
|
970
|
<el-input v-model="dialysisPrescription.displace_liqui_value"></el-input>
|
971
|
971
|
</el-form-item>
|
972
|
|
- <el-form-item label="置换液总量(L/h)" prop="displace_liqui_value" :rules="isCheckmust('置换液总量')" v-if="dialysisPrescription.mode_id ==26">
|
|
972
|
+ <el-form-item label="置换液总量(L/h)" prop="displace_liqui_value" :rules="isCheckmust('置换液总量')" v-if="dialysisPrescription.mode_id ==26 || this.$store.getters.xt_user.template_info.org_id == 10206">
|
973
|
973
|
<el-input v-model="dialysisPrescription.displace_liqui_value"></el-input>
|
974
|
974
|
</el-form-item>
|
975
|
975
|
</el-col>
|
|
@@ -1389,7 +1389,7 @@
|
1389
|
1389
|
<span>上次透后称重(kg)</span>
|
1390
|
1390
|
<span>{{ getLastAfterWeight(last_record) }}</span>
|
1391
|
1391
|
</div>
|
1392
|
|
-
|
|
1392
|
+
|
1393
|
1393
|
<div class="newLine"><span>近五次数据展示:</span></div>
|
1394
|
1394
|
<div>
|
1395
|
1395
|
<el-table
|
|
@@ -2282,7 +2282,7 @@ mu
|
2282
|
2282
|
}else{
|
2283
|
2283
|
this.dialysisPrescription.dialysis_remark=""
|
2284
|
2284
|
}
|
2285
|
|
-
|
|
2285
|
+
|
2286
|
2286
|
} else {
|
2287
|
2287
|
this.zhiShow = false
|
2288
|
2288
|
this.huShow = false
|
|
@@ -2634,18 +2634,18 @@ mu
|
2634
|
2634
|
}
|
2635
|
2635
|
},
|
2636
|
2636
|
show(pre, schedual, last, his_is_open,is_advice_open,admins) {
|
2637
|
|
-
|
|
2637
|
+
|
2638
|
2638
|
if(this.$store.getters.xt_user.template_info.org_id==10702 || this.$store.getters.xt_user.template_info.org_id==10635){
|
2639
|
2639
|
if(this.predialysis!=undefined){
|
2640
|
2640
|
if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
|
2641
|
2641
|
this.dialysisPrescription.target_ultrafiltration = (this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight).toFixed(2)
|
2642
|
2642
|
}
|
2643
|
|
-
|
|
2643
|
+
|
2644
|
2644
|
if(this.dialysisPrescription.prescription_water==0 || this.dialysisPrescription.prescription_water==""){
|
2645
|
2645
|
if((this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight).toFixed(2)>0){
|
2646
|
2646
|
this.dialysisPrescription.prescription_water = (this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight).toFixed(2)
|
2647
|
2647
|
}
|
2648
|
|
-
|
|
2648
|
+
|
2649
|
2649
|
}
|
2650
|
2650
|
}
|
2651
|
2651
|
}
|
|
@@ -3200,13 +3200,10 @@ mu
|
3200
|
3200
|
if(moment().weekday() == 0){
|
3201
|
3201
|
total_day ="周日"
|
3202
|
3202
|
}
|
3203
|
|
-
|
3204
|
|
- console.log("hhhhhhhhhhhhhhhhhhhhhhhhhhh",this.targetAdvices)
|
|
3203
|
+
|
3205
|
3204
|
if(this.targetAdvices!=null && this.targetAdvices.length >0){
|
3206
|
3205
|
for (let i = 0; i < this.targetAdvices.length; i++) {
|
3207
|
|
- console.log("WOOWOWOWOWOWOW",this.targetAdvices[i].week_day.indexOf(total_day))
|
3208
|
3206
|
if(this.targetAdvices[i].week_day.indexOf(total_day)!=-1){
|
3209
|
|
- console.log("尽力啊=--------------------")
|
3210
|
3207
|
this.targetAdvices[i].isCheck = 1
|
3211
|
3208
|
}
|
3212
|
3209
|
if(this.targetAdvices[i].frequency_type == 1){
|
|
@@ -3284,7 +3281,7 @@ mu
|
3284
|
3281
|
return false
|
3285
|
3282
|
}
|
3286
|
3283
|
}
|
3287
|
|
-
|
|
3284
|
+
|
3288
|
3285
|
this.$refs[formName].validate((valid)=>{
|
3289
|
3286
|
if(valid){
|
3290
|
3287
|
if(!this.isLoading){
|
|
@@ -4601,8 +4598,8 @@ mu
|
4601
|
4598
|
}else{
|
4602
|
4599
|
this.dialysisPrescription.dialysis_remark = ""
|
4603
|
4600
|
}
|
4604
|
|
-
|
4605
|
|
-
|
|
4601
|
+
|
|
4602
|
+
|
4606
|
4603
|
|
4607
|
4604
|
const ParamsQuery = {}
|
4608
|
4605
|
ParamsQuery['patient_id'] = this.$route.query.patient_id
|
|
@@ -4759,25 +4756,25 @@ mu
|
4759
|
4756
|
|
4760
|
4757
|
},
|
4761
|
4758
|
handlePatientInfo(id) {
|
4762
|
|
-
|
|
4759
|
+
|
4763
|
4760
|
getPatientRecordList(id).then(response=>{
|
4764
|
4761
|
if(response.data.state ==1){
|
4765
|
4762
|
this.isVisibility = false
|
4766
|
4763
|
this.msgtip_visibility = true
|
4767
|
4764
|
|
4768
|
|
-
|
|
4765
|
+
|
4769
|
4766
|
var beforList = response.data.data.beforList
|
4770
|
|
-
|
|
4767
|
+
|
4771
|
4768
|
this.tableData = beforList
|
4772
|
4769
|
|
4773
|
4770
|
var afterList = response.data.data.afterList
|
4774
|
|
-
|
|
4771
|
+
|
4775
|
4772
|
this.afterList = afterList
|
4776
|
4773
|
|
4777
|
4774
|
this.monitorList = response.data.data.monitorList
|
4778
|
4775
|
}
|
4779
|
4776
|
})
|
4780
|
|
-
|
|
4777
|
+
|
4781
|
4778
|
},
|
4782
|
4779
|
GetLast(date){
|
4783
|
4780
|
var weight_after = ""
|
|
@@ -4798,23 +4795,23 @@ mu
|
4798
|
4795
|
return cruor
|
4799
|
4796
|
},
|
4800
|
4797
|
GetMonitorList(monitor_date){
|
4801
|
|
-
|
|
4798
|
+
|
4802
|
4799
|
var str = ""
|
4803
|
4800
|
var newArr = []
|
4804
|
4801
|
for(let i=0;i<this.monitorList.length;i++){
|
4805
|
4802
|
for(let j=0;j<this.monitorList[i].child.length;j++){
|
4806
|
4803
|
if(monitor_date == this.monitorList[i].monitoring_date){
|
4807
|
|
- newArr.push(this.monitorList[i].child[j])
|
|
4804
|
+ newArr.push(this.monitorList[i].child[j])
|
4808
|
4805
|
}
|
4809
|
4806
|
}
|
4810
|
4807
|
}
|
4811
|
|
-
|
|
4808
|
+
|
4812
|
4809
|
if(newArr!=null && newArr.length>0){
|
4813
|
4810
|
for(let i=0;i<newArr.length;i++){
|
4814
|
4811
|
str += newArr[i].systolic_blood_pressure +"/"+newArr[i].diastolic_blood_pressure+","
|
4815
|
4812
|
}
|
4816
|
4813
|
}
|
4817
|
|
-
|
|
4814
|
+
|
4818
|
4815
|
return str
|
4819
|
4816
|
},
|
4820
|
4817
|
handlePatientInfoOne(){
|
|
@@ -5480,18 +5477,18 @@ mu
|
5480
|
5477
|
},
|
5481
|
5478
|
'dialysisPrescription.prescription_water':function(){
|
5482
|
5479
|
if(this.$store.getters.xt_user.template_info.org_id==10598){
|
5483
|
|
-
|
|
5480
|
+
|
5484
|
5481
|
if(this.dialysisPrescription.mode_id == 2 || this.dialysisPrescription.mode_id == 3){
|
5485
|
5482
|
this.dialysisPrescription.target_ultrafiltration = parseFloat(this.dialysisPrescription.prescription_water) + 0.3
|
5486
|
5483
|
}else{
|
5487
|
5484
|
if(this.dialysisPrescription.prescription_water > this.dialysisPrescription.target_ultrafiltration){
|
5488
|
|
- this.dialysisPrescription.target_ultrafiltration = this.dialysisPrescription.prescription_water
|
|
5485
|
+ this.dialysisPrescription.target_ultrafiltration = this.dialysisPrescription.prescription_water
|
5489
|
5486
|
}
|
5490
|
5487
|
}
|
5491
|
|
-
|
5492
|
|
-
|
|
5488
|
+
|
|
5489
|
+
|
5493
|
5490
|
}
|
5494
|
|
-
|
|
5491
|
+
|
5495
|
5492
|
},
|
5496
|
5493
|
stockType: function() {
|
5497
|
5494
|
console.log('stockType', this.stockType)
|
|
@@ -5544,7 +5541,7 @@ mu
|
5544
|
5541
|
}
|
5545
|
5542
|
console.log(" 人员",this.adminRoles)
|
5546
|
5543
|
},
|
5547
|
|
-
|
|
5544
|
+
|
5548
|
5545
|
},
|
5549
|
5546
|
created() {
|
5550
|
5547
|
|