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.
31 lines
744 B
31 lines
744 B
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, |
|
};
|
|
|