Parcourir la source

fix(督办):分页组件位置调整

likai il y a 2 ans
Parent
commit
8f6596730f
1 fichiers modifiés avec 2 ajouts et 4 suppressions
  1. 2 4
      src/views/plat/task/index.vue

+ 2 - 4
src/views/plat/task/index.vue

@@ -73,7 +73,7 @@
           </vab-query-form-right-panel>
         </vab-query-form>
         <!-- 主页面 -->
-        <el-table v-loading="listLoading" border :data="list" height="calc(100vh - 340px)" width="100%">
+        <el-table v-loading="listLoading" border :data="list" :height="height" width="100%">
           <el-table-column
             v-for="(item, index) in finallyColumns"
             :key="index"
@@ -151,6 +151,7 @@
     components: { taskAdd, taskDetail, TableTool },
     data() {
       return {
+        height: this.$baseTableHeight(2),
         // 各督办数量统计
         statisticsForm: {
           toDoNumber: 0,
@@ -260,9 +261,6 @@
       }
     },
     computed: {
-      height() {
-        return this.$baseTableHeight(1)
-      },
       finallyColumns() {
         return this.columns.filter((item) => this.checkList.includes(item.label))
       },