增加故障率配置

This commit is contained in:
龙运模
2024-11-04 22:34:09 +08:00
parent cd8650217c
commit a2ed86263c
12 changed files with 283 additions and 12 deletions
+23
View File
@@ -235,6 +235,29 @@ export default {
},
}
},
spare:{
list:{
url: `${config.API_URL}/spare.parts.failure.rate.list`,
name: "备件故障率列表",
get: async function (data) {
return await http.post(this.url, data);
},
},
add:{
url: `${config.API_URL}/spare.parts.failure.rate.add`,
name: "备件故障率新增",
post: async function (data) {
return await http.post(this.url, data);
},
},
delete:{
url: `${config.API_URL}/spare.parts.failure.rate.delete`,
name: "备件故障率删除",
post: async function (data) {
return await http.post(this.url, data);
},
},
},
bom:{
list:{
url: `${config.API_URL}/bom.list`,