fixes
This commit is contained in:
parent
db2ab34cc2
commit
aa2a018004
@ -1,5 +1,6 @@
|
|||||||
export const GET_BASE_PATH = ""
|
export const GET_BASE_PATH = ""
|
||||||
let MAIN_DOMAIN = "http://127.0.0.1:8000";
|
// let MAIN_DOMAIN = "http://127.0.0.1:8000";
|
||||||
|
let MAIN_DOMAIN = "http://telemedpro.test";
|
||||||
export const ADMIN_LOGIN_API = MAIN_DOMAIN + "/api/admin/login"
|
export const ADMIN_LOGIN_API = MAIN_DOMAIN + "/api/admin/login"
|
||||||
|
|
||||||
export const PATIENT_LIST_API = MAIN_DOMAIN + "/api/admin/patient-list"
|
export const PATIENT_LIST_API = MAIN_DOMAIN + "/api/admin/patient-list"
|
||||||
|
@ -15,38 +15,50 @@ import { useStore } from 'vuex'
|
|||||||
const store = useStore()
|
const store = useStore()
|
||||||
const cardStatisticsWithImages = [
|
const cardStatisticsWithImages = [
|
||||||
{
|
{
|
||||||
title: 'Ratings',
|
title: 'Meetings',
|
||||||
subtitle: 'Year of 2021',
|
subtitle: 'Year of 2021',
|
||||||
stats: '13k',
|
stats: '13k',
|
||||||
change: 15.6,
|
change: 15.6,
|
||||||
image: illustration1,
|
// image: illustration1,
|
||||||
color: 'primary',
|
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',
|
subtitle: 'Last Week',
|
||||||
stats: '24.5k',
|
stats: '24.5k',
|
||||||
change: -20,
|
change: -20,
|
||||||
image: illustration2,
|
// image: illustration2,
|
||||||
color: 'secondary',
|
color: 'secondary',
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
const statistic = {
|
// const statistic = {
|
||||||
title: 'New Project',
|
// title: 'New Project',
|
||||||
color: 'primary',
|
// color: 'primary',
|
||||||
icon: 'ri-file-word-2-line',
|
// icon: 'ri-file-word-2-line',
|
||||||
stats: '862',
|
// stats: '862',
|
||||||
change: -18,
|
// change: -18,
|
||||||
subtitle: 'Yearly Project',
|
// subtitle: 'Yearly Project'
|
||||||
}
|
// }
|
||||||
onMounted(() => {
|
// onMounted(() => {
|
||||||
store.dispatch('updateIsLoading', false)
|
// store.dispatch('updateIsLoading', false)
|
||||||
|
// })
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
})
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
@ -62,36 +74,14 @@ onMounted(() => {
|
|||||||
>
|
>
|
||||||
<CardStatisticsWithImages v-bind="statistics" />
|
<CardStatisticsWithImages v-bind="statistics" />
|
||||||
</VCol>
|
</VCol>
|
||||||
|
|
||||||
<VCol
|
<VCol
|
||||||
cols="12"
|
cols="12"
|
||||||
md="6"
|
sm="8"
|
||||||
|
md="12"
|
||||||
>
|
>
|
||||||
<CrmTransactions />
|
<CrmWeeklySales />
|
||||||
</VCol>
|
</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 />
|
|
||||||
</VCol>
|
|
||||||
|
|
||||||
<VCol
|
<VCol
|
||||||
cols="12"
|
cols="12"
|
||||||
@ -99,57 +89,12 @@ onMounted(() => {
|
|||||||
>
|
>
|
||||||
<CrmActivityTimeline />
|
<CrmActivityTimeline />
|
||||||
</VCol>
|
</VCol>
|
||||||
|
|
||||||
<VCol
|
<VCol
|
||||||
cols="12"
|
cols="12"
|
||||||
sm="8"
|
md="6"
|
||||||
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"
|
|
||||||
>
|
>
|
||||||
<CrmMeetingSchedule />
|
<CrmMeetingSchedule />
|
||||||
</VCol>
|
</VCol>
|
||||||
|
|
||||||
<VCol
|
|
||||||
cols="12"
|
|
||||||
md="4"
|
|
||||||
>
|
|
||||||
<CrmDeveloperMeetup />
|
|
||||||
</VCol>
|
|
||||||
</VRow>
|
</VRow>
|
||||||
</section>
|
</section>
|
||||||
</template>
|
</template>
|
||||||
|
@ -91,12 +91,14 @@ const getPatientMeetingList = async () => {
|
|||||||
end_time: changeDateFormat(history.end_time),
|
end_time: changeDateFormat(history.end_time),
|
||||||
duration: totalCallDuration(history.start_time, history.end_time),
|
duration: totalCallDuration(history.start_time, history.end_time),
|
||||||
}));
|
}));
|
||||||
|
console.log(list);
|
||||||
};
|
};
|
||||||
|
|
||||||
// Lifecycle hooks
|
// Lifecycle hooks
|
||||||
onBeforeMount(() => {});
|
onBeforeMount(() => {});
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
await getPatientMeetingList();
|
await getPatientMeetingList();
|
||||||
|
|
||||||
});
|
});
|
||||||
onUnmounted(() => {});
|
onUnmounted(() => {});
|
||||||
const historyDetail = (item) => {
|
const historyDetail = (item) => {
|
||||||
|
@ -4,7 +4,7 @@ import pdf from '@images/icons/project-icons/pdf.png'
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<VCard title="Activity Timeline">
|
<VCard title="Activity">
|
||||||
<VCardText>
|
<VCardText>
|
||||||
<VTimeline
|
<VTimeline
|
||||||
side="end"
|
side="end"
|
||||||
|
Loading…
Reference in New Issue
Block a user