1
This commit is contained in:
+6
-8
@@ -541,14 +541,12 @@ layout("/layouts/platform.html"){
|
|||||||
async openLastYear(){
|
async openLastYear(){
|
||||||
const resp = await this.$axios.post("/platform/healthCheckup/project/mange/getHealthCheckupProject", {year: this.pageForm.year - 1})
|
const resp = await this.$axios.post("/platform/healthCheckup/project/mange/getHealthCheckupProject", {year: this.pageForm.year - 1})
|
||||||
if (resp.code === 0) {
|
if (resp.code === 0) {
|
||||||
if(resp.data.length > 0){
|
if(resp.data.length > 0){
|
||||||
this.lastYearProjectSubjectOptions = resp.data
|
this.lastYearProjectSubjectOptions = resp.data
|
||||||
this.selectLastYearProject = true;
|
this.selectLastYearProject = true;
|
||||||
} else {
|
} else {
|
||||||
this.$message().error("无上一年度体检项目");
|
this.$message.warning("无上一年度体检项目");
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
this.notifyError(resp.msg)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user