From 40b141b04196ddcbccc4a516d836a8c9c8193cd2 Mon Sep 17 00:00:00 2001 From: youmengting <2080639302@qq.com> Date: Thu, 11 Jan 2024 15:30:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=94=B3=E8=AF=B7=E5=88=86?= =?UTF-8?q?=E6=9C=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Utils/Api.js | 17 + pages.json | 17 + .../index/normal-Merchant/normal-Merchant.vue | 9 +- pages/welcome/welcome.vue | 8 +- subpackages/applyPeriod/applyHome.vue | 66 +++ subpackages/applyPeriod/applyPeriod.vue | 554 ++++++++++++++++++ subpackages/applyPeriod/feePaidList.vue | 267 +++++++++ 7 files changed, 933 insertions(+), 5 deletions(-) create mode 100644 subpackages/applyPeriod/applyHome.vue create mode 100644 subpackages/applyPeriod/applyPeriod.vue create mode 100644 subpackages/applyPeriod/feePaidList.vue diff --git a/Utils/Api.js b/Utils/Api.js index 63b247a..7378839 100644 --- a/Utils/Api.js +++ b/Utils/Api.js @@ -129,6 +129,23 @@ export const getAuditDetail = params => { } +//申请分期 +export const apply = params => { + return POST('POST', `${base}/merPlatformPeriod/apply`, params).then(res => res.data); +} +//查询分期详情 +export const getMerPlatformPeriodDetail = params => { + return POST('GET', `${base}/merPlatformPeriod/getMerPlatformPeriodDetail`, params).then(res => res.data); +} +//查询贴息列表 +export const getFeePaidList = params => { + return POST('GET', `${base}/merPlatformPeriod/getFeePaidList`, params).then(res => res.data); +} +//修改支付贴息方式 +export const updateFeePaid = params => { + return POST('POST', `${base}/merPlatformPeriod/updateFeePaid`, params).then(res => res.data); +} + diff --git a/pages.json b/pages.json index 6b380a8..7ae8a85 100644 --- a/pages.json +++ b/pages.json @@ -725,6 +725,23 @@ "style": { "navigationBarTitleText": "点餐订单" } + },{ + "path":"applyPeriod/applyPeriod", + "style": { + "navigationBarTitleText": "申请分期" + } + },{ + "path":"applyPeriod/applyHome", + "style": { + "navigationBarTitleText": "申请分期" + } + + },{ + "path":"applyPeriod/feePaidList", + "style": { + "navigationBarTitleText": "贴息列表" + } + } ] diff --git a/pages/index/normal-Merchant/normal-Merchant.vue b/pages/index/normal-Merchant/normal-Merchant.vue index 0ff0117..3528f0e 100644 --- a/pages/index/normal-Merchant/normal-Merchant.vue +++ b/pages/index/normal-Merchant/normal-Merchant.vue @@ -35,6 +35,7 @@ + @@ -65,6 +66,7 @@ this.getMerListBySalesman() }, methods: { + //查询商户列表 getMerListBySalesman() { if(this.isLoadMore){ @@ -117,7 +119,12 @@ uni.navigateTo({ url: '/pages/index/equity-activities/equity-activities?id=' + item }) - } + }, + applyPeriod(item){ + uni.navigateTo({ + url: '/subpackages/applyPeriod/applyHome?merNo=' + item.merNo + }) + }, } } diff --git a/pages/welcome/welcome.vue b/pages/welcome/welcome.vue index 7d565b3..edb0907 100644 --- a/pages/welcome/welcome.vue +++ b/pages/welcome/welcome.vue @@ -17,10 +17,10 @@ }, onLoad(options) { - // uni.reLaunch({ - // url: '/pages/login/login' - // }) - // return + uni.reLaunch({ + url: '/pages/login/login' + }) + return let that = this; diff --git a/subpackages/applyPeriod/applyHome.vue b/subpackages/applyPeriod/applyHome.vue new file mode 100644 index 0000000..357dd26 --- /dev/null +++ b/subpackages/applyPeriod/applyHome.vue @@ -0,0 +1,66 @@ + + + + + \ No newline at end of file diff --git a/subpackages/applyPeriod/applyPeriod.vue b/subpackages/applyPeriod/applyPeriod.vue new file mode 100644 index 0000000..a76aff7 --- /dev/null +++ b/subpackages/applyPeriod/applyPeriod.vue @@ -0,0 +1,554 @@ + + + + + \ No newline at end of file diff --git a/subpackages/applyPeriod/feePaidList.vue b/subpackages/applyPeriod/feePaidList.vue new file mode 100644 index 0000000..18dddd6 --- /dev/null +++ b/subpackages/applyPeriod/feePaidList.vue @@ -0,0 +1,267 @@ + + + + + \ No newline at end of file