|
|
@ -665,15 +665,13 @@ const onActiveCellChanged = () => { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const isOpen = ref(false) |
|
|
|
|
|
|
|
|
|
|
|
const isDeleteAllModalIsOpen = ref(false) |
|
|
|
const isDeleteAllModalIsOpen = ref(false) |
|
|
|
|
|
|
|
|
|
|
|
async function deleteAllRecords() { |
|
|
|
async function deleteAllRecords() { |
|
|
|
isDeleteAllModalIsOpen.value = true |
|
|
|
isDeleteAllModalIsOpen.value = true |
|
|
|
|
|
|
|
|
|
|
|
function closeDlg() { |
|
|
|
|
|
|
|
isOpen.value = false |
|
|
|
|
|
|
|
close(200) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const { close } = useDialog(resolveComponent('DlgRecordDeleteAll'), { |
|
|
|
const { close } = useDialog(resolveComponent('DlgRecordDeleteAll'), { |
|
|
|
'modelValue': isDeleteAllModalIsOpen, |
|
|
|
'modelValue': isDeleteAllModalIsOpen, |
|
|
|
'rows': totalRows.value, |
|
|
|
'rows': totalRows.value, |
|
|
@ -685,10 +683,14 @@ async function deleteAllRecords() { |
|
|
|
}, |
|
|
|
}, |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function closeDlg() { |
|
|
|
|
|
|
|
isOpen.value = false |
|
|
|
|
|
|
|
close(200) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
await until(isDeleteAllModalIsOpen).toBe(false) |
|
|
|
await until(isDeleteAllModalIsOpen).toBe(false) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const isOpen = ref(false) |
|
|
|
|
|
|
|
async function expandRows({ |
|
|
|
async function expandRows({ |
|
|
|
newRows, |
|
|
|
newRows, |
|
|
|
newColumns, |
|
|
|
newColumns, |
|
|
@ -1878,9 +1880,7 @@ watch(vSelectedAllRecords, (selectedAll) => { |
|
|
|
data-testid="nc-check-all" |
|
|
|
data-testid="nc-check-all" |
|
|
|
class="flex items-center pl-2 pr-1 w-full h-full justify-center" |
|
|
|
class="flex items-center pl-2 pr-1 w-full h-full justify-center" |
|
|
|
> |
|
|
|
> |
|
|
|
<div class="nc-no-label text-gray-500" :class="{ hidden: vSelectedAllRecords }"> |
|
|
|
<div class="nc-no-label text-gray-500" :class="{ hidden: vSelectedAllRecords }">#</div> |
|
|
|
# |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div |
|
|
|
<div |
|
|
|
:class="{ |
|
|
|
:class="{ |
|
|
|
hidden: !vSelectedAllRecords, |
|
|
|
hidden: !vSelectedAllRecords, |
|
|
|