REFACTOR: Belonging → Property system migration + dashboard + map improvements
Property system: - Add PropertyService.js and PropertyStatusService.js - Add Property pages: CreateProperty.vue, ListProperties.vue, TransactionDialog.vue - Remove legacy BelongingService.js and Belonging pages (CreateBelonging, ListBelongings, TransactionDialog) Dashboard: - Update RecentSalesWidget.vue - Update RevenueStreamWidget.vue - Update StatsWidget.vue UI & config: - Major MapComponent.vue improvements (extended functionality) - Update ListCategories.vue - Update ListTransactions.vue - Update vite.config.mjs
This commit is contained in:
@@ -11,17 +11,17 @@ function setChartData() {
|
||||
const documentStyle = getComputedStyle(document.documentElement);
|
||||
|
||||
return {
|
||||
labels: ['زمین', 'ساختمان', 'خودرو', 'ارز'],
|
||||
labels: ['زمین', 'ساختمان'],
|
||||
datasets: [
|
||||
{
|
||||
type: 'bar',
|
||||
label: 'تعداد دارایی ها',
|
||||
label: 'تعداد املاک',
|
||||
backgroundColor: documentStyle.getPropertyValue('--p-primary-400'),
|
||||
font: {
|
||||
family: 'Estedad', // Set custom font for y-axis labels
|
||||
size: 14 // Set font size
|
||||
family: 'Estedad',
|
||||
size: 14
|
||||
},
|
||||
data: [18, 13, 5, 11],
|
||||
data: [18, 13],
|
||||
barThickness: 32
|
||||
}
|
||||
]
|
||||
@@ -42,8 +42,8 @@ function setChartOptions() {
|
||||
ticks: {
|
||||
color: textMutedColor,
|
||||
font: {
|
||||
family: 'Estedad', // Set custom font for y-axis labels
|
||||
size: 14 // Set font size
|
||||
family: 'Estedad',
|
||||
size: 14
|
||||
}
|
||||
},
|
||||
grid: {
|
||||
@@ -56,8 +56,8 @@ function setChartOptions() {
|
||||
ticks: {
|
||||
color: textMutedColor,
|
||||
font: {
|
||||
family: 'Estedad', // Set custom font for y-axis labels
|
||||
size: 14 // Set font size
|
||||
family: 'Estedad',
|
||||
size: 14
|
||||
}
|
||||
},
|
||||
grid: {
|
||||
@@ -83,7 +83,7 @@ onMounted(() => {
|
||||
|
||||
<template>
|
||||
<div class="card">
|
||||
<div class="font-semibold text-xl mb-4">تقسیم بندی دارایی ها</div>
|
||||
<div class="font-semibold text-xl mb-4">تقسیم بندی املاک</div>
|
||||
<Chart type="bar" :data="chartData" :options="chartOptions" class="h-80" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user