学生申请困难和助学金时,给与相关提示;对页面敏感信息进行了数据脱敏处理;给学生学籍异动模块新增表单和查看详情表单上增加了政治面貌选项。
This commit is contained in:
61
src/api/routine/cphMsg.js
Normal file
61
src/api/routine/cphMsg.js
Normal file
@@ -0,0 +1,61 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询消息列表
|
||||
export function listCphMsg(query) {
|
||||
return request({
|
||||
url: '/routine/cphMsg/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询消息详细
|
||||
export function getCphMsg(id) {
|
||||
return request({
|
||||
url: '/routine/cphMsg/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增消息
|
||||
export function addCphMsg(data) {
|
||||
return request({
|
||||
url: '/routine/cphMsg/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改消息
|
||||
export function updateCphMsg(data) {
|
||||
return request({
|
||||
url: '/routine/cphMsg/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除消息
|
||||
export function delCphMsg(id) {
|
||||
return request({
|
||||
url: '/routine/cphMsg/' + id,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
||||
// 根据学号查询用户ID
|
||||
export function getUserIdByStuNo(stuNo) {
|
||||
return request({
|
||||
url: '/routine/cphMsg/getUserIdByStuNo/' + stuNo,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 发送消息
|
||||
export function sendMessage(data) {
|
||||
return request({
|
||||
url: '/routine/cphMsg/sendMessage',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
@@ -13,7 +13,8 @@
|
||||
<table class="full-width" id="apply" v-loading="tableLoading">
|
||||
<tr>
|
||||
<td colspan="13" style="border:0px">
|
||||
<h1><span v-if="formData.applyYear">{{"(" + formData.applyYear+ ")"}}</span>广西水利电力职业技术学院{{formData.level?formData.level:"助学金"}}申请表</h1>
|
||||
<h1><span v-if="formData.applyYear">{{ "(" + formData.applyYear +
|
||||
")" }}</span>广西水利电力职业技术学院{{ formData.level ? formData.level : "助学金" }}申请表</h1>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- 学号姓名 -->
|
||||
@@ -21,13 +22,15 @@
|
||||
<td class="table-label"><span class="red-tip">*</span>姓名</td>
|
||||
<td class="table-input">
|
||||
<el-form-item prop="xm" :rules="rules">
|
||||
<el-input :disabled="xsEditDisable" v-model="formData.xm" placeholder="请输入内容"></el-input>
|
||||
<el-input :disabled="xsEditDisable" v-model="formData.xm"
|
||||
placeholder="请输入内容"></el-input>
|
||||
</el-form-item>
|
||||
</td>
|
||||
<td class="table-label"><span class="red-tip">*</span>学号</td>
|
||||
<td class="table-input">
|
||||
<el-form-item prop="xh" :rules="rules">
|
||||
<el-input :disabled="xsEditDisable" v-model="formData.xh" placeholder="请输入内容"></el-input>
|
||||
<el-input :disabled="xsEditDisable" v-model="formData.xh"
|
||||
placeholder="请输入内容"></el-input>
|
||||
</el-form-item>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -36,20 +39,15 @@
|
||||
<td class="table-label"><span class="red-tip">*</span>性别</td>
|
||||
<td class="table-input">
|
||||
<el-form-item prop="xb" :rules="rules">
|
||||
<el-input :disabled="xsEditDisable" v-model="formData.xb" placeholder="请输入内容"></el-input>
|
||||
<el-input :disabled="xsEditDisable" v-model="formData.xb"
|
||||
placeholder="请输入内容"></el-input>
|
||||
</el-form-item>
|
||||
</td>
|
||||
<td class="table-label"><span class="red-tip">*</span>入学时间</td>
|
||||
<td class="table-input date">
|
||||
<el-form-item class="fl" prop="rxsj" :rules="rules">
|
||||
<el-date-picker
|
||||
:disabled="xsEditDisable"
|
||||
v-model="formData.rxsj"
|
||||
type="month"
|
||||
:editable="false"
|
||||
value-format="yyyy-MM"
|
||||
format="yyyy-MM"
|
||||
placeholder="选择日期">
|
||||
<el-date-picker :disabled="xsEditDisable" v-model="formData.rxsj" type="month"
|
||||
:editable="false" value-format="yyyy-MM" format="yyyy-MM" placeholder="选择日期">
|
||||
</el-date-picker>
|
||||
|
||||
</el-form-item>
|
||||
@@ -61,16 +59,15 @@
|
||||
<td class="table-input">
|
||||
<el-form-item class="fl" prop="mz" :rules="rules">
|
||||
<!-- <el-input :disabled="xsEditDisable" v-model="formData.mz" placeholder="请输入内容"></el-input> -->
|
||||
<el-select :disabled="xsEditDisable" v-model="formData.mz" filterable placeholder="请选择">
|
||||
<el-option
|
||||
v-for="item in options"
|
||||
:key="item.value"
|
||||
:label="item"
|
||||
<el-select :disabled="xsEditDisable" v-model="formData.mz" filterable
|
||||
placeholder="请选择">
|
||||
<el-option v-for="item in options" :key="item.value" :label="item"
|
||||
:value="item">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</td><td class="table-label"><span class="red-tip">*</span>政治面貌</td>
|
||||
</td>
|
||||
<td class="table-label"><span class="red-tip">*</span>政治面貌</td>
|
||||
<td class="table-input">
|
||||
<el-form-item prop="zzmm" :rules="rules" class="fl">
|
||||
<el-select :disabled="xsEditDisable" v-model="formData.zzmm" placeholder="政治面貌">
|
||||
@@ -87,22 +84,16 @@
|
||||
<td class="table-label"><span class="red-tip">*</span>出生年月</td>
|
||||
<td class="table-input date">
|
||||
<el-form-item prop="csny" class="fl" :rules="rules">
|
||||
<el-date-picker
|
||||
|
||||
:disabled="xsEditDisable"
|
||||
value-format="yyyy-MM"
|
||||
format="yyyy-MM"
|
||||
v-model="formData.csny"
|
||||
type="month"
|
||||
:editable="false"
|
||||
placeholder="选择日期">
|
||||
<el-date-picker :disabled="xsEditDisable" value-format="yyyy-MM" format="yyyy-MM"
|
||||
v-model="formData.csny" type="month" :editable="false" placeholder="选择日期">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
</td>
|
||||
<td class="table-label"><span class="red-tip">*</span>电话</td>
|
||||
<td class="table-input">
|
||||
<el-form-item prop="dh" :rules="rules">
|
||||
<el-input :disabled="xsEditDisable" v-model="formData.dh" placeholder="请输入内容"></el-input>
|
||||
<el-input :disabled="xsEditDisable" v-model="formData.dh"
|
||||
placeholder="请输入内容"></el-input>
|
||||
</el-form-item>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -112,18 +103,14 @@
|
||||
<td class="table-label"><span class="red-tip">*</span>身份证号码</td>
|
||||
<td class="table-input">
|
||||
<el-form-item prop="sfzhm" :rules="rules">
|
||||
<el-input :disabled="xsEditDisable" v-model="formData.sfzhm" placeholder="请输入内容"></el-input>
|
||||
<el-input :disabled="xsEditDisable" v-model="formData.sfzhm"
|
||||
placeholder="请输入内容"></el-input>
|
||||
</el-form-item>
|
||||
</td>
|
||||
<td class="table-label"><span class="red-tip">*</span>电子版一寸照</td>
|
||||
<td>
|
||||
<el-upload
|
||||
:disabled="xsEditDisable"
|
||||
class="avatar-uploader"
|
||||
:action="upload.url"
|
||||
:headers="upload.headers"
|
||||
:show-file-list="false"
|
||||
:on-success="handleAvatarSuccess"
|
||||
<el-upload :disabled="xsEditDisable" class="avatar-uploader" :action="upload.url"
|
||||
:headers="upload.headers" :show-file-list="false" :on-success="handleAvatarSuccess"
|
||||
:before-upload="beforeAvatarUpload">
|
||||
<img v-if="formData.zp" :src="baseurl + formData.zp" class="avatar">
|
||||
<i v-else class="el-icon-plus avatar-uploader-icon" style="color:red;"></i>
|
||||
@@ -137,13 +124,15 @@
|
||||
<td class="table-label"><span class="red-tip">*</span>二级学院</td>
|
||||
<td class="table-input">
|
||||
<el-form-item prop="xy" :rules="rules">
|
||||
<el-input :disabled="xsEditDisable" v-model="formData.xy" placeholder="请输入内容"></el-input>
|
||||
<el-input :disabled="xsEditDisable" v-model="formData.xy"
|
||||
placeholder="请输入内容"></el-input>
|
||||
</el-form-item>
|
||||
</td>
|
||||
<td class="table-label"><span class="red-tip">*</span>年级</td>
|
||||
<td class="table-input">
|
||||
<el-form-item prop="nj" :rules="rules">
|
||||
<el-input :disabled="xsEditDisable" v-model="formData.nj" placeholder="请输入内容"></el-input>
|
||||
<el-input :disabled="xsEditDisable" v-model="formData.nj"
|
||||
placeholder="请输入内容"></el-input>
|
||||
</el-form-item>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -153,14 +142,16 @@
|
||||
<td class="table-label"><span class="red-tip">*</span>班级</td>
|
||||
<td class="table-input">
|
||||
<el-form-item prop="bj" :rules="rules">
|
||||
<el-input :disabled="xsEditDisable" v-model="formData.bj" placeholder="请输入内容"></el-input>
|
||||
<el-input :disabled="xsEditDisable" v-model="formData.bj"
|
||||
placeholder="请输入内容"></el-input>
|
||||
</el-form-item>
|
||||
</td>
|
||||
<td class="table-label" colspan="1"><span class="red-tip">*</span>邮编</td>
|
||||
<td class="table-input" colspan="1">
|
||||
<div>
|
||||
<el-form-item prop="yb" :rules="rules">
|
||||
<el-input :disabled="xsEditDisable" v-model="formData.yb" placeholder="请输入内容"></el-input>
|
||||
<el-input :disabled="xsEditDisable" v-model="formData.yb"
|
||||
placeholder="请输入内容"></el-input>
|
||||
</el-form-item>
|
||||
</div>
|
||||
</td>
|
||||
@@ -171,7 +162,8 @@
|
||||
<td class="table-input">
|
||||
<div>
|
||||
<el-form-item prop="zzls" :rules="rules">
|
||||
<el-input :disabled="xsEditDisable" v-model="formData.zzls" placeholder="请输入内容"></el-input>
|
||||
<el-input :disabled="xsEditDisable" v-model="formData.zzls"
|
||||
placeholder="请输入内容"></el-input>
|
||||
</el-form-item>
|
||||
</div>
|
||||
</td>
|
||||
@@ -179,7 +171,8 @@
|
||||
<td class="table-input">
|
||||
<div>
|
||||
<el-form-item prop="gyhd" :rules="rules">
|
||||
<el-input :disabled="xsEditDisable" v-model="formData.gyhd" placeholder="请输入内容"></el-input>
|
||||
<el-input :disabled="xsEditDisable" v-model="formData.gyhd"
|
||||
placeholder="请输入内容"></el-input>
|
||||
</el-form-item>
|
||||
</div>
|
||||
</td>
|
||||
@@ -203,7 +196,8 @@
|
||||
<td class="table-label"><span class="red-tip">*</span>困难标签</td>
|
||||
<td class="table-input">
|
||||
<el-form-item prop="knlx" :rules="rules">
|
||||
<el-input :disabled="knlxEditDisable" v-model="formData.knlx" placeholder="请输入内容"></el-input>
|
||||
<el-input :disabled="knlxEditDisable" v-model="formData.knlx"
|
||||
placeholder="请输入内容"></el-input>
|
||||
</el-form-item>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -213,7 +207,9 @@
|
||||
<td class="table-input">
|
||||
<div>
|
||||
<el-form-item>
|
||||
<el-input type="number" @change="computedAvg" prop="rkzs" :rules="rules" :disabled="xsEditDisable" v-model="formData.rkzs" placeholder="请输入内容"></el-input>
|
||||
<el-input type="number" @change="computedAvg" prop="rkzs" :rules="rules"
|
||||
:disabled="xsEditDisable" v-model="formData.rkzs"
|
||||
placeholder="请输入内容"></el-input>
|
||||
</el-form-item>
|
||||
</div>
|
||||
</td>
|
||||
@@ -221,7 +217,8 @@
|
||||
<td class="table-input">
|
||||
<div>
|
||||
<el-form-item prop="rjnsr" :rules="rules">
|
||||
<el-input type="number" @change="computedAvg" :disabled="xsEditDisable" v-model="formData.rjnsr" placeholder="请输入内容"></el-input>
|
||||
<el-input type="number" @change="computedAvg" :disabled="xsEditDisable"
|
||||
v-model="formData.rjnsr" placeholder="请输入内容"></el-input>
|
||||
</el-form-item>
|
||||
</div>
|
||||
</td>
|
||||
@@ -232,7 +229,8 @@
|
||||
<td class="table-input">
|
||||
<div>
|
||||
<el-form-item prop="srly" :rules="rules">
|
||||
<el-input :disabled="xsEditDisable" v-model="formData.srly" placeholder="请输入内容"></el-input>
|
||||
<el-input :disabled="xsEditDisable" v-model="formData.srly"
|
||||
placeholder="请输入内容"></el-input>
|
||||
</el-form-item>
|
||||
</div>
|
||||
</td>
|
||||
@@ -240,7 +238,8 @@
|
||||
<td class="table-input">
|
||||
<div>
|
||||
<el-form-item prop="dz" :rules="rules">
|
||||
<el-input :disabled="xsEditDisable" v-model="formData.dz" placeholder="请输入内容"></el-input>
|
||||
<el-input :disabled="xsEditDisable" v-model="formData.dz"
|
||||
placeholder="请输入内容"></el-input>
|
||||
</el-form-item>
|
||||
</div>
|
||||
</td>
|
||||
@@ -251,13 +250,15 @@
|
||||
<td class="table-label"><span class="red-tip">*</span>农业银行卡号</td>
|
||||
<td class="table-input">
|
||||
<el-form-item prop="bankCard" :rules="rules">
|
||||
<el-input :disabled="xsEditDisable" v-model="formData.bankCard" placeholder="请输入内容"></el-input>
|
||||
<el-input :disabled="xsEditDisable" v-model="formData.bankCard"
|
||||
placeholder="请输入内容"></el-input>
|
||||
</el-form-item>
|
||||
</td>
|
||||
<td class="table-label"><span class="red-tip">*</span>开户行</td>
|
||||
<td class="table-input">
|
||||
<el-form-item prop="bankAddr" :rules="rules">
|
||||
<el-input :disabled="xsEditDisable" v-model="formData.bankAddr" placeholder="请输入内容"></el-input>
|
||||
<el-input :disabled="xsEditDisable" v-model="formData.bankAddr"
|
||||
placeholder="请输入内容"></el-input>
|
||||
</el-form-item>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -268,48 +269,52 @@
|
||||
<tr>
|
||||
|
||||
<td colspan="6" style="padding:0px;">
|
||||
<el-table
|
||||
style="width:100%"
|
||||
:data="formData.jtcyObj"
|
||||
width="100%"
|
||||
:border="true"
|
||||
align="center"
|
||||
element-loading-text="数据加载中..."
|
||||
>
|
||||
<el-table style="width:100%" :data="formData.jtcyObj" width="100%" :border="true"
|
||||
align="center" element-loading-text="数据加载中...">
|
||||
<el-table-column label="姓名" header-align="center">
|
||||
<template slot-scope="{ row, $index }">
|
||||
<el-form-item label-width="0px" :prop="'jtcyObj[' + $index +'].xm'" :rules="rules">
|
||||
<el-input :disabled="xsEditDisable" v-model="row.xm" placeholder="请输入姓名"></el-input>
|
||||
<el-form-item label-width="0px" :prop="'jtcyObj[' + $index + '].xm'"
|
||||
:rules="rules">
|
||||
<el-input :disabled="xsEditDisable" v-model="row.xm"
|
||||
placeholder="请输入姓名"></el-input>
|
||||
|
||||
</el-form-item>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="年龄" header-align="center">
|
||||
<template slot-scope="{ row, $index }">
|
||||
<el-form-item label-width="0px" :prop="'jtcyObj[' + $index +'].nl'" :rules="rules" >
|
||||
<el-input :disabled="xsEditDisable" v-model="row.nl" placeholder="年龄"></el-input>
|
||||
<el-form-item label-width="0px" :prop="'jtcyObj[' + $index + '].nl'"
|
||||
:rules="rules">
|
||||
<el-input :disabled="xsEditDisable" v-model="row.nl"
|
||||
placeholder="年龄"></el-input>
|
||||
</el-form-item>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="与本人关系" header-align="center">
|
||||
<template slot-scope="{ row, $index }">
|
||||
<el-form-item label-width="0px" :prop="'jtcyObj[' + $index +'].gx'" :rules="rules">
|
||||
<el-input :disabled="xsEditDisable" v-model="row.gx" placeholder="与本人关系"></el-input>
|
||||
<el-form-item label-width="0px" :prop="'jtcyObj[' + $index + '].gx'"
|
||||
:rules="rules">
|
||||
<el-input :disabled="xsEditDisable" v-model="row.gx"
|
||||
placeholder="与本人关系"></el-input>
|
||||
</el-form-item>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="学习或工作单位" header-align="center" min-width="200">
|
||||
<template slot-scope="{ row, $index }">
|
||||
<el-form-item label-width="0px" :prop="'jtcyObj[' + $index +'].dw'" :rules="rules">
|
||||
<el-input :disabled="xsEditDisable" v-model="row.dw" placeholder="学习或工作单位"></el-input>
|
||||
<el-form-item label-width="0px" :prop="'jtcyObj[' + $index + '].dw'"
|
||||
:rules="rules">
|
||||
<el-input :disabled="xsEditDisable" v-model="row.dw"
|
||||
placeholder="学习或工作单位"></el-input>
|
||||
|
||||
</el-form-item>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="联系电话" header-align="center" min-width="120">
|
||||
<template slot-scope="{ row, $index }">
|
||||
<el-form-item label-width="0px" :prop="'jtcyObj[' + $index +'].lxdh'" :rules="rules">
|
||||
<el-input :disabled="xsEditDisable" v-model="row.lxdh" placeholder="联系电话"></el-input>
|
||||
<el-form-item label-width="0px" :prop="'jtcyObj[' + $index + '].lxdh'"
|
||||
:rules="rules">
|
||||
<el-input :disabled="xsEditDisable" v-model="row.lxdh"
|
||||
placeholder="联系电话"></el-input>
|
||||
|
||||
</el-form-item>
|
||||
</template>
|
||||
@@ -317,8 +322,10 @@
|
||||
|
||||
<el-table-column label="职业" header-align="center">
|
||||
<template slot-scope="{ row, $index }">
|
||||
<el-form-item label-width="0px" :prop="'jtcyObj[' + $index +'].zy'" :rules="rules">
|
||||
<el-input :disabled="xsEditDisable" v-model="row.zy" placeholder="职业"></el-input>
|
||||
<el-form-item label-width="0px" :prop="'jtcyObj[' + $index + '].zy'"
|
||||
:rules="rules">
|
||||
<el-input :disabled="xsEditDisable" v-model="row.zy"
|
||||
placeholder="职业"></el-input>
|
||||
|
||||
</el-form-item>
|
||||
</template>
|
||||
@@ -326,21 +333,26 @@
|
||||
|
||||
<el-table-column label="年收入" header-align="center" min-width="100">
|
||||
<template slot-scope="{ row, $index }">
|
||||
<el-form-item label-width="0px" :prop="'jtcyObj[' + $index +'].nsr'" :rules="rules">
|
||||
<el-input :disabled="xsEditDisable" v-model="row.nsr" type="number" @change="nsrChange" placeholder="年收入"></el-input>
|
||||
<el-form-item label-width="0px" :prop="'jtcyObj[' + $index + '].nsr'"
|
||||
:rules="rules">
|
||||
<el-input :disabled="xsEditDisable" v-model="row.nsr" type="number"
|
||||
@change="nsrChange" placeholder="年收入"></el-input>
|
||||
|
||||
</el-form-item>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="健康状况" header-align="center">
|
||||
<template slot-scope="{ row, $index }">
|
||||
<el-form-item label-width="0px" :prop="'jtcyObj[' + $index +'].jkzk'" :rules="rules">
|
||||
<el-input :disabled="xsEditDisable" v-model="row.jkzk" placeholder="健康状况"></el-input>
|
||||
<el-form-item label-width="0px" :prop="'jtcyObj[' + $index + '].jkzk'"
|
||||
:rules="rules">
|
||||
<el-input :disabled="xsEditDisable" v-model="row.jkzk"
|
||||
placeholder="健康状况"></el-input>
|
||||
|
||||
</el-form-item>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column v-if="!xsEditDisable" label="操作" min-width="80" header-align="center" align="center">
|
||||
<el-table-column v-if="!xsEditDisable" label="操作" min-width="80"
|
||||
header-align="center" align="center">
|
||||
<template slot-scope="{ row,$index }">
|
||||
<el-button @click="handleDeleteRow(row, $index)" type="text">删除</el-button>
|
||||
</template>
|
||||
@@ -358,16 +370,9 @@
|
||||
<div>
|
||||
<div class="content">
|
||||
<el-form-item prop="sqly" :rules="textAreaRules">
|
||||
<el-input
|
||||
show-word-limit
|
||||
:disabled="xsEditDisable"
|
||||
placeholder="请输入内容"
|
||||
type="textarea"
|
||||
maxlength="150"
|
||||
minlength="50"
|
||||
v-model="formData.sqly"
|
||||
:autosize="{ minRows: 6, maxRows: 18}"
|
||||
></el-input>
|
||||
<el-input show-word-limit :disabled="xsEditDisable" placeholder="请输入内容"
|
||||
type="textarea" maxlength="150" minlength="50" v-model="formData.sqly"
|
||||
:autosize="{ minRows: 6, maxRows: 18 }"></el-input>
|
||||
</el-form-item>
|
||||
</div>
|
||||
|
||||
@@ -379,7 +384,8 @@
|
||||
<tr>
|
||||
<td class="table-label">困难佐证材料</td>
|
||||
<td class="table-input" colspan="5">
|
||||
<Affix @input="handleAffix" :max-size="0.5" :accpet="accpet" :disabled="xsEditDisable" v-model="formData.affixId"></Affix>
|
||||
<Affix @input="handleAffix" :max-size="0.5" :accpet="accpet" :disabled="xsEditDisable"
|
||||
v-model="formData.affixId"></Affix>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- 申请人签名 -->
|
||||
@@ -388,7 +394,8 @@
|
||||
<td class="table-input" colspan="5">
|
||||
<div class="signature">
|
||||
<div>
|
||||
<signature :url="formData.xsqm" @save-success="saveSuccessHandleXsqm"></signature>
|
||||
<signature :url="formData.xsqm" @save-success="saveSuccessHandleXsqm">
|
||||
</signature>
|
||||
|
||||
<!-- <el-upload
|
||||
:disabled="xsEditDisable"
|
||||
@@ -446,12 +453,11 @@
|
||||
|
||||
<div class="newsign">
|
||||
<span>
|
||||
<el-upload :disabled="fdyEditDisable"
|
||||
class="avatar-uploader"
|
||||
:action="upload.url" :headers="upload.headers"
|
||||
:show-file-list="false"
|
||||
<el-upload :disabled="fdyEditDisable" class="avatar-uploader"
|
||||
:action="upload.url" :headers="upload.headers" :show-file-list="false"
|
||||
:on-success="handleFdySignatureSuccess">
|
||||
<img v-if="formData.fdyqm" :src="baseurl+formData.fdyqm" class="signature-img">
|
||||
<img v-if="formData.fdyqm" :src="baseurl + formData.fdyqm"
|
||||
class="signature-img">
|
||||
<span class="signature-tip" v-else>签名</span>
|
||||
</el-upload>
|
||||
</span>
|
||||
@@ -500,12 +506,11 @@
|
||||
|
||||
<div class="newsign">
|
||||
<span>
|
||||
<el-upload :disabled="ejxyEditDisable"
|
||||
class="avatar-uploader"
|
||||
:action="upload.url" :headers="upload.headers"
|
||||
:show-file-list="false"
|
||||
<el-upload :disabled="ejxyEditDisable" class="avatar-uploader"
|
||||
:action="upload.url" :headers="upload.headers" :show-file-list="false"
|
||||
:on-success="handleEjxyldSignatureSuccess">
|
||||
<img v-if="formData.ejxyldqm" :src="baseurl+formData.ejxyldqm" class="signature-img">
|
||||
<img v-if="formData.ejxyldqm" :src="baseurl + formData.ejxyldqm"
|
||||
class="signature-img">
|
||||
<span class="signature-tip" v-else>签名</span>
|
||||
</el-upload>
|
||||
</span>
|
||||
@@ -555,12 +560,11 @@
|
||||
|
||||
<div class="newsign">
|
||||
<span>
|
||||
<el-upload :disabled="xxEditDisable"
|
||||
class="avatar-uploader"
|
||||
:action="upload.url" :headers="upload.headers"
|
||||
:show-file-list="false"
|
||||
<el-upload :disabled="xxEditDisable" class="avatar-uploader"
|
||||
:action="upload.url" :headers="upload.headers" :show-file-list="false"
|
||||
:on-success="handleXxSignatureSuccess">
|
||||
<img v-if="formData.xxqm" :src="baseurl+formData.xxqm" class="signature-img">
|
||||
<img v-if="formData.xxqm" :src="baseurl + formData.xxqm"
|
||||
class="signature-img">
|
||||
<span class="signature-tip" v-else>签名</span>
|
||||
</el-upload>
|
||||
</span>
|
||||
@@ -575,13 +579,25 @@
|
||||
|
||||
</table>
|
||||
<el-form-item v-if="!isDetail">
|
||||
<el-button type="primary" v-if="this.formData.step == 0 && isShow " @click="onSubmit">提交申请</el-button>
|
||||
<el-button type="success" v-if="(this.formData.step == 0 || this.formData.step == 1) && isShow" @click="onSave">保存</el-button>
|
||||
<el-button type="primary" v-if="this.formData.step == 1 && isShow && this.formData.step !=-1 && this.formData.step !=4" @click="onSubmitFdy">审核通过</el-button>
|
||||
<el-button type="primary" v-if="this.formData.step == 2 && isShow && this.formData.step !=-1 && this.formData.step !=4" @click="onSubmitEjxy">审核通过</el-button>
|
||||
<el-button type="primary" v-if="this.formData.step == 3 && isShow && this.formData.step !=-1 && this.formData.step !=4 " @click="onSubmitxxsh">审核通过</el-button>
|
||||
<el-button v-if="isShow && this.formData.step != 0 && this.formData.step !=-1 && this.formData.step !=4" @click="rejectDialogVisible = true" type="warning">驳回</el-button>
|
||||
<el-button v-if="isShow && this.formData.step != 0 && this.formData.step !=-1 && this.formData.step !=4" @click="open(0)" type="danger">拒绝</el-button>
|
||||
<el-button type="primary" v-if="this.formData.step == 0 && isShow"
|
||||
@click="onSubmit">提交申请</el-button>
|
||||
<el-button type="success" v-if="(this.formData.step == 0 || this.formData.step == 1) && isShow"
|
||||
@click="onSave">保存</el-button>
|
||||
<el-button type="primary"
|
||||
v-if="this.formData.step == 1 && isShow && this.formData.step != -1 && this.formData.step != 4"
|
||||
@click="onSubmitFdy">审核通过</el-button>
|
||||
<el-button type="primary"
|
||||
v-if="this.formData.step == 2 && isShow && this.formData.step != -1 && this.formData.step != 4"
|
||||
@click="onSubmitEjxy">审核通过</el-button>
|
||||
<el-button type="primary"
|
||||
v-if="this.formData.step == 3 && isShow && this.formData.step != -1 && this.formData.step != 4"
|
||||
@click="onSubmitxxsh">审核通过</el-button>
|
||||
<el-button
|
||||
v-if="isShow && this.formData.step != 0 && this.formData.step != -1 && this.formData.step != 4"
|
||||
@click="rejectDialogVisible = true" type="warning">驳回</el-button>
|
||||
<el-button
|
||||
v-if="isShow && this.formData.step != 0 && this.formData.step != -1 && this.formData.step != 4"
|
||||
@click="open(0)" type="danger">拒绝</el-button>
|
||||
<el-button type="success" @click="printHtml">打印</el-button>
|
||||
</el-form-item>
|
||||
<el-form-item v-if="isDetail">
|
||||
@@ -601,10 +617,8 @@
|
||||
|
||||
</div>
|
||||
<el-timeline v-loading="recordLoading">
|
||||
<el-timeline-item v-for="(item,index) in recordList"
|
||||
:key="index"
|
||||
:icon="item.icon"
|
||||
size="large" :type='item.type' :timestamp="item.createTime" placement="top">
|
||||
<el-timeline-item v-for="(item, index) in recordList" :key="index" :icon="item.icon" size="large"
|
||||
:type='item.type' :timestamp="item.createTime" placement="top">
|
||||
<el-card>
|
||||
<h3 v-if="item.step == -1">撤回提交</h3>
|
||||
<h3 v-if="item.step == 0">保存</h3>
|
||||
@@ -641,14 +655,9 @@
|
||||
</div>
|
||||
</div>
|
||||
<!-- 打印 -->
|
||||
<el-dialog
|
||||
class="dialog"
|
||||
:visible.sync="openPrint"
|
||||
fullscreen
|
||||
:close-on-click-modal="false"
|
||||
append-to-body
|
||||
>
|
||||
<el-form :disabled="disable" :model="formData" class="print-form" ref="formData" label-width="0px" size="mini">
|
||||
<el-dialog class="dialog" :visible.sync="openPrint" fullscreen :close-on-click-modal="false" append-to-body>
|
||||
<el-form :disabled="disable" :model="formData" class="print-form" ref="formData" label-width="0px"
|
||||
size="mini">
|
||||
|
||||
|
||||
<div id="print">
|
||||
@@ -840,14 +849,8 @@
|
||||
<tr>
|
||||
|
||||
<td colspan="6" style="padding:0px;">
|
||||
<el-table
|
||||
style="width:100%"
|
||||
:data="formData.jtcyObj"
|
||||
width="100%"
|
||||
:border="true"
|
||||
align="center"
|
||||
element-loading-text="数据加载中..."
|
||||
>
|
||||
<el-table style="width:100%" :data="formData.jtcyObj" width="100%" :border="true"
|
||||
align="center" element-loading-text="数据加载中...">
|
||||
<el-table-column label="姓名" header-align="center" min-width="120">
|
||||
<template slot-scope="{ row, $index }">
|
||||
{{ row.xm }}
|
||||
@@ -919,15 +922,11 @@
|
||||
<div class="signature">
|
||||
<div>
|
||||
|
||||
<el-upload
|
||||
:disabled="xsEditDisable"
|
||||
class="avatar-uploader"
|
||||
:action="upload.url"
|
||||
:headers="upload.headers"
|
||||
:show-file-list="false"
|
||||
:on-success="handleSignatureSuccess"
|
||||
>
|
||||
<img v-if="formData.xsqm" :src="baseurl + formData.xsqm" class="signature-img">
|
||||
<el-upload :disabled="xsEditDisable" class="avatar-uploader"
|
||||
:action="upload.url" :headers="upload.headers" :show-file-list="false"
|
||||
:on-success="handleSignatureSuccess">
|
||||
<img v-if="formData.xsqm" :src="baseurl + formData.xsqm"
|
||||
class="signature-img">
|
||||
<span class="signature-tip" v-else>签名</span>
|
||||
</el-upload>
|
||||
</div>
|
||||
@@ -954,12 +953,11 @@
|
||||
</div>
|
||||
<div class="newsign">
|
||||
<span>
|
||||
<el-upload :disabled="fdyEditDisable"
|
||||
class="avatar-uploader"
|
||||
:action="upload.url" :headers="upload.headers"
|
||||
:show-file-list="false"
|
||||
<el-upload :disabled="fdyEditDisable" class="avatar-uploader"
|
||||
:action="upload.url" :headers="upload.headers" :show-file-list="false"
|
||||
:on-success="handleFdySignatureSuccess">
|
||||
<img v-if="formData.fdyqm" :src="baseurl+formData.fdyqm" class="signature-img">
|
||||
<img v-if="formData.fdyqm" :src="baseurl + formData.fdyqm"
|
||||
class="signature-img">
|
||||
|
||||
</el-upload>
|
||||
</span>
|
||||
@@ -1038,12 +1036,7 @@
|
||||
</span>
|
||||
</el-dialog>
|
||||
|
||||
<el-dialog
|
||||
class="reject"
|
||||
title="驳回"
|
||||
:visible.sync="rejectDialogVisible"
|
||||
width="30%"
|
||||
>
|
||||
<el-dialog class="reject" title="驳回" :visible.sync="rejectDialogVisible" width="30%">
|
||||
<el-form ref="form" :model="form" label-width="80px" size="small">
|
||||
<el-row v-if="formData.step == 1">
|
||||
<el-form-item label="驳回至">
|
||||
@@ -1748,7 +1741,12 @@ export default {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
// 添加提交确认提示
|
||||
this.$confirm('即将提交,提交后,将不能修改,是否继续?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
let data = {};
|
||||
Object.assign(data, this.formData);
|
||||
data.step = 1;
|
||||
@@ -1800,6 +1798,9 @@ export default {
|
||||
return false;
|
||||
}
|
||||
});
|
||||
}).catch(() => {
|
||||
// 用户取消操作
|
||||
});
|
||||
|
||||
},
|
||||
//根据学号查询学生信息
|
||||
@@ -1858,6 +1859,13 @@ export default {
|
||||
this.$modal.msgError("请输入学号");
|
||||
return;
|
||||
}
|
||||
|
||||
// 添加保存确认提示
|
||||
this.$confirm('保存后,还能继续修改表单信息,是否继续?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'info'
|
||||
}).then(() => {
|
||||
this.formData.jtcy = JSON.stringify(this.formData.jtcyObj)
|
||||
|
||||
if (this.formData.id) {
|
||||
@@ -1871,7 +1879,7 @@ export default {
|
||||
}
|
||||
|
||||
this.doUpdateSignature();
|
||||
//this.$tab.closePage();
|
||||
this.$tab.closePage();
|
||||
}
|
||||
|
||||
});
|
||||
@@ -1881,10 +1889,13 @@ export default {
|
||||
this.$modal.msgSuccess("保存成功");
|
||||
this.user.signature = this.formData.xsqm;
|
||||
this.doUpdateSignature();
|
||||
//this.$tab.closePage();
|
||||
this.$tab.closePage();
|
||||
}
|
||||
});
|
||||
}
|
||||
}).catch(() => {
|
||||
// 用户取消操作
|
||||
});
|
||||
},
|
||||
handleDeleteRow(row, index) {
|
||||
if (this.formData.jtcyObj.length == 1) {
|
||||
@@ -2052,7 +2063,6 @@ export default {
|
||||
|
||||
|
||||
<style scoped>
|
||||
|
||||
.form-blok {
|
||||
margin: 0 auto;
|
||||
width: 1000px;
|
||||
@@ -2061,15 +2071,18 @@ export default {
|
||||
transition: .2s;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.source {
|
||||
text-align: center;
|
||||
|
||||
}
|
||||
|
||||
/* 表格样式 */
|
||||
.full-width {
|
||||
border-collapse: collapse;
|
||||
|
||||
}
|
||||
|
||||
td {
|
||||
padding: 8px 10px 8px 10px;
|
||||
min-width: 120px;
|
||||
@@ -2081,20 +2094,24 @@ export default {
|
||||
|
||||
border: 1px solid #000;
|
||||
}
|
||||
|
||||
.table-label {
|
||||
width: 200px;
|
||||
background: #ededed;
|
||||
text-align: left;
|
||||
|
||||
}
|
||||
|
||||
.table-input {
|
||||
width: 400px;
|
||||
padding: 8px 4px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.table-input>>>.el-input__inner {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.table-align-left {
|
||||
padding: 8px 8px;
|
||||
text-align: left;
|
||||
@@ -2118,31 +2135,38 @@ export default {
|
||||
.class-info div span {
|
||||
line-height: 25px;
|
||||
}
|
||||
|
||||
/* 输入样式统一 */
|
||||
/deep/ .el-input__inner{
|
||||
|
||||
:deep(.el-input__inner ){
|
||||
border-width: 0px;
|
||||
|
||||
}
|
||||
|
||||
/* 表单样式统一 */
|
||||
/deep/ .el-form-item{
|
||||
:deep(.el-form-item){
|
||||
margin-bottom: 0;
|
||||
}
|
||||
/deep/ .el-textarea__inner{
|
||||
|
||||
:deep(.el-textarea__inner){
|
||||
border-width: 0px;
|
||||
}
|
||||
/deep/ .el-date-editor{
|
||||
|
||||
}
|
||||
/deep/ .el-form-item__error {
|
||||
:deep(.el-date-editor){}
|
||||
|
||||
|
||||
:deep(.el-form-item__error){
|
||||
padding-left: 12px;
|
||||
position: relative;
|
||||
text-align: left;
|
||||
|
||||
}
|
||||
|
||||
.radio-group /deep/ .el-radio-group {
|
||||
width: 180px;
|
||||
|
||||
}
|
||||
|
||||
/* */
|
||||
.radio-group-row {
|
||||
display: flex;
|
||||
@@ -2153,6 +2177,7 @@ export default {
|
||||
line-height: 20px;
|
||||
|
||||
}
|
||||
|
||||
.signature {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
@@ -2161,6 +2186,7 @@ export default {
|
||||
gap: 10px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.signature>div {
|
||||
vertical-align: bottom;
|
||||
/* display: block;
|
||||
@@ -2168,6 +2194,7 @@ export default {
|
||||
/* height: 36px;
|
||||
line-height: 36px; */
|
||||
}
|
||||
|
||||
.signature>div:nth-child(1) {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
@@ -2177,25 +2204,30 @@ export default {
|
||||
justify-content: flex-end;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
.avatar {
|
||||
width: 117px;
|
||||
height: 156px;
|
||||
}
|
||||
/deep/ .el-upload{
|
||||
|
||||
:deep(.el-upload ){
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
|
||||
}
|
||||
|
||||
.image-input {
|
||||
padding: 0;
|
||||
width: 120px;
|
||||
height: 160px;
|
||||
}
|
||||
|
||||
.signature-img {
|
||||
width: 160px;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
.signature-tip {
|
||||
width: 160px;
|
||||
cursor: pointer;
|
||||
@@ -2203,17 +2235,20 @@ export default {
|
||||
text-align: left;
|
||||
|
||||
}
|
||||
|
||||
.qm {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-content: center;
|
||||
|
||||
}
|
||||
|
||||
.qm>span {
|
||||
|
||||
text-align: left;
|
||||
padding-left: 12px;
|
||||
}
|
||||
|
||||
.qm>div {
|
||||
|
||||
text-align: right;
|
||||
@@ -2224,7 +2259,8 @@ export default {
|
||||
padding: 12px 0px;
|
||||
text-align: center;
|
||||
}
|
||||
/deep/ .el-input.is-disabled .el-input__inner{
|
||||
|
||||
:deep(.el-input.is-disabled .el-input__inner ){
|
||||
background-color: #fff;
|
||||
color: #000;
|
||||
}
|
||||
@@ -2232,13 +2268,16 @@ export default {
|
||||
.list .item span {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
/* 间隔 */
|
||||
.gap {
|
||||
padding: 0px 20px;
|
||||
}
|
||||
|
||||
.record ul {
|
||||
padding-inline-start: 0px !important;
|
||||
}
|
||||
|
||||
.record .title {
|
||||
padding: 20px 0px;
|
||||
}
|
||||
@@ -2249,6 +2288,7 @@ export default {
|
||||
color: #000;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.red-tip {
|
||||
display: inline-block;
|
||||
font-size: 14px;
|
||||
@@ -2257,6 +2297,7 @@ export default {
|
||||
line-height: 17px;
|
||||
color: red;
|
||||
}
|
||||
|
||||
.pos {
|
||||
position: absolute;
|
||||
left: 4px;
|
||||
@@ -2270,6 +2311,7 @@ export default {
|
||||
justify-content: flex-end;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
#print {
|
||||
display: inline-block;
|
||||
font-size: 16px;
|
||||
@@ -2277,15 +2319,18 @@ export default {
|
||||
text-align: center;
|
||||
padding: 20px 60px 0px 60px;
|
||||
}
|
||||
|
||||
#print table {
|
||||
width: 800px;
|
||||
}
|
||||
|
||||
#print .table-label {
|
||||
padding: 10px;
|
||||
max-width: 100px;
|
||||
text-align: center;
|
||||
|
||||
}
|
||||
|
||||
#print .table-input {
|
||||
max-width: 100px;
|
||||
word-wrap: break-word;
|
||||
@@ -2297,10 +2342,12 @@ export default {
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.reject /deep/ .el-input__inner {
|
||||
border-width: 1px;
|
||||
|
||||
}
|
||||
|
||||
.reject /deep/ .el-textarea__inner {
|
||||
border-width: 1px;
|
||||
}
|
||||
@@ -2311,51 +2358,66 @@ export default {
|
||||
padding: 2px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
#print h1 {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#print .newsign {
|
||||
margin-top: 50px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
#print .signature {
|
||||
margin: 5px 0px;
|
||||
}
|
||||
|
||||
#pring .content {
|
||||
text-align: left !important;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.printyj {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.print-form {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
/*去除页眉页脚*/
|
||||
@page {
|
||||
size: auto; /* auto is the initial value */
|
||||
margin: 3mm; /* this affects the margin in the printer settings */
|
||||
size: auto;
|
||||
/* auto is the initial value */
|
||||
margin: 3mm;
|
||||
/* this affects the margin in the printer settings */
|
||||
}
|
||||
|
||||
html {
|
||||
background-color: #FFFFFF;
|
||||
margin: 0; /* this affects the margin on the html before sending to printer */
|
||||
margin: 0;
|
||||
/* this affects the margin on the html before sending to printer */
|
||||
}
|
||||
|
||||
body {
|
||||
border: solid 1px blue;
|
||||
margin: 10mm 15mm 10mm 15mm; /* margin you want for the content */
|
||||
margin: 10mm 15mm 10mm 15mm;
|
||||
/* margin you want for the content */
|
||||
}
|
||||
|
||||
#print /deep/ .el-table--border .el-table__cell {
|
||||
border-right: 1px solid #000 !important;
|
||||
}
|
||||
|
||||
#print /deep/ .el-table th.el-table__cell.is-leaf {
|
||||
border-bottom: 1px solid #000 !important;
|
||||
}
|
||||
|
||||
#print /deep/ .el-table td.el-table__cell {
|
||||
border-bottom: 1px solid #000 !important;
|
||||
}
|
||||
|
||||
/*去除页眉页脚*/
|
||||
</style>
|
||||
|
@@ -35,7 +35,6 @@
|
||||
<el-table-column label="申请人姓名" align="center" prop="xm" />
|
||||
<el-table-column label="性别" align="center" prop="xb" />
|
||||
<el-table-column label="民族" align="center" prop="mz" />
|
||||
<el-table-column label="身份证号码" align="center" prop="sfzhm" />
|
||||
<el-table-column label="学号" align="center" prop="xh" />
|
||||
<el-table-column label="出生年月" align="center" prop="csny" />
|
||||
<el-table-column label="辅导员审核意见" align="center" prop="xsqmyj">
|
||||
|
@@ -17,8 +17,7 @@
|
||||
<td class="table-label"><span class="red-tip">*</span>学号</td>
|
||||
<td class="table-input" style="width:240px;" >
|
||||
<el-form-item prop="xh" :rules="rules">
|
||||
<el-input @blur="inputHandler" :disabled="this.formData.step > 2" v-model="formData.xh"
|
||||
placeholder="请输入学号"></el-input>
|
||||
<el-input @blur="inputHandler" :disabled="this.formData.step >2" v-model="formData.xh" placeholder="请输入学号"></el-input>
|
||||
</el-form-item>
|
||||
</td>
|
||||
<td class="table-label" ><span class="red-tip">*</span>姓名</td>
|
||||
@@ -103,8 +102,7 @@
|
||||
</td>
|
||||
<td class="table-input " >
|
||||
<el-form-item prop="rkzs" :rules="rules">
|
||||
<el-input onkeyup="value=value.replace(/[^\d]+/g,'')" :disabled="this.formData.step > 2"
|
||||
v-model="formData.rkzs" placeholder="请输入家庭人口数"></el-input>
|
||||
<el-input onkeyup="value=value.replace(/[^\d]+/g,'')" :disabled="this.formData.step >2" v-model="formData.rkzs" placeholder="请输入家庭人口数"></el-input>
|
||||
</el-form-item>
|
||||
</td>
|
||||
<td class="table-label">
|
||||
@@ -112,8 +110,8 @@
|
||||
</td>
|
||||
<td class="table-input" >
|
||||
<el-form-item prop="jtcyzxrs" :rules="rules">
|
||||
<el-input onkeyup="value=value.replace(/[^\d]+/g,'')" :disabled="this.formData.step > 2"
|
||||
v-model="formData.jtcyzxrs" placeholder="请输入在学人数"></el-input>
|
||||
<el-input onkeyup="value=value.replace(/[^\d]+/g,'')" :disabled="this.formData.step >2" v-model="formData.jtcyzxrs"
|
||||
placeholder="请输入在学人数"></el-input>
|
||||
</el-form-item>
|
||||
</td>
|
||||
<td class="table-label">
|
||||
@@ -121,8 +119,7 @@
|
||||
</td>
|
||||
<td class="table-input">
|
||||
<el-form-item prop="syrs" :rules="rules">
|
||||
<el-input onkeyup="value=value.replace(/[^\d]+/g,'')" :disabled="this.formData.step > 2"
|
||||
v-model="formData.syrs" placeholder="请输入赡养人数"></el-input>
|
||||
<el-input onkeyup="value=value.replace(/[^\d]+/g,'')" :disabled="this.formData.step >2" v-model="formData.syrs" placeholder="请输入赡养人数"></el-input>
|
||||
</el-form-item>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -132,8 +129,8 @@
|
||||
</td>
|
||||
<td class="table-input" >
|
||||
<el-form-item prop="jtcysyrs" :rules="rules">
|
||||
<el-input onkeyup="value=value.replace(/[^\d]+/g,'')" :disabled="this.formData.step > 2"
|
||||
v-model="formData.jtcysyrs" placeholder="请输入失业人数"></el-input>
|
||||
<el-input onkeyup="value=value.replace(/[^\d]+/g,'')" :disabled="this.formData.step >2" v-model="formData.jtcysyrs"
|
||||
placeholder="请输入失业人数"></el-input>
|
||||
</el-form-item>
|
||||
</td>
|
||||
<td class="table-label">
|
||||
@@ -142,7 +139,8 @@
|
||||
<td class="table-input" colspan="3" >
|
||||
|
||||
<el-form-item prop="knlx" :rules="rules">
|
||||
<el-input :disabled="this.formData.step < 2" v-model="formData.knlx" placeholder="困难类型"></el-input>
|
||||
<el-input :disabled="this.formData.step < 2" v-model="formData.knlx"
|
||||
placeholder="困难类型"></el-input>
|
||||
</el-form-item>
|
||||
|
||||
</td>
|
||||
@@ -156,7 +154,8 @@
|
||||
<td class="table-label"><span class="red-tip">*</span>籍贯</td>
|
||||
<td class="table-input table-align-left">
|
||||
<el-form-item prop="jg" :rules="rules">
|
||||
<el-input :disabled="this.formData.step > 2" v-model="formData.jg" placeholder="籍贯"></el-input>
|
||||
<el-input :disabled="this.formData.step >2" v-model="formData.jg"
|
||||
placeholder="籍贯"></el-input>
|
||||
</el-form-item>
|
||||
</td>
|
||||
<td class="table-label"><span class="red-tip">*</span>户籍所在地</td>
|
||||
@@ -229,8 +228,7 @@
|
||||
<td class="table-label"><span class="red-tip">*</span>家长手机号码</td>
|
||||
<td class="table-input" colspan="2">
|
||||
<el-form-item prop="parentstel">
|
||||
<el-input v-model="formData.parentstel" placeholder="联系电话" type="number"
|
||||
:disabled="formData.step > 2"></el-input>
|
||||
<el-input v-model="formData.parentstel" placeholder="联系电话" type="number" :disabled="formData.step >2"></el-input>
|
||||
</el-form-item>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -354,8 +352,8 @@
|
||||
<td class="table-label"><span class="red-tip">*</span>学生父母丧失劳动能力或劳动能力弱(单位:人)</td>
|
||||
<td class="table-input">
|
||||
<el-form-item prop="ssldnl" :rules="rules">
|
||||
<el-input onkeyup="value=value.replace(/[^\d]+/g,'')" v-model="formData.ssldnl"
|
||||
:disabled="formData.step > 2" placeholder="请输入">
|
||||
<el-input onkeyup="value=value.replace(/[^\d]+/g,'')" v-model="formData.ssldnl" :disabled="formData.step >2"
|
||||
placeholder="请输入">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
|
||||
@@ -363,16 +361,14 @@
|
||||
<td class="table-label"><span class="red-tip">*</span>需赡养丧失劳动能力的共同生活家庭成员(单位:人)</td>
|
||||
<td class="table-input" >
|
||||
<el-form-item prop="zyssldnl" :rules="rules">
|
||||
<el-input onkeyup="value=value.replace(/[^\d]+/g,'')" :disabled="formData.step > 2"
|
||||
v-model="formData.zyssldnl" placeholder="请输入"></el-input>
|
||||
<el-input onkeyup="value=value.replace(/[^\d]+/g,'')" :disabled="formData.step >2" v-model="formData.zyssldnl" placeholder="请输入"></el-input>
|
||||
</el-form-item>
|
||||
</td>
|
||||
|
||||
<td class="table-label"><span class="red-tip">*</span>患病残疾人(单位:人)</td>
|
||||
<td class="table-input" >
|
||||
<el-form-item prop="hbcjr" :rules="rules">
|
||||
<el-input onkeyup="value=value.replace(/[^\d]+/g,'')" :disabled="formData.step > 2"
|
||||
v-model="formData.hbcjr" placeholder="请输入">
|
||||
<el-input onkeyup="value=value.replace(/[^\d]+/g,'')" :disabled="formData.step >2" v-model="formData.hbcjr" placeholder="请输入">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
</td>
|
||||
@@ -394,7 +390,8 @@
|
||||
</td>
|
||||
<td class="table-label">其他情况</td>
|
||||
<td class="table-input" >
|
||||
<el-input :disabled="formData.step > 2" v-model="formData.tfsj3" placeholder="请填写其他情况"></el-input>
|
||||
<el-input :disabled="formData.step >2" v-model="formData.tfsj3"
|
||||
placeholder="请填写其他情况"></el-input>
|
||||
</td>
|
||||
|
||||
<!-- <td class="table-label">具体时间、内容及涉及金额等情况</td>
|
||||
@@ -406,8 +403,8 @@
|
||||
<td class="table-label"><span class="red-tip">*</span>具体时间、内容及涉及金额等情况</td>
|
||||
<td class="table-input" colspan="5">
|
||||
<el-form-item prop="tfsj2" :rules="rules">
|
||||
<el-input type="textarea" :autosize="{ minRows: 6, maxRows: 18 }" :disabled="formData.step > 2"
|
||||
v-model="formData.tfsj2" placeholder="具体时间、内容及涉及金额等情况"></el-input>
|
||||
<el-input type="textarea" :autosize="{ minRows: 6, maxRows: 18}" :disabled="formData.step >2" v-model="formData.tfsj2"
|
||||
placeholder="具体时间、内容及涉及金额等情况"></el-input>
|
||||
</el-form-item>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -417,9 +414,16 @@
|
||||
<td class="table-label rl"><span class="red-tip">*</span>申请理由</td>
|
||||
<td style="text-align: left;" colspan="5">
|
||||
<el-form-item prop="sqly" :rules="textAreaRules" >
|
||||
<el-input show-word-limit :disabled="formData.step > 2" placeholder="请输入内容" type="textarea"
|
||||
maxlength="150" minlength="100" v-model="formData.sqly"
|
||||
:autosize="{ minRows: 6, maxRows: 18 }"></el-input>
|
||||
<el-input
|
||||
show-word-limit
|
||||
:disabled="formData.step >2"
|
||||
placeholder="请输入内容"
|
||||
type="textarea"
|
||||
maxlength="150"
|
||||
minlength="100"
|
||||
v-model="formData.sqly"
|
||||
:autosize="{ minRows: 6, maxRows: 18}"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -460,9 +464,7 @@
|
||||
<tr>
|
||||
<td class="table-label rl">辅导员意见</td>
|
||||
<td style="text-align: left;" colspan="5">
|
||||
<div style="margin: 10px 10px;"><span class="red-tip">*</span> 经班级评议小组民主评议,认为该生(□符合
|
||||
□不符合)家庭经济困难学生认定条件,推荐认定困难类型为:
|
||||
</div>
|
||||
<div style="margin: 10px 10px;"><span class="red-tip">*</span> 经班级评议小组民主评议,认为该生(□符合 □不符合)家庭经济困难学生认定条件,推荐认定困难类型为:</div>
|
||||
<el-row class="radio-group-row">
|
||||
<div class="radio-group">
|
||||
<el-radio-group v-model="formData.bjpyyj">
|
||||
@@ -497,8 +499,7 @@
|
||||
<tr>
|
||||
<td class="table-label rl" >二级学院认定意见</td>
|
||||
<td style="text-align: left;" colspan="5">
|
||||
<div style="margin: 10px 10px;"><span class="red-tip">*</span> 经学院认定工作组审查,认为该生(□符合
|
||||
□不符合)家庭经济困难学生认定条件;认定困难类型为:</div>
|
||||
<div style="margin: 10px 10px;"><span class="red-tip">*</span> 经学院认定工作组审查,认为该生(□符合 □不符合)家庭经济困难学生认定条件;认定困难类型为:</div>
|
||||
<el-row class="radio-group-row">
|
||||
<div class="radio-group">
|
||||
<el-radio-group v-model="formData.ejxyldqmyj">
|
||||
@@ -538,8 +539,7 @@
|
||||
<td style="writing-mode:vertical-rl; " class="table-label">学校审核意见</td>
|
||||
|
||||
<td style="text-align: left;" colspan="5">
|
||||
<div style="margin: 10px 10px;"><span class="red-tip">*</span> 经学校学生资助工作领导小组审查,经5个工作日公示无异议,认定该生(□符合
|
||||
□不符合)家庭经济困难学生认定条件,同意认定困难类型为:</div>
|
||||
<div style="margin: 10px 10px;"><span class="red-tip">*</span> 经学校学生资助工作领导小组审查,经5个工作日公示无异议,认定该生(□符合 □不符合)家庭经济困难学生认定条件,同意认定困难类型为:</div>
|
||||
<el-row class="radio-group-row">
|
||||
<div class="radio-group">
|
||||
<el-radio-group v-model="formData.xsqmyj">
|
||||
@@ -577,8 +577,7 @@
|
||||
<tr>
|
||||
<td style="writing-mode:vertical-rl; " class="table-label">困难佐证材料</td>
|
||||
<td class="" colspan="5" style="min-width: 500px;">
|
||||
<Affix :notupload="formData.step > 2" :accpet="accpet" @input="handleAffix" v-model="formData.affixId"
|
||||
:maxSize="0.5">
|
||||
<Affix :notupload="formData.step>2" :accpet="accpet" @input="handleAffix" v-model="formData.affixId" :maxSize="0.5">
|
||||
</Affix>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -590,7 +589,14 @@
|
||||
|
||||
|
||||
<!-- 打印 -->
|
||||
<el-dialog class="dialog" :visible.sync="open" fullscreen :close-on-click-modal="false" append-to-body>
|
||||
<el-dialog
|
||||
class="dialog"
|
||||
|
||||
:visible.sync="open"
|
||||
fullscreen
|
||||
:close-on-click-modal="false"
|
||||
append-to-body
|
||||
>
|
||||
<div class="source" style="width:1000px" id="print" v-loading="printLoading">
|
||||
<!-- 标题 -->
|
||||
<h1>广西水利电力职业技术学院</h1>
|
||||
@@ -789,9 +795,7 @@
|
||||
</tr>
|
||||
<!-- 换行 -->
|
||||
<tr style="page-break-after: always;"> </tr>
|
||||
<tr style="padding:40px">
|
||||
<td class="split">aaa</td>
|
||||
</tr>
|
||||
<tr style="padding:40px"><td class="split">aaa</td></tr>
|
||||
<tr>
|
||||
|
||||
<td class="table-label" colspan="6">影响家庭经济状况信息</td>
|
||||
@@ -1024,9 +1028,7 @@
|
||||
<el-button type="primary" v-if="formData.step == 2 && this.state==0" @click="onSubmit(2)">确认提交</el-button>
|
||||
<el-button type="primary" v-if="formData.step == 3 && this.state==0" @click="onSubmit(3)">确认提交</el-button>
|
||||
<el-button type="primary" v-if="formData.step == 4 && this.state==0" @click="onSubmit(4)">确认提交</el-button>
|
||||
<el-button type="warning"
|
||||
v-if="(formData.step == 2 || formData.step == 3 || formData.step == 4) && this.state == 0"
|
||||
@click="rejectDialogVisible = true">驳回</el-button>
|
||||
<el-button type="warning" v-if="(formData.step==2 || formData.step==3 || formData.step==4) && this.state==0" @click="rejectDialogVisible = true">驳回</el-button>
|
||||
<!-- <el-button v-if="formData.step != 1 && formData.step != 5" type="danger" @click="on">审核不通过</el-button> -->
|
||||
<el-button type="primary" v-if="formData.step==5" @click="next(4)">下一个</el-button>
|
||||
|
||||
@@ -1117,7 +1119,12 @@
|
||||
</div>
|
||||
|
||||
<!-- 驳回 -->
|
||||
<el-dialog class="reject" title="驳回" :visible.sync="rejectDialogVisible" width="30%">
|
||||
<el-dialog
|
||||
class="reject"
|
||||
title="驳回"
|
||||
:visible.sync="rejectDialogVisible"
|
||||
width="30%"
|
||||
>
|
||||
<el-form ref="form" :model="form" label-width="80px" size="small">
|
||||
<el-row v-if="formData.step == 2">
|
||||
<el-form-item label="驳回至">
|
||||
@@ -1854,6 +1861,12 @@ export default {
|
||||
updateSignature(this.user).then(res=>{});
|
||||
},
|
||||
fdySave(){
|
||||
// 添加保存确认提示
|
||||
this.$confirm('保存后,还能继续修改表单信息,是否继续?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'info'
|
||||
}).then(() => {
|
||||
if(this.formData.jtzysr instanceof Array){
|
||||
this.formData.jtzysr = this.formData.jtzysr.join(",");
|
||||
}
|
||||
@@ -1867,16 +1880,33 @@ export default {
|
||||
fdySave(this.formData).then(res => {
|
||||
if (res.code == 200) {
|
||||
this.$modal.msgSuccess("提交成功");
|
||||
//this.$tab.closePage();
|
||||
let date = new Date();
|
||||
let month = date.getMonth() + 1
|
||||
this.getInfo(this.formData.id, date, month);
|
||||
|
||||
|
||||
this.$tab.closePage();
|
||||
|
||||
}
|
||||
})
|
||||
}).catch(() => {
|
||||
// 用户取消操作
|
||||
});
|
||||
},
|
||||
|
||||
onSubmit(stu) { //提交申请
|
||||
// 根据操作类型显示不同的确认提示
|
||||
let confirmMessage = '';
|
||||
if (stu == 0) {
|
||||
confirmMessage = '保存后,还能继续修改表单信息,是否继续?';
|
||||
} else if (stu == 1) {
|
||||
confirmMessage = '即将提交,提交后,将不能修改,是否继续?';
|
||||
} else {
|
||||
confirmMessage = '即将提交,提交后,将不能修改,是否继续?';
|
||||
}
|
||||
|
||||
this.$confirm(confirmMessage, '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: stu == 0 ? 'info' : 'warning'
|
||||
}).then(() => {
|
||||
if( this.formData.jtzysr instanceof Array){
|
||||
|
||||
this.formData.jtzysr = this.formData.jtzysr.join(",");
|
||||
@@ -2147,6 +2177,19 @@ export default {
|
||||
return false
|
||||
}
|
||||
})
|
||||
}).catch(() => {
|
||||
// 用户取消操作
|
||||
if( this.formData.jtzysr != ""){
|
||||
this.formData.jtzysr = this.formData.jtzysr.split(",");
|
||||
}else{
|
||||
this.formData.jtzysr = []
|
||||
}
|
||||
if( this.formData.tfsj != ""){
|
||||
this.formData.tfsj = this.formData.tfsj.split(",");
|
||||
}else{
|
||||
this.formData.tfsj = []
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
handleAddRow() {
|
||||
@@ -2406,26 +2449,26 @@ td {
|
||||
}
|
||||
|
||||
/* 输入样式统一 */
|
||||
/deep/ .el-input__inner {
|
||||
:deep(.el-input__inner ){
|
||||
border-width: 0px;
|
||||
padding: 0px;
|
||||
text-align: center
|
||||
}
|
||||
|
||||
/* 表单样式统一 */
|
||||
/deep/ .el-form-item {
|
||||
:deep(.el-form-item ){
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/deep/ .el-textarea__inner {
|
||||
:deep(.el-textarea__inner ){
|
||||
border-width: 0px;
|
||||
}
|
||||
|
||||
/deep/ .el-date-editor {
|
||||
:deep(.el-date-editor ){
|
||||
width: 140px;
|
||||
}
|
||||
|
||||
/deep/ .el-form-item__error {
|
||||
:deep(.el-form-item__error ){
|
||||
padding-left: 4px;
|
||||
position: relative;
|
||||
text-align: left;
|
||||
@@ -2476,7 +2519,7 @@ td {
|
||||
height: 156px;
|
||||
}
|
||||
|
||||
/deep/ .el-upload {
|
||||
:deep(.el-upload ){
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
@@ -2527,14 +2570,14 @@ td {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/deep/ .el-input.is-disabled .el-input__inner {
|
||||
:deep(.el-input.is-disabled .el-input__inner ){
|
||||
background-color: #fff;
|
||||
color: #000;
|
||||
padding: 0;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/deep/ .el-radio.is-disabled .is-checked .el-radio__inner {
|
||||
:deep(.el-radio.is-disabled .is-checked .el-radio__inner) {
|
||||
background-color: #67c23a;
|
||||
}
|
||||
|
||||
@@ -2563,7 +2606,6 @@ td {
|
||||
.record .title {
|
||||
padding: 20px 0px;
|
||||
}
|
||||
|
||||
.red-tip{
|
||||
display: inline-block;
|
||||
font-size: 14px;
|
||||
@@ -2579,100 +2621,79 @@ td {
|
||||
flex-direction: column;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
#print{
|
||||
font-size: 14px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.el-checkbox-group {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.dialog-footer{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-content: center;
|
||||
}
|
||||
|
||||
.reject /deep/ .el-input__inner{
|
||||
border-width: 1px;
|
||||
padding-left: 15px;
|
||||
text-align: left;
|
||||
|
||||
}
|
||||
|
||||
.reject /deep/ .el-textarea__inner{
|
||||
border-width: 1px;
|
||||
}
|
||||
|
||||
#print{
|
||||
text-align: left;
|
||||
padding: 30px 60px 0px 60px ;
|
||||
}
|
||||
|
||||
#print th{
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
#print td{
|
||||
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
#print >>> td{
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
#print h1{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@media print {
|
||||
@page {
|
||||
margin: 20mm;
|
||||
/* 设置页边距为20毫米 */
|
||||
margin: 20mm; /* 设置页边距为20毫米 */
|
||||
}
|
||||
}
|
||||
|
||||
/*去除页眉页脚*/
|
||||
@page{
|
||||
size: auto;
|
||||
/* auto is the initial value */
|
||||
margin: 3mm;
|
||||
/* this affects the margin in the printer settings */
|
||||
size: auto; /* auto is the initial value */
|
||||
margin: 3mm; /* this affects the margin in the printer settings */
|
||||
}
|
||||
|
||||
html{
|
||||
background-color: #FFFFFF;
|
||||
margin: 0;
|
||||
/* this affects the margin on the html before sending to printer */
|
||||
margin: 0; /* this affects the margin on the html before sending to printer */
|
||||
}
|
||||
|
||||
body{
|
||||
border: solid 1px blue ;
|
||||
margin: 20mm 20mm 20mm 20mm;
|
||||
/* margin you want for the content */
|
||||
margin: 20mm 20mm 20mm 20mm; /* margin you want for the content */
|
||||
}
|
||||
|
||||
#print .table-input,
|
||||
#print .table-label{
|
||||
padding: 15px 10px ;
|
||||
}
|
||||
|
||||
#print /deep/ .el-table--border .el-table__cell {
|
||||
border-right: 1px solid #000!important;
|
||||
}
|
||||
|
||||
#print /deep/ .el-table th.el-table__cell.is-leaf{
|
||||
border-bottom: 1px solid #000!important;
|
||||
}
|
||||
|
||||
#print /deep/ .el-table td.el-table__cell{
|
||||
border-bottom: 1px solid #000!important;
|
||||
}
|
||||
|
||||
.split{
|
||||
height: 50px;
|
||||
color: #fff;
|
||||
|
@@ -42,9 +42,14 @@
|
||||
{{ form.className }}
|
||||
</el-descriptions-item>
|
||||
|
||||
<el-descriptions-item>
|
||||
<template slot="label"> 政治面貌 </template>
|
||||
{{ form.politicalStatus }}
|
||||
</el-descriptions-item>
|
||||
|
||||
<el-descriptions-item>
|
||||
<template slot="label"> 籍贯:省/自治区/直辖市 </template>
|
||||
{{ form.jg }}
|
||||
{{ Array.isArray(form.jg) ? form.jg.join(' / ') : form.jg }}
|
||||
</el-descriptions-item>
|
||||
|
||||
<el-descriptions-item span="3">
|
||||
|
@@ -113,6 +113,16 @@
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="政治面貌" prop="politicalStatus">
|
||||
<el-select v-model="form.politicalStatus" placeholder="请选择政治面貌" clearable>
|
||||
<el-option label="群众" value="群众"></el-option>
|
||||
<el-option label="团员" value="团员"></el-option>
|
||||
<el-option label="中共党员" value="中共党员"></el-option>
|
||||
<el-option label="其他" value="其他"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="籍贯" prop="jg">
|
||||
<el-cascader :options="areaOptions" v-model="form.jg" clearable filterable></el-cascader>
|
||||
@@ -198,6 +208,7 @@ export default {
|
||||
gradeName: null,
|
||||
className: null,
|
||||
mz: null,
|
||||
politicalStatus: null,
|
||||
birthday: null,
|
||||
parentPhone: null,
|
||||
parentName: null,
|
||||
@@ -285,6 +296,7 @@ export default {
|
||||
gradeName: null,
|
||||
className: null,
|
||||
mz: null,
|
||||
politicalStatus: null,
|
||||
birthday: null,
|
||||
parentPhone: null,
|
||||
parentName: null,
|
||||
@@ -340,6 +352,29 @@ export default {
|
||||
const disqualificationId = row.disqualificationId || this.ids
|
||||
getDisqualification(disqualificationId).then((response) => {
|
||||
this.form = response.data
|
||||
// 兼容籍贯存储为字符串的情况,回显时转为级联选择所需的数组
|
||||
if (this.form && this.form.jg != null && this.form.jg !== undefined && this.form.jg !== '') {
|
||||
if (Array.isArray(this.form.jg)) {
|
||||
// 已经是数组,无需处理
|
||||
} else if (typeof this.form.jg === 'string') {
|
||||
const jgStr = this.form.jg.trim()
|
||||
if (jgStr.startsWith('[') && jgStr.endsWith(']')) {
|
||||
try {
|
||||
const parsed = JSON.parse(jgStr)
|
||||
this.form.jg = Array.isArray(parsed) ? parsed : [jgStr]
|
||||
} catch (e) {
|
||||
this.form.jg = jgStr.split(',').map(s => s.trim()).filter(Boolean)
|
||||
}
|
||||
} else if (jgStr.includes(',')) {
|
||||
this.form.jg = jgStr.split(',').map(s => s.trim()).filter(Boolean)
|
||||
} else {
|
||||
this.form.jg = [jgStr]
|
||||
}
|
||||
} else {
|
||||
// 其他类型,兜底为数组
|
||||
this.form.jg = [String(this.form.jg)]
|
||||
}
|
||||
}
|
||||
this.open = true
|
||||
this.title = '修改给予学生退学申请'
|
||||
})
|
||||
@@ -422,6 +457,28 @@ export default {
|
||||
}
|
||||
this.form = res.data;
|
||||
this.form.stuName = res.data.studentName;
|
||||
// 兼容籍贯为字符串的情况,回显为级联数组
|
||||
if (this.form && this.form.jg != null && this.form.jg !== undefined && this.form.jg !== '') {
|
||||
if (Array.isArray(this.form.jg)) {
|
||||
// 已经是数组,无需处理
|
||||
} else if (typeof this.form.jg === 'string') {
|
||||
const jgStr = this.form.jg.trim()
|
||||
if (jgStr.startsWith('[') && jgStr.endsWith(']')) {
|
||||
try {
|
||||
const parsed = JSON.parse(jgStr)
|
||||
this.form.jg = Array.isArray(parsed) ? parsed : [jgStr]
|
||||
} catch (e) {
|
||||
this.form.jg = jgStr.split(',').map(s => s.trim()).filter(Boolean)
|
||||
}
|
||||
} else if (jgStr.includes(',')) {
|
||||
this.form.jg = jgStr.split(',').map(s => s.trim()).filter(Boolean)
|
||||
} else {
|
||||
this.form.jg = [jgStr]
|
||||
}
|
||||
} else {
|
||||
this.form.jg = [String(this.form.jg)]
|
||||
}
|
||||
}
|
||||
}).catch(() => {
|
||||
this.$message.error('请求失败,请重试');
|
||||
});
|
||||
|
@@ -56,6 +56,10 @@
|
||||
<template slot="label"> 民族 </template>
|
||||
{{ form.mz }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item>
|
||||
<template slot="label"> 政治面貌 </template>
|
||||
{{ form.politicalStatus }}
|
||||
</el-descriptions-item>
|
||||
|
||||
<el-descriptions-item>
|
||||
<template slot="label"> 籍贯:省/自治区/直辖市 </template>
|
||||
|
@@ -130,11 +130,23 @@
|
||||
<el-input v-model="form.mz" placeholder="请输入民族" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="政治面貌" prop="politicalStatus">
|
||||
<el-select v-model="form.politicalStatus" placeholder="请选择政治面貌" clearable>
|
||||
<el-option label="群众" value="群众"></el-option>
|
||||
<el-option label="团员" value="团员"></el-option>
|
||||
<el-option label="中共党员" value="中共党员"></el-option>
|
||||
<el-option label="其他" value="其他"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="籍贯" prop="jg">
|
||||
<el-cascader :options="areaOptions" v-model="form.jg" clearable filterable> </el-cascader>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="市/县" prop="hksz2">
|
||||
<el-input v-model="form.hksz2" placeholder="请输入市/县" />
|
||||
@@ -256,6 +268,7 @@ export default {
|
||||
gradeName: null,
|
||||
className: null,
|
||||
mz: null,
|
||||
politicalStatus: null,
|
||||
birthday: null,
|
||||
parentPhone: null,
|
||||
parentName: null,
|
||||
@@ -340,6 +353,7 @@ export default {
|
||||
gradeName: null,
|
||||
className: null,
|
||||
mz: null,
|
||||
politicalStatus: null,
|
||||
birthday: null,
|
||||
parentPhone: null,
|
||||
parentName: null,
|
||||
|
@@ -56,6 +56,10 @@
|
||||
<template slot="label"> 民族 </template>
|
||||
{{ form.mz }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item>
|
||||
<template slot="label"> 政治面貌 </template>
|
||||
{{ form.politicalStatus }}
|
||||
</el-descriptions-item>
|
||||
|
||||
<el-descriptions-item>
|
||||
<template slot="label"> 籍贯:省/自治区/直辖市 </template>
|
||||
|
@@ -127,11 +127,23 @@
|
||||
<el-input v-model="form.mz" placeholder="请输入民族" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="政治面貌" prop="politicalStatus">
|
||||
<el-select v-model="form.politicalStatus" placeholder="请选择政治面貌" clearable>
|
||||
<el-option label="群众" value="群众"></el-option>
|
||||
<el-option label="团员" value="团员"></el-option>
|
||||
<el-option label="中共党员" value="中共党员"></el-option>
|
||||
<el-option label="其他" value="其他"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="籍贯" prop="jg">
|
||||
<el-cascader :options="areaOptions" v-model="form.jg" clearable filterable> </el-cascader>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="市/县" prop="hksz2">
|
||||
<el-input v-model="form.hksz2" placeholder="请输入市/县" />
|
||||
@@ -250,6 +262,7 @@ export default {
|
||||
gradeName: null,
|
||||
className: null,
|
||||
mz: null,
|
||||
politicalStatus: null,
|
||||
birthday: null,
|
||||
parentPhone: null,
|
||||
parentName: null,
|
||||
@@ -329,6 +342,7 @@ export default {
|
||||
gradeName: null,
|
||||
className: null,
|
||||
mz: null,
|
||||
politicalStatus: null,
|
||||
birthday: null,
|
||||
parentPhone: null,
|
||||
parentName: null,
|
||||
|
@@ -56,6 +56,10 @@
|
||||
<template slot="label"> 民族 </template>
|
||||
{{ form.mz }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item>
|
||||
<template slot="label"> 政治面貌 </template>
|
||||
{{ form.politicalStatus }}
|
||||
</el-descriptions-item>
|
||||
|
||||
<el-descriptions-item>
|
||||
<template slot="label"> 籍贯:省/自治区/直辖市 </template>
|
||||
|
@@ -125,11 +125,23 @@
|
||||
<el-input v-model="form.mz" placeholder="请输入民族" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="政治面貌" prop="politicalStatus">
|
||||
<el-select v-model="form.politicalStatus" placeholder="请选择政治面貌" clearable>
|
||||
<el-option label="群众" value="群众"></el-option>
|
||||
<el-option label="团员" value="团员"></el-option>
|
||||
<el-option label="中共党员" value="中共党员"></el-option>
|
||||
<el-option label="其他" value="其他"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="籍贯" prop="jg">
|
||||
<el-cascader :options="areaOptions" v-model="form.jg" clearable filterable> </el-cascader>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="市/县" prop="hksz2">
|
||||
<el-input v-model="form.hksz2" placeholder="请输入市/县" />
|
||||
@@ -254,6 +266,7 @@ export default {
|
||||
gradeName: null,
|
||||
className: null,
|
||||
mz: null,
|
||||
politicalStatus: null,
|
||||
birthday: null,
|
||||
parentPhone: null,
|
||||
parentName: null,
|
||||
@@ -353,6 +366,7 @@ export default {
|
||||
gradeName: null,
|
||||
className: null,
|
||||
mz: null,
|
||||
politicalStatus: null,
|
||||
birthday: null,
|
||||
parentPhone: null,
|
||||
parentName: null,
|
||||
|
@@ -74,8 +74,7 @@
|
||||
<el-table-column label="分配的宿舍" align="center" prop="dorm" width="100" />
|
||||
<el-table-column label="考生号" align="center" prop="ksh" width="130" />
|
||||
<el-table-column label="班级代码" align="center" prop="bjdm" width="90" />
|
||||
<el-table-column label="身份证号" align="center" prop="sfzh" width="180" />
|
||||
<el-table-column label="手机号" align="center" prop="sjh" width="120" />
|
||||
<el-table-column label="手机号" align="center" prop="SJH" width="120" />
|
||||
<el-table-column label="性别" align="center" prop="xb" width="70"/>
|
||||
<el-table-column label="政治面貌" align="center" prop="zzmm" width="80"/>
|
||||
<el-table-column label="民族" align="center" prop="mz" width="70"/>
|
||||
|
Reference in New Issue
Block a user