fixes
This commit is contained in:
parent
a924bd603e
commit
6c9391da7b
@ -70,9 +70,10 @@ const downloadFile = (fileUrl) => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<VCard title="Notes">
|
||||
<VList class="pb-0" lines="two" v-if="notes.length > 0">
|
||||
<template v-for="(p_note, index) in notes" :key="index">
|
||||
<VListItem class="pb-0" border>
|
||||
<VListItem class="pb-0">
|
||||
<VListItemTitle>
|
||||
<span class="pb-0">{{ p_note.note }}</span>
|
||||
<span v-if="p_note.file_url" style="font-size: 12px;float: right;">
|
||||
@ -96,4 +97,5 @@ const downloadFile = (fileUrl) => {
|
||||
</VAlert>
|
||||
</VCard>
|
||||
</template>
|
||||
</VCard>
|
||||
</template>
|
||||
|
@ -104,7 +104,7 @@ onUnmounted(() => {});
|
||||
const historyDetail = (item, value) => {
|
||||
console.log('item',item.id ,value)
|
||||
if(value == 'notes')
|
||||
router.push('/admin/patient/meeting-details/' + route.params.id + '/' + item.id);
|
||||
router.push('/admin/patient/meeting/notes/' + route.params.id + '/' + item.id);
|
||||
if(value == 'prescription')
|
||||
router.push('/admin/patient/meeting/prescription/' + route.params.id + '/' + item.id);
|
||||
}
|
||||
|
@ -58,6 +58,11 @@ export const routes = [
|
||||
name: 'admin-patient-meeitng-prescription',
|
||||
component: () => import('@/pages/pages/patient-meetings/prescription.vue'),
|
||||
},
|
||||
{
|
||||
path: '/admin/patient/meeting/notes/:patient_id/:id',
|
||||
name: 'admin-patient-meeitng-notes',
|
||||
component: () => import('@/pages/pages/patient-meetings/notes.vue'),
|
||||
},
|
||||
{
|
||||
path: '/admin/providers',
|
||||
name: 'admin-providers',
|
||||
|
Loading…
Reference in New Issue
Block a user