预约记录修改
This commit is contained in:
parent
302abc9a29
commit
01ca2c7e01
@ -101,7 +101,8 @@
|
||||
<script>
|
||||
import {
|
||||
get,
|
||||
post
|
||||
post,
|
||||
del
|
||||
} from '@/utils/request';
|
||||
import {
|
||||
IMAGE_BASE_URL,
|
||||
@ -236,16 +237,14 @@
|
||||
title: '处理中...',
|
||||
mask: true
|
||||
});
|
||||
const res = await post('/api/v1/app_auth/metting-room/order/cancel', {
|
||||
id: orderId
|
||||
});
|
||||
const res = await del(`/api/v1/app_auth/metting-room/order/${orderId}`);
|
||||
|
||||
if (res?.success) {
|
||||
uni.showToast({
|
||||
title: '取消成功',
|
||||
icon: 'success'
|
||||
});
|
||||
this.getOrderList(); // 刷新列表
|
||||
this.getOrderList();
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: res?.message || '取消失败',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user