更新
This commit is contained in:
@@ -17,9 +17,13 @@ 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}`);
|
||||
};
|
||||
export default {
|
||||
getRefineryCompanyList,
|
||||
liekQuery,
|
||||
getByCompanyId,
|
||||
getByCompanyIdFinance,
|
||||
};
|
||||
|
||||
@@ -1,29 +1,30 @@
|
||||
import request from "utils/axios.js";
|
||||
// table
|
||||
const getByPage = (params) => {
|
||||
return request.postJson(
|
||||
"/oil-finance/oilCompanyAccount/getByPage",
|
||||
params
|
||||
);
|
||||
return request.postJson("/oil-finance/oilCompanyAccount/getByPage", params);
|
||||
};
|
||||
//修改账户状态
|
||||
const updateAccountState = (params) => {
|
||||
return request.postJson(
|
||||
"/oil-finance/oilCompanyAccount/getByPage",
|
||||
params
|
||||
);
|
||||
return request.postJson("/oil-finance/oilCompanyAccount/getByPage", params);
|
||||
};
|
||||
|
||||
//保存
|
||||
const save = (params) => {
|
||||
return request.postJson("/oil-finance/oilCompanyAccountReverse/save", params);
|
||||
};
|
||||
//详情
|
||||
const get = (id) => {
|
||||
return request.get(`/oil-finance/oilCompanyAccount/get/${id}`);
|
||||
};
|
||||
//保存
|
||||
const save = (params) => {
|
||||
return request.postJson(
|
||||
"/oil-finance/oilCompanyAccountReverse/save",
|
||||
params
|
||||
);
|
||||
|
||||
const getByCompanyIdAuth = (id) => {
|
||||
return request.get(`/oil-user/oilCompanyAuth/getByCompanyId/${id}`);
|
||||
};
|
||||
|
||||
const getInfo = (id) => {
|
||||
return request.get(`/oil-user/oilCompanyInfo/get/${id}`);
|
||||
};
|
||||
|
||||
// //详情
|
||||
// const getCompanyAccountRecord = (params) => {
|
||||
// return request.postJson(
|
||||
@@ -35,5 +36,7 @@ export default {
|
||||
getByPage,
|
||||
updateAccountState,
|
||||
get,
|
||||
save
|
||||
save,
|
||||
getByCompanyIdAuth,
|
||||
getInfo,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user