保留学籍申请流程通过后修改学生的学籍状态为“入伍保留学籍”
This commit is contained in:
@@ -663,6 +663,7 @@ import pdf from 'vue-pdf'
|
||||
import { getEnlistmentReserveByProcessInstanceId, updateEnlistmentReserve } from "@/api/routine/enlistmentReserve/enlistmentReserve";
|
||||
import { insertOrUpdateByStuAndApprover } from "@/api/routine/enlistmentReserve/enlistmentReserveApproval";
|
||||
import { getUserProfile } from '@/api/system/user' // 获取当前登录用户
|
||||
import { updateStudent } from '@/api/stuCQS/basedata/student'
|
||||
|
||||
export default {
|
||||
name: 'Record',
|
||||
@@ -1046,7 +1047,7 @@ export default {
|
||||
if (valid) {
|
||||
this.$modal.loading('正在努力加载中,请稍等...')
|
||||
|
||||
this.taskForm.comment = '同意'
|
||||
this.taskForm.comment = this.taskForm.variables.approvalOpinion != '' ? this.taskForm.variables.approvalOpinion : '同意'
|
||||
this.taskForm.variables.approvalResult = 1
|
||||
if (this.taskForm && this.formKeyExist) {
|
||||
// 表单是否禁用
|
||||
@@ -1058,7 +1059,6 @@ export default {
|
||||
|
||||
complete(this.taskForm).then((response) => {
|
||||
this.$modal.closeLoading()
|
||||
|
||||
this.goBack()
|
||||
})
|
||||
} else {
|
||||
@@ -1090,6 +1090,10 @@ export default {
|
||||
this.form.quitNumber = this.taskForm.quitNumber
|
||||
this.form.remark = this.taskForm.remark
|
||||
this.updateRtStuQuitSchool()
|
||||
} else if (this.category == 'enlistmentReserve') { // 是应征入伍保留学籍申请,才执行
|
||||
if (this.taskName == '教务处主管领导审批') { // (最后一个领导审核完成之后,修改学生学籍状态, status:07是入伍保留学籍)
|
||||
updateStudent({stuId: this.form.studentId, status: '07'}).then(response => {})
|
||||
}
|
||||
} else {
|
||||
this.$modal.msgSuccess(response.msg)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user