增加预警排除清单

This commit is contained in:
龙运模
2025-07-24 15:00:31 +08:00
parent 187fa28ea6
commit 816f58e29a
5 changed files with 736 additions and 377 deletions
+30 -1
View File
@@ -66,7 +66,36 @@ export default {
return await http.post(this.url,params,{'Content-Type': 'multipart/form-data'});
}
},
},
exclude:{
list:{
url: `${config.API_URL}/warning.exclude.list`,
name: "排除备件列表",
get: async function (params) {
return await http.post(this.url, params);
},
},
field:{
url: `${config.API_URL}/warning.exclude.field.list`,
name: "排除备件检索",
post: async function (params) {
return await http.post(this.url, params);
},
},
template:{
url: `${config.API_URL}/warning.exclude.import.template`,
name: "排除备件导入模版",
post: async function (params) {
return await http.get(this.url,params,{responseType: 'arraybuffer'});
}
},
import:{
url: `${config.API_URL}/warning.exclude.import`,
name: "排除备件导入",
post: async function (params) {
return await http.post(this.url,params,{'Content-Type': 'multipart/form-data'});
}
},
}
};