This commit is contained in:
yumoqing 2026-05-06 07:59:57 +08:00
parent f860d86c00
commit b045758ebc

View File

@ -36,7 +36,7 @@
"widgettype": "Text",
"id": "lbl_username",
"options": {
"text": "用户: admin",
"text": "用户: {{get_username()}}",
"color": "white",
"marginRight": "16px"
}
@ -46,7 +46,6 @@
"id": "btn_logout",
"options": {
"label": "退出登录",
"variant": "text",
"color": "white"
}
}
@ -111,30 +110,19 @@
"submenu": "{{entire_url('/workflow_approval/menu.ui')}}"
}
],
"target": "app.main_work",
"width": "100%"
}
}
]
},
{
"widgettype": "VBox",
"widgettype": "VScrollPanel",
"id": "main_work",
"options": {
"flex": 1,
"overflow": "hidden",
"height": "100%",
"bgcolor": "#fafafa"
},
"subwidgets": [
{
"widgettype": "Iframe",
"id": "content_frame",
"options": {
"url": "{{entire_url('/unified_dashboard')}}",
"width": "100%",
"height": "100%",
"border": "none"
}
}
]
}
}
]
}
@ -144,11 +132,11 @@
"wid": "btn_logout",
"event": "click",
"actiontype": "urlwidget",
"url": "{{entire_url('api/logout.dspy')}}",
"target": "body/app",
"target": "app",
"options": {
"url": "{{entire_url('api/logout.dspy')}}",
"method": "POST"
}
}
]
}
}