fixes
This commit is contained in:
parent
05ca36f24e
commit
db2ab34cc2
@ -42,16 +42,17 @@ onMounted(async () => {
|
||||
store.dispatch('updateIsLoading', true)
|
||||
await store.dispatch('patientList')
|
||||
// console.log('patientList',store.getters.getPatientList)
|
||||
patientList.value = store.getters.getPatientList
|
||||
// patientList.value = store.getters.getPatientList
|
||||
store.dispatch('updateIsLoading', false)
|
||||
|
||||
|
||||
});
|
||||
const getPatientList = computed(async () => {
|
||||
return patientList.value.map(history => ({
|
||||
patientList.value = store.getters.getPatientList.map(history => ({
|
||||
...history,
|
||||
dob: changeFormat(history.dob),
|
||||
}));
|
||||
// return patientList.value
|
||||
return patientList.value
|
||||
|
||||
});
|
||||
|
||||
onUnmounted(async () => {});
|
||||
@ -84,8 +85,9 @@ const headers = [
|
||||
key: 'email',
|
||||
},
|
||||
{
|
||||
title: 'Date Of Birth',
|
||||
key: 'dob',
|
||||
title: 'Date Of Birth'
|
||||
|
||||
},
|
||||
{
|
||||
title: 'Phone',
|
||||
|
Loading…
Reference in New Issue
Block a user