JX.Li 10 місяців тому
батько
коміт
aff7ec1424
1 змінених файлів з 33 додано та 20 видалено
  1. 33 20
      src/components/ConstructionDetails/index.vue

+ 33 - 20
src/components/ConstructionDetails/index.vue

@@ -145,7 +145,7 @@
                       :prop="i.materialQuality"
                       :class="enginType != '基建工程' && enginType != '民用工程' ? 'labelWidth' : '' "
                       :label="activeNames == '阀管' ? '灶具管厂家': '材质'"
-                      v-show="i.materialQuality != null || (enginClassification != null && !enginClassification.includes('pressure_regulating')) && node !== '阀井'"
+                      v-show="i.materialQuality != null || (enginClassification != null && !enginClassification.includes('pressure_regulating')) && node !== '阀井'&& node !== '调压柜'&& node !== '管道施工记录'"
                       label-width="95px"
                       >
                       <el-select  v-model="i.materialQuality" placeholder="请选择材质" style="width: 100%" @change="getEnginSpecificationsList(i, index,idx)" :disabled="status == 'read-only' ">
@@ -161,7 +161,7 @@
                       :prop="i.specifications"
                       :class="enginType != '基建工程' && enginType != '民用工程' ? 'labelWidth' : '' "
                       label="规格"
-                      v-show="i.materialQuality != null || (enginClassification != null && !enginClassification.includes('pressure_regulating')) && node !== '阀井'"
+                      v-show="i.materialQuality != null || (enginClassification != null && !enginClassification.includes('pressure_regulating')) && node !== '阀井'&& node !== '调压柜'&& node !== '管道施工记录'"
                       label-width="95px"
 
                       >
@@ -226,7 +226,7 @@
                   </el-form-item>
 
                     <el-form-item
-                      v-if="!currentDicts.some(item=>item.label==='底腿') && node !== '阀井'"
+                      v-if="!currentDicts.some(item=>item.label==='底腿') && node !== '阀井' && node !== '管道施工记录'&& node !== '调压柜'"
                       :prop="i.number + ''"
                       :class="enginType != '基建工程' && enginType != '民用工程' ? 'labelWidth' : '' "
                       label="数量"
@@ -344,6 +344,7 @@
               !(node==='pe')&&
               !(node=='回填')&&
               !(node=='阀井')&&
+              !(node=='调压柜')&&
               !(node=='trench_construction')&&
               !(node=='underditch_construction')
            "
@@ -719,19 +720,19 @@
                 :disabled="status == 'read-only' "
               ></ObsVideoUpload>
             </div>
-            <div style="display: flex;width: 100%;height: 100%;" v-if="node==='下沟'">
-              <h3 style="width: 95px;font-weight: 600;text-align: center;text-indent: 25px;">管道施工记录</h3>
-              <ObsImageUpload
-                :class=" status == 'read-only' ? 'obsImageUploads' : '' "
-                ref="obsImageUpload"
-                :limit="11"
-                :fileType="['png', 'jpg', 'jpeg']"
-                @input="getconstructionRecordsUrl(arguments,idx)"
-                :value="e.constructionRecords"
-                :disabled="status == 'read-only' "
-              ></ObsImageUpload>
-            </div>
-            <div style="display: flex;width: 100%;height: 100%;" v-if="node==='回填'||node==='调压柜安装'||(enginClassification != null && enginClassification.includes('调压柜'))">
+<!--            <div style="display: flex;width: 100%;height: 100%;" v-if="node==='下沟'">-->
+<!--              <h3 style="width: 95px;font-weight: 600;text-align: center;text-indent: 25px;">管道施工记录</h3>-->
+<!--              <ObsImageUpload-->
+<!--                :class=" status == 'read-only' ? 'obsImageUploads' : '' "-->
+<!--                ref="obsImageUpload"-->
+<!--                :limit="11"-->
+<!--                :fileType="['png', 'jpg', 'jpeg']"-->
+<!--                @input="getconstructionRecordsUrl(arguments,idx)"-->
+<!--                :value="e.constructionRecords"-->
+<!--                :disabled="status == 'read-only' "-->
+<!--              ></ObsImageUpload>-->
+<!--            </div>-->
+            <div style="display: flex;width: 100%;height: 100%;" v-if="node==='回填'||node==='调压柜安装'||node==='调压柜'||(enginClassification != null && enginClassification.includes('调压柜'))">
               <h3 style="width: 95px;font-weight: 600;text-align: center;text-indent: 25px;">石粉回填照片</h3>
               <ObsImageUpload
                 :class=" status == 'read-only' ? 'obsImageUploads' : '' "
