| | |
| | | :show-summary="false" |
| | | :highlight-current-row="true" |
| | | @row-click="handleRowClick" |
| | | @sort-change="handleSort" |
| | | > |
| | | <el-table-column |
| | | :fixed="true" |
| | |
| | | :formatter="timeFormatter" |
| | | align="center" |
| | | width="66" |
| | | sortable="custom" |
| | | > |
| | | </el-table-column> |
| | | <template v-for="item in tableColumn" :key="item.name"> |
| | |
| | | :prop="item.name" |
| | | :label="item.label" |
| | | align="center" |
| | | width="64" |
| | | width="79" |
| | | sortable="custom" |
| | | /> |
| | | </template> |
| | | </el-table> |
| | |
| | | // console.log(row); |
| | | // console.log(col); |
| | | // console.log(event.target.getBoundingClientRect().height); |
| | | }, |
| | | handleSort({ column, prop, order }) { |
| | | console.log(column); |
| | | console.log(prop); |
| | | console.log(order); |
| | | } |
| | | } |
| | | }; |