crm.vue
3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<script setup>
import CrmActivityTimeline from '@/views/dashboards/crm/CrmActivityTimeline.vue'
import CrmDeveloperMeetup from '@/views/dashboards/crm/CrmDeveloperMeetup.vue'
import CrmMeetingSchedule from '@/views/dashboards/crm/CrmMeetingSchedule.vue'
import CrmRevenueReport from '@/views/dashboards/crm/CrmRevenueReport.vue'
import CrmSalesOverview from '@/views/dashboards/crm/CrmSalesOverview.vue'
import CrmTotalGrowthCharts from '@/views/dashboards/crm/CrmTotalGrowthCharts.vue'
import CrmTotalSales from '@/views/dashboards/crm/CrmTotalSales.vue'
import CrmTransactions from '@/views/dashboards/crm/CrmTransactions.vue'
import CrmUpgradeYourPlan from '@/views/dashboards/crm/CrmUpgradeYourPlan.vue'
import CrmWeeklySales from '@/views/dashboards/crm/CrmWeeklySales.vue'
import illustration1 from '@images/cards/illustration-1.png'
import illustration2 from '@images/cards/illustration-2.png'
const cardStatisticsWithImages = [
{
title: 'Ratings',
subtitle: 'Year of 2021',
stats: '13k',
change: 15.6,
image: illustration1,
color: 'primary',
},
{
title: 'Sessions',
subtitle: 'Last Week',
stats: '24.5k',
change: -20,
image: illustration2,
color: 'secondary',
},
]
const statistic = {
title: 'New Project',
color: 'primary',
icon: 'ri-file-word-2-line',
stats: '862',
change: -18,
subtitle: 'Yearly Project',
}
</script>
<template>
<section>
<VRow class="match-height">
<VCol
v-for="statistics in cardStatisticsWithImages"
:key="statistics.title"
class="pt-8 pt-sm-3"
cols="12"
md="3"
sm="6"
>
<CardStatisticsWithImages v-bind="statistics" />
</VCol>
<VCol
cols="12"
md="6"
>
<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 />
</VCol>
<VCol
cols="12"
md="6"
>
<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"
>
<CrmMeetingSchedule />
</VCol>
<VCol
cols="12"
md="4"
>
<CrmDeveloperMeetup />
</VCol>
</VRow>
</section>
</template>