Browse Source

bmi结论值调整

new
liuzhipeng 9 months ago
parent
commit
ad1557e35c
  1. 16
      acupuncture-前台/src/views/screening/h5.vue

16
acupuncture-前台/src/views/screening/h5.vue

@ -159,7 +159,7 @@ export default {
BMITips: [ BMITips: [
{ {
label: "偏瘦", label: "体重过轻",
score: 18.5, score: 18.5,
}, },
{ {
@ -167,7 +167,7 @@ export default {
score: 23.9, score: 23.9,
}, },
{ {
label: "偏胖", label: "超重",
score: 27.9, score: 27.9,
}, },
{ {
@ -177,9 +177,9 @@ export default {
], ],
BMIVerdict: { BMIVerdict: {
偏瘦: "1", 体重过轻: "1",
正常: "2", 正常: "2",
偏胖: "3", 超重: "3",
肥胖: "4", 肥胖: "4",
}, },
// 1. ? // 1. ?
@ -445,20 +445,20 @@ export default {
} }
}, },
// BIM // BIM
// <18.5 // <18.5
// 18.5~23.9 // 18.5~23.9
// 24~27.9 // 24~27.9
// 28 // 28
getBMITips(bmi) { getBMITips(bmi) {
let tips = ""; let tips = "";
if (bmi < 18.5) { if (bmi < 18.5) {
tips = "偏瘦"; tips = "体重过轻";
} }
if (bmi >= 18.5 && bmi < 23.9) { if (bmi >= 18.5 && bmi < 23.9) {
tips = "正常"; tips = "正常";
} }
if (bmi >= 24 && bmi < 27.9) { if (bmi >= 24 && bmi < 27.9) {
tips = "偏胖"; tips = "超重";
} }
if (bmi >= 28) { if (bmi >= 28) {
tips = "肥胖"; tips = "肥胖";

Loading…
Cancel
Save