diff --git a/wwwroot/index.ui b/wwwroot/index.ui index cd8e982..b573700 100644 --- a/wwwroot/index.ui +++ b/wwwroot/index.ui @@ -121,12 +121,18 @@ "label": "产线管理", "cwidth": 23, "cheight": 8, - "css": "card", + "css": "card" + }, + "binds": [{ + "wid": "self", + "event": "click", "actiontype": "urlwidget", "target": "app.main_content", - "url": "{{entire_url('/pipeline_core/')}}", + "options": { + "url": "{{entire_url('/pipeline_core/')}}" + }, "mode": "replace" - } + }] }, { "widgettype": "Button", @@ -134,12 +140,18 @@ "label": "运营管理", "cwidth": 23, "cheight": 8, - "css": "card", + "css": "card" + }, + "binds": [{ + "wid": "self", + "event": "click", "actiontype": "urlwidget", "target": "app.main_content", - "url": "{{entire_url('/pipeline_ops/')}}", + "options": { + "url": "{{entire_url('/pipeline_ops/')}}" + }, "mode": "replace" - } + }] }, { "widgettype": "Button", @@ -147,12 +159,18 @@ "label": "分销管理", "cwidth": 23, "cheight": 8, - "css": "card", + "css": "card" + }, + "binds": [{ + "wid": "self", + "event": "click", "actiontype": "urlwidget", "target": "app.main_content", - "url": "{{entire_url('/pipeline_dist/')}}", + "options": { + "url": "{{entire_url('/pipeline_dist/')}}" + }, "mode": "replace" - } + }] }, { "widgettype": "Button", @@ -160,12 +178,18 @@ "label": "任务中心", "cwidth": 23, "cheight": 8, - "css": "card", + "css": "card" + }, + "binds": [{ + "wid": "self", + "event": "click", "actiontype": "urlwidget", "target": "app.main_content", - "url": "{{entire_url('/pipeline_task/')}}", + "options": { + "url": "{{entire_url('/pipeline_task/')}}" + }, "mode": "replace" - } + }] } ] }