更新
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user