From e7405bb543d28c8e81402e7219575b83146942d4 Mon Sep 17 00:00:00 2001
From: qingyiay <2386314947@qq.com>
Date: 星期五, 15 九月 2023 09:55:20 +0800
Subject: [PATCH] 司机我的提交遗漏
---
pages/customer-page/customer-index/customer-index.vue | 16 +++++++---------
1 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/pages/customer-page/customer-index/customer-index.vue b/pages/customer-page/customer-index/customer-index.vue
index a67baf1..01a93c0 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">
@@ -103,6 +104,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"
@@ -162,7 +164,7 @@
<view class="previewImage-container">
<view class="previewImage-container">
<previewImage ref="previewImage"
- :imgs="TourImgList"
+ :imgs="customerTourImgList"
:saveBtn='false'></previewImage>
</view>
</view>
@@ -195,6 +197,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 +219,7 @@
}
},
computed: {
+ ...mapState(['customerTourImgList']),
roleType() {
return uni.getStorageSync('roleType');
},
@@ -249,12 +253,6 @@
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
};
@@ -392,7 +390,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