fix
This commit is contained in:
parent
3f33811956
commit
6629ad584d
@ -64,10 +64,10 @@ const headers = [
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
title: 'ACTIONS',
|
||||
key: 'actions',
|
||||
},
|
||||
// {
|
||||
// title: 'ACTIONS',
|
||||
// key: 'actions',
|
||||
// },
|
||||
]
|
||||
|
||||
const resolveStatusVariant = status => {
|
||||
@ -187,8 +187,8 @@ onMounted(() => {
|
||||
<VCardText >
|
||||
<VRow>
|
||||
|
||||
<VCol cols="12" md="8" class="d-flex align-center">
|
||||
<VBtn color="primary" prepend-icon="ri-add-line" @click="addDialog = true">
|
||||
<VCol cols="12" md="8" class="d-flex align-center" >
|
||||
<VBtn color="primary" prepend-icon="ri-add-line" @click="addDialog = true" style="display: none;">
|
||||
New Lab Kit
|
||||
</VBtn>
|
||||
</VCol>
|
||||
|
@ -42,12 +42,12 @@ const refVForm = ref(null);
|
||||
// Headers
|
||||
const headers = [
|
||||
// { title: 'Appointment Id', key: 'id' },
|
||||
{ title: 'Patient', key: 'patient_name' },
|
||||
// { key: 'appointment_date', sortable: false, title: 'Date' },
|
||||
{ key: 'start_time', title: 'Start Time' },
|
||||
{ key: 'end_time', title: 'End Time' },
|
||||
{ key: 'duration', title: 'Duration' },
|
||||
{ title: 'ACTIONS', key: 'actions' },
|
||||
{ title: 'Provider', key: 'provider_name' },
|
||||
{ key: 'appointment_date', sortable: false, title: 'Date' },
|
||||
//{ key: 'start_time', title: 'Start Time' },
|
||||
// { key: 'end_time', title: 'End Time' },
|
||||
//{ key: 'duration', title: 'Duration' },
|
||||
//{ title: 'ACTIONS', key: 'actions' },
|
||||
];
|
||||
|
||||
|
||||
@ -93,7 +93,7 @@ const getPatientMeetingList = async () => {
|
||||
|
||||
patientMeetingList.value = list.map(history => ({
|
||||
...history,
|
||||
appointment_date: formatDate(history.appointment_date),
|
||||
appointment_date: formatDate(history.appointment_date+' '+history.appointment_time),
|
||||
start_time: formatDate(history.start_time),
|
||||
end_time: formatDate(history.end_time),
|
||||
duration: totalCallDuration(history.start_time, history.end_time),
|
||||
|
@ -62,6 +62,11 @@ const resolveUserRoleVariant = role => {
|
||||
icon: 'ri-user-line',
|
||||
}
|
||||
}
|
||||
const firstThreeLines = computed(() => {
|
||||
const lines = props.userData.plans.list_two_title.split(',')
|
||||
return lines.slice(0, 3)
|
||||
})
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@ -137,31 +142,8 @@ const resolveUserRoleVariant = role => {
|
||||
<span class="font-weight-medium">
|
||||
Address:
|
||||
</span>
|
||||
<span class="text-body-1">{{ props.userData.patient.address }}</span>
|
||||
</VListItemTitle>
|
||||
</VListItem>
|
||||
<VListItem>
|
||||
<VListItemTitle class="text-sm">
|
||||
<span class="font-weight-medium">
|
||||
City:
|
||||
</span>
|
||||
<span class="text-body-1">{{ props.userData.patient.city }}</span>
|
||||
</VListItemTitle>
|
||||
</VListItem>
|
||||
<VListItem>
|
||||
<VListItemTitle class="text-sm">
|
||||
<span class="font-weight-medium">
|
||||
State:
|
||||
</span>
|
||||
<span class="text-body-1">{{ props.userData.patient.state }}</span>
|
||||
</VListItemTitle>
|
||||
</VListItem>
|
||||
<VListItem>
|
||||
<VListItemTitle class="text-sm">
|
||||
<span class="font-weight-medium">
|
||||
Zip:
|
||||
</span>
|
||||
<span class="text-body-1">{{ props.userData.patient.zip_code }}</span>
|
||||
<span class="text-body-1">{{ props.userData.patient.address }}
|
||||
<br/> {{ props.userData.patient.city }},{{ props.userData.patient.state }} {{ props.userData.patient.zip_code }}</span>
|
||||
</VListItemTitle>
|
||||
</VListItem>
|
||||
|
||||
@ -170,6 +152,8 @@ const resolveUserRoleVariant = role => {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<VListItem>
|
||||
<VListItemTitle class="text-sm">
|
||||
<span class="font-weight-medium">
|
||||
@ -275,7 +259,10 @@ const resolveUserRoleVariant = role => {
|
||||
icon="ri-circle-fill"
|
||||
/>
|
||||
<div class="text-medium-emphasis">
|
||||
{{ props.userData.plans.list_two_title }}
|
||||
<span v-for="(line, index) in firstThreeLines" :key="index">
|
||||
{{ line }}
|
||||
<br v-if="index !== firstThreeLines.length - 1" />
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</VListItem>
|
||||
|
@ -131,36 +131,16 @@ const resolveUserRoleVariant = role => {
|
||||
<span class="font-weight-medium">
|
||||
Address:
|
||||
</span>
|
||||
<span class="text-body-1">{{ props.userData.telemed.home_address }}</span>
|
||||
</VListItemTitle>
|
||||
</VListItem>
|
||||
<VListItem>
|
||||
<VListItemTitle class="text-sm">
|
||||
<span class="font-weight-medium">
|
||||
City:
|
||||
</span>
|
||||
<span class="text-body-1">{{ props.userData.telemed.city }}</span>
|
||||
</VListItemTitle>
|
||||
</VListItem>
|
||||
<VListItem>
|
||||
<VListItemTitle class="text-sm">
|
||||
<span class="font-weight-medium">
|
||||
State:
|
||||
</span>
|
||||
<span class="text-body-1">{{ props.userData.telemed.state }}</span>
|
||||
</VListItemTitle>
|
||||
</VListItem>
|
||||
<VListItem>
|
||||
<VListItemTitle class="text-sm">
|
||||
<span class="font-weight-medium">
|
||||
Zip:
|
||||
</span>
|
||||
<span class="text-body-1">{{ props.userData.telemed.zip_code }}</span>
|
||||
<span class="text-body-1">{{ props.userData.telemed.home_address }}
|
||||
<br/> {{ props.userData.telemed.city }},{{ props.userData.telemed.state }} {{ props.userData.telemed.zip_code }}</span>
|
||||
</VListItemTitle>
|
||||
</VListItem>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<VListItem>
|
||||
<VListItemTitle class="text-sm">
|
||||
<span class="font-weight-medium">
|
||||
|
Loading…
Reference in New Issue
Block a user