yq1 1 년 전
부모
커밋
f9454c9852
2개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 2 2
      src/xt_pages/workforce/components/editTableData.vue
  2. 3 3
      src/xt_pages/workforce/components/tableData.vue

+ 2 - 2
src/xt_pages/workforce/components/editTableData.vue 파일 보기

@@ -164,12 +164,12 @@
164 164
             :cell-style ='cellstyle'
165 165
             :row-class-name="tableRowClassName"
166 166
             show-summary
167
-            height="calc(100% - 50px)"
167
+            
168 168
             ref="table"
169 169
             style="table-layout: fixed;"
170 170
 
171 171
         >
172
-        <!-- :cell-style ='cellstyle'    :height="tableContainHeight" calc(100% - 50px) 600-->
172
+        <!-- :cell-style ='cellstyle' height="calc(100% - 50px)"   :height="tableContainHeight"-->
173 173
           <el-table-column
174 174
               prop="area"
175 175
               label="分区"

+ 3 - 3
src/xt_pages/workforce/components/tableData.vue 파일 보기

@@ -261,11 +261,11 @@
261 261
         show-summary
262 262
         :cell-class-name="cellClass"
263 263
         sum-text="总数"
264
-        height="calc(100vh - 200px)"
264
+        
265 265
         ref="table"
266 266
         style="table-layout: fixed;"
267 267
       >
268
-      <!-- :height="tableContainHeight" -->
268
+      <!-- :height="tableContainHeight" height="calc(100vh - 200px)"-->
269 269
         <el-table-column
270 270
           prop="area"
271 271
           label="分区"
@@ -787,7 +787,7 @@ export default {
787 787
   },
788 788
   data() {
789 789
     return {
790
-      // tableContainHeight:null,
790
+      tableContainHeight:null,
791 791
       value1:false,
792 792
       modename_value:true,
793 793
       weeks:weekOptions,