فهرست منبع

点检详情图片地址变全拼

chenrui 4 سال پیش
والد
کامیت
c4c290cb06

+ 9 - 3
pages/myShopTour/myShopTour.vue

@@ -188,9 +188,15 @@
 			},
 			//  查看详情
 			getDetails(item){
-				uni.navigateTo({
-					url: '/pages/shopTourDetails/shopTourDetails?taskId=' + item.id
-				})
+				if(item.type == 'POINT_INSPECTION'){  //  点检任务
+					uni.navigateTo({
+						url: '/pages/spotCheckDetails/spotCheckDetails?taskId=' + item.id
+					})
+				}else{  //  现场巡店、视频巡店
+					uni.navigateTo({
+						url: '/pages/shopTourDetails/shopTourDetails?taskId=' + item.id
+					})
+				}
 			},
 			// tabs通知swiper切换
 			tabsChange(index) {

+ 3 - 3
pages/spotCheckDetails/spotCheckDetails.vue

@@ -13,7 +13,7 @@
 			<view class="comment-con">
 				<u-row gutter="16" class="pic-con">
 					<u-col span="3" v-for="(pic, ind) in item.taskTargetPhotoList" :key="ind">
-						<u-image class="pic" width="100%" height="150upx" :src="pic.image" @click="clickPic(index, ind)"></u-image>
+						<u-image class="pic" width="100%" height="150upx" :src="pic.photoPath" @click="clickPic(index, ind)"></u-image>
 					</u-col>
 				</u-row>
 				<view class="comment-main">{{item.comments}}</view>
@@ -52,8 +52,8 @@
 							if(item.taskTargetPhotoList){
 								item.photoList = []
 								item.taskTargetPhotoList.map(subItem => {
-									subItem.image = subItem.photoBasePath + subItem.photoPath
-									item.photoList.push(subItem.image)
+									// subItem.image = subItem.photoBasePath + subItem.photoPath
+									item.photoList.push(subItem.photoPath)
 								})
 							}
 						})

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
unpackage/dist/dev/app-plus/app-service.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 16 - 9
unpackage/dist/dev/app-plus/app-view.js


برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است