新增配件故障率导入
This commit is contained in:
@@ -285,6 +285,20 @@ export default {
|
||||
return await http.post(this.url, data);
|
||||
},
|
||||
},
|
||||
import:{
|
||||
url: `${config.API_URL}/spare.parts.failure.rate.batch.import`,
|
||||
name: "备件故障导入",
|
||||
post: async function (params) {
|
||||
return await http.post(this.url,params,{'Content-Type': 'multipart/form-data'});
|
||||
}
|
||||
},
|
||||
template:{
|
||||
url: `${config.API_URL}/spare.parts.failure.rate.import.template`,
|
||||
name: "备件故障率导入模版",
|
||||
post: async function (params) {
|
||||
return await http.get(this.url,params,{responseType: 'arraybuffer'});
|
||||
}
|
||||
},
|
||||
},
|
||||
bom:{
|
||||
list:{
|
||||
|
||||
Reference in New Issue
Block a user