This commit is contained in:
Inshal 2024-06-04 00:29:51 +05:00
parent fdb8717a53
commit 4ab49f47a4

View File

@ -39,10 +39,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
@ -73,7 +70,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