增加备件预警管理

This commit is contained in:
龙运模
2024-12-04 10:26:11 +08:00
parent 9161fa358e
commit 098396f716
5 changed files with 303 additions and 41 deletions
+30 -1
View File
@@ -9,6 +9,35 @@ export default {
get: async function (params) {
return await http.post(this.url, params);
},
}
},
add:{
url: `${config.API_URL}/spare.parts.water.level.warning.edit`,
name: "新增/编辑水位信息",
post: async function (params) {
return await http.post(this.url, params);
},
},
delete:{
url: `${config.API_URL}/spare.parts.water.level.warning.delete`,
name: "删除水位信息",
post: async function (params) {
return await http.post(this.url, params);
},
},
room:{
url: `${config.API_URL}/regional.room.code.list`,
name: "区域机房代码列表",
post: async function (params) {
return await http.post(this.url, params);
},
},
export:{
url: `${config.API_URL}/spare.parts.water.level.warning.export`,
name: "导出备件预警列表",
post: async function (params) {
return await http.post(this.url,params);
}
},
}
};