169 lines
6.1 KiB
XML
169 lines
6.1 KiB
XML
{
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"width": "100%",
|
|
"height": "100%",
|
|
"padding": "20px",
|
|
"bgcolor": "#F9FAFB"
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"fontSize": "24px",
|
|
"fontWeight": "bold",
|
|
"color": "#1E40AF",
|
|
"marginBottom": "20px",
|
|
"text": "审批管理"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "ResponsableBox",
|
|
"options": {
|
|
"gap": "16px",
|
|
"minWidth": "250px"
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"bgcolor": "#FFFFFF",
|
|
"borderRadius": "8px",
|
|
"padding": "20px",
|
|
"boxShadow": "0 1px 3px rgba(0,0,0,0.1)",
|
|
"cursor": "pointer"
|
|
},
|
|
"binds": [
|
|
{
|
|
"wid": "self",
|
|
"event": "click",
|
|
"actiontype": "urlwidget",
|
|
"target": "app.workflow_content",
|
|
"options": {
|
|
"url": "{{entire_url('approval_instance.ui')}}"
|
|
},
|
|
"mode": "replace"
|
|
}
|
|
],
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"fontSize": "18px",
|
|
"fontWeight": "bold",
|
|
"color": "#1E40AF",
|
|
"text": "审批实例"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"fontSize": "14px",
|
|
"color": "#6B7280",
|
|
"marginTop": "8px",
|
|
"text": "查看所有审批流程实例"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"bgcolor": "#FFFFFF",
|
|
"borderRadius": "8px",
|
|
"padding": "20px",
|
|
"boxShadow": "0 1px 3px rgba(0,0,0,0.1)",
|
|
"cursor": "pointer"
|
|
},
|
|
"binds": [
|
|
{
|
|
"wid": "self",
|
|
"event": "click",
|
|
"actiontype": "urlwidget",
|
|
"target": "app.workflow_content",
|
|
"options": {
|
|
"url": "{{entire_url('approval_task.ui')}}"
|
|
},
|
|
"mode": "replace"
|
|
}
|
|
],
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"fontSize": "18px",
|
|
"fontWeight": "bold",
|
|
"color": "#D97706",
|
|
"text": "待办任务"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"fontSize": "14px",
|
|
"color": "#6B7280",
|
|
"marginTop": "8px",
|
|
"text": "处理待审批任务"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"bgcolor": "#FFFFFF",
|
|
"borderRadius": "8px",
|
|
"padding": "20px",
|
|
"boxShadow": "0 1px 3px rgba(0,0,0,0.1)",
|
|
"cursor": "pointer"
|
|
},
|
|
"binds": [
|
|
{
|
|
"wid": "self",
|
|
"event": "click",
|
|
"actiontype": "urlwidget",
|
|
"target": "app.workflow_content",
|
|
"options": {
|
|
"url": "{{entire_url('approval_workflow.ui')}}"
|
|
},
|
|
"mode": "replace"
|
|
}
|
|
],
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"fontSize": "18px",
|
|
"fontWeight": "bold",
|
|
"color": "#7C3AED",
|
|
"text": "工作流配置"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"fontSize": "14px",
|
|
"color": "#6B7280",
|
|
"marginTop": "8px",
|
|
"text": "配置审批工作流模板"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"widgettype": "VBox",
|
|
"id": "workflow_content",
|
|
"options": {
|
|
"width": "100%",
|
|
"flex": "1",
|
|
"marginTop": "20px",
|
|
"bgcolor": "#FFFFFF",
|
|
"borderRadius": "8px",
|
|
"padding": "20px",
|
|
"boxShadow": "0 1px 3px rgba(0,0,0,0.1)"
|
|
}
|
|
}
|
|
]
|
|
} |