预约记录修改

This commit is contained in:
qiuyuan 2025-08-08 18:38:56 +08:00
parent 302abc9a29
commit 01ca2c7e01

View File

@ -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 || '取消失败',