wujingjing
2025-01-02 31adf735882bc748da682e17748ee029656c6b47
src/api/login/UserMenuData.ts
@@ -3,10 +3,10 @@
      ID: '1742436890822447104',
      ParentID: '0',
      Type: 1,
      Name: '低代码',
      Name: '模型管理',
      Path: '',
      Permission: '',
      Icon: 'ele-Memo',
      Icon: 'ele-Compass',
      IsIframe: false,
      OutLink: '',
      IsHide: false,
@@ -16,29 +16,13 @@
      Children: [
         {
            Children: [],
            ID: '1',
            ID: '1121',
            ParentID: '1742436890822447104',
            Type: 2,
            Name: 'AMIS编辑',
            Name: '指标管理',
            Path: '/home',
            Permission: '',
            Icon: 'ywifont ywicon-a-appround15',
            IsIframe: true,
            OutLink: 'http://101.133.133.173:9096/amis',
            IsHide: false,
            Weight: 0,
            SortCode: 2,
            Description: '',
         },
         {
            Children: [],
            ID: '3',
            ParentID: '1742436890822447104',
            Type: 2,
            Name: '页面管理',
            Path: '/lowCode/sqlAmis',
            Permission: '',
            Icon: 'ywifont ywicon-a-appround15',
            Icon: 'ywifont ywicon-zhibiao',
            IsIframe: false,
            OutLink: '',
            IsHide: false,
@@ -46,32 +30,224 @@
            SortCode: 2,
            Description: '',
         },
         // {
         //    Children: [],
         //    ID: '2',
         //    ParentID: '1742436890822447104',
         //    Type: 2,
         //    Name: 'SQL编辑器',
         //    Path: '/lowCode/sqlAmis/edit',
         //    Permission: '',
         //    Icon: 'ywifont ywicon-a-appround15',
         //    IsIframe: false,
         //    OutLink: '',
         //    IsHide: true,
         //    Weight: 0,
         //    SortCode: 2,
         //    Description: '',
         // },
         {
            Children: [],
            ID: '1122',
            ParentID: '1742436890822447104',
            Type: 2,
            Name: '指标图谱',
            Path: '/agent/graph',
            Permission: '',
            Icon: 'ywifont ywicon-zhibiao',
            IsIframe: false,
            OutLink: '',
            IsHide: true,
            Weight: 0,
            SortCode: 2,
            Description: '',
         },
         {
            Children: [],
            ID: '1123',
            ParentID: '1742436890822447104',
            Type: 2,
            Name: '指标详情',
            Path: '/MetricDetail',
            Permission: '',
            Icon: 'ywifont ywicon-shujuguanli',
            IsIframe: false,
            IsHide: true,
            Weight: 0,
            SortCode: 2,
            Description: '',
         },
         {
            Children: [],
            ID: '1124',
            ParentID: '1742436890822447104',
            Type: 2,
            Name: '指标执行器',
            Path: '/metricAgent',
            Permission: '',
            Icon: 'ywifont ywicon-kaishi',
            IsIframe: false,
            OutLink: '',
            IsHide: false,
            Weight: 0,
            SortCode: 2,
            Description: '',
         },
         {
            Children: [],
            ID: '1125',
            ParentID: '1742436890822447104',
            Type: 2,
            Name: '维度管理',
            Path: '/dimensionMgr',
            Permission: '',
            Icon: 'ywifont ywicon-duoweidu',
            IsIframe: false,
            OutLink: '',
            IsHide: false,
            Weight: 0,
            SortCode: 2,
            Description: '',
         },
         {
            Children: [],
            ID: '1126',
            ParentID: '1742436890822447104',
            Type: 2,
            Name: '意图提示',
            Path: '/supervisorPrompt',
            Permission: '',
            Icon: 'ywifont ywicon-tishici',
            IsIframe: false,
            OutLink: '',
            IsHide: false,
            Weight: 0,
            SortCode: 2,
            Description: '',
         },
         {
            Children: [],
            ID: '1126',
            ParentID: '1742436890822447104',
            Type: 2,
            Name: '大模型管理',
            Path: '/llm/mgr',
            Permission: '',
            Icon: 'ywifont ywicon-tishici',
            IsIframe: false,
            OutLink: '',
            IsHide: false,
            Weight: 0,
            SortCode: 2,
            Description: '',
         },
         {
            Children: [],
            ID: '1127',
            ParentID: '1742436890822447104',
            Type: 2,
            Name: '页面管理',
            Path: '/pageMgr',
            Permission: '',
            Icon: 'ele-Memo',
            IsIframe: false,
            OutLink: '',
            IsHide: false,
            Weight: 0,
            SortCode: 2,
            Description: '',
         },
         {
            Children: [],
            ID: '1128',
            ParentID: '1742436890822447104',
            Type: 2,
            Name: 'AMIS编辑',
            Path: '/amisEditor',
            Permission: '',
            Icon: 'ywifont ywicon-a-appround15',
            IsIframe: true,
            OutLink: '/amis-editor/index.html?session={token}#/edit/lowCode&v=313',
            IsHide: true,
            Weight: 0,
            SortCode: 2,
            Description: '',
         },
         {
            Children: [],
            ID: '1129',
            ParentID: '1742436890822447104',
            Type: 2,
            Name: '推荐问题',
            Path: '/recommendQuestions',
            Permission: '',
            Icon: 'ywifont ywicon-shoucang2',
            IsIframe: false,
            OutLink: '',
            IsHide: false,
            Weight: 0,
            SortCode: 2,
            Description: '',
         },
         {
            Children: [],
            ID: '1130',
            ParentID: '1742436890822447104',
            Type: 2,
            Name: '工作流执行器',
            Path: '/workFlow/WorkFlowIndex',
            Permission: '',
            Icon: 'ywifont ywicon-jiegou',
            IsIframe: false,
            IsHide: false,
            Weight: 0,
            SortCode: 2,
            Description: '',
         },
         {
            Children: [],
            ID: '1131',
            ParentID: '1742436890822447104',
            Type: 2,
            Name: '工作流设计',
            Path: '/workFlow/design',
            Permission: '',
            Icon: 'ywifont ywicon-shoucang2',
            IsIframe: false,
            OutLink: '',
            IsHide: true,
            Weight: 0,
            SortCode: 2,
            Description: '',
         },
         {
            Children: [],
            ID: '1132',
            ParentID: '1742436890822447104',
            Type: 2,
            Name: '工作流查看',
            Path: '/workFlow/view',
            Permission: '',
            Icon: 'ywifont ywicon-shoucang2',
            IsIframe: false,
            OutLink: '',
            IsHide: true,
            Weight: 0,
            SortCode: 2,
            Description: '',
         },
         {
            Children: [],
            ID: '1133',
            ParentID: '1742436890822447104',
            Type: 2,
            Name: '摄像头',
            Path: '/camera/live',
            Permission: '',
            Icon: 'ywifont ywicon-shoucang2',
            IsIframe: false,
            OutLink: '',
            IsHide: false,
            Weight: 0,
            SortCode: 2,
            Description: '',
         },
      ],
   },
   {
      ID: '1742436890822447105',
      ParentID: '0',
      Type: 1,
      Name: '数据中心',
      Name: '知识图谱',
      Path: '',
      Permission: '',
      Icon: 'ele-Memo',
      Icon: 'ywifont ywicon-shujuzhongxin',
      IsIframe: false,
      OutLink: '',
      IsHide: false,
@@ -81,13 +257,13 @@
      Children: [
         {
            Children: [],
            ID: '1',
            ID: '3321',
            ParentID: '1742436890822447105',
            Type: 2,
            Name: '数据管理',
            Path: '/graph/graphIndex',
            Permission: '',
            Icon: 'ywifont ywicon-a-appround15',
            Icon: 'ywifont ywicon-shujuguanli',
            IsIframe: false,
            IsHide: false,
            Weight: 0,
@@ -96,7 +272,7 @@
         },
         {
            Children: [],
            ID: '1',
            ID: '3322',
            ParentID: '1742436890822447105',
            Type: 2,
            Name: '文档详情',
@@ -111,7 +287,7 @@
         },
         {
            Children: [],
            ID: '1',
            ID: '3323',
            ParentID: '1742436890822447105',
            Type: 2,
            Name: '数据导入',
@@ -126,13 +302,13 @@
         },
         {
            Children: [],
            ID: '1',
            ID: '3324',
            ParentID: '1742436890822447105',
            Type: 2,
            Name: '知识索引',
            Path: '/knowledge/knowledgeIndex',
            Permission: '',
            Icon: 'ywifont ywicon-a-appround15',
            Icon: 'ywifont ywicon-changyonggongjuzhishisuoyin',
            IsIframe: false,
            IsHide: false,
            Weight: 0,
@@ -141,7 +317,7 @@
         },
         {
            Children: [],
            ID: '1',
            ID: '3325',
            ParentID: '1742436890822447105',
            Type: 2,
            Name: '创建知识库',
@@ -156,7 +332,7 @@
         },
         {
            Children: [],
            ID: '1',
            ID: '3326',
            ParentID: '1742436890822447105',
            Type: 2,
            Name: '编辑知识库',
@@ -169,6 +345,193 @@
            SortCode: 2,
            Description: '',
         },
         {
            Children: [],
            ID: '3327',
            ParentID: '1742436890822447105',
            Type: 2,
            Name: '查看知识库',
            Path: '/knowledge/viewKnowledge',
            Permission: '',
            Icon: 'ywifont ywicon-a-appround15',
            IsIframe: false,
            IsHide: true,
            Weight: 0,
            SortCode: 2,
            Description: '',
         },
         {
            Children: [],
            ID: '3328',
            ParentID: '1742436890822447105',
            Type: 2,
            Name: '查看文件块',
            Path: '/knowledge/viewSegmentationFile',
            Permission: '',
            Icon: 'ywifont ywicon-a-appround15',
            IsIframe: false,
            IsHide: true,
            Weight: 0,
            SortCode: 2,
            Description: '',
         },
         {
            Children: [],
            ID: '3329',
            ParentID: '1742436890822447105',
            Type: 2,
            Name: '查看文件',
            Path: '/knowledge/viewFile',
            Permission: '',
            Icon: 'ywifont ywicon-a-appround15',
            IsIframe: false,
            IsHide: true,
            Weight: 0,
            SortCode: 2,
            Description: '',
         },
      ],
   },
   {
      ID: '3333',
      ParentID: '0',
      Type: 1,
      Name: '系统管理',
      Path: '',
      Permission: '',
      Icon: 'ywifont ywicon-shezhi',
      IsIframe: false,
      OutLink: '',
      IsHide: false,
      Weight: 0,
      SortCode: 1,
      Description: '',
      Children: [
         {
            Children: [],
            ID: '99',
            ParentID: '3',
            Type: 2,
            Name: '系统分组',
            Path: '/sysGroupMgr',
            Permission: '',
            Icon: 'ywifont ywicon-zhibiao',
            IsIframe: false,
            OutLink: '',
            IsHide: false,
            Weight: 0,
            SortCode: 2,
            Description: '',
         },
         {
            Children: [],
            ID: '5',
            ParentID: '3',
            Type: 2,
            Name: '数据源管理',
            Path: '/dataSourceMgr',
            Permission: '',
            Icon: 'ywifont ywicon-sql',
            IsIframe: false,
            OutLink: '',
            IsHide: false,
            Weight: 0,
            SortCode: 2,
            Description: '',
         },
         {
            Children: [],
            ID: '333-2',
            ParentID: '3',
            Type: 2,
            Name: '对话日志',
            Path: '/chatLog',
            Permission: '',
            Icon: 'ywifont ywicon-wendang',
            IsIframe: false,
            OutLink: '',
            IsHide: false,
            Weight: 0,
            SortCode: 2,
            Description: '',
         },
      ],
   },
   {
      ID: '4444',
      ParentID: '0',
      Type: 1,
      Name: '权限中心',
      Path: '',
      Permission: '',
      Icon: 'ywifont ywicon-quanxian',
      IsIframe: false,
      OutLink: '',
      IsHide: false,
      Weight: 0,
      SortCode: 1,
      Description: '',
      Children: [
         {
            Children: [],
            ID: '333-1',
            ParentID: '1742436890822447105',
            Type: 2,
            Name: '角色管理',
            Path: '/authCenter/roleMgr',
            Permission: '',
            Icon: 'ywifont ywicon-jiaose',
            IsIframe: false,
            IsHide: false,
            Weight: 0,
            SortCode: 2,
            Description: '',
         },
         {
            Children: [],
            ID: '333-2',
            ParentID: '1742436890822447105',
            Type: 2,
            Name: '用户管理',
            Path: '/authCenter/userMgr',
            Permission: '',
            Icon: 'ywifont ywicon-wode',
            IsIframe: false,
            IsHide: false,
            Weight: 0,
            SortCode: 2,
            Description: '',
         },
         {
            Children: [],
            ID: '333-3',
            ParentID: '1742436890822447205',
            Type: 2,
            Name: '部门管理',
            Path: '/authCenter/departmentMgr',
            Permission: '',
            Icon: 'ywifont ywicon-jiegou',
            IsIframe: false,
            IsHide: false,
            Weight: 0,
            SortCode: 2,
            Description: '',
         },
         {
            Children: [],
            ID: '333-4',
            ParentID: '1742436890822447105',
            Type: 2,
            Name: '操作日志',
            Path: '/authCenter/operateLog',
            Permission: '',
            Icon: 'ywifont ywicon-wendang',
            IsIframe: false,
            IsHide: false,
            Weight: 0,
            SortCode: 2,
            Description: '',
         },
      ],
   },
];