1
This commit is contained in:
+6
-8
@@ -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("无上一年度体检项目");
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user