{ "widgettype": "VBox", "options": { "maxWidth": "100%", "padding": "15px" }, "subwidgets": [ { "widgettype": "HBox", "options": { "alignItems": "center", "justifyContent": "space-between", "marginBottom": "20px" }, "subwidgets": [ { "widgettype": "Text", "options": { "text": "报表中心", "fontSize": "18px", "fontWeight": "bold" } }, { "widgettype": "Button", "options": { "onClick": "goto('unified_dashboard/report_template/create.ui')", "label": "新建报表", "bgcolor": "#007bff", "color": "white", "border": "none", "padding": "6px 12px", "borderRadius": "4px" } } ] }, { "widgettype": "DataGrid", "options": { "tblname": "report_template", "where": { "org_id": "${logined_orgid}", "is_active": "Y" }, "fields": [ "template_name", "report_type", "created_at" ], "fieldLabels": { "template_name": "报表名称", "report_type": "报表类型", "created_at": "创建时间" }, "onRowClick": "view_report('${id}')" } } ] }