完善客户端问题单及维护期限

This commit is contained in:
龙运模
2024-11-29 20:40:32 +08:00
parent 1c6d8e34c9
commit 5bb07240f4
14 changed files with 955 additions and 222 deletions
+44 -3
View File
@@ -90,7 +90,7 @@ export default {
orderList:{
url: `${config.API_URL}/customer.work.order.list`,
name: "问题工单列表",
post: async function(data){
get: async function(data){
return await http.post(this.url, data);
}
},
@@ -104,7 +104,7 @@ export default {
orderMyList:{
url: `${config.API_URL}/customer.work.order.my.list`,
name: "我的问题工单",
post: async function(data){
get: async function(data){
return await http.post(this.url, data);
}
},
@@ -114,6 +114,47 @@ export default {
post: async function(data){
return await http.post(this.url, data);
}
},
queryRecordList:{
url: `${config.API_URL}/service.query.record.list`,
name: "查询历史记录",
get: async function(data){
return await http.post(this.url, data);
}
},
periodQuery:{
url: `${config.API_URL}/customer.maintenance.period.query`,
name: "维保期限查询",
get: async function(data){
return await http.post(this.url, data);
}
},
periodQueryStatusList:{
url: `${config.API_URL}/customer.order.business.status.list`,
name: "维保期限业务状态列表",
post: async function(data){
return await http.post(this.url, data);
}
},
customerMyQuery:{
url: `${config.API_URL}/customer.my.query`,
name: "我的记录查询(查询所有记录)",
post: async function(data){
return await http.post(this.url, data);
}
},
customerRecentlyQuery:{
url: `${config.API_URL}/customer.recently.query`,
name: "我的最近查询(查询前10条)",
post: async function(data){
return await http.post(this.url, data);
}
},
recommendation:{
url: `${config.API_URL}/customer.random.recommendation`,
name: "随机推荐",
post: async function(data){
return await http.post(this.url, data);
}
}
}