pipeline-task/wwwroot/task_detail.ui
yumoqing 50a38e15e1 feat: pipeline-task 交互模块初始版本
- 纯薄交互层,无数据表,调用 pipeline-service 引擎函数
- 6个dspy API(submit/list/detail/node/modify/control)
- 4个UI页面(index/list/detail/submit)
- pipeline_task.js 交互辅助函数
- load_path.py RBAC 权限注册
- 完整 README 文档
2026-06-11 17:36:37 +08:00

74 lines
3.1 KiB
XML

{
"widgettype": "VBox",
"options": {"width": "100%", "padding": "16px"},
"subwidgets": [
{
"widgettype": "HBox",
"options": {"width": "100%", "marginBottom": "16px", "gap": "12px", "alignItems": "center"},
"subwidgets": [
{
"widgettype": "Button",
"options": {"label": "返回列表", "icon": "arrow-left"},
"binds": [{
"wid": "self", "event": "click", "actiontype": "urlwidget",
"target": "app.pipeline_task_content",
"options": {"url": "{{entire_url('task_list.ui')}}"},
"mode": "replace"
}]
},
{"widgettype": "Title", "options": {"text": "任务详情", "cfontsize": 20}},
{"widgettype": "Text", "options": {"text": "", "id": "detail_task_title"}},
{
"widgettype": "Button",
"options": {"label": "暂停", "icon": "pause", "id": "btn_pause"},
"binds": [{
"wid": "self", "event": "click", "actiontype": "script",
"target": "detail_steps_area",
"script": "controlTask('pause');"
}]
},
{
"widgettype": "Button",
"options": {"label": "恢复", "icon": "play", "id": "btn_resume"},
"binds": [{
"wid": "self", "event": "click", "actiontype": "script",
"target": "detail_steps_area",
"script": "controlTask('resume');"
}]
},
{
"widgettype": "Button",
"options": {"label": "取消", "icon": "stop", "id": "btn_cancel"},
"binds": [{
"wid": "self", "event": "click", "actiontype": "script",
"target": "detail_steps_area",
"script": "controlTask('cancel');"
}]
}
]
},
{
"widgettype": "HBox",
"options": {"width": "100%", "flex": "1", "gap": "16px"},
"subwidgets": [
{
"widgettype": "VBox",
"id": "detail_steps_area",
"options": {"width": "50%", "minHeight": "400px", "bgcolor": "var(--card-bg)", "padding": "16px"},
"subwidgets": [
{"widgettype": "Text", "options": {"text": "步骤列表加载中..."}}
]
},
{
"widgettype": "VBox",
"id": "detail_node_area",
"options": {"width": "50%", "minHeight": "400px", "bgcolor": "var(--card-bg)", "padding": "16px"},
"subwidgets": [
{"widgettype": "Text", "options": {"text": "点击左侧步骤查看产物"}}
]
}
]
}
]
}