|
@@ -1,13 +1,11 @@
|
|
<template>
|
|
<template>
|
|
<scroll-view>
|
|
<scroll-view>
|
|
- <view class="uni-media-list" v-for="(value, key) in dataJson.zEngineeringNodeBo.zEngineeringInfoBoList"
|
|
|
|
- :key="key" v-if="isEdit(value)">
|
|
|
|
|
|
+ <view class="uni-media-list" v-for="(value, key) in dataJson.zEngineeringNodeBo.zEngineeringInfoBoList" :key="key" v-if="isEdit(value)">
|
|
|
|
|
|
<view class="uni-media-list-body">
|
|
<view class="uni-media-list-body">
|
|
<view>
|
|
<view>
|
|
<view class="uni-media-list-text-top" v-if="value.zEngineeringReviewBo!=null">
|
|
<view class="uni-media-list-text-top" v-if="value.zEngineeringReviewBo!=null">
|
|
- <view class="tit-text"
|
|
|
|
- v-if="value.zEngineeringReviewBo.reviewStatus==''||value.zEngineeringReviewBo==null">未审核
|
|
|
|
|
|
+ <view class="tit-text" v-if="value.zEngineeringReviewBo.reviewStatus==''||value.zEngineeringReviewBo==null">未审核
|
|
</view>
|
|
</view>
|
|
<view class="tit-text" v-if="value.zEngineeringReviewBo.reviewStatus=='0'" style="color: red;">
|
|
<view class="tit-text" v-if="value.zEngineeringReviewBo.reviewStatus=='0'" style="color: red;">
|
|
未通过</view>
|
|
未通过</view>
|
|
@@ -22,32 +20,24 @@
|
|
<text class="tit-text" style=" font-size: 13px;color:
|
|
<text class="tit-text" style=" font-size: 13px;color:
|
|
#000;margin-top: 5px;">施工内容:</text>
|
|
#000;margin-top: 5px;">施工内容:</text>
|
|
<view style="width: 100%;box-sizing: border-box;">
|
|
<view style="width: 100%;box-sizing: border-box;">
|
|
- <textarea class="textarea" maxlength="255" placeholder-style="padding: 10rpx;"
|
|
|
|
- style="width: 100%;height: 100%;border: 1rpx solid #cccccc; border-radius: 15rpx;padding: 10rpx;line-height:normal;"
|
|
|
|
- auto-height :value="value.remark"
|
|
|
|
|
|
+ <textarea class="textarea" maxlength="255" placeholder-style="padding: 10rpx;" style="width: 100%;height: 100%;border: 1rpx solid #cccccc; border-radius: 15rpx;padding: 10rpx;line-height:normal;" auto-height :value="value.remark"
|
|
@blur="bindTextAreaBlur($event.target.value,key)"></textarea>
|
|
@blur="bindTextAreaBlur($event.target.value,key)"></textarea>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view
|
|
|
|
- v-if="title=='开挖前'||title=='开挖后'||title=='焊口照片'||title=='隐蔽工程'||title=='除锈刷油'||title=='打磨'||title=='全貌照片'||title=='焊接'||title=='管道施工记录'">
|
|
|
|
|
|
+ <view 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;">
|
|
<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)">
|
|
|
|
|
|
+ <image :src="loadImgSrc('updateimg.png')" mode="" style="width: 200rpx; height: 150rpx; margin: 0 12rpx;; " @click="choose('other',key)">
|
|
</image>
|
|
</image>
|
|
- <view v-for="(item,index) in value.zEngiineeringPhotoBoList" :key="index"
|
|
|
|
- style="position: relative;">
|
|
|
|
- <view
|
|
|
|
- v-if="item.substring(item.length - 3) == 'png' || item.substring(item.length - 3) == 'jpg'||item.substring(item.length-4)=='jpeg' ">
|
|
|
|
- <image :src="item" mode="" style="width: 200rpx; height: 200rpx; margin: 0 12rpx;"
|
|
|
|
- @click="showPhoto(index,value.zEngiineeringPhotoBoList)">
|
|
|
|
|
|
+ <view v-for="(item,index) in value.zEngiineeringPhotoBoList" :key="index" style="position: relative;">
|
|
|
|
+ <view v-if="item.substring(item.length - 3) == 'png' || item.substring(item.length - 3) == 'jpg'||item.substring(item.length-4)=='jpeg' ">
|
|
|
|
+ <image :src="item" mode="" style="width: 200rpx; height: 200rpx; margin: 0 12rpx;" @click="showPhoto(index,value.zEngiineeringPhotoBoList)">
|
|
</image>
|
|
</image>
|
|
</view>
|
|
</view>
|
|
<view v-else>
|
|
<view v-else>
|
|
<video :src="item" style="width: 200rpx; height: 200rpx; margin: 0 12rpx;"></video>
|
|
<video :src="item" style="width: 200rpx; height: 200rpx; margin: 0 12rpx;"></video>
|
|
</view>
|
|
</view>
|
|
- <view @click="remove(index,key)"
|
|
|
|
- style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
|
|
|
|
|
|
+ <view @click="remove(index,key)" style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
|
|
<image :src="loadImgSrc('icon_close.png')" style=" width: 15px; height: 15px;">
|
|
<image :src="loadImgSrc('icon_close.png')" style=" width: 15px; height: 15px;">
|
|
</image>
|
|
</image>
|
|
</view>
|
|
</view>
|
|
@@ -60,20 +50,16 @@
|
|
<view class="uni-media-list-text-top" style=" ">
|
|
<view class="uni-media-list-text-top" style=" ">
|
|
<view class="tit-text">材质:</view>
|
|
<view class="tit-text">材质:</view>
|
|
|
|
|
|
- <view class="uni-list-cell-db" style="margin-top: 10;"
|
|
|
|
- @click="pickerShow('cz',key,index)">
|
|
|
|
- <span
|
|
|
|
- style="color: black;">{{a.materialQualityName==''?'请选择材质':a.materialQualityName}}</span>
|
|
|
|
|
|
+ <view class="uni-list-cell-db" style="margin-top: 10;" @click="pickerShow('cz',key,index)">
|
|
|
|
+ <span style="color: black;">{{a.materialQualityName==''?'请选择材质':a.materialQualityName}}</span>
|
|
|
|
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<view class="uni-media-list-text-top" style=" ">
|
|
<view class="uni-media-list-text-top" style=" ">
|
|
<view class="tit-text">规格:</view>
|
|
<view class="tit-text">规格:</view>
|
|
- <view class="uni-list-cell-db" style="margin-top: 10;"
|
|
|
|
- @click="pickerShow('gg',key,index)">
|
|
|
|
- <span
|
|
|
|
- style="color: black;">{{a.specificationsName==''?'请选择规格':a.specificationsName}}</span>
|
|
|
|
|
|
+ <view class="uni-list-cell-db" style="margin-top: 10;" @click="pickerShow('gg',key,index)">
|
|
|
|
+ <span style="color: black;">{{a.specificationsName==''?'请选择规格':a.specificationsName}}</span>
|
|
|
|
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -81,14 +67,10 @@
|
|
<view class="uni-media-list-text-top" style="border-bottom: 1px solid #f8f8f8;">
|
|
<view class="uni-media-list-text-top" style="border-bottom: 1px solid #f8f8f8;">
|
|
<text class="tit-text">米 数</text>
|
|
<text class="tit-text">米 数</text>
|
|
<view style="display: flex; justify-content: right; width: 70%;">
|
|
<view style="display: flex; justify-content: right; width: 70%;">
|
|
- <input class="uni-input" type="number" :value="getIntegerPart(a.number,0)"
|
|
|
|
- @change="setInfoBoNumber(key,index,$event.target.value,0)" maxlength="6"
|
|
|
|
- style="text-align: center; border: 1px solid #00aaff; border-radius: 20rpx;"></input>
|
|
|
|
|
|
+ <input class="uni-input" type="number" :value="getIntegerPart(a.number,0)" @change="setInfoBoNumber(key,index,$event.target.value,0)" maxlength="6" style="text-align: center; border: 1px solid #00aaff; border-radius: 20rpx;"></input>
|
|
<text style="font-weight:bold;margin-left: 10px;margin-right: 10px;">.</text>
|
|
<text style="font-weight:bold;margin-left: 10px;margin-right: 10px;">.</text>
|
|
|
|
|
|
- <input class="uni-input" type="number" :value="getIntegerPart(a.number,1)"
|
|
|
|
- @change="setInfoBoNumber(key,index,$event.target.value,1)" maxlength="1"
|
|
|
|
- style="text-align: center; border: 1px solid #00aaff; border-radius: 20rpx;"></input>
|
|
|
|
|
|
+ <input class="uni-input" type="number" :value="getIntegerPart(a.number,1)" @change="setInfoBoNumber(key,index,$event.target.value,1)" maxlength="1" style="text-align: center; border: 1px solid #00aaff; border-radius: 20rpx;"></input>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<button v-if="index!=0" @click="btnDel(key,index)" class="sc-btn">删除</button>
|
|
<button v-if="index!=0" @click="btnDel(key,index)" class="sc-btn">删除</button>
|
|
@@ -108,21 +90,17 @@
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<view class="" style="display: flex; flex-wrap: wrap;margin-top: 10px;">
|
|
<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('sfht',key)">
|
|
|
|
|
|
+ <image :src="loadImgSrc('updateimg.png')" mode="" style="width: 200rpx; height: 150rpx; margin: 0 12rpx;; " @click="choose('sfht',key)">
|
|
</image>
|
|
</image>
|
|
<view v-for="(item,index) in value.stonePowder" :key="index" style="position: relative;">
|
|
<view v-for="(item,index) in value.stonePowder" :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: 200rpx; height: 200rpx; margin: 0 12rpx;"
|
|
|
|
- @click="showPhoto(index,value.stonePowder)">
|
|
|
|
|
|
+ <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: 200rpx; height: 200rpx; margin: 0 12rpx;" @click="showPhoto(index,value.stonePowder)">
|
|
</image>
|
|
</image>
|
|
</view>
|
|
</view>
|
|
<view v-else>
|
|
<view v-else>
|
|
<video :src="item" style="width: 200rpx; height: 200rpx; margin: 0 12rpx;"></video>
|
|
<video :src="item" style="width: 200rpx; height: 200rpx; margin: 0 12rpx;"></video>
|
|
</view>
|
|
</view>
|
|
- <view @click="removeht(index,key,'sfht')"
|
|
|
|
- style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
|
|
|
|
|
|
+ <view @click="removeht(index,key,'sfht')" style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
|
|
<image :src="loadImgSrc('icon_close.png')" style=" width: 15px; height: 15px;">
|
|
<image :src="loadImgSrc('icon_close.png')" style=" width: 15px; height: 15px;">
|
|
</image>
|
|
</image>
|
|
</view>
|
|
</view>
|
|
@@ -134,21 +112,17 @@
|
|
#000;margin-top: 5px;margin-left: 8px;">警示带铺设照片:</text>
|
|
#000;margin-top: 5px;margin-left: 8px;">警示带铺设照片:</text>
|
|
</view>
|
|
</view>
|
|
<view class="" style="display: flex; flex-wrap: wrap;margin-top: 10px;">
|
|
<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('jsdps',key)">
|
|
|
|
|
|
+ <image :src="loadImgSrc('updateimg.png')" mode="" style="width: 200rpx; height: 150rpx; margin: 0 12rpx;; " @click="choose('jsdps',key)">
|
|
</image>
|
|
</image>
|
|
<view v-for="(item,index) in value.warningtTape" :key="index" style="position: relative;">
|
|
<view v-for="(item,index) in value.warningtTape" :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: 200rpx; height: 200rpx; margin: 0 12rpx;"
|
|
|
|
- @click="showPhoto(index,value.warningtTape)">
|
|
|
|
|
|
+ <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: 200rpx; height: 200rpx; margin: 0 12rpx;" @click="showPhoto(index,value.warningtTape)">
|
|
</image>
|
|
</image>
|
|
</view>
|
|
</view>
|
|
<view v-else>
|
|
<view v-else>
|
|
<video :src="item" style="width: 200rpx; height: 200rpx; margin: 0 12rpx;"></video>
|
|
<video :src="item" style="width: 200rpx; height: 200rpx; margin: 0 12rpx;"></video>
|
|
</view>
|
|
</view>
|
|
- <view @click="removeht(index,key,'jsdps')"
|
|
|
|
- style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
|
|
|
|
|
|
+ <view @click="removeht(index,key,'jsdps')" style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
|
|
<image :src="loadImgSrc('icon_close.png')" style=" width: 15px; height: 15px;">
|
|
<image :src="loadImgSrc('icon_close.png')" style=" width: 15px; height: 15px;">
|
|
</image>
|
|
</image>
|
|
</view>
|
|
</view>
|
|
@@ -160,21 +134,17 @@
|
|
#000;margin-top: 5px;margin-left: 8px;">回填后照片:</text>
|
|
#000;margin-top: 5px;margin-left: 8px;">回填后照片:</text>
|
|
</view>
|
|
</view>
|
|
<view class="" style="display: flex; flex-wrap: wrap;margin-top: 10px;">
|
|
<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('hth',key)">
|
|
|
|
|
|
+ <image :src="loadImgSrc('updateimg.png')" mode="" style="width: 200rpx; height: 150rpx; margin: 0 12rpx;; " @click="choose('hth',key)">
|
|
</image>
|
|
</image>
|
|
<view v-for="(item,index) in value.photosAfter" :key="index" style="position: relative;">
|
|
<view v-for="(item,index) in value.photosAfter" :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: 200rpx; height: 200rpx; margin: 0 12rpx;"
|
|
|
|
- @click="showPhoto(index,value.photosAfter)">
|
|
|
|
|
|
+ <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: 200rpx; height: 200rpx; margin: 0 12rpx;" @click="showPhoto(index,value.photosAfter)">
|
|
</image>
|
|
</image>
|
|
</view>
|
|
</view>
|
|
<view v-else>
|
|
<view v-else>
|
|
<video :src="item" style="width: 200rpx; height: 200rpx; margin: 0 12rpx;"></video>
|
|
<video :src="item" style="width: 200rpx; height: 200rpx; margin: 0 12rpx;"></video>
|
|
</view>
|
|
</view>
|
|
- <view @click="removeht(index,key,'hth')"
|
|
|
|
- style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
|
|
|
|
|
|
+ <view @click="removeht(index,key,'hth')" style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
|
|
<image :src="loadImgSrc('icon_close.png')" style=" width: 15px; height: 15px;">
|
|
<image :src="loadImgSrc('icon_close.png')" style=" width: 15px; height: 15px;">
|
|
</image>
|
|
</image>
|
|
</view>
|
|
</view>
|
|
@@ -188,20 +158,16 @@
|
|
<view class="uni-media-list-text-top" style=" ">
|
|
<view class="uni-media-list-text-top" style=" ">
|
|
<view class="tit-text">材质:</view>
|
|
<view class="tit-text">材质:</view>
|
|
|
|
|
|
- <view class="uni-list-cell-db" style="margin-top: 10;"
|
|
|
|
- @click="pickerShow('cz',key,index)">
|
|
|
|
- <span
|
|
|
|
- style="color: black;">{{a.materialQualityName==''?'请选择材质':a.materialQualityName}}</span>
|
|
|
|
|
|
+ <view class="uni-list-cell-db" style="margin-top: 10;" @click="pickerShow('cz',key,index)">
|
|
|
|
+ <span style="color: black;">{{a.materialQualityName==''?'请选择材质':a.materialQualityName}}</span>
|
|
|
|
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<view class="uni-media-list-text-top" style=" ">
|
|
<view class="uni-media-list-text-top" style=" ">
|
|
<view class="tit-text">规格:</view>
|
|
<view class="tit-text">规格:</view>
|
|
- <view class="uni-list-cell-db" style="margin-top: 10;"
|
|
|
|
- @click="pickerShow('gg',key,index)">
|
|
|
|
- <span
|
|
|
|
- style="color: black;">{{a.specificationsName==''?'请选择规格':a.specificationsName}}</span>
|
|
|
|
|
|
+ <view class="uni-list-cell-db" style="margin-top: 10;" @click="pickerShow('gg',key,index)">
|
|
|
|
+ <span style="color: black;">{{a.specificationsName==''?'请选择规格':a.specificationsName}}</span>
|
|
|
|
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -209,14 +175,10 @@
|
|
<view class="uni-media-list-text-top" style="border-bottom: 1px solid #f8f8f8;">
|
|
<view class="uni-media-list-text-top" style="border-bottom: 1px solid #f8f8f8;">
|
|
<text class="tit-text">米 数</text>
|
|
<text class="tit-text">米 数</text>
|
|
<view style="display: flex; justify-content: right; width: 70%;">
|
|
<view style="display: flex; justify-content: right; width: 70%;">
|
|
- <input class="uni-input" type="number" :value="getIntegerPart(a.number,0)"
|
|
|
|
- @change="setInfoBoNumber(key,index,$event.target.value,0)" maxlength="6"
|
|
|
|
- style="text-align: center; border: 1px solid #00aaff; border-radius: 20rpx;"></input>
|
|
|
|
|
|
+ <input class="uni-input" type="number" :value="getIntegerPart(a.number,0)" @change="setInfoBoNumber(key,index,$event.target.value,0)" maxlength="6" style="text-align: center; border: 1px solid #00aaff; border-radius: 20rpx;"></input>
|
|
<text style="font-weight:bold;margin-left: 10px;margin-right: 10px;">.</text>
|
|
<text style="font-weight:bold;margin-left: 10px;margin-right: 10px;">.</text>
|
|
|
|
|
|
- <input class="uni-input" type="number" :value="getIntegerPart(a.number,1)"
|
|
|
|
- @change="setInfoBoNumber(key,index,$event.target.value,1)" maxlength="1"
|
|
|
|
- style="text-align: center; border: 1px solid #00aaff; border-radius: 20rpx;"></input>
|
|
|
|
|
|
+ <input class="uni-input" type="number" :value="getIntegerPart(a.number,1)" @change="setInfoBoNumber(key,index,$event.target.value,1)" maxlength="1" style="text-align: center; border: 1px solid #00aaff; border-radius: 20rpx;"></input>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<button v-if="index!=0" @click="btnDel(key,index)" class="sc-btn">删除</button>
|
|
<button v-if="index!=0" @click="btnDel(key,index)" class="sc-btn">删除</button>
|
|
@@ -259,23 +221,17 @@
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<view class="" style="display: flex; flex-wrap: wrap;margin-top: 10px;">
|
|
<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="chooseType('gspsdcl',key)">
|
|
|
|
|
|
+ <image :src="loadImgSrc('updateimg.png')" mode="" style="width: 200rpx; height: 150rpx; margin: 0 12rpx;; " @click="chooseType('gspsdcl',key)">
|
|
</image>
|
|
</image>
|
|
- <view v-for="(item,index) in value.ductalEpithelium" :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: 200rpx; height: 200rpx; margin: 0 12rpx;"
|
|
|
|
- @click="showPhoto(index,value.ductalEpithelium)">
|
|
|
|
|
|
+ <view v-for="(item,index) in value.ductalEpithelium" :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: 200rpx; height: 200rpx; margin: 0 12rpx;" @click="showPhoto(index,value.ductalEpithelium)">
|
|
</image>
|
|
</image>
|
|
</view>
|
|
</view>
|
|
<view v-else>
|
|
<view v-else>
|
|
<video :src="item" style="width: 200rpx; height: 200rpx; margin: 0 12rpx;"></video>
|
|
<video :src="item" style="width: 200rpx; height: 200rpx; margin: 0 12rpx;"></video>
|
|
</view>
|
|
</view>
|
|
- <view @click="removeht(index,key,'gspsdcl')"
|
|
|
|
- style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
|
|
|
|
|
|
+ <view @click="removeht(index,key,'gspsdcl')" style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
|
|
<image :src="loadImgSrc('icon_close.png')" style=" width: 15px; height: 15px;">
|
|
<image :src="loadImgSrc('icon_close.png')" style=" width: 15px; height: 15px;">
|
|
</image>
|
|
</image>
|
|
</view>
|
|
</view>
|
|
@@ -287,22 +243,17 @@
|
|
#000;margin-top: 5px;margin-left: 8px;">管沟远景照片:</text>
|
|
#000;margin-top: 5px;margin-left: 8px;">管沟远景照片:</text>
|
|
</view>
|
|
</view>
|
|
<view class="" style="display: flex; flex-wrap: wrap;margin-top: 10px;">
|
|
<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="chooseType('ggyj',key)">
|
|
|
|
|
|
+ <image :src="loadImgSrc('updateimg.png')" mode="" style="width: 200rpx; height: 150rpx; margin: 0 12rpx;; " @click="chooseType('ggyj',key)">
|
|
</image>
|
|
</image>
|
|
<view v-for="(item,index) in value.trenchProspect" :key="index" style="position: relative;">
|
|
<view v-for="(item,index) in value.trenchProspect" :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: 200rpx; height: 200rpx; margin: 0 12rpx;"
|
|
|
|
- @click="showPhoto(index,value.trenchProspect)">
|
|
|
|
|
|
+ <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: 200rpx; height: 200rpx; margin: 0 12rpx;" @click="showPhoto(index,value.trenchProspect)">
|
|
</image>
|
|
</image>
|
|
</view>
|
|
</view>
|
|
<view v-else>
|
|
<view v-else>
|
|
<video :src="item" style="width: 200rpx; height: 200rpx; margin: 0 12rpx;"></video>
|
|
<video :src="item" style="width: 200rpx; height: 200rpx; margin: 0 12rpx;"></video>
|
|
</view>
|
|
</view>
|
|
- <view @click="removeht(index,key,'ggyj')"
|
|
|
|
- style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
|
|
|
|
|
|
+ <view @click="removeht(index,key,'ggyj')" style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
|
|
<image :src="loadImgSrc('icon_close.png')" style=" width: 15px; height: 15px;">
|
|
<image :src="loadImgSrc('icon_close.png')" style=" width: 15px; height: 15px;">
|
|
</image>
|
|
</image>
|
|
</view>
|
|
</view>
|
|
@@ -314,17 +265,14 @@
|
|
#000;margin-top: 5px;margin-left: 8px;">视频:</text>
|
|
#000;margin-top: 5px;margin-left: 8px;">视频:</text>
|
|
</view>
|
|
</view>
|
|
<view class="" style="display: flex; flex-wrap: wrap;margin-top: 10px;">
|
|
<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="chooseType('video',key)">
|
|
|
|
|
|
+ <image :src="loadImgSrc('updateimg.png')" mode="" style="width: 200rpx; height: 150rpx; margin: 0 12rpx;; " @click="chooseType('video',key)">
|
|
</image>
|
|
</image>
|
|
<view v-for="(item,index) in value.video" :key="index" style="position: relative;">
|
|
<view v-for="(item,index) in value.video" :key="index" style="position: relative;">
|
|
|
|
|
|
<view>
|
|
<view>
|
|
<video :src="item" style="width: 200rpx; height: 200rpx; margin: 0 12rpx;"></video>
|
|
<video :src="item" style="width: 200rpx; height: 200rpx; margin: 0 12rpx;"></video>
|
|
</view>
|
|
</view>
|
|
- <view @click="removeht(index,key,'video')"
|
|
|
|
- style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
|
|
|
|
|
|
+ <view @click="removeht(index,key,'video')" style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
|
|
<image :src="loadImgSrc('icon_close.png')" style=" width: 15px; height: 15px;">
|
|
<image :src="loadImgSrc('icon_close.png')" style=" width: 15px; height: 15px;">
|
|
</image>
|
|
</image>
|
|
</view>
|
|
</view>
|
|
@@ -340,21 +288,17 @@
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<view class="" style="display: flex; flex-wrap: wrap;margin-top: 10px;">
|
|
<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('Box',key)">
|
|
|
|
|
|
+ <image :src="loadImgSrc('updateimg.png')" mode="" style="width: 200rpx; height: 150rpx; margin: 0 12rpx;; " @click="choose('Box',key)">
|
|
</image>
|
|
</image>
|
|
<view v-for="(item,index) in value.boxBrand" :key="index" style="position: relative;">
|
|
<view v-for="(item,index) in value.boxBrand" :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: 200rpx; height: 200rpx; margin: 0 12rpx;"
|
|
|
|
- @click="showPhoto(index,value.boxBrand)">
|
|
|
|
|
|
+ <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: 200rpx; height: 200rpx; margin: 0 12rpx;" @click="showPhoto(index,value.boxBrand)">
|
|
</image>
|
|
</image>
|
|
</view>
|
|
</view>
|
|
<view v-else>
|
|
<view v-else>
|
|
<video :src="item" style="width: 200rpx; height: 200rpx; margin: 0 12rpx;"></video>
|
|
<video :src="item" style="width: 200rpx; height: 200rpx; margin: 0 12rpx;"></video>
|
|
</view>
|
|
</view>
|
|
- <view @click="removeht(index,key,'Box')"
|
|
|
|
- style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
|
|
|
|
|
|
+ <view @click="removeht(index,key,'Box')" style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
|
|
<image :src="loadImgSrc('icon_close.png')" style=" width: 15px; height: 15px;">
|
|
<image :src="loadImgSrc('icon_close.png')" style=" width: 15px; height: 15px;">
|
|
</image>
|
|
</image>
|
|
</view>
|
|
</view>
|
|
@@ -368,21 +312,17 @@
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<view class="" style="display: flex; flex-wrap: wrap;margin-top: 10px;">
|
|
<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('Sfht',key)">
|
|
|
|
|
|
+ <image :src="loadImgSrc('updateimg.png')" mode="" style="width: 200rpx; height: 150rpx; margin: 0 12rpx;; " @click="choose('Sfht',key)">
|
|
</image>
|
|
</image>
|
|
<view v-for="(item,index) in value.stonePowder" :key="index" style="position: relative;">
|
|
<view v-for="(item,index) in value.stonePowder" :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: 200rpx; height: 200rpx; margin: 0 12rpx;"
|
|
|
|
- @click="showPhoto(index,value.stonePowder)">
|
|
|
|
|
|
+ <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: 200rpx; height: 200rpx; margin: 0 12rpx;" @click="showPhoto(index,value.stonePowder)">
|
|
</image>
|
|
</image>
|
|
</view>
|
|
</view>
|
|
<view v-else>
|
|
<view v-else>
|
|
<video :src="item" style="width: 200rpx; height: 200rpx; margin: 0 12rpx;"></video>
|
|
<video :src="item" style="width: 200rpx; height: 200rpx; margin: 0 12rpx;"></video>
|
|
</view>
|
|
</view>
|
|
- <view @click="removeht(index,key,'Sfht')"
|
|
|
|
- style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
|
|
|
|
|
|
+ <view @click="removeht(index,key,'Sfht')" style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
|
|
<image :src="loadImgSrc('icon_close.png')" style=" width: 15px; height: 15px;">
|
|
<image :src="loadImgSrc('icon_close.png')" style=" width: 15px; height: 15px;">
|
|
</image>
|
|
</image>
|
|
</view>
|
|
</view>
|
|
@@ -396,21 +336,17 @@
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<view class="" style="display: flex; flex-wrap: wrap;margin-top: 10px;">
|
|
<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('Fljd',key)">
|
|
|
|
|
|
+ <image :src="loadImgSrc('updateimg.png')" mode="" style="width: 200rpx; height: 150rpx; margin: 0 12rpx;; " @click="choose('Fljd',key)">
|
|
</image>
|
|
</image>
|
|
<view v-for="(item,index) in value.lightning" :key="index" style="position: relative;">
|
|
<view v-for="(item,index) in value.lightning" :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: 200rpx; height: 200rpx; margin: 0 12rpx;"
|
|
|
|
- @click="showPhoto(index,value.lightning)">
|
|
|
|
|
|
+ <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: 200rpx; height: 200rpx; margin: 0 12rpx;" @click="showPhoto(index,value.lightning)">
|
|
</image>
|
|
</image>
|
|
</view>
|
|
</view>
|
|
<view v-else>
|
|
<view v-else>
|
|
<video :src="item" style="width: 200rpx; height: 200rpx; margin: 0 12rpx;"></video>
|
|
<video :src="item" style="width: 200rpx; height: 200rpx; margin: 0 12rpx;"></video>
|
|
</view>
|
|
</view>
|
|
- <view @click="removeht(index,key,'Fljd')"
|
|
|
|
- style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
|
|
|
|
|
|
+ <view @click="removeht(index,key,'Fljd')" style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
|
|
<image :src="loadImgSrc('icon_close.png')" style=" width: 15px; height: 15px;">
|
|
<image :src="loadImgSrc('icon_close.png')" style=" width: 15px; height: 15px;">
|
|
</image>
|
|
</image>
|
|
</view>
|
|
</view>
|
|
@@ -424,21 +360,17 @@
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<view class="" style="display: flex; flex-wrap: wrap;margin-top: 10px;">
|
|
<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('Fljd',key)">
|
|
|
|
|
|
+ <image :src="loadImgSrc('updateimg.png')" mode="" style="width: 200rpx; height: 150rpx; margin: 0 12rpx;; " @click="choose('Fljd',key)">
|
|
</image>
|
|
</image>
|
|
<view v-for="(item,index) in value.bottomLeg" :key="index" style="position: relative;">
|
|
<view v-for="(item,index) in value.bottomLeg" :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: 200rpx; height: 200rpx; margin: 0 12rpx;"
|
|
|
|
- @click="showPhoto(index,value.bottomLeg)">
|
|
|
|
|
|
+ <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: 200rpx; height: 200rpx; margin: 0 12rpx;" @click="showPhoto(index,value.bottomLeg)">
|
|
</image>
|
|
</image>
|
|
</view>
|
|
</view>
|
|
<view v-else>
|
|
<view v-else>
|
|
<video :src="item" style="width: 200rpx; height: 200rpx; margin: 0 12rpx;"></video>
|
|
<video :src="item" style="width: 200rpx; height: 200rpx; margin: 0 12rpx;"></video>
|
|
</view>
|
|
</view>
|
|
- <view @click="removeht(index,key,'Fljd')"
|
|
|
|
- style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
|
|
|
|
|
|
+ <view @click="removeht(index,key,'Fljd')" style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
|
|
<image :src="loadImgSrc('icon_close.png')" style=" width: 15px; height: 15px;">
|
|
<image :src="loadImgSrc('icon_close.png')" style=" width: 15px; height: 15px;">
|
|
</image>
|
|
</image>
|
|
</view>
|
|
</view>
|
|
@@ -452,22 +384,17 @@
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<view class="" style="display: flex; flex-wrap: wrap;margin-top: 10px;">
|
|
<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('Hldmyh',key)">
|
|
|
|
|
|
+ <image :src="loadImgSrc('updateimg.png')" mode="" style="width: 200rpx; height: 150rpx; margin: 0 12rpx;; " @click="choose('Hldmyh',key)">
|
|
</image>
|
|
</image>
|
|
- <view v-for="(item,index) in value.groundHardening" :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: 200rpx; height: 200rpx; margin: 0 12rpx;"
|
|
|
|
- @click="showPhoto(index,value.groundHardening)">
|
|
|
|
|
|
+ <view v-for="(item,index) in value.groundHardening" :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: 200rpx; height: 200rpx; margin: 0 12rpx;" @click="showPhoto(index,value.groundHardening)">
|
|
</image>
|
|
</image>
|
|
</view>
|
|
</view>
|
|
<view v-else>
|
|
<view v-else>
|
|
<video :src="item" style="width: 200rpx; height: 200rpx; margin: 0 12rpx;"></video>
|
|
<video :src="item" style="width: 200rpx; height: 200rpx; margin: 0 12rpx;"></video>
|
|
</view>
|
|
</view>
|
|
- <view @click="removeht(index,key,'Hldmyh')"
|
|
|
|
- style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
|
|
|
|
|
|
+ <view @click="removeht(index,key,'Hldmyh')" style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
|
|
<image :src="loadImgSrc('icon_close.png')" style=" width: 15px; height: 15px;">
|
|
<image :src="loadImgSrc('icon_close.png')" style=" width: 15px; height: 15px;">
|
|
</image>
|
|
</image>
|
|
</view>
|
|
</view>
|
|
@@ -482,21 +409,17 @@
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<view class="" style="display: flex; flex-wrap: wrap;margin-top: 10px;">
|
|
<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 :src="loadImgSrc('updateimg.png')" mode="" style="width: 200rpx; height: 150rpx; margin: 0 12rpx;; " @click="choose('Tg',key)">
|
|
</image>
|
|
</image>
|
|
<view v-for="(item,index) in value.cannula" :key="index" style="position: relative;">
|
|
<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: 200rpx; height: 200rpx; margin: 0 12rpx;"
|
|
|
|
- @click="showPhoto(index,value.cannula)">
|
|
|
|
|
|
+ <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: 200rpx; height: 200rpx; margin: 0 12rpx;" @click="showPhoto(index,value.cannula)">
|
|
</image>
|
|
</image>
|
|
</view>
|
|
</view>
|
|
<view v-else>
|
|
<view v-else>
|
|
<video :src="item" style="width: 200rpx; height: 200rpx; margin: 0 12rpx;"></video>
|
|
<video :src="item" style="width: 200rpx; height: 200rpx; margin: 0 12rpx;"></video>
|
|
</view>
|
|
</view>
|
|
- <view @click="removeht(index,key,'Tg')"
|
|
|
|
- style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
|
|
|
|
|
|
+ <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 :src="loadImgSrc('icon_close.png')" style=" width: 15px; height: 15px;">
|
|
</image>
|
|
</image>
|
|
</view>
|
|
</view>
|
|
@@ -510,21 +433,17 @@
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<view class="" style="display: flex; flex-wrap: wrap;margin-top: 10px;">
|
|
<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 :src="loadImgSrc('updateimg.png')" mode="" style="width: 200rpx; height: 150rpx; margin: 0 12rpx;; " @click="choose('Nbmh',key)">
|
|
</image>
|
|
</image>
|
|
<view v-for="(item,index) in value.wallPlaster" :key="index" style="position: relative;">
|
|
<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: 200rpx; height: 200rpx; margin: 0 12rpx;"
|
|
|
|
- @click="showPhoto(index,value.wallPlaster)">
|
|
|
|
|
|
+ <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: 200rpx; height: 200rpx; margin: 0 12rpx;" @click="showPhoto(index,value.wallPlaster)">
|
|
</image>
|
|
</image>
|
|
</view>
|
|
</view>
|
|
<view v-else>
|
|
<view v-else>
|
|
<video :src="item" style="width: 200rpx; height: 200rpx; margin: 0 12rpx;"></video>
|
|
<video :src="item" style="width: 200rpx; height: 200rpx; margin: 0 12rpx;"></video>
|
|
</view>
|
|
</view>
|
|
- <view @click="removeht(index,key,'Nbmh')"
|
|
|
|
- style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
|
|
|
|
|
|
+ <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 :src="loadImgSrc('icon_close.png')" style=" width: 15px; height: 15px;">
|
|
</image>
|
|
</image>
|
|
</view>
|
|
</view>
|
|
@@ -538,21 +457,17 @@
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<view class="" style="display: flex; flex-wrap: wrap;margin-top: 10px;">
|
|
<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 :src="loadImgSrc('updateimg.png')" mode="" style="width: 200rpx; height: 150rpx; margin: 0 12rpx;; " @click="choose('Fhw',key)">
|
|
</image>
|
|
</image>
|
|
<view v-for="(item,index) in value.protectiveNet" :key="index" style="position: relative;">
|
|
<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: 200rpx; height: 200rpx; margin: 0 12rpx;"
|
|
|
|
- @click="showPhoto(index,value.protectiveNet)">
|
|
|
|
|
|
+ <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: 200rpx; height: 200rpx; margin: 0 12rpx;" @click="showPhoto(index,value.protectiveNet)">
|
|
</image>
|
|
</image>
|
|
</view>
|
|
</view>
|
|
<view v-else>
|
|
<view v-else>
|
|
<video :src="item" style="width: 200rpx; height: 200rpx; margin: 0 12rpx;"></video>
|
|
<video :src="item" style="width: 200rpx; height: 200rpx; margin: 0 12rpx;"></video>
|
|
</view>
|
|
</view>
|
|
- <view @click="removeht(index,key,'Fhw')"
|
|
|
|
- style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
|
|
|
|
|
|
+ <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 :src="loadImgSrc('icon_close.png')" style=" width: 15px; height: 15px;">
|
|
</image>
|
|
</image>
|
|
</view>
|
|
</view>
|
|
@@ -565,21 +480,17 @@
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<view class="" style="display: flex; flex-wrap: wrap;margin-top: 10px;">
|
|
<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 :src="loadImgSrc('updateimg.png')" mode="" style="width: 200rpx; height: 150rpx; margin: 0 12rpx;; " @click="choose('Bj',key)">
|
|
</image>
|
|
</image>
|
|
<view v-for="(item,index) in value.starAnise" :key="index" style="position: relative;">
|
|
<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: 200rpx; height: 200rpx; margin: 0 12rpx;"
|
|
|
|
- @click="showPhoto(index,value.starAnise)">
|
|
|
|
|
|
+ <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: 200rpx; height: 200rpx; margin: 0 12rpx;" @click="showPhoto(index,value.starAnise)">
|
|
</image>
|
|
</image>
|
|
</view>
|
|
</view>
|
|
<view v-else>
|
|
<view v-else>
|
|
<video :src="item" style="width: 200rpx; height: 200rpx; margin: 0 12rpx;"></video>
|
|
<video :src="item" style="width: 200rpx; height: 200rpx; margin: 0 12rpx;"></video>
|
|
</view>
|
|
</view>
|
|
- <view @click="removeht(index,key,'Bj')"
|
|
|
|
- style="position: absolute; top: 0; right: 14rpx; border-radius: 50%;">
|
|
|
|
|
|
+ <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 :src="loadImgSrc('icon_close.png')" style=" width: 15px; height: 15px;">
|
|
</image>
|
|
</image>
|
|
</view>
|
|
</view>
|
|
@@ -599,11 +510,9 @@
|
|
</view>
|
|
</view>
|
|
<video :src="playVideoSrc"></video>
|
|
<video :src="playVideoSrc"></video>
|
|
</view> -->
|
|
</view> -->
|
|
- <SelectPicker :list="selectList" @change="changeSelect" v-if="open" @close="close" titleKey="name"
|
|
|
|
- subtitleKey="id">
|
|
|
|
|
|
+ <SelectPicker :list="selectList" @change="changeSelect" v-if="open" @close="close" titleKey="name" subtitleKey="id">
|
|
</SelectPicker>
|
|
</SelectPicker>
|
|
- <SelectPicker :list="dictOptions" @change="changeSelectDict" v-if="openDict" @close="closeDict"
|
|
|
|
- titleKey="dictLabel" subtitleKey="dictValue" v-model="name"></SelectPicker>
|
|
|
|
|
|
+ <SelectPicker :list="dictOptions" @change="changeSelectDict" v-if="openDict" @close="closeDict" titleKey="dictLabel" subtitleKey="dictValue" v-model="name"></SelectPicker>
|
|
<view class="action-btn" v-if="hideButton==false">
|
|
<view class="action-btn" v-if="hideButton==false">
|
|
<button @click="submit" class="btn cu-btn block bg-blue lg round">确认</button>
|
|
<button @click="submit" class="btn cu-btn block bg-blue lg round">确认</button>
|
|
</view>
|
|
</view>
|
|
@@ -911,7 +820,7 @@
|
|
|
|
|
|
let _this = this;
|
|
let _this = this;
|
|
uni.chooseImage({
|
|
uni.chooseImage({
|
|
- sizeType: ['album', 'camera'],
|
|
|
|
|
|
+ sourceType: this.enginType == `old_renovation` ? ['camera'] : ['album', 'camera'],
|
|
success(resp) {
|
|
success(resp) {
|
|
resp.tempFiles.forEach((item, index) => {
|
|
resp.tempFiles.forEach((item, index) => {
|
|
const task = uni.uploadFile({
|
|
const task = uni.uploadFile({
|
|
@@ -1055,7 +964,7 @@
|
|
choosevideo(e) {
|
|
choosevideo(e) {
|
|
let _this = this;
|
|
let _this = this;
|
|
uni.chooseVideo({
|
|
uni.chooseVideo({
|
|
- sourceType: ['album', 'camera'],
|
|
|
|
|
|
+ sourceType: this.enginType == `old_renovation` ? ['camera'] : ['album', 'camera'],
|
|
maxDuration: 30,
|
|
maxDuration: 30,
|
|
success(resp) {
|
|
success(resp) {
|
|
const task = uni.uploadFile({
|
|
const task = uni.uploadFile({
|