From 3419e3866b16f4b4ace7e89ea50c74dc0983da9a Mon Sep 17 00:00:00 2001 From: qingyiay <2386314947@qq.com> Date: 星期四, 06 四月 2023 17:28:20 +0800 Subject: [PATCH] 修改转发错误,修正日计划单 --- pages/tabbar-page/index-tabbar/index-tabbar.vue | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pages/tabbar-page/index-tabbar/index-tabbar.vue b/pages/tabbar-page/index-tabbar/index-tabbar.vue index fa520ac..9a4b61a 100644 --- a/pages/tabbar-page/index-tabbar/index-tabbar.vue +++ b/pages/tabbar-page/index-tabbar/index-tabbar.vue @@ -40,16 +40,18 @@ } else if (this.roleType == 2) { this.$reqGet('huoDaiList').then(res => { this.indexHuoDaiOrderPlanData = res.data; + uni.hideLoading(); + uni.stopPullDownRefresh(); }); // 鑾峰彇鍘嗗彶鎻愮叅鍗� this.$reqGet('getJhOrderPlanDataPage', { current: 1, size: 10 }).then(res => { if (res.data.records) { - this.indexHistoryCoalData = [...this.historyCoalData, ...res.data.records]; + this.indexHistoryCoalData = res.data.records; uni.hideLoading(); uni.stopPullDownRefresh(); } }); - } else { + } else if (this.roleType == 3) { this.$reqGet('qiangDanList').then(res => { this.indexdriverBillOfLoadingData = res.data; uni.hideLoading(); @@ -80,7 +82,7 @@ orderPlanDataStore: [], indexHuoDaiOrderPlanData: [], indexHistoryCoalData: [], - indexdriverBillOfLoadingData: [] + indexdriverBillOfLoadingData: {} }; }, onShow() { -- Gitblit v1.9.1