辅导员修改 中职升高职
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
export function fdyEdit(data) {
|
||||
return request({
|
||||
url: '/comprehensive/knzzZsgApply/fdyEdit',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function doReApply(data) {
|
||||
return request({
|
||||
url: '/comprehensive/knzzZsgApply/doReApply',
|
||||
|
||||
@@ -41,6 +41,8 @@
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<template slot-scope="scope">
|
||||
<el-button size="mini" type="text" icon="el-icon-view" @click="lookVClick(scope.row)">审核</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-edit"
|
||||
@click="editVClick(scope.row)">修改学生填写的信息</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@@ -154,6 +156,69 @@
|
||||
|
||||
</el-dialog>
|
||||
|
||||
<el-dialog @close="getList" title="修改" :visible.sync="editV" width="900px">
|
||||
<el-form label-width="200px" size="mini" class="lookForm">
|
||||
<el-form-item label="入学时间">
|
||||
<el-input v-model="editForm.inTime" />
|
||||
</el-form-item>
|
||||
<el-form-item label="就读中职学校">
|
||||
<el-input v-model="editForm.zzxx" />
|
||||
</el-form-item>
|
||||
<el-form-item label="家庭人口数">
|
||||
<el-input v-model="editForm.familyNum" />
|
||||
</el-form-item>
|
||||
<el-form-item label="家庭月收入">
|
||||
<el-input v-model="editForm.monthMoney" />
|
||||
</el-form-item>
|
||||
<el-form-item label="人均月收入">
|
||||
<el-input v-model="editForm.perMoney" />
|
||||
</el-form-item>
|
||||
<el-form-item label="收入来源">
|
||||
<el-input v-model="editForm.moneySrc" />
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="申请理由">
|
||||
<p style="line-height:18pt; margin:0pt; orphans:0; text-align:justify; widows:0">
|
||||
<span style="font-family:仿宋; font-size:12pt">本人基于如下第</span><span
|
||||
style="font-family:仿宋; font-size:12pt;">
|
||||
<input style="width: 40px;" v-model="editForm.applyReasonNum" type="text"
|
||||
class="underline-input" placeholder="请输入">
|
||||
</span><span style="font-family:仿宋; font-size:12pt">种原因,符合学费补助申请条件,特提出申请,请审核.</span>
|
||||
</p>
|
||||
<p style="line-height:18pt; margin:0pt; orphans:0; text-align:justify; widows:0">
|
||||
<span style="margin-left: 23px">1.监测对象家庭学生(脱贫不稳定家庭学生、边缘易致贫家庭学生、突发严重困难家庭学生):</span>
|
||||
<el-radio-group @change="changeApplyReason" v-model="editForm.applyReason">
|
||||
<el-radio :label="'未消除风险;'">未消除风险;
|
||||
</el-radio>
|
||||
<el-radio :label="'已消除风险;'">已消除风险;
|
||||
</el-radio>
|
||||
<br>
|
||||
<el-radio :label="'2.城乡低保家庭学生;'">2.城乡低保家庭学生;</el-radio>
|
||||
<br />
|
||||
<el-radio :label="'3.特困救助供养家庭学生;'">3.特困救助供养家庭学生;</el-radio>
|
||||
<br />
|
||||
<el-radio :label="'4.孤儿(含事实无人抚养儿童);'">4.孤儿(含事实无人抚养儿童);</el-radio>
|
||||
<br />
|
||||
<el-radio :label="'5.脱贫家庭学生(原建档立卡学生);'">5.脱贫家庭学生(原建档立卡学生);</el-radio>
|
||||
<br />
|
||||
<el-radio :label="'6.家庭经济困难残疾学生;'">6.家庭经济困难残疾学生;</el-radio>
|
||||
<br />
|
||||
<el-radio :label="'7.因重大自然灾害、重大事故和重大疾病等导致家庭经济困难的学生;'">
|
||||
7.因重大自然灾害、重大事故和重大疾病等导致家庭经济困难的学生;
|
||||
</el-radio>
|
||||
<br />
|
||||
<el-radio :label="'8.其他家庭经济困难因素.'">8.其他家庭经济困难因素.</el-radio>
|
||||
</el-radio-group>
|
||||
</p>
|
||||
</el-form-item>
|
||||
<el-form-item label="申请理由补充说明(填写)">
|
||||
<el-input type="textarea" v-model="editForm.applyExtraReason" />
|
||||
</el-form-item>
|
||||
<el-form-item label=" ">
|
||||
<el-button type="primary" @click="doEdit" plain>提交修改</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</el-dialog>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
@@ -166,7 +231,7 @@ import { getTokenKeySessionStorage as getToken } from "@/utils/auth";
|
||||
import TufaApply from "@/views/comprehensive/knzzZsgApply/cpnt/TufaApply.vue";
|
||||
import TufaLook from "@/views/comprehensive/knzzZsgApply/cpnt/TufaLook.vue";
|
||||
|
||||
import { listFdy as listView, doAudit, doMany } from "@/api/comprehensive/knzzZsgApply";
|
||||
import { listFdy as listView, doAudit, doMany, fdyEdit as doEdit } from "@/api/comprehensive/knzzZsgApply";
|
||||
|
||||
import { getOwnSign } from "@/api/workstudy/post";
|
||||
|
||||
@@ -212,6 +277,8 @@ export default {
|
||||
manyRes: null,
|
||||
manySign: "",
|
||||
|
||||
editForm: {},
|
||||
editV: false,
|
||||
}
|
||||
},
|
||||
created() {
|
||||
@@ -219,6 +286,72 @@ export default {
|
||||
this.getOwnSign();
|
||||
},
|
||||
methods: {
|
||||
changeApplyReason(v) {
|
||||
if (v != "1.监测对象家庭学生(脱贫不稳定家庭学生、边缘易致贫家庭学生、突发严重困难家庭学生):") {
|
||||
this.editForm.applyReason1 = "";
|
||||
}
|
||||
},
|
||||
async doEdit() {
|
||||
let sdata = { ...this.editForm };
|
||||
if (isEmpty(sdata.inTime)) {
|
||||
this.$message.info("请填写入学时间");
|
||||
return false;
|
||||
}
|
||||
if (isEmpty(sdata.zzxx)) {
|
||||
this.$message.info("请填写就读中职学校");
|
||||
return false;
|
||||
}
|
||||
if (isEmpty(sdata.familyNum)) {
|
||||
this.$message.info("请填写家庭人口数");
|
||||
return false;
|
||||
}
|
||||
if (isEmpty(sdata.monthMoney)) {
|
||||
this.$message.info("请填写家庭月收入");
|
||||
return false;
|
||||
}
|
||||
if (isEmpty(sdata.perMoney)) {
|
||||
this.$message.info("请填写人均月收入");
|
||||
return false;
|
||||
}
|
||||
if (isEmpty(sdata.moneySrc)) {
|
||||
this.$message.info("请填写收入来源");
|
||||
return false;
|
||||
}
|
||||
if (isEmpty(sdata.applyReasonNum)) {
|
||||
this.$message.info("请填写申请理由序号");
|
||||
return false;
|
||||
}
|
||||
if (isEmpty(sdata.applyReason)) {
|
||||
this.$message.info("请填写申请理由");
|
||||
return false;
|
||||
}
|
||||
if (isEmpty(sdata.diplomaCertificate)) {
|
||||
this.$message.info("请上传中职毕业证pdf");
|
||||
return false;
|
||||
}
|
||||
if (sdata.applyReason && sdata.applyReason.indexOf("1.监测对象家庭学生") === 0 && isEmpty(sdata.applyReason1)) {
|
||||
this.$message.info("请选择监测对象家庭学生的风险情况");
|
||||
return false;
|
||||
}
|
||||
if (isEmpty(sdata.applySign)) {
|
||||
this.$message.info("请上传申请人签名");
|
||||
return false;
|
||||
}
|
||||
let loading = fullLoading(this);
|
||||
let res = await doEdit(sdata);
|
||||
loading.close();
|
||||
if (res.code == 200) {
|
||||
this.$message.success("修改成功");
|
||||
this.editV = false;
|
||||
this.getList();
|
||||
}
|
||||
},
|
||||
editVClick(row) {
|
||||
console.log(row);
|
||||
this.editForm = {};
|
||||
this.editForm = { ...row };
|
||||
this.editV = true;
|
||||
},
|
||||
handleQuery() {
|
||||
this.queryParams.pageNum = 1;
|
||||
this.getList();
|
||||
|
||||
Reference in New Issue
Block a user