From ae8fe051468df25b7f24273e66a2a06dfbb910d0 Mon Sep 17 00:00:00 2001 From: GaoHao <1210693421@qq.com> Date: Mon, 21 Oct 2024 15:40:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E5=8F=B7=E6=8E=A5=E5=8F=A3=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pagesQueueUp/index/index.vue | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/pagesQueueUp/index/index.vue b/pagesQueueUp/index/index.vue index 3adaaf0..d8b5068 100644 --- a/pagesQueueUp/index/index.vue +++ b/pagesQueueUp/index/index.vue @@ -18,10 +18,10 @@ 预计等待 - + - {{item.tableName||''}} - {{item.tableNote||''}} + {{item.name||''}} + {{item.note||''}} {{item.waitingCount}} @@ -145,7 +145,7 @@ }, onShow() { this.getQueueUpState(); - this.getQueueUpList(); + // this.getQueueUpList(); this.getQueueUpTablList(); }, @@ -181,6 +181,7 @@ if ( res.code == 0) { this.shopInfo = res.data.shopInfo; this.queueInfo = res.data.queueInfo; + this.queueId = this.queueInfo.id; } }, @@ -221,6 +222,10 @@ queueId: this.queueId, }) if ( res.code == 0) { + uni.showToast({ + title: '订阅成功', + icon: 'none' + }); uni.requestSubscribeMessage({ tmplIds:["qUhvEfvCtIcBA3DOn3QMqsGOolrEpyr0YBh99i-AUqw","yxOjWK-KjMEZ_BaHWqDJJpHiUPXN6JWqr7u9y65RIWM","3BgFazRpVlvreh5z9u4cNP_VeclXKSQfh-r3x2_bYx4"], complete() { @@ -273,7 +278,7 @@ shopId: this.shopId, }) if ( res.code == 0) { - this.getQueueUpList(); + this.getQueueUpTablList(); this.getQueueUpState(); }