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

@@ -54,10 +54,8 @@ const [Form, formApi] = useVbenForm({
component: 'ApiSelect',
componentProps: {
api: getSimpleDeliveryExpressList,
props: {
label: 'name',
value: 'id',
},
labelField: 'name',
valueField: 'id',
},
dependencies: {
triggerFields: ['expressType'],

View File

@@ -35,10 +35,8 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'ApiSelect',
componentProps: {
api: getSimpleDeliveryPickUpStoreList,
props: {
label: 'name',
value: 'id',
},
labelField: 'name',
valueField: 'id',
},
dependencies: {
triggerFields: ['deliveryType'],

View File

@@ -51,7 +51,9 @@ export function useFormSchema(): VbenFormSchema[] {
component: 'ApiTreeSelect',
componentProps: {
api: () => getAreaTree(),
props: { label: 'name', value: 'id', children: 'children' },
labelField: 'name',
valueField: 'id',
childrenField: 'children',
},
},
{
@@ -130,7 +132,8 @@ export function useBindFormSchema(): VbenFormSchema[] {
rules: 'required',
componentProps: {
api: () => getSimpleUserList(),
props: { label: 'nickname', value: 'id' },
labelField: 'nickname',
valueField: 'id',
mode: 'tags',
allowClear: true,
},

View File

@@ -54,10 +54,8 @@ const [Form, formApi] = useVbenForm({
component: 'ApiSelect',
componentProps: {
api: getSimpleDeliveryExpressList,
props: {
label: 'name',
value: 'id',
},
labelField: 'name',
valueField: 'id',
},
dependencies: {
triggerFields: ['expressType'],

View File

@@ -57,11 +57,9 @@ const [Form, formApi] = useVbenForm({
component: 'ApiTreeSelect',
componentProps: {
api: () => getAreaTree(),
props: {
label: 'name',
value: 'id',
children: 'children',
},
labelField: 'name',
valueField: 'id',
childrenField: 'children',
placeholder: '请选择收件人所在地',
treeDefaultExpandAll: true,
},