diff --git a/api/finance/special.js b/api/finance/special.js new file mode 100644 index 0000000..f289829 --- /dev/null +++ b/api/finance/special.js @@ -0,0 +1,85 @@ +import request from '@/utils/request' + +// 获取当前用户的特殊困难资助申请记录 +export function listOwn(params) { + return request({ + url: '/comprehensive/knzzTufaApply/listStu', + method: 'get', + params + }) +} + +// 查询特殊困难资助申请详细 +export function getApply(id) { + return request({ + url: '/comprehensive/knzzTufaApply/' + id, + method: 'get' + }) +} + +// 新增特殊困难资助申请 +export function addApply(data) { + return request({ + url: '/comprehensive/knzzTufaApply/doApply', + method: 'post', + data: data + }) +} + +// 修改特殊困难资助申请 +export function updateApply(data) { + return request({ + url: '/comprehensive/knzzTufaApply/doEdit', + method: 'post', + data: data + }) +} + +// 删除特殊困难资助申请 +export function delApply(id) { + return request({ + url: '/comprehensive/knzzTufaApply/doCancel/' + id, + method: 'post' + }) +} + +// 重新提交特殊困难资助申请 +export function reApply(data) { + return request({ + url: '/comprehensive/knzzTufaApply/doReApply', + method: 'post', + data: data + }) +} + +// 获取当前用户的家庭信息 +export function getOwnFamily() { + return request({ + url: '/comprehensive/knzzTufaApply/getOwnFamily', + method: 'get' + }) +} + +// 获取当前用户的贫困认定信息 +export function getOwnKnrd() { + return request({ + url: '/comprehensive/knzzTufaApply/getOwnKnrd', + method: 'get' + }) +} + +// 获取当前用户的扩展信息 +export function getOwnExtraInfo() { + return request({ + url: '/comprehensive/extraInfo/getOwnInfo', + method: 'get' + }) +} + +// 获取当前用户的基本信息 +export function getOwnInfo() { + return request({ + url: '/system/student/getOwnInfo', + method: 'get' + }) +} diff --git a/pages.json b/pages.json index c95255f..78467ee 100644 --- a/pages.json +++ b/pages.json @@ -1249,6 +1249,24 @@ "navigationBarTitleText": "新增社区建设", "navigationBarTextStyle": "white" } + }, + { + "path": "pages/finance/special/index", + "style": { + "navigationBarBackgroundColor": "#1890FF", + "enablePullDownRefresh": false, + "navigationBarTitleText": "特殊困难资助", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/finance/special/apply", + "style": { + "navigationBarBackgroundColor": "#1890FF", + "enablePullDownRefresh": false, + "navigationBarTitleText": "特殊困难资助申请", + "navigationBarTextStyle": "white" + } } ], diff --git a/pages/finance/special/apply.vue b/pages/finance/special/apply.vue new file mode 100644 index 0000000..2704bb8 --- /dev/null +++ b/pages/finance/special/apply.vue @@ -0,0 +1,1642 @@ + + + + + \ No newline at end of file diff --git a/pages/finance/special/index.vue b/pages/finance/special/index.vue new file mode 100644 index 0000000..38f9b0f --- /dev/null +++ b/pages/finance/special/index.vue @@ -0,0 +1,689 @@ + + + + + \ No newline at end of file diff --git a/pages/index/index.vue b/pages/index/index.vue index 1f73480..cec4583 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -34,6 +34,19 @@ + + + + 其他服务 + + + + + 特殊困难资助 + + + + @@ -259,11 +272,18 @@ }) }, // 页面调转 - gotopage(path) { - uni.navigateTo({ - url: path - }) - }, + gotopage(path) { + uni.navigateTo({ + url: path + }) + }, + + // 跳转到特殊困难资助 + goToSpecialAid() { + uni.navigateTo({ + url: '/pages/finance/special/index' + }) + }, // 获取个人信息 getUserInfo() { getUserProfile().then(res => {