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();
}