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 @@