refactor: 重构商场首页和统计页面组件

- 新等组件
- 优化 Work增 AnalysisOverview、AnalysisOverviewIconbenchQuickDataShow 组件的使用
- 更新图标使用方式,移除自定义 SVG 图标
-提升页面视觉效果 调整布局和样式,
This commit is contained in:
lrl
2025-07-23 10:51:13 +08:00
parent 27a7e84def
commit 992f0bd2f0
33 changed files with 726 additions and 367 deletions

View File

@@ -86,7 +86,9 @@ export function useFormSchema(): VbenFormSchema[] {
label: '所在地',
componentProps: {
api: () => getAreaTree(),
props: { label: 'name', value: 'id', children: 'children' },
labelField: 'name',
valueField: 'id',
childrenField: 'children',
},
},
{
@@ -95,7 +97,8 @@ export function useFormSchema(): VbenFormSchema[] {
label: '用户标签',
componentProps: {
api: () => getSimpleTagList(),
props: { label: 'name', value: 'id' },
labelField: 'name',
valueField: 'id',
mode: 'multiple',
},
},
@@ -105,7 +108,8 @@ export function useFormSchema(): VbenFormSchema[] {
label: '用户分组',
componentProps: {
api: () => getSimpleGroupList(),
props: { label: 'name', value: 'id' },
labelField: 'name',
valueField: 'id',
},
},
{
@@ -151,7 +155,8 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'ApiSelect',
componentProps: {
api: () => getSimpleTagList(),
props: { label: 'name', value: 'id' },
labelField: 'name',
valueField: 'id',
mode: 'multiple',
},
},
@@ -161,7 +166,8 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'ApiSelect',
componentProps: {
api: () => getSimpleLevelList(),
props: { label: 'name', value: 'id' },
labelField: 'name',
valueField: 'id',
},
},
{
@@ -170,7 +176,8 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'ApiSelect',
componentProps: {
api: () => getSimpleGroupList(),
props: { label: 'name', value: 'id' },
labelField: 'name',
valueField: 'id',
},
},
];
@@ -290,7 +297,8 @@ export function useLeavelFormSchema(): VbenFormSchema[] {
component: 'ApiSelect',
componentProps: {
api: () => getSimpleLevelList(),
props: { label: 'name', value: 'id' },
labelField: 'name',
valueField: 'id',
},
},
{