@@ -815,7 +816,7 @@
                 :disabled="status == 'read-only' "
               ></ObsImageUpload>
             </div>
-            <div style="display: flex;width: 100%;height: 100%;" v-if="node==='调压柜安装'||(enginClassification != null && enginClassification.includes('调压柜'))">
+            <div style="display: flex;width: 100%;height: 100%;" v-if="node==='调压柜安装'||node==='调压柜'||(enginClassification != null && enginClassification.includes('调压柜'))">
               <h3 style="width: 95px;font-weight: 600;text-align: center;text-indent: 25px;">调压柜铭牌</h3>
               <ObsImageUpload
                 :class=" status == 'read-only' ? 'obsImageUploads' : '' "
@@ -827,7 +828,7 @@
                 :disabled="status == 'read-only' "
               ></ObsImageUpload>
             </div>
-            <div style="display: flex;width: 100%;height: 100%;" v-if="node==='调压柜安装'||(enginClassification != null && enginClassification.includes('调压柜'))">
+            <div style="display: flex;width: 100%;height: 100%;" v-if="node==='调压柜安装'||node==='调压柜'||(enginClassification != null && enginClassification.includes('调压柜'))">
               <h3 style="width: 95px;font-weight: 600;text-align: center;text-indent: 25px;">调压箱防雷接地</h3>
               <ObsImageUpload
                 :class=" status == 'read-only' ? 'obsImageUploads' : '' "
@@ -839,7 +840,7 @@
                 :disabled="status == 'read-only' "
               ></ObsImageUpload>
             </div>
-            <div style="display: flex;width: 100%;height: 100%;" v-if="node==='调压柜安装'||(enginClassification != null && enginClassification.includes('调压柜'))">
+            <div style="display: flex;width: 100%;height: 100%;" v-if="node==='调压柜安装'||node==='调压柜'||(enginClassification != null && enginClassification.includes('调压柜'))">
               <h3 style="width: 95px;font-weight: 600;text-align: center;text-indent: 25px;">调压箱底腿连接</h3>
               <ObsImageUpload
                 :class=" status == 'read-only' ? 'obsImageUploads' : '' "
@@ -863,6 +864,18 @@
                 :disabled="status == 'read-only' "
               ></ObsImageUpload>
             </div>
+            <div style="display: flex;width: 100%;height: 100%;" v-if="node==='调压柜'||(enginClassification != null && enginClassification.includes('调压柜'))">
+              <h3 style="width: 95px;font-weight: 600;text-align: center;text-indent: 25px;">地面硬化</h3>
+              <ObsImageUpload
+                :class=" status == 'read-only' ? 'obsImageUploads' : '' "
+                ref="obsImageUpload"
+                :limit="11"
+                :fileType="['png', 'jpg', 'jpeg']"
+                @input="getGroundHardeningUrl(arguments,idx)"
+                :value="e.groundHardening"
+                :disabled="status == 'read-only' "
+              ></ObsImageUpload>
+            </div>
             <!-- </el-form-item> -->
             <div style="display: flex;  justify-content: flex-end; width: 100%;height: 100%;">
             <el-button  plain type="danger" @click=" handleDelete(e)" v-hasPermi="['zdsz:engineeringCivilNode:remove']" style="width: 94px;">删除</el-button>
@@ -873,7 +886,7 @@
         </el-checkbox-group>
       </el-tab-pane>
       <el-button class="check" plain type="danger" @click="checkWorking" v-show="currentStatus == 'check'  && isChecking " style="width: 80px;" :disabled="currentCollapses.length == 0">审核</el-button>
-      <el-button class="check" plain type="danger" @click="updateNodeOption" style="width: 94px;cursor: pointer;" v-if="currentStatus != 'check' && status != 'read-only'  ">修改</el-button>
+      <el-button class="check" plain type="danger" @click="updateNodeOption" style="width: 94px;cursor: pointer;" v-if="currentStatus != 'check' && status != 'read-only' ">修改</el-button>
     </el-tabs>
     </el-dialog>
     <!-- 审核 -->