duy преди 2 дни
родител
ревизия
efe3bac0f3
променени са 1 файла, в които са добавени 7 реда и са изтрити 4 реда
  1. 7 4
      src/views/exctab/ElementIdentification/index.vue

+ 7 - 4
src/views/exctab/ElementIdentification/index.vue

@@ -482,7 +482,7 @@
               >
               </el-option>
             </el-select>
-            <el-scrollbar >
+     
               <div class="flex" style="margin-top: 10px" v-if="isShowInput">
                 <el-input
                   size="small"
@@ -496,7 +496,9 @@
                   >搜索</el-button
                 >
               </div>
-              <el-tree
+
+            <div style="max-height: 500px; overflow-y: auto; width: auto">
+                <el-tree
                 v-if="GLExcelFromtag"
                 @node-click="handleNodeClickExcel"
                 ref="tree"
@@ -529,7 +531,7 @@
                 :default--checked-keys="selectNodeIds"
               >
               </el-tree>
-            </el-scrollbar>
+            </div>
           </el-col>
           <el-col :span="12" v-if="addElementForm.wbsId" >
             <el-tabs v-model="activeName" type="card">
@@ -539,6 +541,7 @@
                   border
                   style="width: 100%"
                   class="martop20"
+                  height="500"
                 >
                   <el-table-column
                     prop="tableName"
@@ -611,7 +614,7 @@
                   系统检测:当前节点已存在当前元素表,不允许新增,请请联系项目负责人处理!!!
                 </div>
                 <div class="martop20">已有元素表</div>
-                <div>
+                <div style="max-height: 350px;overflow-y: auto;">
                            <template v-if="tableListByType.length > 0">
                                     <div class="category-section"  v-for="(item, index) in tableListByType" :key="index">
                                         <div class="category-header">{{item.title}}</div>