退伍复学表单数据

This commit is contained in:
2025-12-09 17:34:35 +08:00
parent fcee8aa2b2
commit 313185538e
3 changed files with 671 additions and 4 deletions

View File

@@ -1,5 +1,14 @@
import request from '@/utils/request'
// 根据流程编号查询数据
// 根据学号查询信息
export function getProcessId(processId) {
return request({
url: '/routine/basic/processId/' + processId,
method: 'get'
})
}
// 根据学号查询信息
export function getStname(stName) {
return request({

View File

@@ -335,7 +335,7 @@
<!-- 给予退学 -->
<!-- 入伍保留学籍表单 -->
<el-descriptions v-if="enlistmentReserveForm" class="margin-top" title="" :column="4" size="medium" border style="width: 100%">
<el-descriptions v-if="enlistmentReserveForm" title="" :column="4" size="medium" border style="width: 100%">
<el-descriptions-item>
<template slot="label"> 姓名 </template>
{{ form.studentName }}
@@ -424,6 +424,213 @@
</el-descriptions-item>
</el-descriptions>
<!-- 退伍复学表单 -->
<el-descriptions
v-if="basicForm"
class="margin-top"
title="退伍复学申请表"
:column="4"
size="medium"
border
style="width: 100%; "
>
<el-descriptions-item>
<template slot="label"> 姓名 </template>
{{ form.stName }}
</el-descriptions-item>
<el-descriptions-item>
<template slot="label"> 性别 </template>
{{form.sex}}
</el-descriptions-item>
<el-descriptions-item>
<template slot="label"> 民族 </template>
<!-- {{ form.nation }} -->
<dict-tag :options="dict.type.rt_nation" :value="form.nations" />
</el-descriptions-item>
<el-descriptions-item>
<template slot="label"> 年级 </template>
{{ form.grade }}
</el-descriptions-item>
<el-descriptions-item>
<template slot="label"> 班级 </template>
{{ form.stClass }}
</el-descriptions-item>
<el-descriptions-item>
<template slot="label"> 学号 </template>
{{ form.stId }}
</el-descriptions-item>
<el-descriptions-item>
<template slot="label"> 专业 </template>
{{ form.majors }}
</el-descriptions-item>
<el-descriptions-item>
<template slot="label"> 联系电话 </template>
{{ form.datab }}
</el-descriptions-item>
<el-descriptions-item span="4">
<template slot="label"> 申请理由 </template>
<div style="padding-top: 10px; line-height: 1.8;">
<p class="reason-text">本人于 {{ form.rwTime | formatDate }} 应征入伍 {{ form.dataa | formatDate }} 日退役退役后申请复学</p>
<p class="reason-text" v-if="form.conversion == 'Y'">是否申请转专业 </p>
<p class="reason-text" v-else>是否申请转专业 ×</p>
<p v-if="form.conversion === 'Y'" class="reason-text" style="color: red;">
原年级和专业:__{{ form.maList.length > 0 ? form.maList[0].oldgrade : '' }}__{{ form.maList.length > 0 ? form.maList[0].oldmajor : '' }}__
申请转入年级和专业__{{ saveGradeName }}__{{ saveClassName }}__
</p>
<!-- 附件预览区域 -->
<div style="margin: 10px 0; display: flex; gap: 10px; flex-wrap: wrap;">
<image-preview v-if="form.maList.length > 0 && form.maList[0].proof" :src="form.maList[0].proof" :width="240" :height="160" />
<image-preview v-if="form.maList.length > 0 && form.maList[0].idcard" :src="form.maList[0].idcard" :width="240" :height="160" />
<image-preview v-if="form.maList.length > 0 && form.maList[0].material" :src="form.maList[0].material" :width="240" :height="160" />
</div>
<!-- 申请人信息 -->
<div class="applicant-info right-align" style="padding: 20px 0 0 0;">
<span>申请人</span>
{{ form.stName }}
<span class="date-label" style="margin-left: 10px;">日期</span>
{{ form.times | formatDate }}
</div>
</div>
</el-descriptions-item>
<!-- 招生与就业处意见仅转专业时显示 -->
<el-descriptions-item span="4" v-if="form.conversion === 'Y'">
<template slot="label"> 招生与就业处意见 </template>
<div style="padding-top: 10px; line-height: 1.8;">
<p class="reason-text" style="color: red;">
符合转专业条件拟同意转入年级和专业__{{ saveGradeName }}__{{ saveClassName }}__
</p>
<div class="signature-area right-align" style="padding: 10px 0 0 0;">
<span>审批结果</span>
<el-select v-model="form.zsStatus" placeholder="" class="short-select" disabled style="width: 100px; margin: 0 5px;">
<el-option label="重新审核" value="0"></el-option>
<el-option label="通过" value="1"></el-option>
<el-option label="退回" value="2"></el-option>
<el-option label="驳回" value="3"></el-option>
</el-select>
<span class="date-label">签名</span>
{{ form.zsIdea || '无' }}
<span class="date-label" style="margin-left: 10px;">日期</span>
{{ form.zsTime | formatDate }}
</div>
</div>
</el-descriptions-item>
<!-- 辅导员意见 -->
<el-descriptions-item span="4">
<template slot="label"> 辅导员意见 </template>
<div style="padding-top: 10px; line-height: 1.8;">
{{ form.fdIdea || '暂无意见' }}
<div class="signature-area right-align" style="padding: 10px 0 0 0;">
<span>审批结果</span>
<el-select v-model="form.fdStatus" placeholder="待审核" class="short-select" disabled style="width: 100px; margin: 0 5px;">
<el-option label="重新审核" value="0"></el-option>
<el-option label="通过" value="1"></el-option>
<el-option label="退回" value="2"></el-option>
<el-option label="驳回" value="3"></el-option>
</el-select>
<span class="date-label">签名</span>
{{ form.fdQm || '无' }}
<span class="date-label" style="margin-left: 10px;">日期</span>
{{ form.fdTime | formatDate }}
</div>
</div>
</el-descriptions-item>
<!-- 学务意见 -->
<el-descriptions-item span="4">
<template slot="label"> 学务意见 </template>
<div style="padding-top: 10px; line-height: 1.8;">
{{ form.xwIdea || '暂无意见' }}
<div class="signature-area right-align" style="padding: 10px 0 0 0;">
<span>审批结果</span>
<el-select v-model="form.xwStatus" placeholder="待审核" class="short-select" disabled style="width: 100px; margin: 0 5px;">
<el-option label="重新审核" value="0"></el-option>
<el-option label="通过" value="1"></el-option>
<el-option label="退回" value="2"></el-option>
<el-option label="驳回" value="3"></el-option>
</el-select>
<span class="date-label">签名</span>
{{ form.xwQm || '无' }}
<span class="date-label" style="margin-left: 10px;">日期</span>
{{ form.xwTime | formatDate }}
</div>
</div>
</el-descriptions-item>
<!-- 二级学院意见 -->
<el-descriptions-item span="4">
<template slot="label"> 二级学院意见 </template>
<div style="padding-top: 10px; line-height: 1.8;">
{{ form.twoIdea || '暂无意见' }}
<div class="signature-area right-align" style="padding: 10px 0 0 0;">
<span>审批结果</span>
<el-select v-model="form.twoStatus" placeholder="待审核" class="short-select" disabled style="width: 100px; margin: 0 5px;">
<el-option label="重新审核" value="0"></el-option>
<el-option label="通过" value="1"></el-option>
<el-option label="退回" value="2"></el-option>
<el-option label="驳回" value="3"></el-option>
</el-select>
<span class="date-label">签名</span>
{{ form.erQm || '无' }}
<span class="date-label" style="margin-left: 10px;">日期</span>
{{ form.twoTime | formatDate }}
</div>
</div>
</el-descriptions-item>
<!-- 学籍管理科意见 -->
<el-descriptions-item span="4">
<template slot="label"> 学籍管理科意见 </template>
<div style="padding-top: 10px; line-height: 1.8;">
{{ form.xjIdea || '暂无意见' }}
<div class="signature-area right-align" style="padding: 10px 0 0 0;">
<span>审批结果</span>
<el-select v-model="form.xjglStatus" placeholder="待审核" class="short-select" disabled style="width: 100px; margin: 0 5px;">
<el-option label="重新审核" value="0"></el-option>
<el-option label="通过" value="1"></el-option>
<el-option label="退回" value="2"></el-option>
<el-option label="驳回" value="3"></el-option>
</el-select>
<span class="date-label">签名</span>
{{ form.xjQm || '无' }}
<span class="date-label" style="margin-left: 10px;">日期</span>
{{ form.xjTime | formatDate }}
</div>
</div>
</el-descriptions-item>
<!-- 教务处主管领导意见 -->
<el-descriptions-item span="4">
<template slot="label"> 教务处主管领导意见 </template>
<div style="padding-top: 10px; line-height: 1.8;">
{{ form.jwIdea || '暂无意见' }}
<div class="signature-area right-align" style="padding: 10px 0 0 0;">
<span>审批结果</span>
<el-select v-model="form.jwStatus" placeholder="待审核" class="short-select" disabled style="width: 100px; margin: 0 5px;">
<el-option label="重新审核" value="0"></el-option>
<el-option label="通过" value="1"></el-option>
<el-option label="退回" value="2"></el-option>
<el-option label="驳回" value="3"></el-option>
</el-select>
<span class="date-label">签名</span>
{{ form.jwQm || '无' }}
<span class="date-label" style="margin-left: 10px;">日期</span>
{{ form.jwTime | formatDate }}
</div>
</div>
</el-descriptions-item>
</el-descriptions>
</div>
<div style="margin-left: 15%; margin-bottom: 20px; font-size: 14px; margin-top: 20px">
<el-button v-if="!formKeyExist" icon="el-icon-edit-outline" type="success" size="mini" @click="handleComplete">同意 </el-button>
@@ -602,7 +809,7 @@
</el-form-item>
<!-- 入伍保留学籍申请表单 -->
<el-form-item v-if="enlistmentReserveForm || outsideAccommodationForm" label="审批意见" prop="approvalOpinion">
<el-form-item v-if="enlistmentReserveForm || outsideAccommodationForm || basicForm" label="审批意见" prop="approvalOpinion">
<el-input type="textarea" :rows="3" v-model="taskForm.variables.approvalOpinion" placeholder="请输入审批意见" />
</el-form-item>
</el-form>
@@ -665,6 +872,7 @@ import { insertOrUpdateByStuAndApprover } from "@/api/routine/enlistmentReserve/
import { getUserProfile } from '@/api/system/user' // 获取当前登录用户
import { updateStudent } from '@/api/stuCQS/basedata/student'
import { getOutsideAccommodationApplyByProcessInstanceId } from "@/api/dormitory/outsideAccommodation/outsideAccommodationApply";
import { listBasic, getBasic, delBasic, addBasic, updateBasic, getStname,getProcessId } from "@/api/routine/basic";
export default {
name: 'Record',
@@ -786,6 +994,8 @@ export default {
quitTypeOptions: [], //休学类别
enlistmentReserveForm: false, // 入伍保留学籍表单
outsideAccommodationForm: false, // 外宿申请表单
basicForm: false,//退伍复学表单
}
},
created() {
@@ -843,6 +1053,9 @@ export default {
} else if (this.category == 'outsideAccommodation') {
this.outsideAccommodationForm = true
this.getOutsideAccommodation(this.taskForm.procInsId)
}else if (this.category == '退伍复学') {
this.basicForm = true
this.getBasicApplication(this.startUser)
}
// 流程任务获取变量信息
if (this.taskForm.taskId) {
@@ -928,6 +1141,16 @@ export default {
this.form = res.data
})
},
// 退伍复学申请表单数据
getBasicApplication(startUser) {
let newName = this.startUser.replace(/-/g, "");
getStname(newName).then((res) => {
// console.log("后端返回原始数据:",res.data);
this.form = res.data
});
},
getStuInfo(stuNo) {
getStuInfo(stuNo).then((res) => {
if (res.code == 200) {
@@ -1106,7 +1329,132 @@ export default {
updateStudent({stuId: this.form.studentId, status: '07'}).then(response => {})
}
this.$modal.msgSuccess(response.msg)
} else if (this.category == "退伍复学") {
// updateBasic({stuId:this.form.stuId,fdStatus:"1",fdIdea:this.taskForm.comment}).then(response => {})
var stNameData = ''
let newName = this.startUser.replace(/-/g, "");
// 异步请求的回调内处理后续逻辑
getStname(newName).then(response => {
stNameData = response.data;
// console.log("这个是审批数据:", stNameData)
// console.log("stNameData.id:", stNameData.id);
// console.log("stNameData.newgrade" + stNameData.maList[0].data1)
// console.log("stNameData.newmajor" + stNameData.maList[0].data2)
// 招生与就业处
if (this.taskName == "招生与就业处") {
const currentFlowItem = this.flowRecordList.find(item => item.taskName === this.taskName);
const assigneeName = currentFlowItem ? currentFlowItem.assigneeName : "";
updateBasic({
id: stNameData.id,
zsStatus: "1",
// zsIdea: this.taskForm.comment,
zsTime: new Date(),
// zsIdea字段缺失改为zsIdea字段
zsIdea: assigneeName
}).then(response => {
this.$modal.msgSuccess(response.msg)
})
}
// 辅导员审核信息
else if (this.taskName == "辅导员审核") {
const currentFlowItem = this.flowRecordList.find(item => item.taskName === this.taskName);
const assigneeName = currentFlowItem ? currentFlowItem.assigneeName : "";
console.log(stNameData.studentId)
console.log(stNameData.maList[0].data1)
updateBasic({
id: stNameData.id,
fdStatus: "1",
fdIdea: this.taskForm.comment,
fdTime: new Date(),
fdQm: assigneeName
}).then(response => {
this.$modal.msgSuccess(response.msg)
})
}
// 学务审核
else if (this.taskName == "学务审核") {
const currentFlowItem = this.flowRecordList.find(item => item.taskName === this.taskName);
const assigneeName = currentFlowItem ? currentFlowItem.assigneeName : "";
updateBasic({
id: stNameData.id,
xwStatus: "1",
xwIdea: this.taskForm.comment,
xwTime: new Date(),
xwQm: assigneeName
}).then(response => {
this.$modal.msgSuccess(response.msg)
})
}
// 二级学院审核
else if (this.taskName == "二级学院审核") {
const currentFlowItem = this.flowRecordList.find(item => item.taskName === this.taskName);
const assigneeName = currentFlowItem ? currentFlowItem.assigneeName : "";
updateBasic({
id: stNameData.id,
twoStatus: "1",
twoIdea: this.taskForm.comment,
twoTime: new Date(),
erQm: assigneeName
}).then(response => {
this.$modal.msgSuccess(response.msg)
})
}
// 学籍管理
else if (this.taskName == "学籍管理") {
const currentFlowItem = this.flowRecordList.find(item => item.taskName === this.taskName);
const assigneeName = currentFlowItem ? currentFlowItem.assigneeName : "";
updateBasic({
id: stNameData.id,
xjglStatus: "1",
xjIdea: this.taskForm.comment,
xjTime: new Date(),
xjQm: assigneeName
}).then(response => {
this.$modal.msgSuccess(response.msg)
})
}
// 教务处主管
else if (this.taskName == "教务处主管") {
const currentFlowItem = this.flowRecordList.find(item => item.taskName === this.taskName);
const assigneeName = currentFlowItem ? currentFlowItem.assigneeName : "";
updateBasic({
id: stNameData.id,
jwStatus: "1",
jwIdea: this.taskForm.comment,
jwTime: new Date(),
jwQm: assigneeName
}).then(response => {
this.$modal.msgSuccess(response.msg)
})
if (stNameData.conversion == "Y") {
updateStudent({
stuId: stNameData.studentId,
deptId: parseInt(stNameData.maList[0].data1),
majorId: parseInt(stNameData.maList[0].data2),
classId: parseInt(stNameData.maList[0].newmajor),
status: '08',
}).then(response => { })
} else {
updateStudent({ stuId: stNameData.studentId, status: '08', }).then(response => { })
}
}
})
}
else {
this.$modal.msgSuccess(response.msg)
}
this.$modal.closeLoading()
@@ -1166,6 +1514,110 @@ export default {
if (this.category == 'enlistmentReserve') {
this.taskReturnApproval("驳回")
}
else if (this.category == "退伍复学") {
// updateBasic({stuId:this.form.stuId,fdStatus:"1",fdIdea:this.taskForm.comment}).then(response => {})
var stNameData = ''
let newName = this.startUser.replace(/-/g, "");
// 异步请求的回调内处理后续逻辑
getStname(newName).then(response => {
stNameData = response.data;
console.log(stNameData)
console.log("stNameData.id:", stNameData.id);
// 招生与就业处
if (this.taskName == "招生与就业处") {
const currentFlowItem = this.flowRecordList.find(item => item.taskName === this.taskName);
const assigneeName = currentFlowItem ? currentFlowItem.assigneeName : "";
updateBasic({
id: stNameData.id,
zsStatus: "3",
// zsIdea: this.taskForm.comment,
zsTime: new Date(),
// zsIdea字段缺失改为zsIdea字段
zsIdea: assigneeName
}).then(response => {
// this.$modal.msgSuccess(response.msg)
})
}
// 辅导员审核信息
else if (this.taskName == "辅导员审核") {
const currentFlowItem = this.flowRecordList.find(item => item.taskName === this.taskName);
const assigneeName = currentFlowItem ? currentFlowItem.assigneeName : "";
// 辅导员审核信息
updateBasic({
id: stNameData.id,
fdStatus: "3",
fdIdea: this.taskForm.comment,
fdTime: new Date(),
fdQm: assigneeName
}).then(response => {
// this.$modal.msgSuccess(response.msg)
})
}
// 学务审核
else if (this.taskName == "学务审核") {
const currentFlowItem = this.flowRecordList.find(item => item.taskName === this.taskName);
const assigneeName = currentFlowItem ? currentFlowItem.assigneeName : "";
updateBasic({
id: stNameData.id,
xwStatus: "3",
xwIdea: this.taskForm.comment,
xwTime: new Date(),
xwQm: assigneeName
}).then(response => {
// this.$modal.msgSuccess(response.msg)
})
}
// 二级学院审核
else if (this.taskName == "二级学院审核") {
const currentFlowItem = this.flowRecordList.find(item => item.taskName === this.taskName);
const assigneeName = currentFlowItem ? currentFlowItem.assigneeName : "";
updateBasic({
id: stNameData.id,
twoStatus: "3",
twoIdea: this.taskForm.comment,
twoTime: new Date(),
erQm: assigneeName
}).then(response => {
// this.$modal.msgSuccess(response.msg)
})
}
// 学籍管理
else if (this.taskName == "学籍管理") {
const currentFlowItem = this.flowRecordList.find(item => item.taskName === this.taskName);
const assigneeName = currentFlowItem ? currentFlowItem.assigneeName : "";
updateBasic({
id: stNameData.id,
xjglStatus: "3",
xjIdea: this.taskForm.comment,
xjTime: new Date(),
xjQm: assigneeName
}).then(response => {
// this.$modal.msgSuccess(response.msg)
})
}
// 教务处主管
else if (this.taskName == "教务处主管") {
const currentFlowItem = this.flowRecordList.find(item => item.taskName === this.taskName);
const assigneeName = currentFlowItem ? currentFlowItem.assigneeName : "";
updateBasic({
id: stNameData.id,
jwStatus: "3",
jwIdea: this.taskForm.comment,
jwTime: new Date(),
jwQm: assigneeName
}).then(response => {
// this.$modal.msgSuccess(response.msg)
})
}
})
}
this.$modal.msgSuccess(res.msg)
this.$modal.closeLoading()
@@ -1199,6 +1651,109 @@ export default {
})
}
else if (this.category == "退伍复学") {
// updateBasic({stuId:this.form.stuId,fdStatus:"1",fdIdea:this.taskForm.comment}).then(response => {})
var stNameData = ''
let newName = this.startUser.replace(/-/g, "");
// 异步请求的回调内处理后续逻辑
getStname(newName).then(response => {
stNameData = response.data;
console.log(stNameData)
console.log("stNameData.id:", stNameData.id);
// 招生与就业处
if (this.taskName == "招生与就业处") {
const currentFlowItem = this.flowRecordList.find(item => item.taskName === this.taskName);
const assigneeName = currentFlowItem ? currentFlowItem.assigneeName : "";
updateBasic({
id: stNameData.id,
zsStatus: "2",
// zsIdea: this.taskForm.comment,
zsTime: new Date(),
// zsIdea字段缺失改为zsIdea字段
zsIdea: assigneeName
}).then(response => {
// this.$modal.msgSuccess(response.msg)
})
}
// 辅导员审核信息
else if (this.taskName == "辅导员审核") {
const currentFlowItem = this.flowRecordList.find(item => item.taskName === this.taskName);
const assigneeName = currentFlowItem ? currentFlowItem.assigneeName : "";
// 辅导员审核信息
updateBasic({
id: stNameData.id,
fdStatus: "2",
fdIdea: this.taskForm.comment,
fdTime: new Date(),
fdQm: assigneeName
}).then(response => {
// this.$modal.msgSuccess(response.msg)
})
}
// 学务审核
else if (this.taskName == "学务审核") {
const currentFlowItem = this.flowRecordList.find(item => item.taskName === this.taskName);
const assigneeName = currentFlowItem ? currentFlowItem.assigneeName : "";
updateBasic({
id: stNameData.id,
xwStatus: "2",
xwIdea: this.taskForm.comment,
xwTime: new Date(),
xwQm: assigneeName
}).then(response => {
// this.$modal.msgSuccess(response.msg)
})
}
// 二级学院审核
else if (this.taskName == "二级学院审核") {
const currentFlowItem = this.flowRecordList.find(item => item.taskName === this.taskName);
const assigneeName = currentFlowItem ? currentFlowItem.assigneeName : "";
updateBasic({
id: stNameData.id,
twoStatus: "2",
twoIdea: this.taskForm.comment,
twoTime: new Date(),
erQm: assigneeName
}).then(response => {
// this.$modal.msgSuccess(response.msg)
})
}
// 学籍管理
else if (this.taskName == "学籍管理") {
const currentFlowItem = this.flowRecordList.find(item => item.taskName === this.taskName);
const assigneeName = currentFlowItem ? currentFlowItem.assigneeName : "";
updateBasic({
id: stNameData.id,
xjglStatus: "2",
xjIdea: this.taskForm.comment,
xjTime: new Date(),
xjQm: assigneeName
}).then(response => {
// this.$modal.msgSuccess(response.msg)
})
}
// 教务处主管
else if (this.taskName == "教务处主管") {
const currentFlowItem = this.flowRecordList.find(item => item.taskName === this.taskName);
const assigneeName = currentFlowItem ? currentFlowItem.assigneeName : "";
updateBasic({
id: stNameData.id,
jwStatus: "2",
jwIdea: this.taskForm.comment,
jwTime: new Date(),
jwQm: assigneeName
}).then(response => {
// this.$modal.msgSuccess(response.msg)
})
}
})
}
this.initApproval()
})
},
@@ -1213,6 +1768,108 @@ export default {
if (this.category == 'enlistmentReserve') {
this.taskReturnApproval("退回")
}
else if (this.category == "退伍复学") {
// updateBasic({stuId:this.form.stuId,fdStatus:"1",fdIdea:this.taskForm.comment}).then(response => {})
var stNameData = ''
let newName = this.startUser.replace(/-/g, "");
// 异步请求的回调内处理后续逻辑
getStname(newName).then(response => {
stNameData = response.data;
console.log(stNameData)
console.log("stNameData.id:", stNameData.id);
// 招生与就业处
if (this.taskName == "招生与就业处") {
const currentFlowItem = this.flowRecordList.find(item => item.taskName === this.taskName);
const assigneeName = currentFlowItem ? currentFlowItem.assigneeName : "";
updateBasic({
id: stNameData.id,
zsStatus: "2",
// zsIdea: this.taskForm.comment,
zsTime: new Date(),
// zsIdea字段缺失改为zsIdea字段
zsIdea: assigneeName
}).then(response => {
// this.$modal.msgSuccess(response.msg)
})
}
// 辅导员审核信息
else if (this.taskName == "辅导员审核") {
const currentFlowItem = this.flowRecordList.find(item => item.taskName === this.taskName);
const assigneeName = currentFlowItem ? currentFlowItem.assigneeName : "";
// 辅导员审核信息
updateBasic({
id: stNameData.id,
fdStatus: "2",
fdIdea: this.taskForm.comment,
fdTime: new Date(),
fdQm: assigneeName
}).then(response => {
// this.$modal.msgSuccess(response.msg)
})
}
// 学务审核
else if (this.taskName == "学务审核") {
const currentFlowItem = this.flowRecordList.find(item => item.taskName === this.taskName);
const assigneeName = currentFlowItem ? currentFlowItem.assigneeName : "";
updateBasic({
id: stNameData.id,
xwStatus: "2",
xwIdea: this.taskForm.comment,
xwTime: new Date(),
xwQm: assigneeName
}).then(response => {
// this.$modal.msgSuccess(response.msg)
})
}
// 二级学院审核
else if (this.taskName == "二级学院审核") {
const currentFlowItem = this.flowRecordList.find(item => item.taskName === this.taskName);
const assigneeName = currentFlowItem ? currentFlowItem.assigneeName : "";
updateBasic({
id: stNameData.id,
twoStatus: "2",
twoIdea: this.taskForm.comment,
twoTime: new Date(),
erQm: assigneeName
}).then(response => {
// this.$modal.msgSuccess(response.msg)
})
}
// 学籍管理
else if (this.taskName == "学籍管理") {
const currentFlowItem = this.flowRecordList.find(item => item.taskName === this.taskName);
const assigneeName = currentFlowItem ? currentFlowItem.assigneeName : "";
updateBasic({
id: stNameData.id,
xjglStatus: "2",
xjIdea: this.taskForm.comment,
xjTime: new Date(),
xjQm: assigneeName
}).then(response => {
// this.$modal.msgSuccess(response.msg)
})
}
// 教务处主管
else if (this.taskName == "教务处主管") {
const currentFlowItem = this.flowRecordList.find(item => item.taskName === this.taskName);
const assigneeName = currentFlowItem ? currentFlowItem.assigneeName : "";
updateBasic({
id: stNameData.id,
jwStatus: "2",
jwIdea: this.taskForm.comment,
jwTime: new Date(),
jwQm: assigneeName
}).then(response => {
// this.$modal.msgSuccess(response.msg)
})
}
})
}
this.$modal.msgSuccess(res.msg)
this.$modal.closeLoading()

View File

@@ -309,6 +309,7 @@ export default {
this.form.sex = studentRes.data.gender;
this.form.grade = studentRes.data.gradeName;
listStudent({pageNum:1,pageSize:10,name:this.form.stName}).then(response => {
this.form.studentId = response.rows[0].stuId
// console.log(this.form.studentId)