预约记录修改

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> <script>
import { import {
get, get,
post post,
del
} from '@/utils/request'; } from '@/utils/request';
import { import {
IMAGE_BASE_URL, IMAGE_BASE_URL,
@ -236,16 +237,14 @@
title: '处理中...', title: '处理中...',
mask: true mask: true
}); });
const res = await post('/api/v1/app_auth/metting-room/order/cancel', { const res = await del(`/api/v1/app_auth/metting-room/order/${orderId}`);
id: orderId
});
if (res?.success) { if (res?.success) {
uni.showToast({ uni.showToast({
title: '取消成功', title: '取消成功',
icon: 'success' icon: 'success'
}); });
this.getOrderList(); // this.getOrderList();
} else { } else {
uni.showToast({ uni.showToast({
title: res?.message || '取消失败', title: res?.message || '取消失败',