From 2044dbe2e3b169dd085e5e91d97a68cfaac95cbf Mon Sep 17 00:00:00 2001 From: Wik-T <812952667@qq.com> Date: Thu, 27 Jul 2023 15:52:31 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=AF=B9=E6=8E=A5=E8=B4=B9=E7=8E=87=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=202.=E4=BB=A3=E7=90=86=E5=95=86=E5=AE=A1=E6=A0=B8?= =?UTF-8?q?=E8=B4=B9=E7=8E=87=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Utils/Api.js | 18 ++ pages.json | 30 +++ .../merchant-details/merchant-details.vue | 13 +- pages/index/modifyRate/modifyRate.vue | 205 ++++++++++++++++++ pages/index/rateReview/rateReview.vue | 175 +++++++++++++++ .../review-Settlement/review-Settlement.vue | 22 +- 6 files changed, 454 insertions(+), 9 deletions(-) create mode 100644 pages/index/modifyRate/modifyRate.vue create mode 100644 pages/index/rateReview/rateReview.vue diff --git a/Utils/Api.js b/Utils/Api.js index a7aad5c..ce03a87 100644 --- a/Utils/Api.js +++ b/Utils/Api.js @@ -293,4 +293,22 @@ export const querySalesmanList = params => { export const getOrderByOutTradeOrder = params => { return POST('GET', `${base}/tradeOrder/getOrderByOutTradeOrder`, params).then(res => res.data); } +// #根据商户查询费率 +export const getRateByMer = params => { + return POST('GET', `${base}/merRate/getRateByMer`, params).then(res => res.data); +} +// #编辑费率申请 +export const editRateApply = params => { + return POST('POST', `${base}/merRate/editRateApply`, params).then(res => res.data); +} +// #查询最新申请信息 +export const getNewRateApplyDetail = params => { + return POST('GET', `${base}/merRate/getNewRateApplyDetail`, params).then(res => res.data); +} + +//#查询费率申请详情 +export const getRateApplyDetail = params => { + return POST('GET', `${base}/merRate/getRateApplyDetail`, params).then(res => res.data); +} + diff --git a/pages.json b/pages.json index 73a4567..1fa1d98 100644 --- a/pages.json +++ b/pages.json @@ -496,6 +496,36 @@ } } + ,{ + "path" : "pages/index/modifyRate/modifyRate", + "style" : + { + "navigationBarTitleText": "修改费率", + "navigationBarTextStyle": "white", + "enablePullDownRefresh": false, + "onReachBottomDistance": 50, + "app-plus": { + "titleNView": false, //禁用原生导航栏 + "softinputNavBar": "none" + } + } + + } + ,{ + "path" : "pages/index/rateReview/rateReview", + "style" : + { + "navigationBarTitleText": "审核费率", + "navigationBarTextStyle": "white", + "enablePullDownRefresh": false, + "onReachBottomDistance": 50, + "app-plus": { + "titleNView": false, //禁用原生导航栏 + "softinputNavBar": "none" + } + } + + } ], "subpackages": [{ "root": "subPages", diff --git a/pages/index/merchant-details/merchant-details.vue b/pages/index/merchant-details/merchant-details.vue index 7422a23..ff614f3 100644 --- a/pages/index/merchant-details/merchant-details.vue +++ b/pages/index/merchant-details/merchant-details.vue @@ -111,7 +111,10 @@ - 修改结算 + + 修改结算 + 修改费率 + @@ -235,6 +238,12 @@ uni.navigateTo({ url: '/pages/index/updateSettlement/updateSettlement?id=' + this.merid }) + }, + //修改费率 + updatemodifyRate(){ + uni.navigateTo({ + url:'/pages/index/modifyRate/modifyRate?id=' + this.merid + }) }, //跳转绑定二维码 jumpBindScan(item, items) { @@ -295,7 +304,7 @@ .subbtn { color: #FFFFFF; background-color: #0083f5; - width: 90%; + width: 40%; margin-left: 5%; margin-top: 80rpx; margin-bottom: 50rpx; diff --git a/pages/index/modifyRate/modifyRate.vue b/pages/index/modifyRate/modifyRate.vue new file mode 100644 index 0000000..4c4364e --- /dev/null +++ b/pages/index/modifyRate/modifyRate.vue @@ -0,0 +1,205 @@ + + + + + \ No newline at end of file diff --git a/pages/index/rateReview/rateReview.vue b/pages/index/rateReview/rateReview.vue new file mode 100644 index 0000000..2f87ed3 --- /dev/null +++ b/pages/index/rateReview/rateReview.vue @@ -0,0 +1,175 @@ + + + + + \ No newline at end of file diff --git a/pages/index/review-Settlement/review-Settlement.vue b/pages/index/review-Settlement/review-Settlement.vue index 9c438bb..86a776c 100644 --- a/pages/index/review-Settlement/review-Settlement.vue +++ b/pages/index/review-Settlement/review-Settlement.vue @@ -12,12 +12,13 @@ + @click="jumpRviewSettdetails(item)"> - {{item.auditObjectName}} - + {{item.auditObjectName}} + 审核类型: {{item.vocationalWorkTypeName}} + 提交时间: {{item.createTime | timeFormat('yyyy-mm-dd hh:mm:ss')}} @@ -105,9 +106,17 @@ }, //跳转详情 jumpRviewSettdetails(item) { - uni.navigateTo({ - url: '/pages/index/settlement_details/settlement_details?id=' + item - }) + if (item.vocationalWorkType == 1) { + uni.navigateTo({ + url: '/pages/index/settlement_details/settlement_details?id=' + item.auditNo + }) + } + if (item.vocationalWorkType == 2) { + uni.navigateTo({ + url: '/pages/index/rateReview/rateReview?id=' + item.auditObjectId + '&auditid=' + item + .auditNo + }) + } } } } @@ -128,5 +137,4 @@ align-items: center; padding: 20upx 0 20upx 20upx; } - \ No newline at end of file