diff --git a/wwwroot/index.ui b/wwwroot/index.ui index 24f8959..d33af20 100644 --- a/wwwroot/index.ui +++ b/wwwroot/index.ui @@ -92,37 +92,37 @@ "name": "dashboard", "label": "工作台", "icon": "dashboard", - "url": "/unified_dashboard" + "url": "{{entire_url('/unified_dashboard')}}" }, { "name": "customers", "label": "客户管理", "icon": "people", - "url": "/customer_management" + "url": "{{entire_url('/customer_management')}}" }, { "name": "opportunities", "label": "商机管理", "icon": "trending_up", - "url": "/opportunity_management" + "url": "{{entire_url('/opportunity_management')}}" }, { "name": "contracts", "label": "合同管理", "icon": "description", - "url": "/contract_management" + "url": "{{entire_url('/contract_management')}}" }, { "name": "finance", "label": "财务管理", "icon": "account_balance", - "url": "/financial_management" + "url": "{{entire_url('/financial_management')}}" }, { "name": "approvals", "label": "审批管理", "icon": "check_circle", - "url": "/workflow_approval" + "url": "{{entire_url('/workflow_approval')}}" } ], "style": { @@ -146,7 +146,7 @@ "widgettype": "Iframe", "id": "content_frame", "options": { - "url": "/unified_dashboard", + "url": "{{entire_url('/unified_dashboard')}}", "width": "100%", "height": "100%", "style": { @@ -160,12 +160,6 @@ } ], "binds": [ - { - "wid": "main_menu", - "event": "itemclick", - "actiontype": "navigate", - "target": "{{item.url}}" - }, { "wid": "btn_logout", "event": "click", diff --git a/wwwroot/login.ui b/wwwroot/login.ui index df6031c..22dbd82 100644 --- a/wwwroot/login.ui +++ b/wwwroot/login.ui @@ -79,7 +79,7 @@ "options": { "label": "注册账号", "variant": "text", - "url": "/rbac/user/register.ui" + "url": "{{entire_url('/rbac/user/register.ui')}}" } } ]