From 5b61024dc5bbe5ad218743406e2a136ef3d0b84b Mon Sep 17 00:00:00 2001 From: "nasir@endelospay.com" Date: Wed, 12 Jun 2024 03:57:31 +0500 Subject: [PATCH] fix --- .../js/pages/patients/PatientBioPanel.vue | 2 +- .../js/pages/patients/PatientLabTest.vue | 212 ++++++++++++++++++ .../js/pages/patients/patient-profile.vue | 9 + resources/js/plugins/i18n/locales/en.json | 1 + typed-router.d.ts | 1 + 5 files changed, 224 insertions(+), 1 deletion(-) create mode 100644 resources/js/pages/patients/PatientLabTest.vue diff --git a/resources/js/pages/patients/PatientBioPanel.vue b/resources/js/pages/patients/PatientBioPanel.vue index c5c83e4..09dbd7a 100644 --- a/resources/js/pages/patients/PatientBioPanel.vue +++ b/resources/js/pages/patients/PatientBioPanel.vue @@ -1,6 +1,6 @@ + + diff --git a/resources/js/pages/patients/patient-profile.vue b/resources/js/pages/patients/patient-profile.vue index 1e2e63d..38f017e 100644 --- a/resources/js/pages/patients/patient-profile.vue +++ b/resources/js/pages/patients/patient-profile.vue @@ -2,6 +2,7 @@ import NotesPanel from '@/pages/patients/NotesPanel.vue' import PatienTabOverview from '@/pages/patients/PatienTabOverview.vue' import PatientBioPanel from '@/pages/patients/PatientBioPanel.vue' +import PatientLabTest from '@/pages/patients/PatientLabTest.vue' import PatientQuestionProfile from '@/pages/patients/PatientQuestionProfile.vue' import PrescriptionPanel from '@/pages/patients/PrescriptionPanel.vue' @@ -24,6 +25,10 @@ const tabs = [ { icon: 'ri-bookmark-line', title: 'Prescriptions', + }, + { + icon: 'ri-flask-line', + title: 'Lab Test', }, { icon: 'ri-survey-line', @@ -98,6 +103,10 @@ onMounted(async () => { + + + + diff --git a/resources/js/plugins/i18n/locales/en.json b/resources/js/plugins/i18n/locales/en.json index 520f082..60150a7 100644 --- a/resources/js/plugins/i18n/locales/en.json +++ b/resources/js/plugins/i18n/locales/en.json @@ -159,6 +159,7 @@ "Patients": "Patients", "Lab Kites": "Lab Kites", "Providers": "Providers", + "Prodcuts": "Prodcuts", "Labs": "Labs", "Medicines": "Medicines", "Profile": "Profile", diff --git a/typed-router.d.ts b/typed-router.d.ts index d5af2c5..a49d5dc 100644 --- a/typed-router.d.ts +++ b/typed-router.d.ts @@ -161,6 +161,7 @@ declare module 'vue-router/auto/routes' { 'patients-patient-profile': RouteRecordInfo<'patients-patient-profile', '/patients/patient-profile', Record, Record>, 'patients-patien-tab-overview': RouteRecordInfo<'patients-patien-tab-overview', '/patients/PatienTabOverview', Record, Record>, 'patients-patient-bio-panel': RouteRecordInfo<'patients-patient-bio-panel', '/patients/PatientBioPanel', Record, Record>, + 'patients-patient-lab-test': RouteRecordInfo<'patients-patient-lab-test', '/patients/PatientLabTest', Record, Record>, 'patients-patient-question-profile': RouteRecordInfo<'patients-patient-question-profile', '/patients/PatientQuestionProfile', Record, Record>, 'patients-patients': RouteRecordInfo<'patients-patients', '/patients/patients', Record, Record>, 'patients-prescription-panel': RouteRecordInfo<'patients-prescription-panel', '/patients/PrescriptionPanel', Record, Record>,