feat(subspecialist): finishing integrate specialist

This commit is contained in:
riefive
2025-09-30 14:57:32 +07:00
parent e62d84b812
commit 7aeb99db89
11 changed files with 704 additions and 377 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ export const funcParsed: RecStrFuncUnknown = {
},
unit: (rec: unknown): unknown => {
const recX = rec as SmallDetailDto
return `${recX.unit_id}`
return recX.unit_id || '-'
},
}
+8 -3
View File
@@ -22,10 +22,15 @@ function handlePageChange(page: number) {
<template>
<div class="space-y-4">
<PubBaseDataTable
:rows="data" :cols="cols" :header="header" :keys="keys" :func-parsed="funcParsed"
:func-html="funcHtml" :func-component="funcComponent" :skeleton-size="paginationMeta?.pageSize"
:rows="data"
:cols="cols"
:header="header"
:keys="keys"
:func-parsed="funcParsed"
:func-html="funcHtml"
:func-component="funcComponent"
:skeleton-size="paginationMeta?.pageSize"
/>
<PaginationView :pagination-meta="paginationMeta" @page-change="handlePageChange" />
</div>
</template>