This commit is contained in:
2026-04-11 17:55:42 +08:00
parent 3979234d28
commit 59f53af704
@@ -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("无上一年度体检项目");
}
}
}
},