You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
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 save = (params) => {
|
|
|
|
return request.postJson(
|
|
|
|
"/oil-finance/oilCompanyAccountReverse/save",
|
|
|
|
params
|
|
|
|
);
|
|
|
|
};
|
|
|
|
// //详情
|
|
|
|
// const getCompanyAccountRecord = (params) => {
|
|
|
|
// return request.postJson(
|
|
|
|
// "oil-finance/oilCompanyAccountRecord/getCompanyAccountRecord",
|
|
|
|
// params
|
|
|
|
// );
|
|
|
|
// };
|
|
|
|
export default {
|
|
|
|
getByPage,
|
|
|
|
updateAccountState,
|
|
|
|
get,
|
|
|
|
save
|
|
|
|
};
|