diff --git a/api/finance/poverty.js b/api/finance/poverty.js new file mode 100644 index 0000000..c5db36c --- /dev/null +++ b/api/finance/poverty.js @@ -0,0 +1,196 @@ +import request from '@/utils/request' + +// 获取当前用户的贫困认定申请记录 +export function listOwn(params) { + return request({ + url: '/knrdApply/apply/listOwn', + method: 'get', + params + }) +} + +// 查询困难认定详细 +export function getApply(id) { + return request({ + url: '/knrdApply/apply/' + id, + method: 'get' + }) +} + +// 新增困难认定 +export function addApply(data) { + return request({ + url: '/knrdApply/apply/add', + method: 'post', + data: data + }) +} + +// 修改困难认定 +export function updateApply(data) { + return request({ + url: '/knrdApply/apply/edit', + method: 'post', + data: data + }) +} + +// 删除困难认定 +export function delApply(id) { + return request({ + url: '/knrdApply/apply/delete/' + id, + method: 'get' + }) +} + +// 获取困难认定学年信息 +export function getKnrdYear(tag) { + return request({ + url: '/system/year/by-tag', + method: 'get', + params: { tag } + }) +} + +// 提交申请 +export function vaild(data) { + return request({ + url: '/knrdApply/apply/valid', + method: 'post', + data: data + }) +} + +// 撤回申请 +export function revoke(data) { + return request({ + url: '/knrdApply/apply/revoke', + method: 'post', + data: data + }) +} + +// 获取当前学年 +export function getCurrentYear() { + return request({ + url: '/knrdApply/apply/getCurrentYear', + method: 'post' + }) +} + +// 根据学号和学年查询 +export function findByXhAndApplyYear(data) { + return request({ + url: '/knrdApply/apply/findByXhAndApplyYear', + method: 'post', + data: data + }) +} + +// 信息检查 +export function infoCheck() { + return request({ + url: '/knrdApply/apply/infoCheck', + method: 'post' + }) +} + +// 根据学号获取学生信息 +export function getStuByXh(xh) { + return request({ + url: '/knrdApply/apply/getStuByXh/' + xh, + method: 'get' + }) +} + +// 驳回申请 +export function reject(data) { + return request({ + url: '/knrdApply/apply/reject', + method: 'post', + data: data + }) +} + +// 辅导员保存 +export function fdySave(data) { + return request({ + url: '/knrdApply/apply/fdySave', + method: 'post', + data: data + }) +} + +// 辅导员下一步 +export function fdyNext(data) { + return request({ + url: '/knrdApply/apply/fdyNext', + method: 'post', + data: data + }) +} + +// 获取申请记录 +export function listRecord(id) { + return request({ + url: '/knrdApply/record/list/' + id, + method: 'get' + }) +} + +// 获取当前学生学号等基本信息 +export function getxh() { + return request({ + url: '/knrdApply/apply/xh', + method: 'get' + }) +} + +// 获取学生扩展信息 +export function extraInfo() { + return request({ + url: '/comprehensive/extraInfo/getOwnInfo', + method: 'get' + }) +} + +// 获取学生信息视图 +export function stuInfoView() { + return request({ + url: '/comprehensive/stuInfoView/getOwnInfo', + method: 'get' + }) +} + +// 获取家庭成员信息 +export function getOwnFamily() { + return request({ + url: '/comprehensive/member/getOwnFamily', + method: 'get' + }) +} + +// 辅导员获取家庭成员信息 +export function getOwnFamilyFdy(xh) { + return request({ + url: '/knrdApply/apply/getOwnFamilyFdy/' + xh, + method: 'get' + }) +} + +// 获取当前学年 +export function getCurrentYearFun() { + return request({ + url: '/knrdApply/apply/getCurrentYearFun', + method: 'get' + }) +} + +// 根据学号和学年查询困难类别 +export function queryByStuNo(data) { + return request({ + url: '/comprehensive/knrdtype/queryByStuNo', + method: 'post', + data + }) +} diff --git a/config.js b/config.js index 0977875..1f40a16 100644 --- a/config.js +++ b/config.js @@ -4,10 +4,10 @@ module.exports = { // 若在同一台机器调试:使用 localhost:8066 // 若手机在同一局域网:替换为本机局域网 IP,例如 172.16.96.111:8066 // 页面在 https://zhxg.gxsdxy.cn 下访问,接口同域同协议以避免 CORS - baseUrl: 'https://zhxg.gxsdxy.cn/prod_api', + // baseUrl: 'https://zhxg.gxsdxy.cn/prod_api', //baseUrl: 'https://zhxg.gxsdxy.cn/prod_api', // 若本地/内网以 HTTP 访问页面,可改为: - //baseUrl: 'http://localhost:8085', + baseUrl: 'http://localhost:8085', // 应用信息 appInfo: { // 应用名称 diff --git a/pages.json b/pages.json index 2c787c7..31248d7 100644 --- a/pages.json +++ b/pages.json @@ -120,7 +120,7 @@ } }, { - "path": "pages/cognizance/cognizance", + "path": "pages/finance/poverty/index", "style": { "navigationBarTitleText": "贫困认定", "enablePullDownRefresh": false, @@ -128,6 +128,15 @@ "navigationBarTextStyle": "white" } + }, { + "path": "pages/finance/poverty/apply", + "style": { + "navigationBarTitleText": "贫困认定申请", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#1890FF", + "navigationBarTextStyle": "white" + } + }, { "path": "pages/cadre/cadre", "style": { diff --git a/pages/OneStopCommunity/communityBuilding/index.vue b/pages/OneStopCommunity/communityBuilding/index.vue index 70b5064..223c4ab 100644 --- a/pages/OneStopCommunity/communityBuilding/index.vue +++ b/pages/OneStopCommunity/communityBuilding/index.vue @@ -168,7 +168,7 @@ } .right { position: fixed; - top: 40rpx; + top: 180rpx; right: 20rpx; z-index: 11; /* 设置比.search更高的z - index */ display: flex; diff --git a/pages/finance/poverty/apply.vue b/pages/finance/poverty/apply.vue new file mode 100644 index 0000000..4c64c7c --- /dev/null +++ b/pages/finance/poverty/apply.vue @@ -0,0 +1,1723 @@ + + + + + \ No newline at end of file diff --git a/pages/finance/poverty/index.vue b/pages/finance/poverty/index.vue new file mode 100644 index 0000000..0c8563d --- /dev/null +++ b/pages/finance/poverty/index.vue @@ -0,0 +1,755 @@ + + + + + \ No newline at end of file diff --git a/static/images/workbench/aid.png b/static/images/workbench/aid.png new file mode 100644 index 0000000..3e4c8bd Binary files /dev/null and b/static/images/workbench/aid.png differ diff --git a/static/images/workbench/knzzGl.png b/static/images/workbench/knzzGl.png new file mode 100644 index 0000000..ffc5ff6 Binary files /dev/null and b/static/images/workbench/knzzGl.png differ diff --git a/static/images/workbench/knzzZsg.png b/static/images/workbench/knzzZsg.png new file mode 100644 index 0000000..709ab22 Binary files /dev/null and b/static/images/workbench/knzzZsg.png differ diff --git a/static/images/workbench/knzzZzq.png b/static/images/workbench/knzzZzq.png new file mode 100644 index 0000000..436c551 Binary files /dev/null and b/static/images/workbench/knzzZzq.png differ diff --git a/static/images/workbench/poverty.png b/static/images/workbench/poverty.png new file mode 100644 index 0000000..e91975b Binary files /dev/null and b/static/images/workbench/poverty.png differ diff --git a/static/images/workbench/specialAid.png b/static/images/workbench/specialAid.png new file mode 100644 index 0000000..182e730 Binary files /dev/null and b/static/images/workbench/specialAid.png differ