From 59f53af704d29310e20391a762d61cc7870d90b1 Mon Sep 17 00:00:00 2001 From: zhangrui Date: Sat, 11 Apr 2026 17:55:42 +0800 Subject: [PATCH] 1 --- .../healthCheckup/statisticsSingle/index.html | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/main/resources/views/platform/zhgh/dayofficework/healthCheckup/statisticsSingle/index.html b/src/main/resources/views/platform/zhgh/dayofficework/healthCheckup/statisticsSingle/index.html index 33478fae..b2fad3f2 100644 --- a/src/main/resources/views/platform/zhgh/dayofficework/healthCheckup/statisticsSingle/index.html +++ b/src/main/resources/views/platform/zhgh/dayofficework/healthCheckup/statisticsSingle/index.html @@ -541,14 +541,12 @@ layout("/layouts/platform.html"){ async openLastYear(){ const resp = await this.$axios.post("/platform/healthCheckup/project/mange/getHealthCheckupProject", {year: this.pageForm.year - 1}) if (resp.code === 0) { - if(resp.data.length > 0){ - this.lastYearProjectSubjectOptions = resp.data - this.selectLastYearProject = true; - } else { - this.$message().error("无上一年度体检项目"); - } - } else { - this.notifyError(resp.msg) + if(resp.data.length > 0){ + this.lastYearProjectSubjectOptions = resp.data + this.selectLastYearProject = true; + } else { + this.$message.warning("无上一年度体检项目"); + } } } },