From 3ac6ac4eb7d3a65eec95273ac90a7e42e90126ed Mon Sep 17 00:00:00 2001 From: zhy <17877871893@163.com> Date: Thu, 18 Sep 2025 01:49:28 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BE=85=E5=AF=BC=E5=91=98=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=20=E4=B8=AD=E8=81=8C=E5=8D=87=E9=AB=98=E8=81=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/comprehensive/knzzZsgApply.js | 8 ++ src/views/comprehensive/knzzZsgApply/fdy.vue | 135 ++++++++++++++++++- 2 files changed, 142 insertions(+), 1 deletion(-) diff --git a/src/api/comprehensive/knzzZsgApply.js b/src/api/comprehensive/knzzZsgApply.js index a523f95..9afcb56 100644 --- a/src/api/comprehensive/knzzZsgApply.js +++ b/src/api/comprehensive/knzzZsgApply.js @@ -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', diff --git a/src/views/comprehensive/knzzZsgApply/fdy.vue b/src/views/comprehensive/knzzZsgApply/fdy.vue index 2447188..753b32f 100644 --- a/src/views/comprehensive/knzzZsgApply/fdy.vue +++ b/src/views/comprehensive/knzzZsgApply/fdy.vue @@ -41,6 +41,8 @@ @@ -154,6 +156,69 @@ + + + + + + + + + + + + + + + + + + + + + + +

+ 本人基于如下第 + + 种原因,符合学费补助申请条件,特提出申请,请审核. +

+

+ 1.监测对象家庭学生(脱贫不稳定家庭学生、边缘易致贫家庭学生、突发严重困难家庭学生): + + 未消除风险; + + 已消除风险; + +
+ 2.城乡低保家庭学生; +
+ 3.特困救助供养家庭学生; +
+ 4.孤儿(含事实无人抚养儿童); +
+ 5.脱贫家庭学生(原建档立卡学生); +
+ 6.家庭经济困难残疾学生; +
+ + 7.因重大自然灾害、重大事故和重大疾病等导致家庭经济困难的学生; + +
+ 8.其他家庭经济困难因素. +
+

+
+ + + + + 提交修改 + +
+
@@ -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();