|
@@ -17,7 +17,7 @@
|
|
|
|
|
|
<view class="uni-media-list-text-top">
|
|
<view class="uni-media-list-text-top">
|
|
<view class="tit-text">施工时间:</view>
|
|
<view class="tit-text">施工时间:</view>
|
|
- <view class="normal-text">{{value.constructTime}}</view>
|
|
|
|
|
|
+ <view class="normal-text">{{value.createTime}}</view>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<view class="uni-media-list-text-top">
|
|
<view class="uni-media-list-text-top">
|
|
@@ -72,13 +72,13 @@
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<view class="" style="display: flex; flex-wrap: wrap;margin-top: 10px;">
|
|
<view class="" style="display: flex; flex-wrap: wrap;margin-top: 10px;">
|
|
- <view v-for="(item,index) in value.constructionRecords
|
|
|
|
-" :key="index" style="position: relative;">
|
|
|
|
|
|
+ <view v-for="(item,index) in value.constructionRecords" :key="index"
|
|
|
|
+ style="position: relative;">
|
|
<view
|
|
<view
|
|
v-if="item.substring(item.length - 3) == 'png' || item.substring(item.length - 3) == 'jpg' || item.substring(item.length - 3) == 'jpeg'">
|
|
v-if="item.substring(item.length - 3) == 'png' || item.substring(item.length - 3) == 'jpg' || item.substring(item.length - 3) == 'jpeg'">
|
|
<image :src="item" mode=""
|
|
<image :src="item" mode=""
|
|
- style="width: 100rpx; height: 100rpx; margin: 0 12rpx;" @click="showPhoto(index,value.constructionRecords
|
|
|
|
-)">
|
|
|
|
|
|
+ style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"
|
|
|
|
+ @click="showPhoto(index,value.constructionRecords)">
|
|
</image>
|
|
</image>
|
|
</view>
|
|
</view>
|
|
<view v-else>
|
|
<view v-else>
|
|
@@ -153,6 +153,115 @@
|
|
</view>
|
|
</view>
|
|
|
|
|
|
</view>
|
|
</view>
|
|
|
|
+ <view v-else-if="title=='沟上施工'">
|
|
|
|
+ <view class="uni-common-mt" style="width: 100%;">
|
|
|
|
+ <text class="uni-title uni-common-pl" style=" font-size: 13px;color:
|
|
|
|
+ #000;margin-top: 5px;margin-left: 8px;">焊接照片:</text>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="" style="display: flex; flex-wrap: wrap;margin-top: 10px;">
|
|
|
|
+ <view v-for="(item,index) in value.welding" :key="index"
|
|
|
|
+ style="position: relative;">
|
|
|
|
+ <view
|
|
|
|
+ v-if="item.substring(item.length - 3) == 'png' || item.substring(item.length - 3) == 'jpg' || item.substring(item.length - 3) == 'jpeg'">
|
|
|
|
+ <image :src="item" mode=""
|
|
|
|
+ style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"
|
|
|
|
+ @click="showPhoto(index,value.welding)">
|
|
|
|
+ </image>
|
|
|
|
+ </view>
|
|
|
|
+ <view v-else>
|
|
|
|
+ <video :src="item"
|
|
|
|
+ style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"></video>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+
|
|
|
|
+ <view class="uni-common-mt" style="width: 100%;">
|
|
|
|
+ <text class="uni-title uni-common-pl" style=" font-size: 13px;color:
|
|
|
|
+ #000;margin-top: 5px;margin-left: 8px;">防腐照片:</text>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="" style="display: flex; flex-wrap: wrap;margin-top: 10px;">
|
|
|
|
+ <view v-for="(item,index) in value.aczoiling" :key="index"
|
|
|
|
+ style="position: relative;">
|
|
|
|
+ <view
|
|
|
|
+ v-if="item.substring(item.length - 3) == 'png' || item.substring(item.length - 3) == 'jpg' || item.substring(item.length - 3) == 'jpeg'">
|
|
|
|
+ <image :src="item" mode=""
|
|
|
|
+ style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"
|
|
|
|
+ @click="showPhoto(index,value.aczoiling)">
|
|
|
|
+ </image>
|
|
|
|
+ </view>
|
|
|
|
+ <view v-else>
|
|
|
|
+ <video :src="item"
|
|
|
|
+ style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"></video>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ </view>
|
|
|
|
+ <view v-else-if="title=='沟下施工'">
|
|
|
|
+ <view class="uni-common-mt" style="width: 100%;">
|
|
|
|
+ <text class="uni-title uni-common-pl" style=" font-size: 13px;color:
|
|
|
|
+ #000;margin-top: 5px;margin-left: 8px;">管道下沟照片:</text>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="" style="display: flex; flex-wrap: wrap;margin-top: 10px;">
|
|
|
|
+ <view v-for="(item,index) in value.piping" :key="index" style="position: relative;">
|
|
|
|
+ <view
|
|
|
|
+ v-if="item.substring(item.length - 3) == 'png' || item.substring(item.length - 3) == 'jpg' || item.substring(item.length - 3) == 'jpeg'">
|
|
|
|
+ <image :src="item" mode=""
|
|
|
|
+ style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"
|
|
|
|
+ @click="showPhoto(index,value.piping)">
|
|
|
|
+ </image>
|
|
|
|
+ </view>
|
|
|
|
+ <view v-else>
|
|
|
|
+ <video :src="item"
|
|
|
|
+ style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"></video>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+
|
|
|
|
+ <view class="uni-common-mt" style="width: 100%;">
|
|
|
|
+ <text class="uni-title uni-common-pl" style=" font-size: 13px;color:
|
|
|
|
+ #000;margin-top: 5px;margin-left: 8px;">警示带铺设照片:</text>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="" style="display: flex; flex-wrap: wrap;margin-top: 10px;">
|
|
|
|
+ <view v-for="(item,index) in value.warning" :key="index"
|
|
|
|
+ style="position: relative;">
|
|
|
|
+ <view
|
|
|
|
+ v-if="item.substring(item.length - 3) == 'png' || item.substring(item.length - 3) == 'jpg' || item.substring(item.length - 3) == 'jpeg'">
|
|
|
|
+ <image :src="item" mode=""
|
|
|
|
+ style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"
|
|
|
|
+ @click="showPhoto(index,value.warning)">
|
|
|
|
+ </image>
|
|
|
|
+ </view>
|
|
|
|
+ <view v-else>
|
|
|
|
+ <video :src="item"
|
|
|
|
+ style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"></video>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+
|
|
|
|
+ <view class="uni-common-mt" style="width: 100%;">
|
|
|
|
+ <text class="uni-title uni-common-pl" style=" font-size: 13px;color:
|
|
|
|
+ #000;margin-top: 5px;margin-left: 8px;">回填照片:</text>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="" style="display: flex; flex-wrap: wrap;margin-top: 10px;">
|
|
|
|
+ <view v-for="(item,index) in value.backfilling" :key="index"
|
|
|
|
+ style="position: relative;">
|
|
|
|
+ <view
|
|
|
|
+ v-if="item.substring(item.length - 3) == 'png' || item.substring(item.length - 3) == 'jpg' || item.substring(item.length - 3) == 'jpeg'">
|
|
|
|
+ <image :src="item" mode=""
|
|
|
|
+ style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"
|
|
|
|
+ @click="showPhoto(index,value.backfilling)">
|
|
|
|
+ </image>
|
|
|
|
+ </view>
|
|
|
|
+ <view v-else>
|
|
|
|
+ <video :src="item"
|
|
|
|
+ style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"></video>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+
|
|
|
|
+ </view>
|
|
<view v-else>
|
|
<view v-else>
|
|
<view class="" style="display: flex; flex-wrap: wrap;margin-top: 10px;">
|
|
<view class="" style="display: flex; flex-wrap: wrap;margin-top: 10px;">
|
|
<view v-for="(item,index) in value.zEngiineeringPhotoBoList" :key="index"
|
|
<view v-for="(item,index) in value.zEngiineeringPhotoBoList" :key="index"
|
|
@@ -218,25 +327,26 @@
|
|
// },
|
|
// },
|
|
|
|
|
|
showPhoto(index, list) {
|
|
showPhoto(index, list) {
|
|
|
|
+ let newArr = [];
|
|
|
|
+ list.forEach((item, index) => {
|
|
|
|
+ if (item.substring(item.length - 3) == 'png' || item.substring(item.length - 3) == 'jpg' ||
|
|
|
|
+ item.substring(item.length - 4) == 'jpeg') {
|
|
|
|
+ newArr.push(item)
|
|
|
|
+ }
|
|
|
|
+ });
|
|
uni.previewImage({
|
|
uni.previewImage({
|
|
current: index,
|
|
current: index,
|
|
- urls: list,
|
|
|
|
|
|
+ urls: newArr,
|
|
})
|
|
})
|
|
|
|
|
|
},
|
|
},
|
|
getParamsData() {
|
|
getParamsData() {
|
|
var selectData = this.data;
|
|
var selectData = this.data;
|
|
this.outPutData = selectData;
|
|
this.outPutData = selectData;
|
|
- //this.title = selectData.zEngineeringNodeBo.type;
|
|
|
|
-
|
|
|
|
- //this.historyList = selectData.zEngineeringNodeBo.zEngineeringInfoBoList;
|
|
|
|
- if (this.TitleType == '市政工程') {
|
|
|
|
- this.title = '市政工程';
|
|
|
|
- this.historyList = selectData.zEngineeringNodeBoList[0].zEngineeringInfoBoList;
|
|
|
|
- } else {
|
|
|
|
- this.title = this.TitleType;
|
|
|
|
- this.historyList = selectData.zEngineeringNodeBo.zEngineeringInfoBoList;
|
|
|
|
- }
|
|
|
|
|
|
+
|
|
|
|
+ this.title = this.TitleType;
|
|
|
|
+ this.historyList = selectData.zEngineeringNodeBo.zEngineeringInfoBoList;
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
|