From 579720f312e8f6015ebc7bc2a2e1e68df1b69a42 Mon Sep 17 00:00:00 2001 From: "1747191978@qq.com" <1942943850@qq.com> Date: Mon, 7 Apr 2025 17:29:58 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AD=9B=E6=9F=A5=E7=BB=93=E8=AE=BA=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E6=AD=A3=E5=B8=B8=E8=8C=83=E5=9B=B4=EF=BC=9A=E6=82=A8?= =?UTF-8?q?=E7=9A=84=E7=AD=9B=E6=9F=A5=E7=BB=93=E8=AE=BA=E6=98=AF=E6=AD=A3?= =?UTF-8?q?=E5=B8=B8=E7=9A=84=EF=BC=8C=E5=BC=82=E5=B8=B8=EF=BC=9A=E7=BB=93?= =?UTF-8?q?=E6=9E=9C=E6=95=B0=E5=80=BC=EF=BC=8827.68=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/screening/h5Result.vue | 65 +++++++++++++------ 1 file changed, 45 insertions(+), 20 deletions(-) diff --git a/acupuncture-前台/src/views/screening/h5Result.vue b/acupuncture-前台/src/views/screening/h5Result.vue index 58a55635..ed9ccf2c 100644 --- a/acupuncture-前台/src/views/screening/h5Result.vue +++ b/acupuncture-前台/src/views/screening/h5Result.vue @@ -3,25 +3,15 @@
{{ tenantName || "-" }}
筛查结论
-
- 您的体重指数(BMI)为: - {{ form["SCWJ-BMI"] || "-" }} +
+ 您的体重指数(BMI)为: + {{ form["SCWJ-BMI"] }} +
您的筛查结论是正常的
-
- 您的睡眠效率为: - {{ form["SCWJ-SMXL"] || "-" }}% +
+ 您的睡眠效率为: + {{ form["SCWJ-SMXL"] }}% +
您的筛查结论是正常的
@@ -93,11 +83,46 @@ export default { this.sleepShow = true; } }, - methods: {}, + methods: { + getBmiTips(bmi) { + let weight = this.BMIVerdict[this.form["SCWJ-JL"]]; // 体重结论 + if (weight >= 3) { + return bmi; + } else { + return "您的筛查结论是正常的"; + } + }, + getSmxlTips(smxl) { + let sleep = this.form["SCWJ-SMXL"]; // 睡眠效率 + if (sleep < 80) { + return `${smxl}%`; + } else { + return "您的筛查结论是正常的"; + } + }, + }, };