Merge remote-tracking branch 'origin/douqi' into xiaozy_产品列表
This commit is contained in:
31
src/api/financialCenter/accountManagement.js
Normal file
31
src/api/financialCenter/accountManagement.js
Normal file
@@ -0,0 +1,31 @@
|
||||
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
|
||||
};
|
||||
Reference in New Issue
Block a user