|
@@ -360,7 +360,7 @@ import html2canvas from "html2canvas"
|
360
|
360
|
this.weight_value = this.weight_gain[i].value
|
361
|
361
|
}
|
362
|
362
|
}
|
363
|
|
- this.Getdialyzerdetail(this.weight_value)
|
|
363
|
+ this.Getdialyzerdetail(this.weight_value,2)
|
364
|
364
|
})
|
365
|
365
|
}
|
366
|
366
|
|
|
@@ -404,7 +404,7 @@ import html2canvas from "html2canvas"
|
404
|
404
|
// 详情查询
|
405
|
405
|
deil_click(){
|
406
|
406
|
this.currentPage = 1
|
407
|
|
- this.Getdialyzerdetail(this.weight_value)
|
|
407
|
+ this.Getdialyzerdetail(this.weight_value,2)
|
408
|
408
|
},
|
409
|
409
|
// 下载
|
410
|
410
|
Download_click(){
|
|
@@ -498,7 +498,7 @@ import html2canvas from "html2canvas"
|
498
|
498
|
console.log('eve',eve);
|
499
|
499
|
},
|
500
|
500
|
// 详情数据源
|
501
|
|
- Getdialyzerdetail(add){
|
|
501
|
+ Getdialyzerdetail(add,type){
|
502
|
502
|
const params ={
|
503
|
503
|
start_time:this.start_date,
|
504
|
504
|
end_time:this.end_date,
|
|
@@ -508,6 +508,7 @@ import html2canvas from "html2canvas"
|
508
|
508
|
keyword:this.Patient_name,
|
509
|
509
|
page:this.currentPage,
|
510
|
510
|
limit:this.limit,
|
|
511
|
+ item_type:type,
|
511
|
512
|
}
|
512
|
513
|
this.loading = true
|
513
|
514
|
Getweightdetail(params).then(response =>{
|
|
@@ -526,7 +527,7 @@ import html2canvas from "html2canvas"
|
526
|
527
|
dry_weight:item.dry_weight,
|
527
|
528
|
last_weight_after:item.last_weight_after,
|
528
|
529
|
weight_before:item.weight_before,
|
529
|
|
- weight_add:(item.weight_add*1).toFixed(2),
|
|
530
|
+ weight_add:((item.weight_before - item.dry_weight) / item.dry_weight).toFixed(3) ,
|
530
|
531
|
weight_after:item.weight_after
|
531
|
532
|
}
|
532
|
533
|
table.push(obj)
|
|
@@ -641,11 +642,11 @@ import html2canvas from "html2canvas"
|
641
|
642
|
},
|
642
|
643
|
handleCurrentChange(val){
|
643
|
644
|
this.currentPage = val
|
644
|
|
- this.Getdialyzerdetail(this.weight_value)
|
|
645
|
+ this.Getdialyzerdetail(this.weight_value,2)
|
645
|
646
|
},
|
646
|
647
|
handleSizeChange(val){
|
647
|
648
|
this.limit = val
|
648
|
|
- this.Getdialyzerdetail(this.weight_value)
|
|
649
|
+ this.Getdialyzerdetail(this.weight_value,2)
|
649
|
650
|
},
|
650
|
651
|
// 性别
|
651
|
652
|
getgender(ids){
|