fix: rewrite index.ui for pipeline_ops/pipeline_dist as proper bricks cards

- pipeline_ops: VBox+ResponsableBox cards → pricing/capacity/usage_log
- pipeline_dist: VBox+ResponsableBox cards → distributor_pipeline
- main index.ui: fix task center URL (/pipeline_task→/pipeline_sdlc/sd_projects), menu cwidth
This commit is contained in:
yumoqing 2026-07-08 17:43:49 +08:00
parent d483238ac5
commit 77ced63b68

View File

@ -1,16 +1,25 @@
{
"title": "分销管理",
"layout": "cards",
"cards": [
{
"title": "分销商管理",
"icon": "people",
"url": "{{entire_url('../json/distributors.json')}}"
},
{
"title": "分销商产线配置",
"icon": "link",
"url": "{{entire_url('../json/distributor_pipeline.json')}}"
}
]
"widgettype": "VBox",
"options": {"width": "100%", "height": "100%", "padding": "24px", "spacing": "20px"},
"subwidgets": [
{
"widgettype": "Title2",
"options": {"text": "分销管理"}
},
{
"widgettype": "ResponsableBox",
"options": {"gap": "16px", "minWidth": "220px"},
"subwidgets": [
{
"widgettype": "VBox",
"options": {"css": "card", "cwidth": 22, "padding": "16px", "cursor": "pointer"},
"binds": [{"wid": "self", "event": "click", "actiontype": "urlwidget", "target": "app.main_content", "options": {"url": "{{entire_url('../pipeline_dist/distributor_pipeline/')}}"}, "mode": "replace"}],
"subwidgets": [
{"widgettype": "Title4", "options": {"text": "分销商产线配置"}},
{"widgettype": "Text", "options": {"text": "管理分销商产线绑定", "cfontsize": 0.9}}
]
}
]
}
]
}