|
@@ -94,7 +94,7 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item
|
|
|
- v-if="currentDicts.some(item=>item.label==='底腿开挖前')||currentDicts.some(item=>item.label==='底腿下沟')||currentDicts.some(item=>item.label==='底腿回填')"
|
|
|
+ v-if="currentDicts.some(item=>item.label==='底腿')"
|
|
|
:prop="i.number + ''"
|
|
|
:class="enginType != '基建工程' && enginType != '民用工程' ? 'labelWidth' : '' "
|
|
|
label="管径"
|
|
@@ -216,7 +216,7 @@
|
|
|
</el-input> -->
|
|
|
</div>
|
|
|
<!-- <el-form-item label="照片" prop="zEngiineeringPhotoBoList" class="obsImage"> -->
|
|
|
- <div style="display: flex;width: 100%;height: 100%;" v-if="!node==='下沟'">
|
|
|
+ <div style="display: flex;width: 100%;height: 100%;" v-if="!(node==='下沟')">
|
|
|
<h3 style="width: 95px;font-weight: 600;text-align: center;text-indent: 41px;">图片</h3>
|
|
|
<ObsImageUpload
|
|
|
:class=" status == 'read-only' ? 'obsImageUploads' : '' "
|
|
@@ -289,7 +289,7 @@
|
|
|
></ObsImageUpload>
|
|
|
</div>
|
|
|
<div style="display: flex;width: 100%;height: 100%;" v-if="node==='回填'">
|
|
|
- <h3 style="width: 95px;font-weight: 600;text-align: center;text-indent: 41px;">回填后照片</h3>
|
|
|
+ <h3 style="width: 95px;font-weight: 600;text-align: center;text-indent: 41px;">回填后</h3>
|
|
|
<ObsImageUpload
|
|
|
:class=" status == 'read-only' ? 'obsImageUploads' : '' "
|
|
|
ref="obsImageUpload"
|
|
@@ -300,7 +300,42 @@
|
|
|
:disabled="status == 'read-only' "
|
|
|
></ObsImageUpload>
|
|
|
</div>
|
|
|
-
|
|
|
+ <div style="display: flex;width: 100%;height: 100%;" v-if="currentDicts.some(item=>item.label==='底腿')">
|
|
|
+ <h3 style="width: 95px;font-weight: 600;text-align: center;text-indent: 41px;">开挖前</h3>
|
|
|
+ <ObsImageUpload
|
|
|
+ :class=" status == 'read-only' ? 'obsImageUploads' : '' "
|
|
|
+ ref="obsImageUpload"
|
|
|
+ :limit="11"
|
|
|
+ :fileType="['png', 'jpg', 'jpeg']"
|
|
|
+ @input="getbeforeBottomUrl(arguments,idx)"
|
|
|
+ :value="e.beforeBottom"
|
|
|
+ :disabled="status == 'read-only' "
|
|
|
+ ></ObsImageUpload>
|
|
|
+ </div>
|
|
|
+ <div style="display: flex;width: 100%;height: 100%;" v-if="currentDicts.some(item=>item.label==='底腿')">
|
|
|
+ <h3 style="width: 95px;font-weight: 600;text-align: center;text-indent: 41px;">回填</h3>
|
|
|
+ <ObsImageUpload
|
|
|
+ :class=" status == 'read-only' ? 'obsImageUploads' : '' "
|
|
|
+ ref="obsImageUpload"
|
|
|
+ :limit="11"
|
|
|
+ :fileType="['png', 'jpg', 'jpeg']"
|
|
|
+ @input="getlegBackfillingUrl(arguments,idx)"
|
|
|
+ :value="e.legBackfilling"
|
|
|
+ :disabled="status == 'read-only' "
|
|
|
+ ></ObsImageUpload>
|
|
|
+ </div>
|
|
|
+ <div style="display: flex;width: 100%;height: 100%;" v-if="currentDicts.some(item=>item.label==='底腿')">
|
|
|
+ <h3 style="width: 95px;font-weight: 600;text-align: center;text-indent: 41px;">下沟</h3>
|
|
|
+ <ObsImageUpload
|
|
|
+ :class=" status == 'read-only' ? 'obsImageUploads' : '' "
|
|
|
+ ref="obsImageUpload"
|
|
|
+ :limit="11"
|
|
|
+ :fileType="['png', 'jpg', 'jpeg']"
|
|
|
+ @input="getinferiorSulcusUrl(arguments,idx)"
|
|
|
+ :value="e.inferiorSulcus"
|
|
|
+ :disabled="status == 'read-only' "
|
|
|
+ ></ObsImageUpload>
|
|
|
+ </div>
|
|
|
<!-- </el-form-item> -->
|
|
|
<hr>
|
|
|
</el-collapse-item>
|
|
@@ -579,7 +614,7 @@ export default {
|
|
|
}
|
|
|
this.currentDicts = dicts
|
|
|
}
|
|
|
- this.currentDicts = dicts
|
|
|
+ //this.currentDicts = dicts
|
|
|
console.log("this.currentDicts",this.currentDicts)
|
|
|
this.dialogVisible = true
|
|
|
this.$forceUpdate()
|
|
@@ -608,6 +643,15 @@ export default {
|
|
|
getwarningtTapeUrl(_,idx) {
|
|
|
this.currentCollapses[idx].warningtTape = [...arguments][0][0].map(e=>e.url) || [];
|
|
|
},
|
|
|
+ getbeforeBottomUrl(_,idx) {
|
|
|
+ this.currentCollapses[idx].beforeBottom = [...arguments][0][0].map(e=>e.url) || [];
|
|
|
+ },
|
|
|
+ getlegBackfillingUrl(_,idx) {
|
|
|
+ this.currentCollapses[idx].legBackfilling = [...arguments][0][0].map(e=>e.url) || [];
|
|
|
+ },
|
|
|
+ getinferiorSulcusUrl(_,idx) {
|
|
|
+ this.currentCollapses[idx].inferiorSulcus = [...arguments][0][0].map(e=>e.url) || [];
|
|
|
+ },
|
|
|
getphotosAfterUrl(_,idx) {
|
|
|
this.currentCollapses[idx].photosAfter = [...arguments][0][0].map(e=>e.url) || [];
|
|
|
},
|