From 82af85eae92790fc125ca42d1a800046fe0bd916 Mon Sep 17 00:00:00 2001
From: qingyiay <2386314947@qq.com>
Date: 星期三, 29 三月 2023 14:00:08 +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