This commit is contained in:
Muhammad Shahzad 2024-06-04 00:49:57 +05:00
commit 98c3b2c797

View File

@ -40,10 +40,7 @@ const selectedOptions = [
const refVForm = ref(null) const refVForm = ref(null)
onBeforeMount(async () => {}); onBeforeMount(async () => {});
onMounted(async () => { onMounted(async () => {});
appointmentId.value = route.params.id;
console.log("appointmentId",appointmentId.value);
});
onUnmounted(async () => {}); onUnmounted(async () => {});
// headers // headers
@ -69,7 +66,7 @@ const getPatientMeetingList = computed(async () => {
patientMeetingList.value = []; patientMeetingList.value = [];
store.dispatch('updateIsLoading', true) store.dispatch('updateIsLoading', true)
await store.dispatch('patientMeetingList', { await store.dispatch('patientMeetingList', {
id: appointmentId.value id: route.params.id
}) })
console.log('patientMeetingList',store.getters.getPatientMeetingList) console.log('patientMeetingList',store.getters.getPatientMeetingList)
let list = store.getters.getPatientMeetingList let list = store.getters.getPatientMeetingList