|
|
@ -24,6 +24,8 @@ const vModel = useVModel(props, 'modelValue', emit) |
|
|
|
|
|
|
|
|
|
|
|
const column = inject(ColumnInj) |
|
|
|
const column = inject(ColumnInj) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const filterQueryRef = ref() |
|
|
|
|
|
|
|
|
|
|
|
const { |
|
|
|
const { |
|
|
|
childrenExcludedList, |
|
|
|
childrenExcludedList, |
|
|
|
loadChildrenExcludedList, |
|
|
|
loadChildrenExcludedList, |
|
|
@ -141,6 +143,12 @@ useSelectedCellKeyupListener(vModel, (e: KeyboardEvent) => { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
break |
|
|
|
break |
|
|
|
|
|
|
|
default: { |
|
|
|
|
|
|
|
const el = filterQueryRef.value?.$el |
|
|
|
|
|
|
|
if (el) { |
|
|
|
|
|
|
|
filterQueryRef.value.$el.focus() |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
const activeRow = (vNode?: InstanceType<typeof Card>) => { |
|
|
|
const activeRow = (vNode?: InstanceType<typeof Card>) => { |
|
|
@ -159,6 +167,7 @@ const activeRow = (vNode?: InstanceType<typeof Card>) => { |
|
|
|
<div class="max-h-[max(calc(100vh_-_300px)_,500px)] flex flex-col py-6"> |
|
|
|
<div class="max-h-[max(calc(100vh_-_300px)_,500px)] flex flex-col py-6"> |
|
|
|
<div class="flex mb-4 items-center gap-2 px-12"> |
|
|
|
<div class="flex mb-4 items-center gap-2 px-12"> |
|
|
|
<a-input |
|
|
|
<a-input |
|
|
|
|
|
|
|
ref="filterQueryRef" |
|
|
|
v-model:value="childrenExcludedListPagination.query" |
|
|
|
v-model:value="childrenExcludedListPagination.query" |
|
|
|
:placeholder="$t('placeholder.filterQuery')" |
|
|
|
:placeholder="$t('placeholder.filterQuery')" |
|
|
|
class="max-w-[200px]" |
|
|
|
class="max-w-[200px]" |
|
|
|