feat: restructure list

This commit is contained in:
riefive
2025-09-30 12:39:48 +07:00
parent 9e4133b976
commit f58c9f537b
16 changed files with 157 additions and 204 deletions
@@ -15,7 +15,6 @@ import { useForm } from 'vee-validate'
interface Props {
schema: z.ZodSchema<any>
uoms: any[]
values: any
isLoading?: boolean
isReadonly?: boolean
@@ -72,7 +71,7 @@ function onCancelForm() {
</script>
<template>
<form id="form-tools" @submit.prevent>
<form id="form-division" @submit.prevent>
<Block labelSize="thin" class="!mb-2.5 !pt-0 xl:!mb-3" :colCount="1">
<Cell>
<Label height="compact">Kode</Label>
@@ -48,8 +48,4 @@ export const funcComponent: RecStrFuncComponent = {
},
}
export const funcHtml: RecStrFuncUnknown = {
patient_address(_rec) {
return '-'
},
}
export const funcHtml: RecStrFuncUnknown = {}
+1 -10
View File
@@ -10,11 +10,6 @@ import { defineAsyncComponent } from 'vue'
const action = defineAsyncComponent(() => import('~/components/pub/custom-ui/data/dropdown-action-dud.vue'))
const _doctorStatus = {
0: 'Tidak Aktif',
1: 'Aktif',
}
export const cols: Col[] = [{}, {}, { width: 50 }]
export const header: Th[][] = [[{ label: 'Kode' }, { label: 'Nama' }, { label: 'Aksi' }]]
@@ -39,8 +34,4 @@ export const funcComponent: RecStrFuncComponent = {
},
}
export const funcHtml: RecStrFuncUnknown = {
patient_address(_rec) {
return '-'
},
}
export const funcHtml: RecStrFuncUnknown = {}
+1 -10
View File
@@ -10,11 +10,6 @@ import { defineAsyncComponent } from 'vue'
const action = defineAsyncComponent(() => import('~/components/pub/custom-ui/data/dropdown-action-dud.vue'))
const _doctorStatus = {
0: 'Tidak Aktif',
1: 'Aktif',
}
export const cols: Col[] = [{}, {}, { width: 50 }]
export const header: Th[][] = [[{ label: 'Kode' }, { label: 'Nama' }, { label: 'Aksi' }]]
@@ -39,8 +34,4 @@ export const funcComponent: RecStrFuncComponent = {
},
}
export const funcHtml: RecStrFuncUnknown = {
patient_address(_rec) {
return '-'
},
}
export const funcHtml: RecStrFuncUnknown = {}