From 42f2d5ffe7a0dea6802e0773f3fb39253d2a8727 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Sat, 9 Sep 2023 19:01:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/pay.js | 7 +- components/companyFinance/companyFinance.vue | 2 +- pages.json | 20 +- subpkg/withdrawDeposit/company.vue | 275 +++++++++++++++++++ 4 files changed, 301 insertions(+), 3 deletions(-) create mode 100644 subpkg/withdrawDeposit/company.vue diff --git a/api/pay.js b/api/pay.js index af14b51..252f9c0 100644 --- a/api/pay.js +++ b/api/pay.js @@ -48,4 +48,9 @@ export const userWithdraw = (data) => oahttp.get('/user/withdraw', data) /** * 提现记录 */ -export const userWithdrawList = (data) => oahttp.get('/user/withdrawList', data) \ No newline at end of file +export const userWithdrawList = (data) => oahttp.get('/user/withdrawList', data) + +/** + * 可提现金额 + */ +export const getCurrCycleWithdraw = (data) => oahttp.get('/user/getCurrCycleWithdraw', data) \ No newline at end of file diff --git a/components/companyFinance/companyFinance.vue b/components/companyFinance/companyFinance.vue index 33b3bdc..5e24bcf 100644 --- a/components/companyFinance/companyFinance.vue +++ b/components/companyFinance/companyFinance.vue @@ -6,7 +6,7 @@ {{cCount(+company.deposit)}} 0.00 - + 公司收益总金额(元) {{cCount(+company.company_money)}} 0.00 diff --git a/pages.json b/pages.json index 6f890a3..8bee131 100644 --- a/pages.json +++ b/pages.json @@ -374,7 +374,25 @@ } } } - }, { + },{ + "path": "withdrawDeposit/company", + "style": { + "navigationBarTitleText": "提现", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white", + "app-plus": { + "titleNView": { + "buttons": [{ + "color": "#fff", + "text": "提现记录", + "fontSize": "15", + "width": "90" + }] + } + } + } + },{ "path": "withdrawList/withdrawList", "style": { "navigationBarTitleText": "提现记录", diff --git a/subpkg/withdrawDeposit/company.vue b/subpkg/withdrawDeposit/company.vue new file mode 100644 index 0000000..18a36f3 --- /dev/null +++ b/subpkg/withdrawDeposit/company.vue @@ -0,0 +1,275 @@ + + + + + \ No newline at end of file