yumoqing aec650dcef sync: local modifications to unified_dashboard
- Updated core.py, init.py, mysql.ddl.sql
- Added __init__.py
- Added API files: dashboard_kpi, report_list
- Added UI files: base.ui, dashboard.ui, reports.ui
2026-04-28 18:55:07 +08:00

45 lines
1.7 KiB
XML

{
"widgettype": "Page",
"options": {
"title": "统一仪表板",
"style": {"height": "100vh", "padding": "0"}
},
"subwidgets": [
{
"widgettype": "HBox",
"options": {"style": {"height": "100%"}},
"subwidgets": [
{
"widgettype": "VBox",
"options": {"style": {"width": "220px", "backgroundColor": "#1A1E2F", "padding": "8px"}},
"subwidgets": [
{
"widgettype": "Text",
"options": {"text": "数据看板", "style": {"color": "#fff", "fontSize": "16px", "fontWeight": "bold", "padding": "12px 8px"}}
},
{
"widgettype": "Menu",
"options": {
"width": "100%",
"bgcolor": "#1A1E2F",
"items": [
{"label": "高管视图", "icon": "fa fa-dashboard", "url": "{{entire_url('dashboard.ui')}}?type=executive", "target": "app.dashboard-content"},
{"label": "销售视图", "icon": "fa fa-line-chart", "url": "{{entire_url('dashboard.ui')}}?type=sales", "target": "app.dashboard-content"},
{"label": "财务视图", "icon": "fa fa-money", "url": "{{entire_url('dashboard.ui')}}?type=finance", "target": "app.dashboard-content"},
{"label": "报表中心", "icon": "fa fa-file-text", "url": "{{entire_url('reports.ui')}}", "target": "app.dashboard-content"}
],
"menuitem_css": "menuitem"
}
}
]
},
{
"widgettype": "VBox",
"id": "dashboard-content",
"options": {"style": {"flex": 1, "overflow": "auto", "backgroundColor": "#f5f5f5"}}
}
]
}
]
}