From c74c68886b13f567b17cdc8519d1bb33a5f9bb4e Mon Sep 17 00:00:00 2001 From: xiaozhiyong Date: Thu, 23 Feb 2023 08:57:26 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/financialCenter/billDetails/index.vue | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/views/financialCenter/billDetails/index.vue b/src/views/financialCenter/billDetails/index.vue index 1321255..f9a5dea 100644 --- a/src/views/financialCenter/billDetails/index.vue +++ b/src/views/financialCenter/billDetails/index.vue @@ -276,10 +276,6 @@ export default { label: "分油", value: "SEPARATION_OIL", }, - { - label: "圈回", - value: "TURN", - }, ...rechargeTypeEnum, { From 2594c97ec27690202864f8e2b148837e55a11134 Mon Sep 17 00:00:00 2001 From: xiaozhiyong Date: Thu, 23 Feb 2023 11:16:37 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/common.js | 10 +++- src/api/financialCenter/accountManagement.js | 19 ++++--- .../accountManagement/components/recharge.vue | 35 ++++++++++--- .../accountManagement/index.vue | 50 +++++++++---------- 4 files changed, 69 insertions(+), 45 deletions(-) diff --git a/src/api/common.js b/src/api/common.js index 81ce3d9..05e5809 100644 --- a/src/api/common.js +++ b/src/api/common.js @@ -13,17 +13,23 @@ const liekQuery = (query) => { ); }; -//公司账户详情 +//公司账户信息 const getByCompanyId = (query) => { return request.get(`/oil-finance/oilCompanyAccount/getByCompanyId/${query}`); }; -//公司财务详情 +//公司财务信息 const getByCompanyIdFinance = (query) => { return request.get(`/oil-user/oilCompanyFinance/getByCompanyId/${query}`); }; +// 公司认证信息 +const getByCompanyIdAuth = (id) => { + return request.get(`/oil-user/oilCompanyAuth/getByCompanyId/${id}`); +}; + export default { getRefineryCompanyList, liekQuery, getByCompanyId, getByCompanyIdFinance, + getByCompanyIdAuth, }; diff --git a/src/api/financialCenter/accountManagement.js b/src/api/financialCenter/accountManagement.js index a84edc4..1e1866f 100644 --- a/src/api/financialCenter/accountManagement.js +++ b/src/api/financialCenter/accountManagement.js @@ -3,22 +3,21 @@ import request from "utils/axios.js"; const getByPage = (params) => { return request.postJson("/oil-finance/oilCompanyAccount/getByPage", params); }; + //修改账户状态 const updateAccountState = (params) => { - return request.postJson("/oil-finance/oilCompanyAccount/getByPage", params); -}; - -//保存 -const save = (params) => { - return request.postJson("/oil-finance/oilCompanyAccountReverse/save", params); + return request.postJson( + "/oil-finance/oilCompanyAccount/updateAccountState", + params + ); }; //详情 const get = (id) => { return request.get(`/oil-finance/oilCompanyAccount/get/${id}`); }; - -const getByCompanyIdAuth = (id) => { - return request.get(`/oil-user/oilCompanyAuth/getByCompanyId/${id}`); +//保存 +const save = (params) => { + return request.postJson("/oil-finance/oilCompanyAccountReverse/save", params); }; const getInfo = (id) => { @@ -37,6 +36,6 @@ export default { updateAccountState, get, save, - getByCompanyIdAuth, + // getByCompanyIdAuth, getInfo, }; diff --git a/src/views/financialCenter/accountManagement/components/recharge.vue b/src/views/financialCenter/accountManagement/components/recharge.vue index 001d104..2a141dd 100644 --- a/src/views/financialCenter/accountManagement/components/recharge.vue +++ b/src/views/financialCenter/accountManagement/components/recharge.vue @@ -19,6 +19,7 @@ - + @@ -108,6 +109,7 @@