wyq 3 éve
szülő
commit
d2e66db6b4
1 módosított fájl, 8 hozzáadás és 9 törlés
  1. 8 9
      src/components/knowledgeExtra/AddTermSet.vue

+ 8 - 9
src/components/knowledgeExtra/AddTermSet.vue

@@ -47,9 +47,8 @@
     flex-wrap: wrap;
     flex-wrap: wrap;
   }
   }
   .table_content {
   .table_content {
-    min-height: 200px;
-    height: calc(100vh - 264px);
     margin-top: 10px;
     margin-top: 10px;
+    overflow: hidden;
     .table_left {
     .table_left {
       width: 45%;
       width: 45%;
       float: left;
       float: left;
@@ -59,7 +58,7 @@
       .left_box {
       .left_box {
         margin: 30px 0;
         margin: 30px 0;
         overflow: hidden;
         overflow: hidden;
-        min-height: 530px;
+        min-height: calc(100vh - 410px)
       }
       }
       .tabs {
       .tabs {
         max-width: 100%;
         max-width: 100%;
@@ -79,7 +78,7 @@
       .right_box {
       .right_box {
         margin: 30px 0;
         margin: 30px 0;
         overflow: hidden;
         overflow: hidden;
-        min-height: 530px;
+        min-height: calc(100vh - 410px)
       }
       }
       .tabs {
       .tabs {
         max-width: 100%;
         max-width: 100%;
@@ -214,8 +213,8 @@
             <el-table
             <el-table
               :data="leftList"
               :data="leftList"
               border
               border
-              min-height="200"
-              max-height="500"
+              style="min-height: 200px"
+              height="calc(100vh - 393px)"
               class="tabs"
               class="tabs"
               :header-row-style="{height:'40px'}"
               :header-row-style="{height:'40px'}"
               :header-cell-style="{height:'40px',background:'#f7f7f7'}"
               :header-cell-style="{height:'40px',background:'#f7f7f7'}"
@@ -274,8 +273,8 @@
             <el-table
             <el-table
               :data="conceptList"
               :data="conceptList"
               border
               border
-              min-height="200"
-              max-height="500"
+              style="min-height: 200px"
+              height="calc(100vh - 393px)"
               class="tabs"
               class="tabs"
               @row-click="btn"
               @row-click="btn"
               :header-row-style="{height:'40px'}"
               :header-row-style="{height:'40px'}"
@@ -594,7 +593,7 @@ export default {
             this.excludedConceptIds.splice(index, 1);
             this.excludedConceptIds.splice(index, 1);
           }
           }
         });
         });
-      }else{
+      } else {
         this.leftList.forEach((item, index) => {
         this.leftList.forEach((item, index) => {
           if (item.conceptId == row.conceptId) {
           if (item.conceptId == row.conceptId) {
             this.leftList.splice(index, 1);
             this.leftList.splice(index, 1);