| | |
| | | v-bind="$attrs" |
| | | v-on="$listeners" |
| | | :highlight-current-row="true" |
| | | :row-key=" |
| | | (row) => { |
| | | return row.id |
| | | } |
| | | " |
| | | :row-key="rowKey" |
| | | @row-dblclick="dbClickRow" |
| | | @row-contextmenu="contextMenu" |
| | | @header-click="headClick" |
| | |
| | | name: 'TTable', |
| | | components: { exSlot, advancedSearchDialog, zttdraggable }, |
| | | props: { |
| | | rowKey: { |
| | | type: String, |
| | | default: ()=>{ |
| | | return 'id' |
| | | } |
| | | }, |
| | | // 表格型号:mini,medium,small |
| | | tableSize: { type: String, default: 'small' }, |
| | | // 数据请求方法 |
| | |
| | | } |
| | | } |
| | | } |
| | | console.log(this.multipleSelection) |
| | | this.$emit('handleSelectionChange', this.multipleSelection) |
| | | } else { |
| | | this.multipleSelection = val |
| | |
| | | } |
| | | } |
| | | } |
| | | console.log(this.columnList); |
| | | this.tableKey = Math.random() |
| | | // this.$forceUpdate(); |
| | | const currPathColumnOrder = this.currPath + '_column' |