From 7f0c6e6fed9eb4898f09e11fee22cfc1b06feaec Mon Sep 17 00:00:00 2001 From: riefive Date: Fri, 24 Oct 2025 14:52:54 +0700 Subject: [PATCH] fix: move patient view dialog under patient --- .../app/{sep => patient}/list-cfg.patient.ts | 2 +- .../app/{sep => patient}/list-patient.vue | 0 .../app/{sep => patient}/view-patient.vue | 2 +- .../app/sep/table-search-patient.vue | 140 ------------------ app/components/content/sep/entry.vue | 2 +- .../sep => pub/my-ui/data}/select-radio.vue | 0 6 files changed, 3 insertions(+), 143 deletions(-) rename app/components/app/{sep => patient}/list-cfg.patient.ts (88%) rename app/components/app/{sep => patient}/list-patient.vue (100%) rename app/components/app/{sep => patient}/view-patient.vue (98%) delete mode 100644 app/components/app/sep/table-search-patient.vue rename app/components/{app/sep => pub/my-ui/data}/select-radio.vue (100%) diff --git a/app/components/app/sep/list-cfg.patient.ts b/app/components/app/patient/list-cfg.patient.ts similarity index 88% rename from app/components/app/sep/list-cfg.patient.ts rename to app/components/app/patient/list-cfg.patient.ts index f75c81ac..3c77bfaa 100644 --- a/app/components/app/sep/list-cfg.patient.ts +++ b/app/components/app/patient/list-cfg.patient.ts @@ -1,7 +1,7 @@ import type { Config } from '~/components/pub/my-ui/data-table' import { defineAsyncComponent } from 'vue' -const SelectedRadio = defineAsyncComponent(() => import('./select-radio.vue')) +const SelectedRadio = defineAsyncComponent(() => import('~/components/pub/my-ui/data/select-radio.vue')) export interface PatientData { id: string diff --git a/app/components/app/sep/list-patient.vue b/app/components/app/patient/list-patient.vue similarity index 100% rename from app/components/app/sep/list-patient.vue rename to app/components/app/patient/list-patient.vue diff --git a/app/components/app/sep/view-patient.vue b/app/components/app/patient/view-patient.vue similarity index 98% rename from app/components/app/sep/view-patient.vue rename to app/components/app/patient/view-patient.vue index d2df3251..53d9f9ab 100644 --- a/app/components/app/sep/view-patient.vue +++ b/app/components/app/patient/view-patient.vue @@ -1,5 +1,5 @@ - - diff --git a/app/components/content/sep/entry.vue b/app/components/content/sep/entry.vue index 940e1cc7..c99bb472 100644 --- a/app/components/content/sep/entry.vue +++ b/app/components/content/sep/entry.vue @@ -4,7 +4,7 @@ import { useRoute } from 'vue-router' // Components import AppSepEntryForm from '~/components/app/sep/entry-form.vue' -import AppViewPatient from '~/components/app/sep/view-patient.vue' +import AppViewPatient from '~/components/app/patient/view-patient.vue' import AppViewHistory from '~/components/app/sep/view-history.vue' import { toast } from '~/components/pub/ui/toast' diff --git a/app/components/app/sep/select-radio.vue b/app/components/pub/my-ui/data/select-radio.vue similarity index 100% rename from app/components/app/sep/select-radio.vue rename to app/components/pub/my-ui/data/select-radio.vue