gaoluyang
2 天以前 879249b34397ba1dc2be1ff1c7afd158d35ec340
src/components/PIMTable/PIMTable.vue
@@ -15,6 +15,7 @@
    :expand-row-keys="expandRowKeys"
    :show-summary="isShowSummary"
    :summary-method="summaryMethod"
    stripe
    @row-click="rowClick"
    @current-change="currentChange"
    @selection-change="handleSelectionChange"
@@ -25,9 +26,10 @@
      align="center"
      type="selection"
      width="55"
         fixed="left"
      v-if="isSelection"
    />
    <el-table-column align="center" label="序号" type="index" width="60" />
    <el-table-column align="center" label="序号" type="index" width="60" fixed="left" />
    <el-table-column
      v-for="(item, index) in column"
@@ -207,8 +209,8 @@
    </el-table-column>
  </el-table>
  <pagination
    v-show="total > 0"
    :total="total"
    v-if="page.total > 0"
    :total="page.total"
    :layout="page.layout"
    :page="page.current"
    :limit="page.size"
@@ -245,7 +247,7 @@
  },
  height: {
    type: [Number, String],
    default: "calc(100vh - 18.5em)",
    default: "calc(100vh - 22em)",
  },
  expandRowKeys: {
    type: Array,
@@ -301,7 +303,7 @@
  },
  rowKey: {
    type: String,
    default: undefined,
    default: 'id',
  },
  page: {
    type: Object,