diff --git a/resources/js/pages/patients/PatientLabTest.vue b/resources/js/pages/patients/PatientLabTest.vue index 7c847ab..21afce9 100644 --- a/resources/js/pages/patients/PatientLabTest.vue +++ b/resources/js/pages/patients/PatientLabTest.vue @@ -27,7 +27,7 @@ const defaultItem = ref({ const editedItem = ref({ ...defaultItem.value }); const editedIndex = ref(-1); -const patientMeetingList = ref([]); +const patientLabList = ref([]); const isLoading = ref(false); // Status options @@ -70,21 +70,21 @@ const formatDate = (date) => { return `${formattedDate} `; }; // Fetch and process the patient meeting list -const getPatientMeetingList = async () => { +const getPatientLabList = async () => { //store.dispatch('updateIsLoading', true); //await store.dispatch('patientMeetingList', { id: route.params.id }); // store.dispatch('updateIsLoading', false); let list = props.userData.labkit; - patientMeetingList.value = list + patientLabList.value = list console.log(list); }; // Lifecycle hooks onBeforeMount(() => {}); onMounted(async () => { - await getPatientMeetingList(); + await getPatientLabList(); }); onUnmounted(() => {}); @@ -130,7 +130,7 @@ const getStatusColor = (status) => {