修改工单

This commit is contained in:
龙运模
2024-08-26 22:39:09 +08:00
parent 34c1a74812
commit 9ca2c0e905
10 changed files with 213 additions and 145 deletions
+15 -1
View File
@@ -168,7 +168,21 @@ export default {
post: async function (params) {
return await http.post(this.url,params);
}
}
},
status:{
url: `${config.API_URL}/maintenance.order.business.status.list`,
name: "维保工单业务状态",
post: async function (params) {
return await http.post(this.url,params);
}
},
optionList:{
url: `${config.API_URL}/maintenance.repair.options.const.list`,
name: "维保工单常量下拉",
post: async function (params) {
return await http.post(this.url,params);
}
},
},
sock: {
list:{
+23
View File
@@ -50,4 +50,27 @@ export default {
},
}
},
bom:{
list:{
url: `${config.API_URL}/bom.list`,
name: "bom列表",
get: async function (data = {}) {
return await http.post(this.url, data);
},
},
info:{
url: `${config.API_URL}/bom.detail`,
name: "bom详情",
post: async function (data = {}) {
return await http.post(this.url, data);
},
},
refresh:{
url: `${config.API_URL}/bom.refresh`,
name: "重新拉取bom",
post: async function (data = {}) {
return await http.post(this.url, data);
},
}
}
};