From f01e391908d6d3ecda6930a90b0fc4400834d627 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 10 Sep 2026 12:15:58 +0800 Subject: [PATCH] =?UTF-8?q?refactor(menu):=20=E5=88=A0=E3=80=8C=E6=8A=80?= =?UTF-8?q?=E8=83=BD=E7=AE=A1=E7=90=86=E3=80=8D=E3=80=8C=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E4=B8=AD=E5=BF=83=E3=80=8D=E8=8F=9C=E5=8D=95=E9=A1=B9;?= =?UTF-8?q?=E3=80=8C=E5=BE=AE=E4=BF=A1=E9=80=9A=E9=81=93=E3=80=8D=E3=80=8C?= =?UTF-8?q?=E9=92=89=E9=92=89=E5=AE=A1=E6=89=B9=E3=80=8D=E7=A7=BB=E5=85=A5?= =?UTF-8?q?=E3=80=8C=E7=B3=BB=E7=BB=9F=E7=AE=A1=E7=90=86=E3=80=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 技能管理(/pipeline_core/skill_proposals)菜单删除(页面保留,后续按需恢复) - 任务中心(/pipeline_task)菜单删除——用户反馈功能没什么用,模块与页面保留只摘菜单 - 微信通道: 顶级→系统管理子项(pipeline-sdlc/wechat_config) - 钉钉审批: 顶级分组→系统管理子分组(审批节点配置/审批记录,dingdingflow) - Jinja双角色渲染验证: admin/customer两分支JSON均合法,name无冲突 - Menu嵌套items深度限制cnt<4(bricks/menu.js),系统管理>钉钉审批>子项=3层,在限内 --- wwwroot/index.ui | 56 ++++++++++++++++++------------------------------ 1 file changed, 21 insertions(+), 35 deletions(-) diff --git a/wwwroot/index.ui b/wwwroot/index.ui index 1ee8826..c6d6601 100644 --- a/wwwroot/index.ui +++ b/wwwroot/index.ui @@ -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})" + } + ] } ] }