综法订单新增取消功能,新增匹配律师状态

This commit is contained in:
唐明明
2023-06-08 13:35:07 +08:00
parent 23aaf13ffa
commit ca8c6dff01
7 changed files with 99 additions and 11 deletions

View File

@@ -119,6 +119,26 @@ const orderDiffInfo = (diff_price_id) => {
})
}
// 取消订单
const cancelOrder = (type, id) => {
let url
switch (type){
case 'service':
url = "synthesis/services/order/"
break;
case 'entrust':
url = "synthesis/entrust/order/"
break;
case 'expand':
url = "synthesis/expand/order/"
break;
}
return request({
url : url + id,
method : 'DELETE'
})
}
export {
servicesOrder,
synthesisOrder,
@@ -132,5 +152,6 @@ export {
orderDiff,
orderDiffList,
orderDiffCancel,
orderDiffInfo
orderDiffInfo,
cancelOrder
}