From d53a293bf4e40e9ef939126f1bee04c8f8568e77 Mon Sep 17 00:00:00 2001 From: douqi <630797947@qq.com> Date: Wed, 22 Feb 2023 09:20:29 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=B4=A6=E6=88=B7=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=85=85=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/financialCenter/accountManagement.js | 10 ++- .../accountManagement/components/recharge.vue | 74 ++++++++++++++----- .../accountManagement/index.vue | 8 +- 3 files changed, 71 insertions(+), 21 deletions(-) diff --git a/src/api/financialCenter/accountManagement.js b/src/api/financialCenter/accountManagement.js index 59ea848..b0f1839 100644 --- a/src/api/financialCenter/accountManagement.js +++ b/src/api/financialCenter/accountManagement.js @@ -17,6 +17,13 @@ const updateAccountState = (params) => { const get = (id) => { return request.get(`/oil-finance/oilCompanyAccount/get/${id}`); }; +//保存 +const save = (params) => { + return request.postJson( + "/oil-finance/oilCompanyAccountReverse/save", + params + ); +}; // //详情 // const getCompanyAccountRecord = (params) => { // return request.postJson( @@ -27,5 +34,6 @@ const get = (id) => { export default { getByPage, updateAccountState, - get + get, + save }; diff --git a/src/views/financialCenter/accountManagement/components/recharge.vue b/src/views/financialCenter/accountManagement/components/recharge.vue index 27f1c54..09887c7 100644 --- a/src/views/financialCenter/accountManagement/components/recharge.vue +++ b/src/views/financialCenter/accountManagement/components/recharge.vue @@ -2,20 +2,20 @@
- + - + - - - + + + @@ -67,7 +67,6 @@ list-type="picture-card" :on-preview="offlineTransactionProofPreview" :on-success="offlineTransactionProofSuccess" - :before-upload="imgCompress" :on-remove="offlineTransactionProofRemove" :headers="headers" :data="{'code':'A003'}" @@ -97,14 +96,31 @@ - diff --git a/src/views/financialCenter/accountManagement/index.vue b/src/views/financialCenter/accountManagement/index.vue index 0ddd0db..ac8be2c 100644 --- a/src/views/financialCenter/accountManagement/index.vue +++ b/src/views/financialCenter/accountManagement/index.vue @@ -144,9 +144,8 @@
- - + @@ -205,7 +204,9 @@ export default { currentPage: 1, pageSize: 10, total: 0, - params: {}, + params: { + + }, }, accountStateEnum: [ { @@ -277,6 +278,7 @@ export default { }, //table list getByPage() { + this.parameter.params["companyType"] = "4"; serve.getByPage(this.parameter).then((res) => { this.tableData = res.data.list; this.parameter.total = res.data.totalCount;