fixes
This commit is contained in:
@@ -122,9 +122,26 @@ const options = [
|
||||
},
|
||||
|
||||
]
|
||||
const breadcrums = [
|
||||
{
|
||||
title: 'Patient',
|
||||
disabled: false,
|
||||
to: '/admin/patients',
|
||||
},
|
||||
{
|
||||
title: 'Meetings',
|
||||
disabled: false,
|
||||
}
|
||||
|
||||
];
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<v-breadcrumbs :items="breadcrums" class="text-primary pt-0 pb-0 mb-5">
|
||||
<template v-slot:divider style="padding-top:0px; padding-bottom:0px">
|
||||
>
|
||||
</template>
|
||||
</v-breadcrumbs>
|
||||
<v-row>
|
||||
<v-col cols="12" md="12">
|
||||
<v-card title="Meetings">
|
||||
|
@@ -93,6 +93,11 @@ const headers = [
|
||||
title: 'Phone',
|
||||
key: 'phone_no',
|
||||
},
|
||||
|
||||
{
|
||||
title: 'Lab Kit',
|
||||
key: 'labkit',
|
||||
},
|
||||
|
||||
|
||||
|
||||
@@ -208,6 +213,9 @@ function changeFormat(dateFormat) {
|
||||
console.log("formattedDate",formattedDate)
|
||||
return formattedDate;
|
||||
}
|
||||
const LabKit = (item)=> {
|
||||
router.push('/admin/patients/labkit/'+item.id);
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
@@ -272,6 +280,8 @@ function changeFormat(dateFormat) {
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
|
||||
<!-- status -->
|
||||
<template #item.status="{ item }">
|
||||
<VChip
|
||||
@@ -281,6 +291,9 @@ function changeFormat(dateFormat) {
|
||||
{{ resolveStatusVariant(item.status).text }}
|
||||
</VChip>
|
||||
</template>
|
||||
<template #item.labkit="{ item }">
|
||||
<div class="text-primary cursor-pointer" @click="LabKit(item)"> LabKits</div>
|
||||
</template>
|
||||
|
||||
<!-- Actions -->
|
||||
<template #item.actions="{ item }">
|
||||
|
Reference in New Issue
Block a user