feat: migrate CRM screens to Ant Design Vue and expand home dashboard
Preserve the local Ant UI work across views/components and add the new home dashboard chart panels before merging latest main.
This commit is contained in:
@@ -3026,13 +3026,55 @@ export interface HomeDashboardTopCustomerDto {
|
||||
rank: number;
|
||||
}
|
||||
|
||||
export interface HomeDashboardSeriesPointDto {
|
||||
monthKey: string;
|
||||
monthLabel: string;
|
||||
value: number;
|
||||
}
|
||||
|
||||
export interface HomeDashboardSliceDto {
|
||||
label: string;
|
||||
count: number;
|
||||
percent: number;
|
||||
amount?: number;
|
||||
}
|
||||
|
||||
export interface HomeDashboardFunnelStageDto {
|
||||
stageId: string;
|
||||
stageName: string;
|
||||
count: number;
|
||||
amount: number;
|
||||
}
|
||||
|
||||
export interface HomeDashboardSalesSummaryDto {
|
||||
openCount: number;
|
||||
wonCount: number;
|
||||
lostCount: number;
|
||||
openAmount: number;
|
||||
wonAmount: number;
|
||||
lostAmount: number;
|
||||
winRate: number;
|
||||
}
|
||||
|
||||
export interface HomeDashboardActivityTypeDto {
|
||||
type: string;
|
||||
label: string;
|
||||
count: number;
|
||||
}
|
||||
|
||||
export interface HomeDashboardDto {
|
||||
currency: string;
|
||||
kpis: HomeDashboardKpiDto[];
|
||||
alerts: HomeDashboardAlertDto[];
|
||||
salesTrend: HomeDashboardTrendPointDto[];
|
||||
/** رشد مشتریان جدید بهازای ماه شمسی */
|
||||
customerGrowth: HomeDashboardSeriesPointDto[];
|
||||
sources: HomeDashboardSourceDto[];
|
||||
topCustomers: HomeDashboardTopCustomerDto[];
|
||||
salesSummary: HomeDashboardSalesSummaryDto;
|
||||
funnel: HomeDashboardFunnelStageDto[];
|
||||
lostReasons: HomeDashboardSliceDto[];
|
||||
activityByType: HomeDashboardActivityTypeDto[];
|
||||
}
|
||||
|
||||
/** تابلوی پروژه / کارت */
|
||||
|
||||
Reference in New Issue
Block a user