|
@@ -358,7 +358,7 @@ import html2canvas from "html2canvas"
|
358
|
358
|
this.weight_value = this.weight_gain[i].value
|
359
|
359
|
}
|
360
|
360
|
}
|
361
|
|
- this.Getdialyzerdetail(this.weight_value)
|
|
361
|
+ this.Getdialyzerdetail(this.weight_value,2)
|
362
|
362
|
})
|
363
|
363
|
}
|
364
|
364
|
|
|
@@ -402,7 +402,7 @@ import html2canvas from "html2canvas"
|
402
|
402
|
// 详情查询
|
403
|
403
|
deil_click(){
|
404
|
404
|
this.currentPage = 1
|
405
|
|
- this.Getdialyzerdetail(this.weight_value)
|
|
405
|
+ this.Getdialyzerdetail(this.weight_value,2)
|
406
|
406
|
},
|
407
|
407
|
// 下载
|
408
|
408
|
Download_click(){
|
|
@@ -496,7 +496,7 @@ import html2canvas from "html2canvas"
|
496
|
496
|
console.log('eve',eve);
|
497
|
497
|
},
|
498
|
498
|
// 详情数据源
|
499
|
|
- Getdialyzerdetail(add){
|
|
499
|
+ Getdialyzerdetail(add,type){
|
500
|
500
|
const params ={
|
501
|
501
|
start_time:this.start_date,
|
502
|
502
|
end_time:this.end_date,
|
|
@@ -506,6 +506,7 @@ import html2canvas from "html2canvas"
|
506
|
506
|
keyword:this.Patient_name,
|
507
|
507
|
page:this.currentPage,
|
508
|
508
|
limit:this.limit,
|
|
509
|
+ item_type:type,
|
509
|
510
|
}
|
510
|
511
|
Getweightdetail(params).then(response =>{
|
511
|
512
|
if(response.data.state == 1){
|
|
@@ -523,7 +524,7 @@ import html2canvas from "html2canvas"
|
523
|
524
|
dry_weight:item.dry_weight,
|
524
|
525
|
last_weight_after:item.last_weight_after,
|
525
|
526
|
weight_before:item.weight_before,
|
526
|
|
- weight_add:item.weight_add,
|
|
527
|
+ weight_add:((item.weight_before - item.dry_weight) / item.dry_weight).toFixed(3) ,
|
527
|
528
|
weight_after:item.weight_after
|
528
|
529
|
}
|
529
|
530
|
table.push(obj)
|
|
@@ -637,11 +638,11 @@ import html2canvas from "html2canvas"
|
637
|
638
|
},
|
638
|
639
|
handleCurrentChange(val){
|
639
|
640
|
this.currentPage = val
|
640
|
|
- this.Getdialyzerdetail(this.weight_value)
|
|
641
|
+ this.Getdialyzerdetail(this.weight_value,2)
|
641
|
642
|
},
|
642
|
643
|
handleSizeChange(val){
|
643
|
644
|
this.limit = val
|
644
|
|
- this.Getdialyzerdetail(this.weight_value)
|
|
645
|
+ this.Getdialyzerdetail(this.weight_value,2)
|
645
|
646
|
},
|
646
|
647
|
// 性别
|
647
|
648
|
getgender(ids){
|