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.
32 lines
679 B
32 lines
679 B
2 years ago
|
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 getCompanyAccountRecord = (params) => {
|
||
|
// return request.postJson(
|
||
|
// "oil-finance/oilCompanyAccountRecord/getCompanyAccountRecord",
|
||
|
// params
|
||
|
// );
|
||
|
// };
|
||
|
export default {
|
||
|
getByPage,
|
||
|
updateAccountState,
|
||
|
get
|
||
|
};
|