yumoqing c7b51476d3 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
2026-08-03 16:20:27 +08:00

44 lines
2.3 KiB
XML

{
"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_pricing/')}}"}, "mode": "replace"}],
"subwidgets": [
{"widgettype": "Title4", "options": {"text": "定价管理"}},
{"widgettype": "Text", "options": {"text": "管理产线计费方式和价格", "cfontsize": 0.9}}
]
},
{
"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_capacity/')}}"}, "mode": "replace"}],
"subwidgets": [
{"widgettype": "Title4", "options": {"text": "供应量管理"}},
{"widgettype": "Text", "options": {"text": "配置产线并发和调用限额", "cfontsize": 0.9}}
]
},
{
"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_usage_log/')}}"}, "mode": "replace"}],
"subwidgets": [
{"widgettype": "Title4", "options": {"text": "使用记录"}},
{"widgettype": "Text", "options": {"text": "查看产线调用和消费记录", "cfontsize": 0.9}}
]
}
]
}
]
}