qingyiay
2023-03-29 82af85eae92790fc125ca42d1a800046fe0bd916
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() {