fix: pipeline UI - menu width, task URL, admin button target

- Fix task center URL: /pipeline_task/ → /pipeline_sdlc/sd_projects/
- Admin button opens in new window instead of replacing main content
- Menu width: fixed 220px with min-width 200px
This commit is contained in:
yumoqing 2026-07-08 18:03:14 +08:00
parent 5bc6bdce85
commit bba2e12cbf

View File

@ -10,7 +10,7 @@
{"widgettype": "Button", "id": "btn_toggle_sidebar", "options": {"label": "☰", "css": "text", "color": "#fff", "cfontsize": 1.4}, "binds": [{"wid": "self", "event": "click", "actiontype": "method", "target": "app.sidebar_menu", "method": "toggle_collapse"}]},
{"widgettype": "Title4", "options": {"text": "产线平台", "color": "#fff"}},
{"widgettype": "Filler"},
{"widgettype": "Button", "options": {"label": "管理", "css": "text", "color": "#fff"}, "binds": [{"wid": "self", "event": "click", "actiontype": "urlwidget", "target": "app.main_content", "options": {"url": "{{entire_url('/rbac/user/')}}"}, "mode": "replace"}]}
{"widgettype": "Button", "options": {"label": "管理", "css": "text", "color": "#fff"}, "binds": [{"wid": "self", "event": "click", "actiontype": "urlwidget", "target": "window", "options": {"url": "{{entire_url('/rbac/user/')}}"}}]}
]
},
{
@ -21,7 +21,8 @@
"widgettype": "Menu",
"id": "sidebar_menu",
"options": {
"cwidth": 16,
"width": "220px",
"minWidth": "200px",
"height": "100%",
"bgcolor": "#f8fafc",
"target": "app.main_content",