|
@@ -16,6 +16,7 @@
|
|
|
/>
|
|
/>
|
|
|
<DashboardTodaySchedules v-if="todaySchedules.length > 0" :data="todaySchedules" @rate="openRatingDialog" />
|
|
<DashboardTodaySchedules v-if="todaySchedules.length > 0" :data="todaySchedules" @rate="openRatingDialog" />
|
|
|
<DashboardScrollAreaSchedules />
|
|
<DashboardScrollAreaSchedules />
|
|
|
|
|
+ <DashboardClientProposals :data="clientProposals" />
|
|
|
<DashboardPendingCustomSchedules />
|
|
<DashboardPendingCustomSchedules />
|
|
|
<DashboardNextSchedules v-if="nextSchedules.length > 0" :data="nextSchedules" @view-details="openNextScheduleDialog" />
|
|
<DashboardNextSchedules v-if="nextSchedules.length > 0" :data="nextSchedules" @view-details="openNextScheduleDialog" />
|
|
|
<DashboardLastDoneSchedules v-if="lastDoneSchedules.length > 0" :data="lastDoneSchedules" />
|
|
<DashboardLastDoneSchedules v-if="lastDoneSchedules.length > 0" :data="lastDoneSchedules" />
|
|
@@ -38,6 +39,7 @@ import DashboardProvidersClose from 'src/components/dashboard/DashboardProviders
|
|
|
import DashboardTodaySchedules from 'src/components/dashboard/DashboardTodaySchedules.vue';
|
|
import DashboardTodaySchedules from 'src/components/dashboard/DashboardTodaySchedules.vue';
|
|
|
import FinalSuccesModal from '../schedules/components/FinalSuccesModal.vue';
|
|
import FinalSuccesModal from '../schedules/components/FinalSuccesModal.vue';
|
|
|
import DashboardPendingCustomSchedules from 'src/pages/dashboard/components/DashboardPendingCustomSchedules.vue';
|
|
import DashboardPendingCustomSchedules from 'src/pages/dashboard/components/DashboardPendingCustomSchedules.vue';
|
|
|
|
|
+import DashboardClientProposals from 'src/pages/dashboard/components/DashboardClientProposals.vue';
|
|
|
import { useRouter } from 'vue-router'
|
|
import { useRouter } from 'vue-router'
|
|
|
import { onMounted, ref } from 'vue';
|
|
import { onMounted, ref } from 'vue';
|
|
|
import { useDialogPluginComponent, useQuasar } from 'quasar';
|
|
import { useDialogPluginComponent, useQuasar } from 'quasar';
|
|
@@ -51,6 +53,7 @@ const headerBar = ref({});
|
|
|
const summaryInfos = ref({});
|
|
const summaryInfos = ref({});
|
|
|
const pendingSchedules = ref([]);
|
|
const pendingSchedules = ref([]);
|
|
|
const nextSchedules = ref([]);
|
|
const nextSchedules = ref([]);
|
|
|
|
|
+const clientProposals = ref([]);
|
|
|
const lastDoneSchedules = ref([]);
|
|
const lastDoneSchedules = ref([]);
|
|
|
const favoriteProviders = ref([]);
|
|
const favoriteProviders = ref([]);
|
|
|
const providersClose = ref([]);
|
|
const providersClose = ref([]);
|
|
@@ -81,6 +84,7 @@ const reloadDashboard = async () => {
|
|
|
lastDoneSchedules.value = response.lastDoneSchedules ?? [];
|
|
lastDoneSchedules.value = response.lastDoneSchedules ?? [];
|
|
|
favoriteProviders.value = response.favoriteProviders ?? [];
|
|
favoriteProviders.value = response.favoriteProviders ?? [];
|
|
|
providersClose.value = response.providersClose ?? [];
|
|
providersClose.value = response.providersClose ?? [];
|
|
|
|
|
+ clientProposals.value = response.schedulesProposals ?? [];
|
|
|
todaySchedules.value = response.todaySchedules ?? [];
|
|
todaySchedules.value = response.todaySchedules ?? [];
|
|
|
}
|
|
}
|
|
|
if( showSuccessModal.value ) {
|
|
if( showSuccessModal.value ) {
|