This commit is contained in:
xiaozhiyong
2023-02-09 15:51:21 +08:00
commit 08196dbf68
82 changed files with 4443 additions and 0 deletions

7
src/api/login.js Normal file
View File

@@ -0,0 +1,7 @@
import request from "utils/axios.js";
//登录
// const login = (params) => {
// return request.postJson("/oil-identity/operationUser/xlLoginPwd", params);
// };
export default {};

31
src/api/refineryInfo.js Normal file
View File

@@ -0,0 +1,31 @@
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,
};