From 1ab29b3567574a721bd37d5ff9d7e9db386272d6 Mon Sep 17 00:00:00 2001 From: 付延余 <f-yanyu@outlook.com> Date: 星期四, 16 三月 2023 17:08:44 +0800 Subject: [PATCH] thirdCommit --- pages/customer-page/customer-index/customer-index.vue | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/pages/customer-page/customer-index/customer-index.vue b/pages/customer-page/customer-index/customer-index.vue index 0c403a4..a90caf0 100644 --- a/pages/customer-page/customer-index/customer-index.vue +++ b/pages/customer-page/customer-index/customer-index.vue @@ -1,6 +1,7 @@ <template> <view class="customer-index"> <view class="customer-index-body"> + <u-empty mode="data" icon="http://cdn.uviewui.com/uview/empty/data.png" textSize="30" iconSize="1000" v-if="orderPlanData.length == 0"></u-empty> <card v-for="(item, index) in orderPlanData" :key="index" :name="item.id" @click="cardBodyClick"> <template v-slot:left> <view class="card-left__top"> @@ -86,11 +87,12 @@ }, // 鑾峰彇鍙戣繍璁″垝鍒楄〃 GetOrderPlan() { - // this.$reqGet('GetOrderPlan', { customerId: customerId }).then(res => { - // this.orderPlanData = res.data; - // }); + uni.showLoading({ + title: '鍔犺浇涓�...' + }); this.$reqGet('GetOrderPlan').then(res => { this.orderPlanData = res.data; + uni.hideLoading() }); }, // 棰嗗彇鐐瑰嚮 @@ -152,7 +154,7 @@ // 杞彂 forwardClick(obj) { uni.navigateTo({ - url: `/pages/public-page/forward/forward?orderPlanId=${obj.id}&carNum=${obj.carNum}` + url: `/pages/public-page/forward/forward?orderPlanId=${obj.id}&carNum=${obj.cars2}` }); } } -- Gitblit v1.9.1