| | |
| | | :show-selection="showSelection" |
| | | :max-height="maxHeight" |
| | | @selection-change="handleSelectionChange" |
| | | <<<<<<< HEAD |
| | | ======= |
| | | @row-click="handleRowClick" |
| | | @row-dblclick="handleRowDblClick" |
| | | @cell-click="handleCellClick" |
| | | :max-width="maxWidth" |
| | | @export="handleExport" |
| | | >>>>>>> master |
| | | > |
| | | <el-table-column v-if="showSelection" type="selection" width="55" align="center" /> |
| | | <el-table-column v-if="showIndex" label="序号" type="index" width="60" align="center" /> |
| | |
| | | import { ElMessage, ElMessageBox } from 'element-plus' |
| | | |
| | | const props = defineProps({ |
| | | <<<<<<< HEAD |
| | | ======= |
| | | // 最大宽度 |
| | | maxWidth: { |
| | | type: [String, Number], |
| | | default: 'auto' |
| | | }, |
| | | handleCellClick: { |
| | | type: Function, |
| | | default: () => {} |
| | | }, |
| | | handleRowClick: { |
| | | type: Function, |
| | | default: () => {} |
| | | }, |
| | | handleExport: { |
| | | type: Function, |
| | | default: () => {} |
| | | }, |
| | | handleRowDblClick: { |
| | | type: Function, |
| | | default: () => {} |
| | | }, |
| | | >>>>>>> master |
| | | // 高度 |
| | | maxHeight: { |
| | | type: [String, Number], |