From 6dd00a42b1cf315525e69dc0ebb01ab86727c305 Mon Sep 17 00:00:00 2001 From: douqi <630797947@qq.com> Date: Tue, 21 Feb 2023 13:13:06 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E8=B4=A2=E5=8A=A1=E4=B8=AD=E5=BF=83-?= =?UTF-8?q?=E5=85=AC=E5=8F=B8=E8=B4=A6=E6=88=B7=E7=AE=A1=E7=90=86-?= =?UTF-8?q?=E8=B4=A6=E6=88=B7=E7=AE=A1=E7=90=86=20=E5=88=86=E9=A1=B5?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/financialCenter/accountManagement.js | 31 + .../accountManagement/components/recharge.vue | 81 ++ .../accountManagement/index.vue | 712 ++++++++---------- 3 files changed, 421 insertions(+), 403 deletions(-) create mode 100644 src/api/financialCenter/accountManagement.js create mode 100644 src/views/financialCenter/accountManagement/components/recharge.vue diff --git a/src/api/financialCenter/accountManagement.js b/src/api/financialCenter/accountManagement.js new file mode 100644 index 0000000..59ea848 --- /dev/null +++ b/src/api/financialCenter/accountManagement.js @@ -0,0 +1,31 @@ +import request from "utils/axios.js"; +// table +const getByPage = (params) => { + return request.postJson( + "/oil-finance/oilCompanyAccount/getByPage", + params + ); +}; +//修改账户状态 +const updateAccountState = (params) => { + return request.postJson( + "/oil-finance/oilCompanyAccount/getByPage", + params + ); +}; +//详情 +const get = (id) => { + return request.get(`/oil-finance/oilCompanyAccount/get/${id}`); +}; +// //详情 +// const getCompanyAccountRecord = (params) => { +// return request.postJson( +// "oil-finance/oilCompanyAccountRecord/getCompanyAccountRecord", +// params +// ); +// }; +export default { + getByPage, + updateAccountState, + get +}; diff --git a/src/views/financialCenter/accountManagement/components/recharge.vue b/src/views/financialCenter/accountManagement/components/recharge.vue new file mode 100644 index 0000000..5ce448c --- /dev/null +++ b/src/views/financialCenter/accountManagement/components/recharge.vue @@ -0,0 +1,81 @@ + + + + + diff --git a/src/views/financialCenter/accountManagement/index.vue b/src/views/financialCenter/accountManagement/index.vue index 7270f13..15c9cb5 100644 --- a/src/views/financialCenter/accountManagement/index.vue +++ b/src/views/financialCenter/accountManagement/index.vue @@ -2,25 +2,29 @@
- + + + - + - + /> + + + + + +
查询 @@ -29,7 +33,9 @@
- 新增产品 + 禁用 + 启用 + 冻结
> - - - - - - - - - - - - - - - - - + + - - + - - + + + + + + + + + - - - + - +
- - - - - - - - - - - + + + +