Преглед изворни кода

左侧菜单部分隐藏,生产线管理跳转到n8n网页

Xiao_123 пре 3 недеља
родитељ
комит
f4bdea7abf
3 измењених фајлова са 494 додато и 514 уклоњено
  1. 1 1
      src/permission.js
  2. 6 1
      src/router/defaultRoute.js
  3. 487 512
      src/router/routes.js

+ 1 - 1
src/permission.js

@@ -26,7 +26,7 @@ router.beforeEach((to, from, next) => {
     return
   }
   if (to.path === '/login') {
-    next('/home')
+    next('/')
     // return
   }
 

+ 6 - 1
src/router/defaultRoute.js

@@ -53,4 +53,9 @@ const base = [
   }
 ]
 
-export default [...base, { path: '/', redirect: '/home' }, ...mapASyncRoutes(Routes.routes), { path: '*', redirect: '/404', hidden: true }]
+export default [
+  ...base,
+  { path: '/', redirect: '/data-governance/metadata' },
+  ...mapASyncRoutes(Routes.routes),
+  { path: '*', redirect: '/404', hidden: true }
+]

+ 487 - 512
src/router/routes.js

@@ -1,346 +1,343 @@
 export default {
   routes: [
-    {
-      hidden: 0,
-      rootId: 0,
-      icon: 'mdi-home',
-      type: 0,
-      title: '工作台',
-      path: '/home',
-      children: [
-        {
-          hidden: 1,
-          icon: '',
-          type: 1,
-          title: '工作台',
-          path: '/home',
-          children: [],
-          enName: 'workbench',
-          redirect: '',
-          active: '',
-          label: '工作台',
-          sort: 0,
-          component: 'home',
-          meta: {
-            keepAlive: false,
-            allowClick: false,
-            roles: [],
-            enName: 'workbench',
-            icon: '',
-            editModules: true,
-            title: '工作台',
-            fullScreen: false,
-            target: false,
-            effectiveStatus: true
-          },
-          name: 'index',
-          alwaysShow: 0
-        },
-        {
-          hidden: 1,
-          type: 1,
-          title: '主页编辑',
-          path: '/home/edit',
-          children: [],
-          enName: 'Edit Home Page',
-          redirect: '',
-          active: '',
-          label: '主页编辑',
-          sort: 0,
-          component: 'home/edit',
-          meta: {
-            keepAlive: false,
-            allowClick: false,
-            roles: [],
-            enName: 'Edit Home Page',
-            icon: '',
-            editModules: true,
-            title: '主页编辑',
-            fullScreen: true,
-            target: false,
-            effectiveStatus: true
-          },
-          name: 'homeEdit',
-          alwaysShow: 0
-        }
-      ],
-      enName: 'workbench',
-      redirect: '',
-      active: '',
-      label: '工作台',
-      sort: 0,
-      component: 'Layout',
-      meta: {
-        allowClick: false,
-        roles: [],
-        enName: 'workbench',
-        icon: 'mdi-home',
-        title: '工作台',
-        target: false,
-        effectiveStatus: true
-      },
-      name: 'home',
-      alwaysShow: 0
-    },
-    {
-      meun: '',
-      code: '',
-      hidden: 0,
-      rootId: 0,
-      icon: 'mdi-database-search',
-      remark: '',
-      type: 0,
-      title: '产品知识库',
-      local: '',
-      path: '/knowledge-base-product',
-      urls: '',
-      children: [
-        {
-          meun: '',
-          code: '',
-          hidden: 1,
-          rootId: 1221,
-          icon: 'mdi-file-chart-outline',
-          remark: '',
-          type: 1,
-          title: '产品知识库列表',
-          local: '',
-          path: '/knowledge-base-product',
-          urls: '',
-          children: [],
-          enName: 'product Knowledge Base',
-          id: 1224,
-          redirect: '',
-          level: 2,
-          openPath: '',
-          active: '',
-          label: '产品知识库列表',
-          sort: 0,
-          parentId: 1221,
-          effectiveStatus: true,
-          parentName: '',
-          component: 'knowledgeBaseProduct/index',
-          meta: {
-            keepAlive: false,
-            allowClick: false,
-            roles: [],
-            enName: 'product Knowledge Base',
-            icon: 'mdi-file-chart-outline',
-            editModules: false,
-            title: '产品知识库列表',
-            fullScreen: false,
-            target: false,
-            effectiveStatus: true
-          },
-          name: 'knowledgeBaseProductList',
-          style: '',
-          alwaysShow: 0,
-          metastr: '{"keepAlive":false,"allowClick":false,"enName":"product Knowledge Base","editModules":false,"title":"产品知识库列表","fullScreen":false,"target":false}',
-          open: null
-        }
-      ],
-      enName: 'product Knowledge Base',
-      id: 1221,
-      redirect: '',
-      level: 1,
-      openPath: '',
-      active: '',
-      label: '产品知识库',
-      sort: 18,
-      parentId: 0,
-      effectiveStatus: true,
-      parentName: '',
-      component: 'Layout',
-      meta: {
-        allowClick: false,
-        roles: [],
-        enName: 'product Knowledge Base',
-        icon: 'mdi-database-search',
-        title: '产品知识库',
-        target: false,
-        effectiveStatus: true
-      },
-      name: 'knowledgeBaseProduct',
-      style: '',
-      alwaysShow: 0,
-      metastr: '{"allowClick":false,"enName":"product Knowledge Base","title":"产品知识库","target":false}',
-      open: null
-    },
-    {
-      hidden: 0,
-      rootId: 0,
-      icon: 'mdi-chart-box',
-      type: 0,
-      path: '/data-chart',
-      children: [
-        {
-          hidden: 1,
-          icon: '',
-          type: 1,
-          title: '数据图表',
-          path: '/data-chart',
-          children: [],
-          enName: 'data Chart',
-          redirect: '',
-          active: '',
-          label: '数据图表',
-          sort: 0,
-          component: 'dataChart',
-          meta: {
-            roles: [],
-            enName: 'data Chart',
-            icon: '',
-            title: '数据图表',
-            fullScreen: false
-          },
-          name: 'index',
-          alwaysShow: 0
-        }
-      ],
-      enName: 'data Chart',
-      redirect: '',
-      active: '',
-      sort: 0,
-      component: 'Layout',
-      meta: {
-        allowClick: false,
-        roles: [],
-        enName: 'workbench',
-        icon: 'mdi-home',
-        title: '数据图表',
-        target: false,
-        effectiveStatus: true
-      },
-      name: 'home',
-      alwaysShow: 0
-    },
-    {
-      meun: '',
-      code: '',
-      hidden: 0,
-      rootId: 0,
-      icon: 'mdi-database-clock',
-      remark: '',
-      type: 0,
-      title: '数据资产',
-      local: '',
-      path: '/data-asset',
-      urls: '',
-      children: [
-        {
-          meun: '',
-          code: '',
-          hidden: 1,
-          rootId: 1231,
-          icon: '',
-          remark: '',
-          type: 1,
-          title: '产品知识库列表',
-          local: '',
-          path: '/data-asset',
-          urls: '',
-          children: [],
-          enName: 'Data Asset',
-          id: 1232,
-          redirect: '',
-          level: 2,
-          openPath: '',
-          active: '',
-          label: '产品知识库列表',
-          sort: 0,
-          parentId: 1231,
-          effectiveStatus: true,
-          parentName: '',
-          component: 'dataAsset',
-          meta: {
-            keepAlive: false,
-            allowClick: false,
-            roles: [],
-            enName: 'Data Asset',
-            icon: '',
-            editModules: false,
-            title: '产品知识库列表',
-            fullScreen: false,
-            target: false,
-            effectiveStatus: true
-          },
-          name: 'dataAssetList',
-          style: '',
-          alwaysShow: 0,
-          metastr: '{"keepAlive":false,"allowClick":false,"enName":"Data Asset","editModules":false,"title":"产品知识库列表","fullScreen":false,"target":false}',
-          open: null
-        },
-        {
-          meun: '',
-          code: '',
-          hidden: 1,
-          rootId: 1231,
-          icon: '',
-          remark: '',
-          type: 1,
-          title: '产品知识库详情',
-          local: '',
-          path: '/data-asset/details/:id/:name',
-          urls: '',
-          children: [],
-          enName: 'Data Asset Details',
-          id: 1233,
-          redirect: '',
-          level: 2,
-          openPath: '',
-          active: '',
-          label: '产品知识库详情',
-          sort: 0,
-          parentId: 1231,
-          effectiveStatus: true,
-          parentName: '',
-          component: 'dataAsset/details',
-          meta: {
-            keepAlive: false,
-            allowClick: false,
-            roles: [],
-            enName: 'Data Asset Details',
-            icon: '',
-            editModules: false,
-            title: '产品知识库详情',
-            fullScreen: false,
-            target: false,
-            effectiveStatus: true
-          },
-          name: 'dataAssetDetails',
-          style: '',
-          alwaysShow: 0,
-          metastr: '{"keepAlive":false,"allowClick":false,"enName":"Data Asset Details","editModules":false,"title":"产品知识库详情","fullScreen":false,"target":false}',
-          open: null
-        }
-      ],
-      enName: 'Data Asset',
-      id: 1231,
-      redirect: '',
-      level: 1,
-      openPath: '',
-      active: '',
-      label: '数据资产',
-      sort: 30,
-      parentId: 0,
-      effectiveStatus: true,
-      parentName: '',
-      component: 'Layout',
-      meta: {
-        allowClick: true,
-        roles: [],
-        enName: 'Data Asset',
-        icon: 'mdi-database-clock',
-        title: '数据资产',
-        target: false,
-        effectiveStatus: true
-      },
-      name: 'dataAsset',
-      style: '',
-      alwaysShow: 0,
-      metastr: '{"allowClick":true,"enName":"Data Asset","title":"数据资产","target":false}',
-      open: null
-    },
+    // {
+    //   meun: '',
+    //   code: '',
+    //   hidden: 0,
+    //   rootId: 0,
+    //   icon: 'mdi-home',
+    //   remark: '',
+    //   type: 0,
+    //   title: '工作台',
+    //   local: '',
+    //   path: '/home',
+    //   urls: '',
+    //   children: [
+    //     {
+    //       meun: '',
+    //       code: '',
+    //       hidden: 1,
+    //       rootId: 653,
+    //       icon: '',
+    //       remark: '',
+    //       type: 1,
+    //       title: '工作台',
+    //       local: '',
+    //       path: '/home',
+    //       urls: '',
+    //       children: [],
+    //       enName: 'workbench',
+    //       id: 654,
+    //       redirect: '',
+    //       level: 2,
+    //       openPath: '',
+    //       active: '',
+    //       label: '工作台',
+    //       sort: 0,
+    //       parentId: 653,
+    //       effectiveStatus: true,
+    //       parentName: 'home',
+    //       component: 'home',
+    //       meta: {
+    //         keepAlive: false,
+    //         allowClick: false,
+    //         roles: [],
+    //         enName: 'workbench',
+    //         icon: '',
+    //         editModules: true,
+    //         title: '工作台',
+    //         fullScreen: false,
+    //         target: false,
+    //         effectiveStatus: true
+    //       },
+    //       name: 'index',
+    //       style: '',
+    //       alwaysShow: 0,
+    //       metastr: '{"keepAlive":false,"allowClick":false,"enName":"workbench","editModules":true,"title":"工作台","fullScreen":false,"target":false}',
+    //       open: null
+    //     },
+    //     {
+    //       meun: '',
+    //       code: '',
+    //       hidden: 1,
+    //       rootId: 653,
+    //       icon: '',
+    //       remark: '',
+    //       type: 1,
+    //       title: '主页编辑',
+    //       local: '',
+    //       path: '/home/edit',
+    //       urls: '',
+    //       children: [],
+    //       enName: 'Edit Home Page',
+    //       id: 655,
+    //       redirect: '',
+    //       level: 2,
+    //       openPath: '',
+    //       active: '',
+    //       label: '主页编辑',
+    //       sort: 0,
+    //       parentId: 653,
+    //       effectiveStatus: true,
+    //       parentName: '',
+    //       component: 'home/edit',
+    //       meta: {
+    //         keepAlive: false,
+    //         allowClick: false,
+    //         roles: [],
+    //         enName: 'Edit Home Page',
+    //         icon: '',
+    //         editModules: true,
+    //         title: '主页编辑',
+    //         fullScreen: true,
+    //         target: false,
+    //         effectiveStatus: true
+    //       },
+    //       name: 'homeEdit',
+    //       style: '',
+    //       alwaysShow: 0,
+    //       metastr: '{"keepAlive":false,"allowClick":false,"enName":"Edit Home Page","editModules":true,"title":"主页编辑","fullScreen":true,"target":false}',
+    //       open: null
+    //     }
+    //   ],
+    //   enName: 'workbench',
+    //   id: 653,
+    //   redirect: '',
+    //   level: 1,
+    //   openPath: '',
+    //   active: '',
+    //   label: '工作台',
+    //   sort: 0,
+    //   parentId: 0,
+    //   effectiveStatus: true,
+    //   parentName: 'efficiency',
+    //   component: 'Layout',
+    //   meta: {
+    //     allowClick: false,
+    //     roles: [],
+    //     enName: 'workbench',
+    //     icon: 'mdi-home',
+    //     title: '工作台',
+    //     target: false,
+    //     effectiveStatus: true
+    //   },
+    //   name: 'home',
+    //   style: '',
+    //   alwaysShow: 0,
+    //   metastr: '{"allowClick":false,"enName":"workbench","title":"工作台","target":false}',
+    //   open: null
+    // },
+    // {
+    //   meun: '',
+    //   code: '',
+    //   hidden: 0,
+    //   rootId: 0,
+    //   icon: 'mdi-database-search',
+    //   remark: '',
+    //   type: 0,
+    //   title: '产品知识库',
+    //   local: '',
+    //   path: '/knowledge-base-product',
+    //   urls: '',
+    //   children: [
+    //     {
+    //       meun: '',
+    //       code: '',
+    //       hidden: 1,
+    //       rootId: 1221,
+    //       icon: 'mdi-file-chart-outline',
+    //       remark: '',
+    //       type: 1,
+    //       title: '产品知识库列表',
+    //       local: '',
+    //       path: '/knowledge-base-product',
+    //       urls: '',
+    //       children: [],
+    //       enName: 'product Knowledge Base',
+    //       id: 1224,
+    //       redirect: '',
+    //       level: 2,
+    //       openPath: '',
+    //       active: '',
+    //       label: '产品知识库列表',
+    //       sort: 0,
+    //       parentId: 1221,
+    //       effectiveStatus: true,
+    //       parentName: '',
+    //       component: 'knowledgeBaseProduct/index',
+    //       meta: {
+    //         keepAlive: false,
+    //         allowClick: false,
+    //         roles: [],
+    //         enName: 'product Knowledge Base',
+    //         icon: 'mdi-file-chart-outline',
+    //         editModules: false,
+    //         title: '产品知识库列表',
+    //         fullScreen: false,
+    //         target: false,
+    //         effectiveStatus: true
+    //       },
+    //       name: 'knowledgeBaseProductList',
+    //       style: '',
+    //       alwaysShow: 0,
+    //       metastr: '{"keepAlive":false,"allowClick":false,"enName":"product Knowledge Base","editModules":false,"title":"产品知识库列表","fullScreen":false,"target":false}',
+    //       open: null
+    //     }
+    //   ],
+    //   enName: 'product Knowledge Base',
+    //   id: 1221,
+    //   redirect: '',
+    //   level: 1,
+    //   openPath: '',
+    //   active: '',
+    //   label: '产品知识库',
+    //   sort: 18,
+    //   parentId: 0,
+    //   effectiveStatus: true,
+    //   parentName: '',
+    //   component: 'Layout',
+    //   meta: {
+    //     allowClick: false,
+    //     roles: [],
+    //     enName: 'product Knowledge Base',
+    //     icon: 'mdi-database-search',
+    //     title: '产品知识库',
+    //     target: false,
+    //     effectiveStatus: true
+    //   },
+    //   name: 'knowledgeBaseProduct',
+    //   style: '',
+    //   alwaysShow: 0,
+    //   metastr: '{"allowClick":false,"enName":"product Knowledge Base","title":"产品知识库","target":false}',
+    //   open: null
+    // },
+    // {
+    //   meun: '',
+    //   code: '',
+    //   hidden: 0,
+    //   rootId: 0,
+    //   icon: 'mdi-database-clock',
+    //   remark: '',
+    //   type: 0,
+    //   title: '数据资产',
+    //   local: '',
+    //   path: '/data-asset',
+    //   urls: '',
+    //   children: [
+    //     {
+    //       meun: '',
+    //       code: '',
+    //       hidden: 1,
+    //       rootId: 1231,
+    //       icon: '',
+    //       remark: '',
+    //       type: 1,
+    //       title: '产品知识库列表',
+    //       local: '',
+    //       path: '/data-asset',
+    //       urls: '',
+    //       children: [],
+    //       enName: 'Data Asset',
+    //       id: 1232,
+    //       redirect: '',
+    //       level: 2,
+    //       openPath: '',
+    //       active: '',
+    //       label: '产品知识库列表',
+    //       sort: 0,
+    //       parentId: 1231,
+    //       effectiveStatus: true,
+    //       parentName: '',
+    //       component: 'dataAsset',
+    //       meta: {
+    //         keepAlive: false,
+    //         allowClick: false,
+    //         roles: [],
+    //         enName: 'Data Asset',
+    //         icon: '',
+    //         editModules: false,
+    //         title: '产品知识库列表',
+    //         fullScreen: false,
+    //         target: false,
+    //         effectiveStatus: true
+    //       },
+    //       name: 'dataAssetList',
+    //       style: '',
+    //       alwaysShow: 0,
+    //       metastr: '{"keepAlive":false,"allowClick":false,"enName":"Data Asset","editModules":false,"title":"产品知识库列表","fullScreen":false,"target":false}',
+    //       open: null
+    //     },
+    //     {
+    //       meun: '',
+    //       code: '',
+    //       hidden: 1,
+    //       rootId: 1231,
+    //       icon: '',
+    //       remark: '',
+    //       type: 1,
+    //       title: '产品知识库详情',
+    //       local: '',
+    //       path: '/data-asset/details/:id/:name',
+    //       urls: '',
+    //       children: [],
+    //       enName: 'Data Asset Details',
+    //       id: 1233,
+    //       redirect: '',
+    //       level: 2,
+    //       openPath: '',
+    //       active: '',
+    //       label: '产品知识库详情',
+    //       sort: 0,
+    //       parentId: 1231,
+    //       effectiveStatus: true,
+    //       parentName: '',
+    //       component: 'dataAsset/details',
+    //       meta: {
+    //         keepAlive: false,
+    //         allowClick: false,
+    //         roles: [],
+    //         enName: 'Data Asset Details',
+    //         icon: '',
+    //         editModules: false,
+    //         title: '产品知识库详情',
+    //         fullScreen: false,
+    //         target: false,
+    //         effectiveStatus: true
+    //       },
+    //       name: 'dataAssetDetails',
+    //       style: '',
+    //       alwaysShow: 0,
+    //       metastr: '{"keepAlive":false,"allowClick":false,"enName":"Data Asset Details","editModules":false,"title":"产品知识库详情","fullScreen":false,"target":false}',
+    //       open: null
+    //     }
+    //   ],
+    //   enName: 'Data Asset',
+    //   id: 1231,
+    //   redirect: '',
+    //   level: 1,
+    //   openPath: '',
+    //   active: '',
+    //   label: '数据资产',
+    //   sort: 30,
+    //   parentId: 0,
+    //   effectiveStatus: true,
+    //   parentName: '',
+    //   component: 'Layout',
+    //   meta: {
+    //     allowClick: true,
+    //     roles: [],
+    //     enName: 'Data Asset',
+    //     icon: 'mdi-database-clock',
+    //     title: '数据资产',
+    //     target: false,
+    //     effectiveStatus: true
+    //   },
+    //   name: 'dataAsset',
+    //   style: '',
+    //   alwaysShow: 0,
+    //   metastr: '{"allowClick":true,"enName":"Data Asset","title":"数据资产","target":false}',
+    //   open: null
+    // },
     {
       meun: '',
       code: '',
@@ -683,6 +680,7 @@ export default {
       metastr: '{"allowClick":false,"enName":"Data Governance","title":"数据治理","target":false}',
       open: null
     },
+    // 数据工厂
     {
       meun: '',
       code: '',
@@ -696,6 +694,95 @@ export default {
       path: '/dataFactory',
       urls: '',
       children: [
+        // {
+        //   meun: '',
+        //   code: '',
+        //   hidden: 1,
+        //   rootId: 972,
+        //   icon: '',
+        //   remark: '',
+        //   type: 1,
+        //   title: '生产线监控',
+        //   local: '',
+        //   path: '/dataFactory/production-line-monitor1',
+        //   urls: '',
+        //   children: [],
+        //   enName: 'production line monitor',
+        //   id: 99999999,
+        //   redirect: '',
+        //   level: 2,
+        //   openPath: '',
+        //   active: '',
+        //   label: '生产线监控',
+        //   sort: 4,
+        //   parentId: 972,
+        //   effectiveStatus: true,
+        //   parentName: 'dataFactory',
+        //   component: 'dataFactory/productionLineMonitor',
+        //   meta: {
+        //     noLogin: true,
+        //     keepAlive: false,
+        //     allowClick: false,
+        //     roles: [],
+        //     enName: 'production line monitor',
+        //     icon: '',
+        //     editModules: false,
+        //     title: '生产线监控',
+        //     fullScreen: true,
+        //     target: false,
+        //     dataPermission: false,
+        //     effectiveStatus: true
+        //   },
+        //   name: 'productionLineMonitor',
+        //   style: '',
+        //   alwaysShow: 0,
+        //   metastr: '{"keepAlive":false,"noLogin":true,"allowClick":false,"enName":"production line monitor","editModules":false,"title":"生产线监控","fullScreen":true,"target":false,"dataPermission":false}',
+        //   open: null
+        // },
+        // {
+        //   meun: '',
+        //   code: '',
+        //   hidden: 0,
+        //   rootId: 972,
+        //   icon: '',
+        //   remark: '',
+        //   type: 1,
+        //   title: '生产线监控',
+        //   local: '',
+        //   path: '/dataFactory/production-line-monitor',
+        //   urls: '',
+        //   children: [],
+        //   enName: 'production line monitor',
+        //   id: 961,
+        //   redirect: '',
+        //   level: 2,
+        //   openPath: '',
+        //   active: '',
+        //   label: '生产线监控',
+        //   sort: 4,
+        //   parentId: 972,
+        //   effectiveStatus: true,
+        //   parentName: 'dataFactory',
+        //   component: 'dataFactory/productionLineMonitor',
+        //   meta: {
+        //     keepAlive: false,
+        //     allowClick: false,
+        //     roles: [],
+        //     enName: 'production line monitor',
+        //     icon: '',
+        //     editModules: false,
+        //     title: '生产线监控',
+        //     fullScreen: false,
+        //     target: false,
+        //     dataPermission: false,
+        //     effectiveStatus: true
+        //   },
+        //   name: 'productionLineMonitor',
+        //   style: '',
+        //   alwaysShow: 0,
+        //   metastr: '{"keepAlive":false,"allowClick":false,"enName":"production line monitor","editModules":false,"title":"生产线监控","fullScreen":false,"target":false,"dataPermission":false}',
+        //   open: null
+        // },
         {
           meun: '',
           code: '',
@@ -706,7 +793,7 @@ export default {
           type: 1,
           title: '生产线管理',
           local: '',
-          path: '/dataFactory/production-line-manage',
+          path: 'https://n8n.citupro.com/',
           urls: '',
           children: [],
           enName: 'Assembly Line',
@@ -730,14 +817,15 @@ export default {
             editModules: false,
             title: '生产线管理',
             fullScreen: false,
-            target: false,
+            target: true,
             effectiveStatus: true
           },
           name: 'productionLine',
           style: '',
           alwaysShow: 0,
-          metastr: '{"keepAlive":false,"allowClick":false,"enName":"Assembly Line","editModules":false,"title":"生产线管理","fullScreen":false,"target":false}',
-          open: null
+          metastr: '{"keepAlive":false,"allowClick":false,"enName":"Assembly Line","editModules":false,"title":"生产线管理","fullScreen":false,"target":true}',
+          open: null,
+          target: true
         }
         // {
         //   meun: '',
@@ -747,7 +835,50 @@ export default {
         //   icon: '',
         //   remark: '',
         //   type: 1,
-        //   title: '原料管理',
+        //   title: '生产线调度',
+        //   local: '',
+        //   path: '/dataFactory/production-line-dispatch',
+        //   urls: '',
+        //   children: [],
+        //   enName: 'Assembly Line',
+        //   id: 1230,
+        //   redirect: '',
+        //   level: 2,
+        //   openPath: '',
+        //   active: '',
+        //   label: '生产线调度',
+        //   sort: 8,
+        //   parentId: 972,
+        //   effectiveStatus: true,
+        //   parentName: '',
+        //   component: 'dataFactory/dispatch',
+        //   meta: {
+        //     keepAlive: false,
+        //     allowClick: false,
+        //     roles: [],
+        //     enName: 'Assembly Line',
+        //     icon: '',
+        //     editModules: false,
+        //     title: '生产线调度',
+        //     fullScreen: false,
+        //     target: false,
+        //     effectiveStatus: true
+        //   },
+        //   name: 'productionLineDispatch',
+        //   style: '',
+        //   alwaysShow: 0,
+        //   metastr: '{"keepAlive":false,"allowClick":false,"enName":"Assembly Line","editModules":false,"title":"生产线调度","fullScreen":false,"target":false}',
+        //   open: null
+        // },
+        // {
+        //   meun: '',
+        //   code: '',
+        //   hidden: 0,
+        //   rootId: 972,
+        //   icon: '',
+        //   remark: '',
+        //   type: 1,
+        //   title: '生产线日志',
         //   local: '',
         //   path: '/dataFactory/log-manage',
         //   urls: '',
@@ -758,7 +889,7 @@ export default {
         //   level: 2,
         //   openPath: '',
         //   active: '',
-        //   label: '原料管理',
+        //   label: '生产线日志',
         //   sort: 10,
         //   parentId: 972,
         //   effectiveStatus: true,
@@ -771,7 +902,7 @@ export default {
         //     enName: 'log manage',
         //     icon: '',
         //     editModules: false,
-        //     title: '原料管理',
+        //     title: '生产线日志',
         //     fullScreen: false,
         //     target: false,
         //     effectiveStatus: true
@@ -810,6 +941,7 @@ export default {
       metastr: '{"allowClick":false,"enName":"production line manage","title":"数据工厂","target":false}',
       open: null
     },
+    // 数据来源
     {
       meun: '',
       code: '',
@@ -1186,6 +1318,7 @@ export default {
       metastr: '{"allowClick":false,"enName":"Data collection","title":"数据来源","target":false}',
       open: null
     },
+    // 数据目录
     {
       meun: '',
       code: '',
@@ -2245,170 +2378,12 @@ export default {
       alwaysShow: 0,
       metastr: '{"allowClick":false,"enName":"data book","title":"数据目录","target":false}',
       open: null
-    },
-    {
-      hidden: 0,
-      rootId: 0,
-      icon: 'mdi-cog-outline',
-      type: 0,
-      path: '/model-system',
-      children: [
-        {
-          hidden: 0,
-          icon: '',
-          type: 1,
-          title: '质量管理',
-          path: '/model-system/model-statistics',
-          children: [],
-          enName: 'model-statistics',
-          redirect: '',
-          active: '',
-          label: '质量管理',
-          sort: 0,
-          component: 'modelSystem/modelStatistics',
-          meta: {
-            roles: [],
-            enName: 'model-statistics',
-            icon: '',
-            title: '质量管理',
-            fullScreen: false
-          },
-          name: 'model-statistics',
-          alwaysShow: 0
-        },
-        {
-          hidden: 0,
-          icon: '',
-          type: 1,
-          title: 'QA反馈管理',
-          path: '/model-system/model-qa',
-          children: [],
-          enName: 'model-qa',
-          redirect: '',
-          active: '',
-          label: 'QA反馈管理',
-          sort: 0,
-          component: 'modelSystem/modelQa',
-          meta: {
-            roles: [],
-            enName: 'model-qa',
-            icon: '',
-            title: 'QA反馈管理',
-            fullScreen: false
-          },
-          name: 'model-qa',
-          alwaysShow: 0
-        },
-        {
-          hidden: 0,
-          icon: '',
-          type: 1,
-          title: '典型业务知识库',
-          path: '/model-system/model-train-manage',
-          children: [],
-          enName: 'model-train-manage',
-          redirect: '',
-          active: '',
-          label: '典型业务知识库',
-          sort: 10,
-          component: 'modelSystem/modelTrainManage',
-          meta: {
-            roles: [],
-            enName: 'model-train-manage',
-            icon: '',
-            title: '典型业务知识库',
-            fullScreen: false
-          },
-          name: 'model-train',
-          alwaysShow: 0
-        },
-        {
-          hidden: 0,
-          icon: '',
-          type: 1,
-          title: '知识库冷启动',
-          path: '/model-system/model-train',
-          children: [],
-          enName: 'model-train',
-          redirect: '',
-          active: '',
-          label: '知识库冷启动',
-          sort: 10,
-          component: 'modelSystem/modelTrain',
-          meta: {
-            roles: [],
-            enName: 'model-train',
-            icon: '',
-            title: '知识库冷启动',
-            fullScreen: false
-          },
-          name: 'model-train',
-          alwaysShow: 0
-        },
-        {
-          hidden: 0,
-          icon: '',
-          type: 1,
-          title: '内存管理',
-          path: '/model-system/model-history',
-          children: [],
-          enName: 'model-history',
-          redirect: '',
-          active: '',
-          label: '内存管理',
-          sort: 0,
-          component: 'modelSystem/modelHistory',
-          meta: {
-            roles: [],
-            enName: 'model-history',
-            icon: '',
-            title: '内存管理',
-            fullScreen: false
-          },
-          name: 'model-history',
-          alwaysShow: 0
-        },
-        {
-          hidden: 0,
-          icon: '',
-          type: 1,
-          title: '备份与恢复',
-          path: '/model-system/backup',
-          children: [],
-          enName: 'backup',
-          redirect: '',
-          active: '',
-          label: '备份与恢复',
-          sort: 10,
-          component: 'modelSystem/backup',
-          meta: {
-            roles: [],
-            enName: 'backup',
-            icon: '',
-            title: '备份与恢复',
-            fullScreen: false
-          },
-          name: 'backup',
-          alwaysShow: 0
-        }
-      ],
-      name: 'model-system',
-      enName: 'modelSystem',
-      redirect: '',
-      active: '',
-      sort: 100,
-      component: 'Layout',
-      meta: {
-        allowClick: false,
-        roles: [],
-        enName: 'modelSystem',
-        icon: 'mdi-cog-outline',
-        title: '知识库管理',
-        target: false,
-        effectiveStatus: true
-      },
-      alwaysShow: 0
     }
   ],
-  permission: []
+  permission: [
+    'systemManage:roleManage:create',
+    'systemManage:roleManage:edit',
+    'systemManage:roleManage:delete',
+    'systemManage:roleManage:data'
+  ]
 }