fixes
This commit is contained in:
@@ -15,38 +15,50 @@ import { useStore } from 'vuex'
|
||||
const store = useStore()
|
||||
const cardStatisticsWithImages = [
|
||||
{
|
||||
title: 'Ratings',
|
||||
title: 'Meetings',
|
||||
subtitle: 'Year of 2021',
|
||||
stats: '13k',
|
||||
change: 15.6,
|
||||
image: illustration1,
|
||||
// image: illustration1,
|
||||
color: 'primary',
|
||||
},
|
||||
{
|
||||
title: 'Sessions',
|
||||
title: 'Orders',
|
||||
subtitle: 'Year of 2021',
|
||||
stats: '13k',
|
||||
change: 15.6,
|
||||
// image: illustration1,
|
||||
color: 'primary',
|
||||
},
|
||||
{
|
||||
title: 'Patients',
|
||||
subtitle: 'Year of 2021',
|
||||
stats: '13k',
|
||||
change: 15.6,
|
||||
// image: illustration1,
|
||||
color: 'primary',
|
||||
},
|
||||
{
|
||||
title: 'Providers',
|
||||
subtitle: 'Last Week',
|
||||
stats: '24.5k',
|
||||
change: -20,
|
||||
image: illustration2,
|
||||
// image: illustration2,
|
||||
color: 'secondary',
|
||||
},
|
||||
]
|
||||
|
||||
const statistic = {
|
||||
title: 'New Project',
|
||||
color: 'primary',
|
||||
icon: 'ri-file-word-2-line',
|
||||
stats: '862',
|
||||
change: -18,
|
||||
subtitle: 'Yearly Project',
|
||||
}
|
||||
onMounted(() => {
|
||||
store.dispatch('updateIsLoading', false)
|
||||
|
||||
|
||||
|
||||
|
||||
})
|
||||
// const statistic = {
|
||||
// title: 'New Project',
|
||||
// color: 'primary',
|
||||
// icon: 'ri-file-word-2-line',
|
||||
// stats: '862',
|
||||
// change: -18,
|
||||
// subtitle: 'Yearly Project'
|
||||
// }
|
||||
// onMounted(() => {
|
||||
// store.dispatch('updateIsLoading', false)
|
||||
// })
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -62,36 +74,14 @@ onMounted(() => {
|
||||
>
|
||||
<CardStatisticsWithImages v-bind="statistics" />
|
||||
</VCol>
|
||||
|
||||
<VCol
|
||||
cols="12"
|
||||
md="6"
|
||||
sm="8"
|
||||
md="12"
|
||||
>
|
||||
<CrmTransactions />
|
||||
</VCol>
|
||||
|
||||
<VCol
|
||||
cols="12"
|
||||
sm="6"
|
||||
md="3"
|
||||
>
|
||||
<CrmTotalSales />
|
||||
</VCol>
|
||||
|
||||
<VCol
|
||||
cols="12"
|
||||
sm="6"
|
||||
md="3"
|
||||
>
|
||||
<CrmRevenueReport />
|
||||
</VCol>
|
||||
|
||||
<VCol
|
||||
cols="12"
|
||||
md="6"
|
||||
>
|
||||
<CrmSalesOverview />
|
||||
<CrmWeeklySales />
|
||||
</VCol>
|
||||
|
||||
|
||||
<VCol
|
||||
cols="12"
|
||||
@@ -99,57 +89,12 @@ onMounted(() => {
|
||||
>
|
||||
<CrmActivityTimeline />
|
||||
</VCol>
|
||||
|
||||
<VCol
|
||||
cols="12"
|
||||
sm="8"
|
||||
md="4"
|
||||
>
|
||||
<CrmWeeklySales />
|
||||
</VCol>
|
||||
|
||||
<VCol
|
||||
cols="12"
|
||||
md="2"
|
||||
sm="4"
|
||||
>
|
||||
<VRow class="match-height">
|
||||
<VCol
|
||||
cols="6"
|
||||
sm="12"
|
||||
>
|
||||
<CrmTotalGrowthCharts />
|
||||
</VCol>
|
||||
|
||||
<VCol
|
||||
cols="6"
|
||||
sm="12"
|
||||
>
|
||||
<CardStatisticsVertical v-bind="statistic" />
|
||||
</VCol>
|
||||
</VRow>
|
||||
</VCol>
|
||||
|
||||
<VCol
|
||||
cols="12"
|
||||
md="4"
|
||||
>
|
||||
<CrmUpgradeYourPlan />
|
||||
</VCol>
|
||||
|
||||
<VCol
|
||||
cols="12"
|
||||
md="4"
|
||||
md="6"
|
||||
>
|
||||
<CrmMeetingSchedule />
|
||||
</VCol>
|
||||
|
||||
<VCol
|
||||
cols="12"
|
||||
md="4"
|
||||
>
|
||||
<CrmDeveloperMeetup />
|
||||
</VCol>
|
||||
</VRow>
|
||||
</section>
|
||||
</template>
|
||||
|
@@ -91,12 +91,14 @@ const getPatientMeetingList = async () => {
|
||||
end_time: changeDateFormat(history.end_time),
|
||||
duration: totalCallDuration(history.start_time, history.end_time),
|
||||
}));
|
||||
console.log(list);
|
||||
};
|
||||
|
||||
// Lifecycle hooks
|
||||
onBeforeMount(() => {});
|
||||
onMounted(async () => {
|
||||
await getPatientMeetingList();
|
||||
|
||||
});
|
||||
onUnmounted(() => {});
|
||||
const historyDetail = (item) => {
|
||||
|
Reference in New Issue
Block a user