|
@@ -252,8 +252,8 @@
|
|
|
</el-input> -->
|
|
|
</div>
|
|
|
<!-- <el-form-item label="照片" prop="zEngiineeringPhotoBoList" class="obsImage"> -->
|
|
|
- <div style="display: flex;width: 100%;height: 100%;" v-if="!(currentDicts.some(item=>item.label==='底腿'))&&!(node==='下沟')&&!(node=='回填')">
|
|
|
- <h3 style="width: 95px;font-weight: 600;text-align: left;text-indent: 25px;">图片</h3>
|
|
|
+ <div style="display: flex;width: 100%;height: 100%;" v-if="!(currentDicts.some(item=>item.label==='底腿'))&&!(node==='下沟')&&!(node=='回填')&&!(node=='trench_construction')&&!(node=='underditch_construction')">
|
|
|
+ <h3 style="width: 95px;font-weight: 600;text-align: left;text-indent: 25px;">图片{{node}}</h3>
|
|
|
<ObsImageUpload
|
|
|
:class=" status == 'read-only' ? 'obsImageUploads' : '' "
|
|
|
ref="obsImageUpload"
|
|
@@ -264,6 +264,66 @@
|
|
|
:disabled="status == 'read-only' "
|
|
|
></ObsImageUpload>
|
|
|
</div>
|
|
|
+ <div style="display: flex;width: 100%;height: 100%;" v-if="node==='trench_construction'">
|
|
|
+ <h3 style="width: 95px;font-weight: 600;text-align: left;text-indent: 25px;">焊接照片</h3>
|
|
|
+ <ObsImageUpload
|
|
|
+ :class=" status == 'read-only' ? 'obsImageUploads' : '' "
|
|
|
+ ref="obsImageUpload"
|
|
|
+ :limit="11"
|
|
|
+ :fileType="['png', 'jpg', 'jpeg']"
|
|
|
+ @input="getductalEpitheliumUrl(arguments,idx)"
|
|
|
+ :value="e.welding"
|
|
|
+ :disabled="status == 'read-only' "
|
|
|
+ ></ObsImageUpload>
|
|
|
+ </div>
|
|
|
+ <div style="display: flex;width: 100%;height: 100%;" v-if="node==='trench_construction'">
|
|
|
+ <h3 style="width: 95px;font-weight: 600;text-align: left;text-indent: 25px;">防腐照片</h3>
|
|
|
+ <ObsImageUpload
|
|
|
+ :class=" status == 'read-only' ? 'obsImageUploads' : '' "
|
|
|
+ ref="obsImageUpload"
|
|
|
+ :limit="11"
|
|
|
+ :fileType="['png', 'jpg', 'jpeg']"
|
|
|
+ @input="getductalEpitheliumUrl(arguments,idx)"
|
|
|
+ :value="e.aczoiling"
|
|
|
+ :disabled="status == 'read-only' "
|
|
|
+ ></ObsImageUpload>
|
|
|
+ </div>
|
|
|
+ <div style="display: flex;width: 100%;height: 100%;" v-if="node==='underditch_construction'">
|
|
|
+ <h3 style="width: 95px;font-weight: 600;text-align: left;text-indent: 25px;">管道下沟</h3>
|
|
|
+ <ObsImageUpload
|
|
|
+ :class=" status == 'read-only' ? 'obsImageUploads' : '' "
|
|
|
+ ref="obsImageUpload"
|
|
|
+ :limit="11"
|
|
|
+ :fileType="['png', 'jpg', 'jpeg']"
|
|
|
+ @input="getductalEpitheliumUrl(arguments,idx)"
|
|
|
+ :value="e.piping"
|
|
|
+ :disabled="status == 'read-only' "
|
|
|
+ ></ObsImageUpload>
|
|
|
+ </div>
|
|
|
+ <div style="display: flex;width: 100%;height: 100%;" v-if="node==='underditch_construction'">
|
|
|
+ <h3 style="width: 95px;font-weight: 600;text-align: left;text-indent: 25px;">警示铺设</h3>
|
|
|
+ <ObsImageUpload
|
|
|
+ :class=" status == 'read-only' ? 'obsImageUploads' : '' "
|
|
|
+ ref="obsImageUpload"
|
|
|
+ :limit="11"
|
|
|
+ :fileType="['png', 'jpg', 'jpeg']"
|
|
|
+ @input="getductalEpitheliumUrl(arguments,idx)"
|
|
|
+ :value="e.warning"
|
|
|
+ :disabled="status == 'read-only' "
|
|
|
+ ></ObsImageUpload>
|
|
|
+ </div>
|
|
|
+ <div style="display: flex;width: 100%;height: 100%;" v-if="node==='underditch_construction'">
|
|
|
+ <h3 style="width: 95px;font-weight: 600;text-align: left;text-indent: 25px;">回填照片</h3>
|
|
|
+ <ObsImageUpload
|
|
|
+ :class=" status == 'read-only' ? 'obsImageUploads' : '' "
|
|
|
+ ref="obsImageUpload"
|
|
|
+ :limit="11"
|
|
|
+ :fileType="['png', 'jpg', 'jpeg']"
|
|
|
+ @input="getductalEpitheliumUrl(arguments,idx)"
|
|
|
+ :value="e.backfilling"
|
|
|
+ :disabled="status == 'read-only' "
|
|
|
+ ></ObsImageUpload>
|
|
|
+ </div>
|
|
|
<div style="display: flex;width: 100%;height: 100%;" v-if="node==='下沟'">
|
|
|
<h3 style="width: 95px;font-weight: 600;text-align: left;text-indent: 25px;">管上皮深度测量照片</h3>
|
|
|
<ObsImageUpload
|
|
@@ -742,6 +802,9 @@ export default {
|
|
|
* @param enginType 工程大类名称
|
|
|
*/
|
|
|
open(dicts, type = null,currentStatus = null,kind = null,title= null,enginClassification,enginSort,enginType) {
|
|
|
+ if(dicts && dicts[0]){
|
|
|
+ this.node = dicts[0].value
|
|
|
+ }
|
|
|
console.log(1)
|
|
|
console.log(currentStatus)
|
|
|
console.log(type)
|