wangtong 1 год назад
Родитель
Сommit
a52570e957
1 измененных файлов с 11 добавлено и 3 удалено
  1. 11 3
      src/components/ConstructionDetails/index.vue

+ 11 - 3
src/components/ConstructionDetails/index.vue

@@ -115,7 +115,14 @@
                     label-width="95px"
                   >
                     <div class="block" style="display: inline-block; margin-right: 20px;">
-                      <el-input v-model="i.constructAddre" placeholder="请选择位置" style="width: 100%"   :disabled="status == 'read-only'"></el-input>
+                      <el-select v-model="i.constructAddre" style="width: 100%;">
+                        <el-option
+                          v-for="e in dict.type.construct_addre"
+                          :key="e.value"
+                          :label="e.label"
+                          :value="e.value"
+                        ></el-option>
+                      </el-select>
                     </div>
                   </el-form-item>
                   <el-form-item
@@ -149,7 +156,7 @@
                       :prop="i.remark + ''"
                       :class="enginType != '基建工程' && enginType != '民用工程' ? 'labelWidth' : '' "
                       label="描述"
-                      v-show="i.remark != null"
+                      v-show="i.remark != null&&!currentDicts.some(item=>item.label==='底腿')"
                       >
                       <div class="block" style="display: inline-block; margin-right: 20px;">
                         <el-input v-model="i.remark" placeholder="请输入" style="width: 100%"  maxlength="100" :disabled="status == 'read-only'"></el-input>
@@ -447,7 +454,8 @@ export default {
   dicts:[
       'visit_type',
       'self_closing_valve_type',
-      'brand'
+      'brand',
+    'construct_addre'
   ],
   components:{ObsVideoUpload},
   props: ['currentCollapses','nodeDetailType','enginType','status','zEngineeringNodeBo'],