qingyiay
2023-06-20 3f10299a92e23fd902e4bd51a6d59f9bf0c7d7ec
pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue
@@ -242,7 +242,7 @@
            return this.coalDetailsData.hair !== 0 || this.coalDetailsData.skin !== 0;
         },
         isapproach() {
            return this.currentPageCoalStatus <= 3;
            return this.currentPageCoalStatus !== 3;
         }
      },
      methods: {
@@ -272,14 +272,12 @@
            this.$reqGet('getCallOutList', this.getServiceOpenid).then(res => {
               console.log(res, '客服openid');
               if (res.code != 0) {
                  this.$u.toast('获取客服信息失败');
                  this.$u.toast(res.msg ? res.msg : '获取客服信息失败');
               } else {
                  if (res.data.length > 0) {
                     this.serviceInfoObj.openId = res.data[0].openId;
                     this.serviceInfoObj.openName = res.data[0].openName;
                  this.serviceInfoObj.openId = res.data.openId;
                  this.serviceInfoObj.openName = res.data.openName;
                     uni.setStorageSync('customeropenId', this.serviceInfoObj.openId);
                     uni.setStorageSync('customerName', this.serviceInfoObj.openName);
                  }
               }
            });
         },
@@ -411,7 +409,7 @@
                           nickname: uni.getStorageSync('customerName'),
                           openid: uni.getStorageSync(
                              'customeropenId')
                        }, // 这里的openid是fyy的,充当固定的客服openid
                        },
                        backgroundType: 2,
                        roomType: 'voice',
                        success() {