|
|
@ -687,7 +687,7 @@ |
|
|
|
width="640px" |
|
|
|
append-to-body |
|
|
|
> |
|
|
|
<img :src="selectReportUrl" /> |
|
|
|
<img width="560" :src="selectReportUrl" /> |
|
|
|
</el-dialog> |
|
|
|
</div> |
|
|
|
</template> |
|
|
@ -1239,7 +1239,11 @@ export default { |
|
|
|
selectByMemberId({ |
|
|
|
memberId: this.form.visitNumber, |
|
|
|
}).then((res) => { |
|
|
|
this.$modal.msgSuccess("操作成功"); |
|
|
|
if (!res.data.id) { |
|
|
|
this.$modal.msgError("暂无数据"); |
|
|
|
return; |
|
|
|
} |
|
|
|
this.$modal.msgSuccess("同步成功"); |
|
|
|
const { |
|
|
|
weight, //体重 |
|
|
|
fat, //脂肪 |
|
|
@ -1247,7 +1251,7 @@ export default { |
|
|
|
protein, //蛋白质 |
|
|
|
water, //水分 |
|
|
|
muscle, //肌肉 |
|
|
|
SMM, //骨骼肌 |
|
|
|
smm, //骨骼肌 |
|
|
|
pbf, //体脂百分比 |
|
|
|
bmi, //体质指数 |
|
|
|
whr, //腰臀比(2位小数) |
|
|
@ -1257,10 +1261,7 @@ export default { |
|
|
|
bodyType, //体型判定 |
|
|
|
lbm, //瘦体重(去脂体重) |
|
|
|
} = res.data; |
|
|
|
if (!res.data.id) { |
|
|
|
this.$modal.msgError("暂无数据"); |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
console.log("人体成分"); |
|
|
|
|
|
|
|
this.detailsForm.PG_RTCF_TZ = weight; // 体重 |
|
|
@ -1271,11 +1272,12 @@ export default { |
|
|
|
this.detailsForm.PG_RTCF_GZ = bone; // 骨质量(GZ) |
|
|
|
this.detailsForm.PG_RTCF_ZF = fat; // 脂肪 |
|
|
|
this.detailsForm.PG_RTCF_PBF = pbf; // 体脂百分比 |
|
|
|
this.detailsForm.PG_RTCF_GGJ = smm; //骨骼肌 |
|
|
|
this.detailsForm.PG_RTCF_BMI = bmi; // 体质指数(BMI) |
|
|
|
this.detailsForm.PG_RTCF_WHR = whr; // 腰臀比(WHR) |
|
|
|
this.detailsForm.PG_RTCF_NZZFSP = vfi; // 内脏脂肪水平 |
|
|
|
// this.detailsForm.PG_RTCF_STGCFBFB = ""; // 身体各成分百分比 |
|
|
|
// this.detailsForm.PG_RTCF_TXLX = ''; // 体型类型 |
|
|
|
this.detailsForm.PG_RTCF_TXLX = [bodyType]; // 体型类型 |
|
|
|
this.detailsForm.PG_RTCF_STNL = bodyAge; // 身体年龄 |
|
|
|
this.detailsForm.PG_RTCF_JKPF = score; // 健康评分 |
|
|
|
}); |
|
|
|