|
|
@ -87,7 +87,6 @@ const { |
|
|
|
deleteRow, |
|
|
|
deleteRow, |
|
|
|
deleteSelectedRows, |
|
|
|
deleteSelectedRows, |
|
|
|
selectedAllRecords, |
|
|
|
selectedAllRecords, |
|
|
|
loadAggCommentsCount, |
|
|
|
|
|
|
|
removeLastEmptyRow, |
|
|
|
removeLastEmptyRow, |
|
|
|
} = useViewData(meta, view as any, xWhere) |
|
|
|
} = useViewData(meta, view as any, xWhere) |
|
|
|
|
|
|
|
|
|
|
@ -106,7 +105,6 @@ provide(ReadonlyInj, !isUIAllowed('xcDatatableEditable')) |
|
|
|
|
|
|
|
|
|
|
|
reloadViewDataHook?.on(async () => { |
|
|
|
reloadViewDataHook?.on(async () => { |
|
|
|
await loadData() |
|
|
|
await loadData() |
|
|
|
loadAggCommentsCount() |
|
|
|
|
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
const expandForm = (row: Row, state?: Record<string, any>) => { |
|
|
|
const expandForm = (row: Row, state?: Record<string, any>) => { |
|
|
@ -128,7 +126,7 @@ const selectCell = (row: number, col: number) => { |
|
|
|
watch( |
|
|
|
watch( |
|
|
|
() => (view?.value as any)?.id, |
|
|
|
() => (view?.value as any)?.id, |
|
|
|
async (n?: string, o?: string) => { |
|
|
|
async (n?: string, o?: string) => { |
|
|
|
if (n && n !== o) { |
|
|
|
if (n && o && n !== o) { |
|
|
|
await loadData() |
|
|
|
await loadData() |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|