|
|
@ -79,7 +79,10 @@ |
|
|
|
<div> |
|
|
|
<a name="病情评估"></a> |
|
|
|
<div class="div-title1">病情评估</div> |
|
|
|
<div class="div-title2">人体成分</div> |
|
|
|
<div class="div-title2"> |
|
|
|
人体成分 |
|
|
|
<span @click="getHumanBody" class="foem-item-pg">同步</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="human-body"> |
|
|
|
<el-form-item label="体重" prop="PG_RTCF_TZ"> |
|
|
@ -674,7 +677,12 @@ |
|
|
|
</template> |
|
|
|
|
|
|
|
<script> |
|
|
|
import { queryRecord, saveAidRecord } from "@/api/medicalFile"; |
|
|
|
import { |
|
|
|
queryRecord, |
|
|
|
saveAidRecord, |
|
|
|
selectByMemberId, |
|
|
|
selectReportByMemberId, |
|
|
|
} from "@/api/medicalFile"; |
|
|
|
import { followupQuery } from "@/api/followupFile"; |
|
|
|
// 体态评估 |
|
|
|
import TAPS from "./components/posture/TAPS"; // TAPS体态自觉评估 |
|
|
@ -1194,6 +1202,49 @@ export default { |
|
|
|
this.getFollowupQuery(); // 获取随访队列信息 |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
// 查询人体成分 |
|
|
|
getHumanBody() { |
|
|
|
selectByMemberId({ |
|
|
|
memberId: 123456, |
|
|
|
}).then((res) => { |
|
|
|
this.$modal.msgSuccess("操作成功"); |
|
|
|
const { |
|
|
|
weight, //体重 |
|
|
|
fat, //脂肪 |
|
|
|
Bone, //骨质 |
|
|
|
Protein, //蛋白质 |
|
|
|
Water, //水分 |
|
|
|
Muscle, //肌肉 |
|
|
|
SMM, //骨骼肌 |
|
|
|
pbf, //体脂百分比 |
|
|
|
bmi, //体质指数 |
|
|
|
whr, //腰臀比(2位小数) |
|
|
|
vfi, //内脏脂肪指数 |
|
|
|
bodyAge, //身体年龄 |
|
|
|
score, //健康评分 |
|
|
|
bodyType, //体型判定 |
|
|
|
LBM, //瘦体重(去脂体重) |
|
|
|
} = res.data; |
|
|
|
|
|
|
|
this.detailsForm.PG_RTCF_TZ = weight; |
|
|
|
this.detailsForm.PG_RTCF_QZTZ = lbm; |
|
|
|
this.detailsForm.PG_RTCF_JRL = muscle; |
|
|
|
this.detailsForm.PG_RTCF_TBW = water; |
|
|
|
this.detailsForm.PG_RTCF_DBZ = protein; |
|
|
|
this.detailsForm.PG_RTCF_GZ = bone; |
|
|
|
this.detailsForm.PG_RTCF_ZF = fat; |
|
|
|
this.detailsForm.PG_RTCF_PBF = pbf; |
|
|
|
this.detailsForm.PG_RTCF_BMI = bmi; |
|
|
|
this.detailsForm.PG_RTCF_WHR = whr; |
|
|
|
this.detailsForm.PG_RTCF_NZZFSP = vfi; |
|
|
|
this.detailsForm.PG_RTCF_STGCFBFB = ""; // 身体各成分百分比 |
|
|
|
this.detailsForm.PG_RTCF_TXLX = bodyType; |
|
|
|
this.detailsForm.PG_RTCF_STNL = bodyAge; |
|
|
|
this.detailsForm.PG_RTCF_JKPF = score; |
|
|
|
console.log("res", res.data); |
|
|
|
}); |
|
|
|
}, |
|
|
|
// 判断是否显示诊疗方法 |
|
|
|
getzzffShow(_title) { |
|
|
|
const { JBXX_ZYZD, JBXX_ZYZD_QT } = this.detailsForm; |
|
|
|
if (_title == "肥胖症" && JBXX_ZYZD.includes("肥胖症")) { |
|
|
@ -1305,7 +1356,7 @@ export default { |
|
|
|
PG_RTCF_BMI: "", //体质指数(BMI) |
|
|
|
PG_RTCF_WHR: "", //腰臀比(WHR) |
|
|
|
PG_RTCF_NZZFSP: "", //内脏脂肪水平 |
|
|
|
PG_RTCF_STGCFBFB: "", //身体成分脂肪百分比 |
|
|
|
PG_RTCF_STGCFBFB: "", //身体各成分百分比 |
|
|
|
PG_RTCF_TXLX: "", //体型类型 |
|
|
|
PG_RTCF_STNL: "", //身体年龄 |
|
|
|
PG_RTCF_JKPF: "", //健康评分 |
|
|
|