入伍申请记录学院名称过滤

This commit is contained in:
2026-03-17 10:42:06 +08:00
parent b2d218b221
commit 3889a8a6c8
2 changed files with 5 additions and 0 deletions

View File

@@ -546,6 +546,7 @@ export default {
this.formData.major = res.rows[0].srsMajors.majorName
this.formData.studentId = res.rows[0].stuId
this.formData.teacherName = res.rows[0].cphName
this.formData.deptName = res.rows[0].deptName
})
}
})
@@ -591,6 +592,7 @@ export default {
this.formData.className = res.data.className
this.formData.grade = res.data.gradeName
this.formData.teacherName = res.data.teacherName
this.formData.deptName = res.data.deptName
}
})
}

View File

@@ -272,6 +272,7 @@ export default {
reserveStartDate: null,
reserveEndDate: null,
approvalNo: null,
deptName: null
},
// 表单参数
form: {},
@@ -354,6 +355,8 @@ export default {
this.queryParams.studentName = this.user.nickName
} else if (this.roleGroup.includes("辅导员")) {
this.queryParams.teacherName = this.user.nickName
} else if (this.roleGroup.includes("学务") || this.roleGroup.includes("二级学院")) {
this.queryParams.deptName = this.user.dept.deptName
}
this.getList()
}