增加预警管理导入
This commit is contained in:
+15
-1
@@ -51,7 +51,21 @@ export default {
|
||||
post: async function (params) {
|
||||
return await http.post(this.url, params);
|
||||
},
|
||||
}
|
||||
},
|
||||
template:{
|
||||
url: `${config.API_URL}/warning.management.import.template`,
|
||||
name: "预计六个月用量导入模版",
|
||||
post: async function (params) {
|
||||
return await http.get(this.url,params,{responseType: 'arraybuffer'});
|
||||
}
|
||||
},
|
||||
import:{
|
||||
url: `${config.API_URL}/spare.parts.water.level.warning.batch.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