From dc1970a4a69bf811267c2ac637a7c44c58199acc Mon Sep 17 00:00:00 2001 From: weishengyou <2454197255@qq.com> Date: Wed, 21 Jan 2026 10:45:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=A6=E7=94=9F=E8=B5=84=E5=8A=A9-=E5=9B=BD?= =?UTF-8?q?=E5=AE=B6=E5=8A=A9=E5=AD=A6=E9=87=91-=E7=A7=BB=E5=8A=A8?= =?UTF-8?q?=E7=AB=AF=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/finance/financialaid.js | 137 +++ pages.json | 11 +- pages/finance/aid/apply.vue | 1625 +++++++++++++++++++++++++++++++++++ pages/finance/aid/index.vue | 794 +++++++++++++++++ 4 files changed, 2566 insertions(+), 1 deletion(-) create mode 100644 api/finance/financialaid.js create mode 100644 pages/finance/aid/apply.vue create mode 100644 pages/finance/aid/index.vue diff --git a/api/finance/financialaid.js b/api/finance/financialaid.js new file mode 100644 index 0000000..9e2786f --- /dev/null +++ b/api/finance/financialaid.js @@ -0,0 +1,137 @@ +import request from '@/utils/request' + +// 获取当前用户的助学金申请记录 +export function listOwn(params) { + return request({ + url: '/comprehensive/zxj/apply/listOwn', + method: 'get', + params + }) +} + +// 查询助学金申请详细 +export function getApply(id) { + return request({ + url: '/comprehensive/zxj/apply/' + id, + method: 'get' + }) +} + +// 新增助学金申请 +export function addApply(data) { + return request({ + url: '/comprehensive/zxj/apply/add', + method: 'post', + data: data + }) +} + +// 修改助学金申请 +export function updateApply(data) { + return request({ + url: '/comprehensive/zxj/apply/update', + method: 'post', + data: data + }) +} + +// 删除助学金申请 +export function delApply(id) { + return request({ + url: '/comprehensive/zxj/apply/' + id, + method: 'post' + }) +} + +// 撤回助学金申请 +export function revoke(data) { + return request({ + url: '/comprehensive/zxj/apply/revoke', + method: 'post', + data: data + }) +} + +// 获取助学金学年信息 +export function getYearByTag(tag) { + return request({ + url: '/system/year/by-tag', + method: 'get', + params: { tag } + }) +} + +// 检查是否为贫困生 +export function isPoor(data) { + return request({ + url: '/comprehensive/zxj/apply/isPoor', + method: 'post', + data + }) +} + +// 获取学生基本信息 +export function getStuInfo() { + return request({ + url: '/comprehensive/stuInfoView/getOwnInfo', + method: 'get' + }) +} + +// 获取学生扩展信息 +export function getExtraInfo() { + return request({ + url: '/comprehensive/extraInfo/getOwnInfo', + method: 'get' + }) +} + +// 获取家庭成员信息 +export function getFamilyInfo() { + return request({ + url: '/comprehensive/member/getOwnFamily', + method: 'get' + }) +} + +// 获取当前学年信息 +export function getCurrentYear() { + return request({ + url: '/system/year/current', + method: 'get' + }) +} + +// 获取助学金等级选项 +export function getAidLevels() { + return request({ + url: '/comprehensive/zxj/apply/aidLevels', + method: 'get' + }) +} + +// 获取助学金学生信息 +export function getZxjStudentInfo(data = {}) { + return request({ + url: '/comprehensive/zxj/apply/getStudentInfo', + method: 'post', + data: data + }) +} + +// 获取学生个人信息 +export function getOwnStudentInfo() { + return request({ + url: '/system/student/getOwnInfo', + method: 'get' + }) +} + +// 根据学号和学年查询贫困申请 +export function findByXhAndApplyYear(data) { + return request({ + url: '/knrdApply/apply/findByXhAndApplyYear', + method: 'post', + data: data + }) +} \ No newline at end of file diff --git a/pages.json b/pages.json index 31248d7..c95255f 100644 --- a/pages.json +++ b/pages.json @@ -111,7 +111,7 @@ }, { - "path": "pages/Financialaid/Financialaid", + "path": "pages/finance/aid/index", "style": { "navigationBarTitleText": "助学金", "enablePullDownRefresh": false, @@ -119,6 +119,15 @@ "navigationBarTextStyle": "white" } + }, { + "path": "pages/finance/aid/apply", + "style": { + "navigationBarTitleText": "助学金申请", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#1890FF", + "navigationBarTextStyle": "white" + } + }, { "path": "pages/finance/poverty/index", "style": { diff --git a/pages/finance/aid/apply.vue b/pages/finance/aid/apply.vue new file mode 100644 index 0000000..78ca0e5 --- /dev/null +++ b/pages/finance/aid/apply.vue @@ -0,0 +1,1625 @@ + + + + + \ No newline at end of file diff --git a/pages/finance/aid/index.vue b/pages/finance/aid/index.vue new file mode 100644 index 0000000..57d5dd5 --- /dev/null +++ b/pages/finance/aid/index.vue @@ -0,0 +1,794 @@ + + + + + \ No newline at end of file