src/components/makepager/TableCommonView.vue
@@ -13,8 +13,9 @@
      :show-summary="showSummary.show"
      :summary-method="getSummaries"
      :span-method="arraySpanMethod"
      :class="tableList.headerHeight?'table-height-47px':''"
      @selection-change="handleSelectionChange"
      :header-cell-style="{ background: '#f1f3f8', color: '#000009', 'font-size': '12px', 'font-family': 'PingFangSC' }"
      :header-cell-style="{ background: '#f1f3f8', height:tableList.headerHeight?tableList.headerHeight:'37px',color: '#000009', 'font-size': '12px', 'font-family': 'PingFangSC' }"
      size="mini"
      @row-click="tableRowClick"
      :row-class-name="tableRowClassName"
@@ -42,6 +43,7 @@
      
      <template slot="header">
          {{ item.label }}
          <div v-if="item.weekDay">{{item.weekDay}}</div>
          <span v-if="item.iconRight">
            <i
              :class="item.iconRight"
@@ -236,7 +238,7 @@
        this.showcol = newVal
      },
      immediate: true
    }
    },
  },
  methods: {
    onMaskClick() {
@@ -488,9 +490,21 @@
      font-weight: bold;
    }
  }
  .el-table__fixed{
    height:calc(100% - 8px)!important;
  }
  .el-table__fixed-body-wrapper{
    top:37px!important;
  }
  .table-height-47px .el-table__fixed-body-wrapper{
    top:47px!important;
  }
  .el-table__body-wrapper{
    height:calc(100% - 38px)!important;
  }
  .table-height-47px .el-table__body-wrapper{
    height:calc(100% - 48px)!important;
  }
}
::v-deep .el-table .cell {