From 4b80c98ef5fda8d6358778f2efe8bb35cb20ccf9 Mon Sep 17 00:00:00 2001 From: queenwuli <942534046@qq.com> Date: Fri, 15 Jan 2021 16:18:21 +0800 Subject: [PATCH] gx --- hive-app/pages/workbench/orderList.vue | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/hive-app/pages/workbench/orderList.vue b/hive-app/pages/workbench/orderList.vue index f1784c3..d1c17a1 100644 --- a/hive-app/pages/workbench/orderList.vue +++ b/hive-app/pages/workbench/orderList.vue @@ -49,6 +49,7 @@ <text class="blue-btn small-btn" @click="cancelOrder(item.orderId)">取消订单</text> </view> </view> + <no-record :isShow="!list.length" txt="暂无订单记录"></no-record> <view v-if="list.length"> <uni-load-more :status="loadStatus" color="#a5abaf"></uni-load-more> </view> @@ -69,6 +70,7 @@ }, data() { return { + queryKey: '', orderStatus: 0, tabs:[ { @@ -96,6 +98,9 @@ onLoad(options) { if(options.status){ this.orderStatus = Number(options.status); + } + if(options.queryKey){ + this.queryKey = options.queryKey; } this.loadList() @@ -184,7 +189,6 @@ content: '确定取消订单吗?', success: (res) => { if (res.confirm) { - console.log('用户点击确定'); this.$httpUtils.request('/api/order/cancelOrder/'+id).then((res) => { if(res.status == 200){ this.reloadData() -- Gitblit v1.9.1