优化客户端

This commit is contained in:
龙运模
2024-11-21 23:17:52 +08:00
parent eb28b64c44
commit c5730240ac
7 changed files with 172 additions and 25 deletions
+42
View File
@@ -66,4 +66,46 @@ export default {
}
},
orderSubmit: {
url: `${config.API_URL}/customer.work.order.submit`,
name: "提交问题工单",
post: async function(data){
return await http.post(this.url, data);
}
},
serviceTypeList:{
url: `${config.API_URL}/customer.service.type.list`,
name: "问题工单常量类型",
post: async function(data){
return await http.post(this.url, data);
}
},
replyOrder:{
url: `${config.API_URL}/customer.work.order.reply`,
name: "回复工单",
post: async function(data){
return await http.post(this.url, data);
}
},
orderList:{
url: `${config.API_URL}/customer.work.order.list`,
name: "问题工单列表",
post: async function(data){
return await http.post(this.url, data);
}
},
orderDelete:{
url: `${config.API_URL}/customer.work.order.delete`,
name: "删除问题工单",
post: async function(data){
return await http.post(this.url, data);
}
},
orderMyList:{
url: `${config.API_URL}/customer.work.order.my.list`,
name: "我的工单",
post: async function(data){
return await http.post(this.url, data);
}
}
}