应征入伍保留学籍工作流
This commit is contained in:
@@ -42,3 +42,11 @@ export function delEnlistmentReserve(id) {
|
|||||||
method: 'post'
|
method: 'post'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
export function getOwnInfo(){
|
||||||
|
return request({
|
||||||
|
url:'/comprehensive/stuInfoView/getOwnInfo',
|
||||||
|
method:'GET'
|
||||||
|
})
|
||||||
|
}
|
||||||
@@ -275,7 +275,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { getStudent, getEnlistmentReserve, delEnlistmentReserve, addEnlistmentReserve, updateEnlistmentReserve } from "@/api/routine/enlistmentReserve/enlistmentReserve";
|
import { getOwnInfo, getEnlistmentReserve, delEnlistmentReserve, addEnlistmentReserve, updateEnlistmentReserve } from "@/api/routine/enlistmentReserve/enlistmentReserve";
|
||||||
import { getUserProfile } from '@/api/system/user' // 获取当前登录用户
|
import { getUserProfile } from '@/api/system/user' // 获取当前登录用户
|
||||||
export default {
|
export default {
|
||||||
name: 'EnlistmentReserveForm',
|
name: 'EnlistmentReserveForm',
|
||||||
@@ -286,6 +286,7 @@ export default {
|
|||||||
id: null,
|
id: null,
|
||||||
applyNo: '',
|
applyNo: '',
|
||||||
studentId: null,
|
studentId: null,
|
||||||
|
teacherName: '',
|
||||||
studentName: '',
|
studentName: '',
|
||||||
gender: '',
|
gender: '',
|
||||||
nation: '',
|
nation: '',
|
||||||
@@ -435,8 +436,15 @@ export default {
|
|||||||
if (this.user) {
|
if (this.user) {
|
||||||
this.formData.studentName = this.user.nickName
|
this.formData.studentName = this.user.nickName
|
||||||
this.formData.gender = this.user.sex
|
this.formData.gender = this.user.sex
|
||||||
this.formData.studentId = this.user.userId
|
getOwnInfo().then(res => {
|
||||||
this.formData.studentNo = this.user.userName
|
console.log(res);
|
||||||
|
this.formData.studentId = res.data.stuId
|
||||||
|
this.formData.studentNo = res.data.stuNo
|
||||||
|
this.formData.major = res.data.majorName
|
||||||
|
this.formData.className = res.data.className
|
||||||
|
this.formData.grade = res.data.gradeName
|
||||||
|
this.formData.teacherName = res.data.teacherName
|
||||||
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -68,6 +68,7 @@
|
|||||||
<el-table-column type="selection" width="55" align="center" />
|
<el-table-column type="selection" width="55" align="center" />
|
||||||
<el-table-column label="申请编号" align="center" prop="applyNo" />
|
<el-table-column label="申请编号" align="center" prop="applyNo" />
|
||||||
<el-table-column label="姓名" align="center" prop="studentName" />
|
<el-table-column label="姓名" align="center" prop="studentName" />
|
||||||
|
<el-table-column label="辅导员姓名" align="center" prop="teacherName" />
|
||||||
<el-table-column label="性别" align="center" prop="gender" />
|
<el-table-column label="性别" align="center" prop="gender" />
|
||||||
<el-table-column label="民族" align="center" prop="nation">
|
<el-table-column label="民族" align="center" prop="nation">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
|
|||||||
Reference in New Issue
Block a user