新增配件故障率导入

This commit is contained in:
龙运模
2025-04-09 20:08:15 +08:00
parent 4d87561462
commit 2d8e2c3c2b
3 changed files with 54 additions and 1 deletions
+14
View File
@@ -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:{