|
@@ -21,7 +21,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view
|
|
|
- v-if="title=='开挖前'||title=='开挖后'||title=='焊口照片'||title=='隐蔽工程'||title=='除锈刷油'||title=='打磨'||title=='全貌照片'">
|
|
|
+ v-if="title=='开挖前'||title=='开挖后'||title=='焊口照片'||title=='隐蔽工程'||title=='除锈刷油'||title=='打磨'||title=='全貌照片'||title=='焊接'||title=='管道施工记录'">
|
|
|
<view class="" style="display: flex; flex-wrap: wrap;margin-top: 10px; margin-left: 10px;">
|
|
|
<image :src="loadImgSrc('updateimg.png')" mode=""
|
|
|
style="width: 200rpx; height: 150rpx; margin: 0 12rpx;; " @click="choose('other',key)">
|
|
@@ -465,12 +465,123 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
+ </view>
|
|
|
+ <view v-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;">
|
|
|
+ <image :src="loadImgSrc('updateimg.png')" mode=""
|
|
|
+ style="width: 200rpx; height: 150rpx; margin: 0 12rpx;; " @click="choose('Tg',key)">
|
|
|
+ </image>
|
|
|
+ <view v-for="(item,index) in value.cannula" :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.cannula)">
|
|
|
+ </image>
|
|
|
+ </view>
|
|
|
+ <view v-else>
|
|
|
+ <video :src="item" style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"></video>
|
|
|
+ </view>
|
|
|
+ <view @click="removeht(index,key,'Tg')"
|
|
|
+ style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
|
|
|
+ <image :src="loadImgSrc('icon_close.png')" style=" width: 15px; height: 15px;">
|
|
|
+ </image>
|
|
|
+ </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;">
|
|
|
+ <image :src="loadImgSrc('updateimg.png')" mode=""
|
|
|
+ style="width: 200rpx; height: 150rpx; margin: 0 12rpx;; " @click="choose('Nbmh',key)">
|
|
|
+ </image>
|
|
|
+ <view v-for="(item,index) in value.wallPlaster" :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.wallPlaster)">
|
|
|
+ </image>
|
|
|
+ </view>
|
|
|
+ <view v-else>
|
|
|
+ <video :src="item" style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"></video>
|
|
|
+ </view>
|
|
|
+ <view @click="removeht(index,key,'Nbmh')"
|
|
|
+ style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
|
|
|
+ <image :src="loadImgSrc('icon_close.png')" style=" width: 15px; height: 15px;">
|
|
|
+ </image>
|
|
|
+ </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;">
|
|
|
+ <image :src="loadImgSrc('updateimg.png')" mode=""
|
|
|
+ style="width: 200rpx; height: 150rpx; margin: 0 12rpx;; " @click="choose('Fhw',key)">
|
|
|
+ </image>
|
|
|
+ <view v-for="(item,index) in value.protectiveNet" :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.protectiveNet)">
|
|
|
+ </image>
|
|
|
+ </view>
|
|
|
+ <view v-else>
|
|
|
+ <video :src="item" style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"></video>
|
|
|
+ </view>
|
|
|
+ <view @click="removeht(index,key,'Fhw')"
|
|
|
+ style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
|
|
|
+ <image :src="loadImgSrc('icon_close.png')" style=" width: 15px; height: 15px;">
|
|
|
+ </image>
|
|
|
+ </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;">
|
|
|
+ <image :src="loadImgSrc('updateimg.png')" mode=""
|
|
|
+ style="width: 200rpx; height: 150rpx; margin: 0 12rpx;; " @click="choose('Bj',key)">
|
|
|
+ </image>
|
|
|
+ <view v-for="(item,index) in value.starAnise" :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.starAnise)">
|
|
|
+ </image>
|
|
|
+ </view>
|
|
|
+ <view v-else>
|
|
|
+ <video :src="item" style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"></video>
|
|
|
+ </view>
|
|
|
+ <view @click="removeht(index,key,'Bj')"
|
|
|
+ style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
|
|
|
+ <image :src="loadImgSrc('icon_close.png')" style=" width: 15px; height: 15px;">
|
|
|
+ </image>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
+
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ </view>
|
|
|
<!-- <view class="gesture-area" v-show="playVideo" >
|
|
|
<view @click="closeVideo()"
|
|
|
style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
|
|
@@ -721,6 +832,26 @@
|
|
|
.groundHardening
|
|
|
.splice(index, 1)
|
|
|
|
|
|
+ } else if (type == 'Tg') {
|
|
|
+ this.dataJson.zEngineeringNodeBo.zEngineeringInfoBoList[key]
|
|
|
+ .cannula
|
|
|
+ .splice(index, 1)
|
|
|
+
|
|
|
+ } else if (type == 'Nbmh') {
|
|
|
+ this.dataJson.zEngineeringNodeBo.zEngineeringInfoBoList[key]
|
|
|
+ .wallPlaster
|
|
|
+ .splice(index, 1)
|
|
|
+
|
|
|
+ } else if (type == 'Fhw') {
|
|
|
+ this.dataJson.zEngineeringNodeBo.zEngineeringInfoBoList[key]
|
|
|
+ .protectiveNet
|
|
|
+ .splice(index, 1)
|
|
|
+
|
|
|
+ } else if (type == 'Bj') {
|
|
|
+ this.dataJson.zEngineeringNodeBo.zEngineeringInfoBoList[key]
|
|
|
+ .starAnise
|
|
|
+ .splice(index, 1)
|
|
|
+
|
|
|
}
|
|
|
|
|
|
}
|
|
@@ -855,6 +986,30 @@
|
|
|
.groundHardening.push(data
|
|
|
.data
|
|
|
.url);
|
|
|
+ } else if (e == 'Tg') {
|
|
|
+ _this.dataJson.zEngineeringNodeBo
|
|
|
+ .zEngineeringInfoBoList[_this.dataIndex]
|
|
|
+ .cannula.push(data
|
|
|
+ .data
|
|
|
+ .url);
|
|
|
+ } else if (e == 'Nbmh') {
|
|
|
+ _this.dataJson.zEngineeringNodeBo
|
|
|
+ .zEngineeringInfoBoList[_this.dataIndex]
|
|
|
+ .wallPlaster.push(data
|
|
|
+ .data
|
|
|
+ .url);
|
|
|
+ } else if (e == 'Fhw') {
|
|
|
+ _this.dataJson.zEngineeringNodeBo
|
|
|
+ .zEngineeringInfoBoList[_this.dataIndex]
|
|
|
+ .protectiveNet.push(data
|
|
|
+ .data
|
|
|
+ .url);
|
|
|
+ } else if (e == 'Bj') {
|
|
|
+ _this.dataJson.zEngineeringNodeBo
|
|
|
+ .zEngineeringInfoBoList[_this.dataIndex]
|
|
|
+ .starAnise.push(data
|
|
|
+ .data
|
|
|
+ .url);
|
|
|
}
|
|
|
|
|
|
_this.$modal.msg('上传成功!')
|
|
@@ -948,6 +1103,22 @@
|
|
|
_this.dataJson.zEngineeringNodeBo
|
|
|
.zEngineeringInfoBoList[_this.dataIndex]
|
|
|
.groundHardening.push(data.data.url);
|
|
|
+ } else if (e == 'Tg') {
|
|
|
+ _this.dataJson.zEngineeringNodeBo
|
|
|
+ .zEngineeringInfoBoList[_this.dataIndex]
|
|
|
+ .cannula.push(data.data.url);
|
|
|
+ } else if (e == 'Nbmh') {
|
|
|
+ _this.dataJson.zEngineeringNodeBo
|
|
|
+ .zEngineeringInfoBoList[_this.dataIndex]
|
|
|
+ .wallPlaster.push(data.data.url);
|
|
|
+ } else if (e == 'Fhw') {
|
|
|
+ _this.dataJson.zEngineeringNodeBo
|
|
|
+ .zEngineeringInfoBoList[_this.dataIndex]
|
|
|
+ .protectiveNet.push(data.data.url);
|
|
|
+ } else if (e == 'Bj') {
|
|
|
+ _this.dataJson.zEngineeringNodeBo
|
|
|
+ .zEngineeringInfoBoList[_this.dataIndex]
|
|
|
+ .starAnise.push(data.data.url);
|
|
|
}
|
|
|
_this.$modal.msg('上传成功!')
|
|
|
}
|
|
@@ -1091,6 +1262,27 @@
|
|
|
}
|
|
|
})
|
|
|
|
|
|
+ } else if (this.title == '阀井') {
|
|
|
+ this.dataJson.zEngineeringNodeBo.zEngineeringInfoBoList.forEach((res) => {
|
|
|
+ if (res.cannula.length == 0) {
|
|
|
+ this.$modal.msg("请上传套管照片");
|
|
|
+ isSubmit = false;
|
|
|
+ }
|
|
|
+ if (res.wallPlaster.length == 0) {
|
|
|
+ this.$modal.msg("请上传内壁抹灰照片");
|
|
|
+ isSubmit = false;
|
|
|
+ }
|
|
|
+ if (res.protectiveNet.length == 0) {
|
|
|
+ this.$modal.msg("请上传防护网照片");
|
|
|
+ isSubmit = false;
|
|
|
+ }
|
|
|
+ if (res.starAnise.length == 0) {
|
|
|
+ this.$modal.msg("请上传八角照片");
|
|
|
+ isSubmit = false;
|
|
|
+ }
|
|
|
+
|
|
|
+ })
|
|
|
+
|
|
|
} else {
|
|
|
|
|
|
if (this.title == '全貌照片') {
|