|
|
@ -107,8 +107,17 @@ watch(expandedFormDlg, (nexVal) => { |
|
|
|
useSelectedCellKeyupListener(vModel, (e: KeyboardEvent) => { |
|
|
|
useSelectedCellKeyupListener(vModel, (e: KeyboardEvent) => { |
|
|
|
switch (e.key) { |
|
|
|
switch (e.key) { |
|
|
|
case 'ArrowLeft': |
|
|
|
case 'ArrowLeft': |
|
|
|
|
|
|
|
e.stopPropagation() |
|
|
|
|
|
|
|
if (childrenExcludedListPagination.page > 1) childrenExcludedListPagination.page-- |
|
|
|
|
|
|
|
break |
|
|
|
case 'ArrowRight': |
|
|
|
case 'ArrowRight': |
|
|
|
e.stopPropagation() |
|
|
|
e.stopPropagation() |
|
|
|
|
|
|
|
if ( |
|
|
|
|
|
|
|
childrenExcludedList.value?.pageInfo && |
|
|
|
|
|
|
|
childrenExcludedListPagination.page < |
|
|
|
|
|
|
|
(childrenExcludedList.value.pageInfo.totalRows || 1) / childrenExcludedListPagination.size |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
childrenExcludedListPagination.page++ |
|
|
|
break |
|
|
|
break |
|
|
|
case 'ArrowUp': |
|
|
|
case 'ArrowUp': |
|
|
|
selectedRowIndex.value = Math.max(0, selectedRowIndex.value - 1) |
|
|
|
selectedRowIndex.value = Math.max(0, selectedRowIndex.value - 1) |
|
|
|