From 1824427b625177d3fd25805b14ce6810bd419a03 Mon Sep 17 00:00:00 2001 From: Abizrh Date: Thu, 28 Aug 2025 01:24:48 +0700 Subject: [PATCH] =?UTF-8?q?=E2=9A=A0=EF=B8=8F=20refactor=20(form):=20remov?= =?UTF-8?q?e=20unused=20components=20and=20logic=20from=20entry=20forms?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/app/doctor/entry-form.vue | 27 ------------ app/components/app/patient/entry-form.vue | 5 --- app/components/app/user/entry-form.vue | 5 --- app/components/flow/doctor/add.vue | 20 --------- app/components/flow/doctor/list.vue | 53 ----------------------- app/components/flow/patient/add.vue | 4 ++ app/components/flow/user/entry.vue | 5 +++ 7 files changed, 9 insertions(+), 110 deletions(-) delete mode 100644 app/components/flow/doctor/add.vue delete mode 100644 app/components/flow/doctor/list.vue diff --git a/app/components/app/doctor/entry-form.vue b/app/components/app/doctor/entry-form.vue index 2c7ecac2..5aec1ba3 100644 --- a/app/components/app/doctor/entry-form.vue +++ b/app/components/app/doctor/entry-form.vue @@ -3,7 +3,6 @@ import Block from '~/components/pub/custom-ui/form/block.vue' import FieldGroup from '~/components/pub/custom-ui/form/field-group.vue' import Field from '~/components/pub/custom-ui/form/field.vue' import Label from '~/components/pub/custom-ui/form/label.vue' -import Action from '~/components/pub/custom-ui/nav-footer/ba-dr-su.vue' const props = defineProps<{ modelValue: any }>() const emit = defineEmits(['update:modelValue', 'event']) @@ -12,19 +11,10 @@ const data = computed({ get: () => props.modelValue, set: (val) => emit('update:modelValue', val), }) - -function onClick(type: string) { - emit('event', type) -} diff --git a/app/components/app/patient/entry-form.vue b/app/components/app/patient/entry-form.vue index a9ab8c6b..bf0284ec 100644 --- a/app/components/app/patient/entry-form.vue +++ b/app/components/app/patient/entry-form.vue @@ -8,11 +8,6 @@ import Action from '~/components/pub/custom-ui/nav-footer/ba-dr-su.vue'