应征入伍保留学籍申请表信息详细
This commit is contained in:
@@ -300,6 +300,97 @@
|
||||
{{ form.instructionSchoolHours }}
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
|
||||
<!-- 入伍保留学籍表单 -->
|
||||
<el-descriptions v-if="enlistmentReserveForm" class="margin-top" title="" :column="4" size="medium" border style="width: 100%">
|
||||
<el-descriptions-item>
|
||||
<template slot="label"> 姓名 </template>
|
||||
{{ form.studentName }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item>
|
||||
<template slot="label"> 性别 </template>
|
||||
<span v-if="form.gender == 1">男</span>
|
||||
<span v-else>女</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item>
|
||||
<template slot="label"> 民族 </template>
|
||||
<!-- {{ form.nation }} -->
|
||||
<dict-tag :options="dict.type.rt_nation" :value="form.nation" />
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item>
|
||||
<template slot="label"> 年级 </template>
|
||||
{{ form.grade }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item span="2">
|
||||
<template slot="label"> 专业名称 </template>
|
||||
{{ form.major }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item>
|
||||
<template slot="label"> 学号 </template>
|
||||
{{ form.studentNo }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item>
|
||||
<template slot="label"> 班级 </template>
|
||||
{{ form.className }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item span="2">
|
||||
<template slot="label"> 家庭地址 </template>
|
||||
{{ form.familyAddress }}
|
||||
</el-descriptions-item>
|
||||
|
||||
<el-descriptions-item span="2">
|
||||
<template slot="label"> 家长电话 </template>
|
||||
{{ form.parentPhone }}
|
||||
</el-descriptions-item>
|
||||
|
||||
|
||||
<el-descriptions-item span="4">
|
||||
<template slot="label"> 附件材料 </template>
|
||||
<Affix v-model="form.affixId" :disabled="true" />
|
||||
</el-descriptions-item>
|
||||
|
||||
<el-descriptions-item span="4">
|
||||
<template slot="label"> 申请原因 </template>
|
||||
<div style="padding-top: 10px;">
|
||||
{{ form.applyReason }}
|
||||
</div>
|
||||
<div style="padding: 20px;">
|
||||
<div style="display: flex;justify-content: flex-end;align-items: center;">
|
||||
<div style="padding: 0 10px;">申请人: {{ form.studentName }}</div>
|
||||
<div style="padding: 0 10px;">日期: {{ form.createTime }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</el-descriptions-item>
|
||||
|
||||
<el-descriptions-item span="4" v-for="item in form.enlistmentReserveApprovalList" >
|
||||
<template slot="label"> {{ item.opinionType }} </template>
|
||||
<div style="padding-top: 10px;">
|
||||
{{ item.approvalOpinion || "暂无意见" }}
|
||||
</div>
|
||||
<div style="padding: 20px;">
|
||||
<div style="display: flex;justify-content: flex-end;align-items: center;">
|
||||
<div style="padding: 0 10px;">
|
||||
审批结果:
|
||||
<el-tag v-if="item.approvalResult == 1" type="success">通过</el-tag>
|
||||
<el-tag v-else type="danger">驳回</el-tag>
|
||||
</div>
|
||||
<div style="padding: 0 10px;">签名: {{ item.approverName }}</div>
|
||||
<div style="padding: 0 10px;">日期: {{ item.approvalTime }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</el-descriptions-item>
|
||||
|
||||
<!-- <el-descriptions-item span="3">
|
||||
<template slot="label"> 辅导员联系情况 </template>
|
||||
{{ form.ideologicalEducation }}
|
||||
</el-descriptions-item> -->
|
||||
|
||||
<el-descriptions-item span="4">
|
||||
<template slot="label"> 保留学籍时间和编号 </template>
|
||||
{{ form.reserveNo }}
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
|
||||
</div>
|
||||
</el-col>
|
||||
</el-tab-pane>
|
||||
@@ -363,6 +454,7 @@ import { getRtStuQuitSchoolByProcInsId } from '@/api/routine/rtStuQuitSchool'
|
||||
import Parser from '@/components/parser/Parser'
|
||||
import flow from '@/views/flowable/task/myProcess/detail/flow'
|
||||
import '@riophae/vue-treeselect/dist/vue-treeselect.css'
|
||||
import { getEnlistmentReserveByProcessInstanceId} from "@/api/routine/enlistmentReserve/enlistmentReserve";
|
||||
|
||||
export default {
|
||||
name: 'Record',
|
||||
@@ -424,6 +516,9 @@ export default {
|
||||
} else if (this.category == 'quitSchool') {
|
||||
this.quitSchoolForm = true
|
||||
this.getRtStuQuitSchoolByProcInsId(this.taskForm.procInsId)
|
||||
} else if (this.category == 'enlistmentReserve') {
|
||||
this.enlistmentReserveForm = true
|
||||
this.getEnlistmentReserve(this.taskForm.procInsId)
|
||||
}
|
||||
// 回显流程记录
|
||||
// 流程任务重获取变量表单
|
||||
@@ -466,6 +561,33 @@ export default {
|
||||
this.getStuInfo(this.form.stuNo)
|
||||
})
|
||||
},
|
||||
// 请求 入伍保留学籍表单数据
|
||||
getEnlistmentReserve(procInsId) {
|
||||
getEnlistmentReserveByProcessInstanceId(procInsId.toString()).then((res) => {
|
||||
this.form = res.data
|
||||
// 处理审批意见列表,添加意见类型
|
||||
if (this.form?.enlistmentReserveApprovalList) {
|
||||
// 定义意见类型数组(与索引对应:0=辅导员,1=学务,2=二级学院,3=学籍管理科,4=教务处主管领导)
|
||||
const opinionTypes = [
|
||||
"辅导员意见",
|
||||
"学务意见",
|
||||
"二级学院意见",
|
||||
"学籍管理科意见",
|
||||
"教务处主管领导意见"
|
||||
];
|
||||
// 遍历审批列表,为每条数据添加 opinionType 字段
|
||||
this.form.enlistmentReserveApprovalList.forEach((item, index) => {
|
||||
// 只处理前5条数据(超出部分不添加,或可根据实际需求调整)
|
||||
if (index < opinionTypes.length) {
|
||||
item.opinionType = opinionTypes[index];
|
||||
} else {
|
||||
// 若超过5条,可设置默认值或不设置
|
||||
item.opinionType = "其他意见";
|
||||
}
|
||||
});
|
||||
}
|
||||
})
|
||||
},
|
||||
getStuInfo(stuNo) {
|
||||
getStuInfo(stuNo).then((res) => {
|
||||
if (res.code == 200) {
|
||||
|
||||
Reference in New Issue
Block a user