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/oilCompanyAccountReverse/getByPage",
|
|
|
|
params
|
|
|
|
);
|
|
|
|
};
|
|
|
|
//详情
|
|
|
|
const get = (query) => {
|
|
|
|
return request.get(`/oil-finance/oilCompanyAccountReverse/get/${query}`);
|
|
|
|
};
|
|
|
|
//详情
|
|
|
|
const getByCompanyId = (query) => {
|
|
|
|
return request.get(`/oil-finance/oilCompanyAccount/getByCompanyId/${query}`);
|
|
|
|
};
|
|
|
|
// 新增
|
|
|
|
const save = (params) => {
|
|
|
|
return request.postJson("/oil-finance/oilCompanyAccountReverse/save", params);
|
|
|
|
};
|
|
|
|
// 修改
|
|
|
|
const update = (params) => {
|
|
|
|
return request.postJson(
|
|
|
|
"/oil-finance/oilCompanyAccountReverse/update",
|
|
|
|
params
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default {
|
|
|
|
getByPage,
|
|
|
|
get,
|
|
|
|
getByCompanyId,
|
|
|
|
save,
|
|
|
|
update,
|
|
|
|
};
|