From c7372dc7f495bdefb7f5e78d1c02756d637377b3 Mon Sep 17 00:00:00 2001
From: yangan <yangan0921@163.com>
Date: 星期四, 20 六月 2024 17:13:06 +0800
Subject: [PATCH] feat:司机去掉查看验质出场时间

---
 pages/customer-page/customer-index/customer-index.vue |   33 ++++++++++++++++++++++-----------
 1 files changed, 22 insertions(+), 11 deletions(-)

diff --git a/pages/customer-page/customer-index/customer-index.vue b/pages/customer-page/customer-index/customer-index.vue
index a67baf1..fcea9c4 100644
--- a/pages/customer-page/customer-index/customer-index.vue
+++ b/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 => {

--
Gitblit v1.9.1