| | |
| | | :expand-row-keys="expandRowKeys" |
| | | :show-summary="isShowSummary" |
| | | :summary-method="summaryMethod" |
| | | stripe |
| | | @row-click="rowClick" |
| | | @current-change="currentChange" |
| | | @selection-change="handleSelectionChange" |
| | |
| | | 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" |
| | |
| | | </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" |
| | |
| | | }, |
| | | height: { |
| | | type: [Number, String], |
| | | default: "calc(100vh - 18.5em)", |
| | | default: "calc(100vh - 22em)", |
| | | }, |
| | | expandRowKeys: { |
| | | type: Array, |
| | |
| | | }, |
| | | rowKey: { |
| | | type: String, |
| | | default: undefined, |
| | | default: 'id', |
| | | }, |
| | | page: { |
| | | type: Object, |