From c8a6c4edfa575713c8eefedc50af25b109a72c73 Mon Sep 17 00:00:00 2001 From: gyj Date: Mon, 19 Feb 2024 17:14:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/handlecase/index.js | 28 +++++- config.js | 2 +- pages.json | 6 ++ pages/handlecase/component/confirmPayment.vue | 89 +++++++++++++++++++ pages/handlecase/component/list.vue | 53 ++++++----- pages/handlecase/component/newlyAddedCase.vue | 20 +++-- pages/handlecase/index.vue | 3 +- 7 files changed, 167 insertions(+), 34 deletions(-) create mode 100644 pages/handlecase/component/confirmPayment.vue diff --git a/api/handlecase/index.js b/api/handlecase/index.js index 9845f8b..ebdf0c3 100644 --- a/api/handlecase/index.js +++ b/api/handlecase/index.js @@ -124,7 +124,7 @@ export function updateComfire(data) { //提交案件 export function caseAppSubmit(data) { return request({ - 'url': `/caseApplication/submit`, + url: '/caseApplication/submit', method: 'post', data: data }) @@ -136,4 +136,28 @@ export function caseApplicationSelectById(data) { method: 'get', params: data }) -} \ No newline at end of file +} +// 删除案件 +export function caseDelete(data) { + return request({ + url: '/caseApplication/delete', + method: 'post', + data: data + }) +} +// 案件id查询缴费清单 +export function selectPaymentDetail(data) { + return request({ + url: '/pay/selectPaymentDetail', + method: 'get', + params: data + }) +} +// 缴费确认 +export function confirmPaid(data) { + return request({ + url: '/pay/confirmPaid', + method: 'post', + data: data + }) +} diff --git a/config.js b/config.js index 12f4bff..ef96d76 100644 --- a/config.js +++ b/config.js @@ -8,7 +8,7 @@ module.exports = { baseUrlTJ: 'https://api.xayunmei.com/tiaojieapitest', // baseUrlTJ:'https://api.xayunmei.com/tiaojieapi', // baseUrlZC: 'http://121.40.189.20:8001', - // baseUrlTJ: 'http://172.16.1.17:6001', + // baseUrlTJ: 'http://172.16.1.43:6001', // baseUrl: 'http://172.16.1.24:8001', // baseUrl: 'http://localhost:8080', // baseUrl: 'http://192.168.3.18:9001', diff --git a/pages.json b/pages.json index 593620a..5fd796c 100644 --- a/pages.json +++ b/pages.json @@ -98,6 +98,12 @@ "navigationBarTitleText": "案件信息" } }, + { + "path": "pages/handlecase/component/confirmPayment", + "style": { + "navigationBarTitleText": "确认缴费" + } + }, { "path": "pages/handlecase/component/payList", "style": { diff --git a/pages/handlecase/component/confirmPayment.vue b/pages/handlecase/component/confirmPayment.vue new file mode 100644 index 0000000..e042701 --- /dev/null +++ b/pages/handlecase/component/confirmPayment.vue @@ -0,0 +1,89 @@ + + + + + \ No newline at end of file diff --git a/pages/handlecase/component/list.vue b/pages/handlecase/component/list.vue index 9a35767..f5c1a00 100644 --- a/pages/handlecase/component/list.vue +++ b/pages/handlecase/component/list.vue @@ -41,8 +41,8 @@ - - + + - - - + + + - + + + \ No newline at end of file diff --git a/pages/handlecase/index.vue b/pages/handlecase/index.vue index 01e6d2a..2c92b20 100644 --- a/pages/handlecase/index.vue +++ b/pages/handlecase/index.vue @@ -170,7 +170,8 @@ this.getList(obj) } }, - onLoad() { + onShow() { + this.buttonList = [] this.sysType = uni.getStorageSync('sysType'); let obj = {} if (this.sysType == 1) { -- 2.54.0