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("无上一年度体检项目"); + } } } },