- 将 entcms/wwwroot/* 移到 wwwroot/ - 将 dingdingflow/wwwroot/* 移到 wwwroot/dingdingflow/ - 更新 config.json 使用单一 wwwroot 映射 - 更新 init_any_permissions.py 扫描新路径 - 更新 init_superuser_permissions.py 用法说明 - 废弃 entcms/scripts/load_path.py 和 dingdingflow/scripts/load_path.py - 更新 build.sh 构建步骤 - 更新 README.md 和 docs/architecture.md 目录说明
78 lines
3.3 KiB
XML
78 lines
3.3 KiB
XML
{
|
|
"widgettype": "VBox",
|
|
"options": {"width": "100%", "height": "100%", "padding": "20px"},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {"label": "钉钉审批管理", "fontSize": "24px", "fontWeight": "bold", "marginBottom": "20px"}
|
|
},
|
|
{
|
|
"widgettype": "ResponsableBox",
|
|
"options": {"gap": "16px", "minWidth": "280px"},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"backgroundColor": "#FFFFFF",
|
|
"padding": "20px",
|
|
"borderRadius": "8px",
|
|
"cursor": "pointer",
|
|
"boxShadow": "0 2px 8px rgba(0,0,0,0.1)"
|
|
},
|
|
"binds": [{
|
|
"wid": "self",
|
|
"event": "click",
|
|
"actiontype": "urlwidget",
|
|
"target": "app.dingdingflow_content",
|
|
"options": {"url": "{{entire_url('dd_approvals/index.ui')}}"},
|
|
"mode": "replace"
|
|
}],
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {"label": "📋 审批记录", "fontSize": "18px", "fontWeight": "bold", "marginBottom": "8px"}
|
|
},
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {"label": "查看和管理所有审批申请记录,包括待审批、已通过、已拒绝的审批", "fontSize": "13px", "color": "#666"}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"backgroundColor": "#FFFFFF",
|
|
"padding": "20px",
|
|
"borderRadius": "8px",
|
|
"cursor": "pointer",
|
|
"boxShadow": "0 2px 8px rgba(0,0,0,0.1)"
|
|
},
|
|
"binds": [{
|
|
"wid": "self",
|
|
"event": "click",
|
|
"actiontype": "urlwidget",
|
|
"target": "app.dingdingflow_content",
|
|
"options": {"url": "{{entire_url('dd_approval_configs/index.ui')}}"},
|
|
"mode": "replace"
|
|
}],
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {"label": "⚙️ 审批流程配置", "fontSize": "18px", "fontWeight": "bold", "marginBottom": "8px"}
|
|
},
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {"label": "配置不同业务类型的钉钉审批模板,设置审批流程参数", "fontSize": "13px", "color": "#666"}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"widgettype": "VBox",
|
|
"id": "app.dingdingflow_content",
|
|
"options": {"width": "100%", "flex": "1", "marginTop": "20px"}
|
|
}
|
|
]
|
|
}
|