yangan
2023-11-21 0937a09b807ae3d615e2e13d7b254a952b9f99ce
pages/customer-page/customer-index/customer-index.vue
@@ -26,11 +26,12 @@
                  </u-cell>
               </u-cell-group>
            </view>
            <view style="position: relative;top: -120px;">
            <view style="position: relative;">
               <u-empty mode="data"
                  icon="http://cdn.uviewui.com/uview/empty/data.png"
                  textSize="30"
                  iconSize="1000"
                  text="暂无数据"
                  v-if="orderPlanData.length == 0"></u-empty>
            </view>
            <view class="collection-form">
@@ -63,6 +64,11 @@
                        </view>
                     </view> -->
                     <view class="car-num">{{ item.code||''}}</view>
                  </view>
                  <!-- 添加创建时间 -->
                  <view class="third-line">
                     <text style="font-size: 28rpx;color: #515151" >创建时间:</text>
                     <view  style="font-size: 28rpx;color: #515151">{{ item.createTime }}</view>
                  </view>
                  <view class="third-line">
                     <view class="time-icon">
@@ -103,6 +109,7 @@
                     icon="http://cdn.uviewui.com/uview/empty/data.png"
                     textSize="30"
                     iconSize="1000"
                     text="暂无数据"
                     v-if="historyCoalData.length == 0"></u-empty>
                  <view class="history-information"
                     v-for="(item, index) in historyCoalData"
@@ -135,6 +142,11 @@
                           <view class="third-line_num">{{ item.tmCount }}</view>
                        </view>
                     </view>
                     <!-- 添加创建时间 -->
                  <view class="fourth" style="justify-content: start;">
                     <view style="font-size: 28rpx;color: #515151" >创建时间:</view>
                     <view  style="font-size: 28rpx;color: #515151">{{ item.createTime }}</view>
                  </view>
                     <view class="fourth">
                        <view class="fourth-icon">
                           <view
@@ -162,7 +174,7 @@
         <view class="previewImage-container">
            <view class="previewImage-container">
               <previewImage ref="previewImage"
                  :imgs="TourImgList"
                  :imgs="customerTourImgList"
                  :saveBtn='false'></previewImage>
            </view>
         </view>
@@ -195,6 +207,7 @@
   import { customerId } from '@/utils/status';
   import previewImage from '@/components/kxj-previewImage/kxj-previewImage.vue';
   import { BaseUrl } from '@/api/publicInterface.js'
   import { mapState } from 'vuex'
   export default {
      props: {
         orderPlanDataStore: {
@@ -216,6 +229,7 @@
         }
      },
      computed: {
         ...mapState(['customerTourImgList']),
         roleType() {
            return uni.getStorageSync('roleType');
         },
@@ -249,26 +263,23 @@
            onlineurl,
            previewImageShow: false,
            previewImageSrc: '',
            TourImgList: ['https://mx.jzeg.cn:9095/appimg/image/tour/quality/quality01.jpg',
               'https://mx.jzeg.cn:9095/appimg/image/tour/quality/quality02.jpg',
               'https://mx.jzeg.cn:9095/appimg/image/tour/quality/quality03.jpg',
               'https://mx.jzeg.cn:9095/appimg/image/tour/quality/quality04.jpg',
               'https://mx.jzeg.cn:9095/appimg/image/tour/quality/quality05.jpg'
            ],
            phone: "",
            isFirstLogin: true
         };
      },
      onLoad() {},
      mounted() {
         this.getLogOn()
      },
      onShow() {
         this.init();
      },
      methods: {
         init() {
            this.GetOrderPlan();
            this.getJhOrderPlanDataPage();
            this.onlineurl = onlineurl;
            this.getLogOn()
            // this.getLogOn()
         },
         // 获取发运计划列表
         GetOrderPlan() {
@@ -392,7 +403,7 @@
               .navigateTo({ url: `/pages/driver-page/driver-index/bill-of-lading-details/selectOrderPlan/selectOrderPlan?index=${index}` });
         },
         noobTour(v) {
            this.$refs.previewImage.open('https://mx.jzeg.cn:9095/appimg/image/tour/quality/quality01.jpg')
            this.$refs.previewImage.open('https://mx.jzeg.cn:9095/appimg/image/tour/quality/quality1.jpg')
         },
         getLogOn() {
            this.$reqGet('getUserEntity').then(res => {