潘志宝
2025-03-21 9ae015934e7621bb9d02deddf27a7a9abc1e3819
src/router/modules/remaining.ts
@@ -72,6 +72,7 @@
    path: '/',
    component: Layout,
    name: 'Home',
    redirect: '/index',
    meta: {
      hidden: true,
      noTagsView: true
@@ -287,6 +288,18 @@
        }
      },
      {
        path: 'manager/simple/model',
        component: () => import('@/views/bpm/simple/SimpleModelDesign.vue'),
        name: 'SimpleModelDesign',
        meta: {
          noCache: true,
          hidden: true,
          canTo: true,
          title: '仿钉钉设计流程',
          activeMenu: '/bpm/manager/model'
        }
      },
      {
        path: 'manager/definition',
        component: () => import('@/views/bpm/definition/index.vue'),
        name: 'BpmProcessDefinition',
@@ -308,7 +321,12 @@
          canTo: true,
          title: '流程详情',
          activeMenu: '/bpm/task/my'
        }
        },
        props: (route) => ({
          id: route.query.id,
          taskId: route.query.taskId,
          activityId: route.query.activityId
        })
      },
      {
        path: 'oa/leave/create',
@@ -332,6 +350,30 @@
          canTo: true,
          title: '查看 OA 请假',
          activeMenu: '/bpm/oa/leave'
        }
      },
      {
        path: 'manager/model/create',
        component: () => import('@/views/bpm/model/form/index.vue'),
        name: 'BpmModelCreate',
        meta: {
          noCache: true,
          hidden: true,
          canTo: true,
          title: '创建流程',
          activeMenu: '/bpm/manager/model'
        }
      },
      {
        path: 'manager/model/update/:id',
        component: () => import('@/views/bpm/model/form/index.vue'),
        name: 'BpmModelUpdate',
        meta: {
          noCache: true,
          hidden: true,
          canTo: true,
          title: '修改流程',
          activeMenu: '/bpm/manager/model'
        }
      }
    ]
@@ -405,6 +447,29 @@
      }
    ]
  },
  {
    path: '/matlab',
    component: Layout,
    name: 'matlab',
    meta: {
      hidden: true
    },
    children: [
      {
        path: 'model/form/:id?',
        component: () => import('@/views/model/matlab/model/MatlabModelForm.vue'),
        name: 'MatlabModelForm',
        meta: {
          title: 'Matlab模型表单',
          noCache: true,
          hidden: true,
          canTo: true,
          icon: '',
          activeMenu: '/matlab/model'
        }
      }
    ]
  },
]
export default remainingRouter