qingyiay
2023-10-17 2adce788c1a411959b81f08d5569d92861c7f300
pages/driver-page/driver-index/driver-index.vue
@@ -299,7 +299,8 @@
            xsUserId: '',
            customerId: '',
            isFirstLogin: true, //是否是第一次登录
            phone: ""
            phone: "",
            isFirstTime: false //是否是登录进入首页,还是别的页面返回 false是登录 true是别的页面
         };
      },
      onShow() {
@@ -316,6 +317,9 @@
         },
         init() {
            this.qiangDanList();
            if (!this.isFirstTime) {
               this.getLogOn()
            }
         },
         // 司机首页列表
         qiangDanList() {
@@ -373,7 +377,7 @@
         },
         list3CardIconClick(value) {
            uni.navigateTo({
               url: `/pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details?orderPlanId=${value.id}&yyId=${value.yyId}`
               url: `/pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details?orderPlanId=${value.id}&yyId=${value.yyId}&orderType=${value.orderType}`
            });
         },
         // 提煤单详情
@@ -392,6 +396,7 @@
            this.$refs.previewImage.open('https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj1.png')
         },
         getLogOn() {
            this.isFirstTime = true
            this.$reqGet('getUserEntity').then(res => {
               this.phone = res.data.phone
            }).then(() => {