refactor(menu): 删「技能管理」「任务中心」菜单项;「微信通道」「钉钉审批」移入「系统管理」

- 技能管理(/pipeline_core/skill_proposals)菜单删除(页面保留,后续按需恢复)
- 任务中心(/pipeline_task)菜单删除——用户反馈功能没什么用,模块与页面保留只摘菜单
- 微信通道: 顶级→系统管理子项(pipeline-sdlc/wechat_config)
- 钉钉审批: 顶级分组→系统管理子分组(审批节点配置/审批记录,dingdingflow)
- Jinja双角色渲染验证: admin/customer两分支JSON均合法,name无冲突
- Menu嵌套items深度限制cnt<4(bricks/menu.js),系统管理>钉钉审批>子项=3层,在限内
This commit is contained in:
yumoqing 2026-09-10 12:15:58 +08:00
parent d6278364da
commit f01e391908

View File

@ -254,12 +254,6 @@
"script": "this.open_tab({name:'platform_agent',label:'平台内部助手',url:'/pipeline-platform/agent_platform',removable:true})"
},
{% endif %}
{
"name": "skill_manage",
"label": "技能管理",
"icon": "{{entire_url('/imgs/cubes.svg')}}",
"script": "this.open_tab({name:'skill_manage',label:'技能管理',url:'/pipeline_core/skill_proposals',removable:true})"
},
{
"name": "pipelines_group",
"label": "产线",
@ -292,24 +286,12 @@
}
]
},
{
"name": "wechat_channel",
"label": "微信通道",
"icon": "",
"script": "this.open_tab({name:'wechat_channel',label:'微信通道',url:'/pipeline-sdlc/wechat_config/index.ui',removable:true})"
},
{
"name": "pipeline_ops",
"label": "运营管理",
"icon": "{{entire_url('/imgs/dashboard.svg')}}",
"script": "this.open_tab({name:'pipeline_ops',label:'运营管理',url:'/pipeline_ops',removable:true})"
},
{
"name": "pipeline_task",
"label": "任务中心",
"icon": "{{entire_url('/imgs/rocket.svg')}}",
"script": "this.open_tab({name:'pipeline_task',label:'任务中心',url:'/pipeline_task',removable:true})"
},
{
"name": "accounting",
"label": "账务管理",
@ -442,23 +424,6 @@
}
]
},
{
"name": "dda_approval",
"label": "钉钉审批",
"icon": "{{entire_url('/imgs/workflow.svg')}}",
"items": [
{
"name": "dda_apvcfg",
"label": "审批节点配置",
"script": "this.open_tab({name:'dda_apvcfg',label:'审批节点配置',url:'/dingdingflow/dda_approval_configs/index.ui',removable:true})"
},
{
"name": "dda_apvrec",
"label": "审批记录",
"script": "this.open_tab({name:'dda_apvrec',label:'审批记录',url:'/dingdingflow/dda_approvals/index.ui',removable:true})"
}
]
},
{
"name": "rag_kb",
"label": "知识库",
@ -636,6 +601,27 @@
"name": "dapi_downapikey",
"label": "下位系统API Key",
"script": "this.open_tab({name:'dapi_downapikey',label:'下位系统API Key',url:'/dapi/downapikey',removable:true})"
},
{
"name": "wechat_channel",
"label": "微信通道",
"script": "this.open_tab({name:'wechat_channel',label:'微信通道',url:'/pipeline-sdlc/wechat_config/index.ui',removable:true})"
},
{
"name": "dda_approval",
"label": "钉钉审批",
"items": [
{
"name": "dda_apvcfg",
"label": "审批节点配置",
"script": "this.open_tab({name:'dda_apvcfg',label:'审批节点配置',url:'/dingdingflow/dda_approval_configs/index.ui',removable:true})"
},
{
"name": "dda_apvrec",
"label": "审批记录",
"script": "this.open_tab({name:'dda_apvrec',label:'审批记录',url:'/dingdingflow/dda_approvals/index.ui',removable:true})"
}
]
}
]
}