From 302bcb3e2a473bb14273d05864d5b10e7e3ac89f Mon Sep 17 00:00:00 2001 From: Abizrh Date: Sun, 7 Sep 2025 20:09:31 +0700 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat=20(medicine):=20implement=20me?= =?UTF-8?q?dicine=20entry=20form=20and=20list?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/app/medicine/entry-form.vue | 58 ++++++-------- app/components/app/medicine/list-cfg.ts | 91 ++++++---------------- app/components/flow/medicine/entry.vue | 13 +++- app/components/flow/medicine/list.vue | 68 ++-------------- app/pages/_dev/index.vue | 10 +++ 5 files changed, 71 insertions(+), 169 deletions(-) diff --git a/app/components/app/medicine/entry-form.vue b/app/components/app/medicine/entry-form.vue index 5aec1ba3..5d3c495d 100644 --- a/app/components/app/medicine/entry-form.vue +++ b/app/components/app/medicine/entry-form.vue @@ -11,76 +11,66 @@ const data = computed({ get: () => props.modelValue, set: (val) => emit('update:modelValue', val), }) + +const items = [ + { value: '1', label: 'item 1' }, + { value: '2', label: 'item 2' }, + { value: '3', label: 'item 3' }, + { value: '4', label: 'item 4' }, +]