diff --git a/resources/js/constants.js b/resources/js/constants.js index 0d34c31..6c99cdc 100644 --- a/resources/js/constants.js +++ b/resources/js/constants.js @@ -1,5 +1,6 @@ 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 PATIENT_LIST_API = MAIN_DOMAIN + "/api/admin/patient-list" diff --git a/resources/js/pages/dashboards/crm.vue b/resources/js/pages/dashboards/crm.vue index 7dd6ff9..5c946ed 100644 --- a/resources/js/pages/dashboards/crm.vue +++ b/resources/js/pages/dashboards/crm.vue @@ -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) +// }) diff --git a/resources/js/pages/patients/meetings.vue b/resources/js/pages/patients/meetings.vue index 6e8c981..4e5e982 100644 --- a/resources/js/pages/patients/meetings.vue +++ b/resources/js/pages/patients/meetings.vue @@ -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) => { diff --git a/resources/js/views/dashboards/crm/CrmActivityTimeline.vue b/resources/js/views/dashboards/crm/CrmActivityTimeline.vue index 3bbe3b7..8d4443b 100644 --- a/resources/js/views/dashboards/crm/CrmActivityTimeline.vue +++ b/resources/js/views/dashboards/crm/CrmActivityTimeline.vue @@ -4,7 +4,7 @@ import pdf from '@images/icons/project-icons/pdf.png'