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
744 B
32 lines
744 B
2 years ago
|
import request from "utils/axios.js";
|
||
|
// table
|
||
|
const getByPage = (params) => {
|
||
|
return request.postJson("/oil-refinery/xoilRefineryInfo/getByPage", params);
|
||
|
};
|
||
|
// 新增
|
||
|
const save = (params) => {
|
||
|
return request.postJson("/oil-refinery/xoilRefineryInfo/save", params);
|
||
|
};
|
||
|
// 修改
|
||
|
const update = (params) => {
|
||
|
return request.postJson("/oil-refinery/xoilRefineryInfo/update", params);
|
||
|
};
|
||
|
// 删除
|
||
|
const deleteRow = (params) => {
|
||
|
return request.postJson("/oil-refinery/xoilRefineryInfo/delete", params);
|
||
|
};
|
||
|
//炼厂list
|
||
|
const findByEntity = (params = {}) => {
|
||
|
return request.postJson(
|
||
|
"/oil-refinery/xoilRefineryInfo/findByEntity",
|
||
|
params
|
||
|
);
|
||
|
};
|
||
|
export default {
|
||
|
getByPage,
|
||
|
save,
|
||
|
update,
|
||
|
deleteRow,
|
||
|
findByEntity,
|
||
|
};
|