zxl
6 天以前 eece5b838b0fe29ea003c355b1228de4795d3873
src/router/index.js
@@ -42,6 +42,16 @@
    ]
  },
  {
    path: '/web-view-entry', // 内嵌入口页面路由
    component: () => import('@/views//WebViewEntry'),
    hidden: true // 不显示在侧边栏,仅用于 uni-app 内嵌访问
  },
  {
    path: '/web-view-send', // 内嵌入口页面路由
    component: () => import('@/views//WebViewSend'),
    hidden: true // 不显示在侧边栏,仅用于 uni-app 内嵌访问
  },
  {
    path: '/login',
    component: () => import('@/views/login'),
    hidden: true
@@ -68,7 +78,7 @@
    children: [
      {
        path: 'index',
        component: () => import('@/views/index'),
        component: () => import('@/views/index-nongtou'),
        name: 'Index',
        meta: { title: '首页', icon: 'dashboard', affix: true }
      }
@@ -89,27 +99,93 @@
    ]
  },
  {
    path: '/process',
    path: '/flowable',
    component: Layout,
    hidden: true,
    children: [
      {
        path: ':taskType/:step/:taskId',
        component: () => import('@/views/todo/processTask'),
        name: 'process',
        meta: { title: '处理待办' }
        path: 'definition/model/',
        component: () => import('@/views/flowable/definition/model'),
        name: 'Model',
        meta: { title: '流程设计', icon: '' }
      }
    ]
  },
  {
    path: '/project',
    path: '/flowable',
    component: Layout,
    hidden: true,
    children: [
      {
        path: '/plan/index',
        component: () => import('@/views/project/plan/index'),
        name: 'Index',
        meta: { title: '项目计划' }
        path: 'task/finished/detail/index',
        component: () => import('@/views/flowable/task/finished/detail/index'),
        name: 'FinishedRecord',
        meta: { title: '流程详情', icon: '' }
      }
    ]
  },
  {
    path: '/flowable',
    component: Layout,
    hidden: true,
    children: [
      {
        path: 'task/myProcess/detail/index',
        component: () => import('@/views/flowable/task/myProcess/detail/index'),
        name: 'MyProcessRecord',
        meta: { title: '流程详情', icon: '' }
      }
    ]
  },
  {
    path: '/flowable',
    component: Layout,
    hidden: true,
    children: [
      {
        path: 'task/myProcess/send/index',
        component: () => import('@/views/flowable/task/myProcess/send/index'),
        name: 'SendRecord',
        meta: { title: '流程办理', icon: '' }
      }
    ]
  },
  {
    path: '/flowable',
    component: Layout,
    hidden: true,
    children: [
      {
        path: 'task/todo/detail/index',
        component: () => import('@/views/flowable/task/todo/detail/index'),
        name: 'TodoRecord',
        meta: { title: '流程处理', icon: '' }
      }
    ]
  },
  {
    path: '/flowable',
    component: Layout,
    hidden: true,
    children: [
      {
        path: 'task/flowForm/index',
        component: () => import('@/views/flowable/task/flowForm/index'),
        name: 'FlowForm',
        meta: { title: '流程表单', icon: '' }
      }
    ]
  },
  {
    path: '/tool',
    component: Layout,
    hidden: true,
    children: [
      {
        path: 'build/index',
        component: () => import('@/views/tool/build/index'),
        name: 'FormBuild',
        meta: { title: '表单配置', icon: '' }
      }
    ]
  },