feat/consultation-82: adjustment to refactor

This commit is contained in:
2025-10-05 11:13:40 +07:00
parent ff97245c8c
commit e82cfb1ab3
5 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
<script setup lang="ts">
// Components
import * as DE from '~/components/pub/custom-ui/doc-entry'
import * as DE from '~/components/pub/my-ui/doc-entry'
// Types
import type { ConsultationFormData } from '~/schemas/consultation.schema.ts'
+2 -2
View File
@@ -5,12 +5,12 @@ import type {
RecStrFuncComponent,
RecStrFuncUnknown,
Th,
} from '~/components/pub/custom-ui/data/types'
} from '~/components/pub/my-ui/data/types'
import { defineAsyncComponent } from 'vue'
type SmallDetailDto = any
const action = defineAsyncComponent(() => import('~/components/pub/custom-ui/data/dropdown-action-ud.vue'))
const action = defineAsyncComponent(() => import('~/components/pub/my-ui/data/dropdown-action-ud.vue'))
export const cols: Col[] = [{ width: 100 }, {}, {}, {}, { width: 50 }]
+2 -2
View File
@@ -1,6 +1,6 @@
<script setup lang="ts">
import type { PaginationMeta } from '~/components/pub/custom-ui/pagination/pagination.type'
import PaginationView from '~/components/pub/custom-ui/pagination/pagination-view.vue'
import type { PaginationMeta } from '~/components/pub/my-ui/pagination/pagination.type'
import PaginationView from '~/components/pub/my-ui/pagination/pagination-view.vue'
import { cols, funcComponent, funcHtml, header, keys } from './list'
interface Props {
+4 -4
View File
@@ -1,8 +1,8 @@
<script setup lang="ts">
// Components
import Dialog from '~/components/pub/base/modal/dialog.vue'
import Header from '~/components/pub/custom-ui/nav-header/prep.vue'
import RecordConfirmation from '~/components/pub/custom-ui/confirmation/record-confirmation.vue'
import Dialog from '~/components/pub/my-ui/modal/dialog.vue'
import Header from '~/components/pub/my-ui/nav-header/prep.vue'
import RecordConfirmation from '~/components/pub/my-ui/confirmation/record-confirmation.vue'
import List from '~/components/app/consultation/list.vue'
import Entry from '~/components/app/consultation/entry.vue'
@@ -11,7 +11,7 @@ import { usePaginatedList } from '~/composables/usePaginatedList'
import { toast } from '~/components/pub/ui/toast'
// Types
import { ActionEvents, type HeaderPrep } from '~/components/pub/custom-ui/data/types'
import { ActionEvents, type HeaderPrep } from '~/components/pub/my-ui/data/types'
import { ConsultationSchema, type ConsultationFormData } from '~/schemas/consultation.schema'
import type { Unit } from '~/models/unit'
+1 -1
View File
@@ -1,6 +1,6 @@
<script setup lang="ts">
// import type { PagePermission } from '~/models/role'
import Error from '~/components/pub/base/error/error.vue'
import Error from '~/components/pub/my-ui/error/error.vue'
import List from '~/components/content/consultation/list.vue'
// import { PAGE_PERMISSIONS } from '~/lib/page-permission'