外宿申请-退回或驳回
This commit is contained in:
@@ -903,7 +903,7 @@ import { getEnlistmentReserveByProcessInstanceId, updateEnlistmentReserve } from
|
|||||||
import { insertOrUpdateByStuAndApprover } from "@/api/routine/enlistmentReserve/enlistmentReserveApproval";
|
import { insertOrUpdateByStuAndApprover } from "@/api/routine/enlistmentReserve/enlistmentReserveApproval";
|
||||||
import { getUserProfile } from '@/api/system/user' // 获取当前登录用户
|
import { getUserProfile } from '@/api/system/user' // 获取当前登录用户
|
||||||
import { updateStudent } from '@/api/stuCQS/basedata/student'
|
import { updateStudent } from '@/api/stuCQS/basedata/student'
|
||||||
import { getOutsideAccommodationApplyByProcessInstanceId } from "@/api/dormitory/outsideAccommodation/outsideAccommodationApply";
|
import { getOutsideAccommodationApplyByProcessInstanceId, updateOutsideAccommodationApply } from "@/api/dormitory/outsideAccommodation/outsideAccommodationApply";
|
||||||
import { listBasic, getBasic, delBasic, addBasic, updateBasic, getStname, getProcessId } from "@/api/routine/basic";
|
import { listBasic, getBasic, delBasic, addBasic, updateBasic, getStname, getProcessId } from "@/api/routine/basic";
|
||||||
import detailApply from "@/views/dormitory/outsideAccommodation/outsideAccommodationApply/components/detailApply" // 外宿申请表详细
|
import detailApply from "@/views/dormitory/outsideAccommodation/outsideAccommodationApply/components/detailApply" // 外宿申请表详细
|
||||||
import { addOrUpdateAccommodationApproval } from "@/api/dormitory/outsideAccommodation/outsideAccommodationApproval";
|
import { addOrUpdateAccommodationApproval } from "@/api/dormitory/outsideAccommodation/outsideAccommodationApproval";
|
||||||
@@ -1179,7 +1179,7 @@ export default {
|
|||||||
getBasicApplication(startUser) {
|
getBasicApplication(startUser) {
|
||||||
let newName = this.startUser.replace(/-/g, "");
|
let newName = this.startUser.replace(/-/g, "");
|
||||||
getStname(newName).then((res) => {
|
getStname(newName).then((res) => {
|
||||||
// console.log("后端返回原始数据:",res.data);
|
// console.log("后端返回原始数据:",res.data);
|
||||||
this.form = res.data
|
this.form = res.data
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@@ -1357,7 +1357,7 @@ export default {
|
|||||||
this.form.quitNumber = this.taskForm.quitNumber
|
this.form.quitNumber = this.taskForm.quitNumber
|
||||||
this.form.remark = this.taskForm.remark
|
this.form.remark = this.taskForm.remark
|
||||||
this.updateRtStuQuitSchool()
|
this.updateRtStuQuitSchool()
|
||||||
} else if (this.category == 'enlistmentReserve') { // 是应征入伍保留学籍申请,才执行
|
} else if (this.category == 'enlistmentReserve') { // 是应征入伍保留学籍申请,才执行
|
||||||
if (this.taskName == '教务处主管领导审批') { // (最后一个领导审核完成之后,修改学生学籍状态, status:07是入伍保留学籍)
|
if (this.taskName == '教务处主管领导审批') { // (最后一个领导审核完成之后,修改学生学籍状态, status:07是入伍保留学籍)
|
||||||
updateStudent({ stuId: this.form.studentId, status: '07' }).then(response => { })
|
updateStudent({ stuId: this.form.studentId, status: '07' }).then(response => { })
|
||||||
}
|
}
|
||||||
@@ -2052,7 +2052,8 @@ export default {
|
|||||||
}
|
}
|
||||||
// 生成审核记录
|
// 生成审核记录
|
||||||
addOrUpdateAccommodationApproval(data).then(ress => {
|
addOrUpdateAccommodationApproval(data).then(ress => {
|
||||||
|
// 退回或者驳回生产审批记录之后,更新申请表里面的驳回信息
|
||||||
|
updateOutsideAccommodationApply({id: this.form.id, rejectReason: this.taskForm.comment})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user