|
|
@ -463,10 +463,13 @@ |
|
|
|
:available-columns="availableColumns" |
|
|
|
:available-columns="availableColumns" |
|
|
|
:nodes="nodes" |
|
|
|
:nodes="nodes" |
|
|
|
:query-params="queryParams" |
|
|
|
:query-params="queryParams" |
|
|
|
|
|
|
|
:show-next-prev="true" |
|
|
|
@cancel="showExpandModal = false;" |
|
|
|
@cancel="showExpandModal = false;" |
|
|
|
@input="showExpandModal = false; (data[selectedExpandRowIndex] && data[selectedExpandRowIndex].rowMeta && delete data[selectedExpandRowIndex].rowMeta.new) ; loadTableData()" |
|
|
|
@input="showExpandModal = false; (data[selectedExpandRowIndex] && data[selectedExpandRowIndex].rowMeta && delete data[selectedExpandRowIndex].rowMeta.new) ; loadTableData()" |
|
|
|
@commented="reloadComments" |
|
|
|
@commented="reloadComments" |
|
|
|
@loadTableData="loadTableData" |
|
|
|
@loadTableData="loadTableData" |
|
|
|
|
|
|
|
@next="loadNext" |
|
|
|
|
|
|
|
@prev="loadPrev" |
|
|
|
/> |
|
|
|
/> |
|
|
|
</v-dialog> |
|
|
|
</v-dialog> |
|
|
|
|
|
|
|
|
|
|
@ -642,6 +645,12 @@ export default { |
|
|
|
...mapActions({ |
|
|
|
...mapActions({ |
|
|
|
loadTablesFromChildTreeNode: 'project/loadTablesFromChildTreeNode' |
|
|
|
loadTablesFromChildTreeNode: 'project/loadTablesFromChildTreeNode' |
|
|
|
}), |
|
|
|
}), |
|
|
|
|
|
|
|
loadNext() { |
|
|
|
|
|
|
|
this.selectedExpandRowIndex = ++this.selectedExpandRowIndex % this.data.length |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
loadPrev() { |
|
|
|
|
|
|
|
this.selectedExpandRowIndex = --this.selectedExpandRowIndex === -1 ? this.data.length - 1 : this.selectedExpandRowIndex |
|
|
|
|
|
|
|
}, |
|
|
|
checkAndDeleteTable() { |
|
|
|
checkAndDeleteTable() { |
|
|
|
if ( |
|
|
|
if ( |
|
|
|
!this.meta || ( |
|
|
|
!this.meta || ( |
|
|
@ -992,7 +1001,9 @@ export default { |
|
|
|
this.loadingData = false |
|
|
|
this.loadingData = false |
|
|
|
}, |
|
|
|
}, |
|
|
|
showRowContextMenu(e, row, rowMeta, index, colIndex, col) { |
|
|
|
showRowContextMenu(e, row, rowMeta, index, colIndex, col) { |
|
|
|
if (!this._isUIAllowed('table-grid-context-menu')) { return } |
|
|
|
if (!this._isUIAllowed('table-grid-context-menu')) { |
|
|
|
|
|
|
|
return |
|
|
|
|
|
|
|
} |
|
|
|
e.preventDefault() |
|
|
|
e.preventDefault() |
|
|
|
this.rowContextMenu = false |
|
|
|
this.rowContextMenu = false |
|
|
|
this.$nextTick(() => { |
|
|
|
this.$nextTick(() => { |
|
|
|