增加预警排除清单
This commit is contained in:
+30
-1
@@ -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'});
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user