qingyiay
2023-09-12 5386f47f55ecb9ad2189998f9dda6d682b6be7e0
pages/driver-page/driver-index/driver-index.vue
@@ -97,6 +97,7 @@
                  icon="http://cdn.uviewui.com/uview/empty/data.png"
                  textSize="30"
                  iconSize="1000"
                  text="暂无数据"
                  v-if="driverBillOfLoadingData.list3 ? (driverBillOfLoadingData.list3.length == 0 ? true : false) : true"></u-empty>
               <view class="appointment-form">
@@ -175,6 +176,7 @@
                  icon="http://cdn.uviewui.com/uview/empty/data.png"
                  textSize="30"
                  iconSize="1000"
                  text="暂无数据"
                  v-if="driverBillOfLoadingData.list2 ? (driverBillOfLoadingData.list2.length == 0 ? true : false) : true"></u-empty>
               <view class="appointment-form">
                  <view class="appointment-form-item"
@@ -248,7 +250,7 @@
            <!-- 图片预览弹出框 -->
            <view class="previewImage-container">
               <previewImage ref="previewImage"
                  :imgs="TourImgList"
                  :imgs="driverTourImgList"
                  :saveBtn='false'></previewImage>
            </view>
         </view>
@@ -262,6 +264,7 @@
   import { onlineurl } from '@/api/request.js'
   import { BaseUrl } from '@/api/publicInterface.js'
   import previewImage from '@/components/kxj-previewImage/kxj-previewImage.vue';
   import { mapState } from 'vuex'
   export default {
      components: {
         combinedTitle,
@@ -283,6 +286,7 @@
         },
      },
      computed: {
         ...mapState(['driverTourImgList']),
         roleType() {
            return uni.getStorageSync('roleType');
         },
@@ -304,17 +308,12 @@
            customerId: '',
            coalStatus: ['未称重', '称重中', '验质中', '称重完成', '验质完成'],
            onlineurl,
            TourImgList: ['https://mx.jzeg.cn:9095/appimg/image/tour/driver/sj1.jpg',
               'https://mx.jzeg.cn:9095/appimg/image/tour/driver/sj2.jpg',
               'https://mx.jzeg.cn:9095/appimg/image/tour/driver/sj3.jpg',
               'https://mx.jzeg.cn:9095/appimg/image/tour/driver/sj4.jpg',
               'https://mx.jzeg.cn:9095/appimg/image/tour/driver/sj5.jpg',
               'https://mx.jzeg.cn:9095/appimg/image/tour/driver/sj6.jpg',
               'https://mx.jzeg.cn:9095/appimg/image/tour/driver/sj7.jpg'
            ],
            phone: "",
            isFirstLogin: true //是否是第一次登录
         };
      },
      onLoad() {
         this.TourImgList = TourImgList
      },
      onShow() {
         this.init();
@@ -413,7 +412,6 @@
               uni.request({
                  url: `${BaseUrl}/admin/log/getLogOnType?phone=${this.phone}`,
                  success: res => {
                     console.log(res, '日志');
                     // res.data.data 为1 代表第一次登录  为0取消学习指引 为2 代表存在
                     if (res.data.data === 1) {
                        this.noobTour()