基础设置

This commit is contained in:
qsh
2024-05-20 15:36:39 +08:00
parent 0dcc807b34
commit 28c328d191
237 changed files with 1013 additions and 29597 deletions

View File

@@ -296,6 +296,39 @@ const remainingRouter: AppRouteRecordRaw[] = [
affix: true
}
},
{
path: 'dept',
component: () => import('@/views/Basic/Dept/index.vue'),
name: 'Dept',
meta: {
title: '部门',
icon: 'ep:home-filled',
noCache: false,
affix: true
}
},
{
path: 'role',
component: () => import('@/views/Basic/Role/index.vue'),
name: 'Role',
meta: {
title: '角色',
icon: 'ep:home-filled',
noCache: false,
affix: true
}
},
{
path: 'employee',
component: () => import('@/views/Basic/User/index.vue'),
name: 'Employee',
meta: {
title: '员工',
icon: 'ep:home-filled',
noCache: false,
affix: true
}
},
{
path: 'generalSet',
component: () => import('@/views/Basic/GeneralSet/index.vue'),
@@ -306,6 +339,17 @@ const remainingRouter: AppRouteRecordRaw[] = [
noCache: false,
affix: true
}
},
{
path: 'menu',
component: () => import('@/views/Basic/Menu/index.vue'),
name: 'menu',
meta: {
title: '菜单管理',
icon: 'ep:home-filled',
noCache: false,
affix: true
}
}
]
},
@@ -345,76 +389,30 @@ const remainingRouter: AppRouteRecordRaw[] = [
]
},
{
path: '/dict',
component: Layout,
name: 'dict',
meta: {
hidden: true
},
children: [
{
path: 'type/data/:dictType',
component: () => import('@/views/system/dict/data/index.vue'),
name: 'SystemDictData',
meta: {
title: '字典数据',
noCache: true,
hidden: true,
canTo: true,
icon: '',
activeMenu: '/system/dict'
}
}
]
},
// {
// path: '/dict',
// component: Layout,
// name: 'dict',
// meta: {
// hidden: true
// },
// children: [
// {
// path: 'type/data/:dictType',
// component: () => import('@/views/system/dict/data/index.vue'),
// name: 'SystemDictData',
// meta: {
// title: '字典数据',
// noCache: true,
// hidden: true,
// canTo: true,
// icon: '',
// activeMenu: '/system/dict'
// }
// }
// ]
// },
{
path: '/codegen',
component: Layout,
name: 'CodegenEdit',
meta: {
hidden: true
},
children: [
{
path: 'edit',
component: () => import('@/views/infra/codegen/EditTable.vue'),
name: 'InfraCodegenEditTable',
meta: {
noCache: true,
hidden: true,
canTo: true,
icon: 'ep:edit',
title: '修改生成配置',
activeMenu: 'infra/codegen/index'
}
}
]
},
{
path: '/job',
component: Layout,
name: 'JobL',
meta: {
hidden: true
},
children: [
{
path: 'job-log',
component: () => import('@/views/infra/job/logger/index.vue'),
name: 'InfraJobLog',
meta: {
noCache: true,
hidden: true,
canTo: true,
icon: 'ep:edit',
title: '调度日志',
activeMenu: 'infra/job/index'
}
}
]
},
{
path: '/login',
component: () => import('@/views/Login/Login.vue'),
@@ -464,164 +462,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
title: '500',
noTagsView: true
}
},
{
path: '/bpm',
component: Layout,
name: 'bpm',
meta: {
hidden: true
},
children: [
{
path: '/manager/form/edit',
component: () => import('@/views/bpm/form/editor/index.vue'),
name: 'BpmFormEditor',
meta: {
noCache: true,
hidden: true,
canTo: true,
title: '设计流程表单',
activeMenu: '/bpm/manager/form'
}
},
{
path: '/manager/model/edit',
component: () => import('@/views/bpm/model/editor/index.vue'),
name: 'BpmModelEditor',
meta: {
noCache: true,
hidden: true,
canTo: true,
title: '设计流程',
activeMenu: '/bpm/manager/model'
}
},
{
path: '/manager/definition',
component: () => import('@/views/bpm/definition/index.vue'),
name: 'BpmProcessDefinition',
meta: {
noCache: true,
hidden: true,
canTo: true,
title: '流程定义',
activeMenu: '/bpm/manager/model'
}
},
{
path: '/manager/task-assign-rule',
component: () => import('@/views/bpm/taskAssignRule/index.vue'),
name: 'BpmTaskAssignRuleList',
meta: {
noCache: true,
hidden: true,
canTo: true,
title: '任务分配规则'
}
},
{
path: '/process-instance/create',
component: () => import('@/views/bpm/processInstance/create/index.vue'),
name: 'BpmProcessInstanceCreate',
meta: {
noCache: true,
hidden: true,
canTo: true,
title: '发起流程',
activeMenu: 'bpm/processInstance/create'
}
},
{
path: '/process-instance/detail',
component: () => import('@/views/bpm/processInstance/detail/index.vue'),
name: 'BpmProcessInstanceDetail',
meta: {
noCache: true,
hidden: true,
canTo: true,
title: '流程详情',
activeMenu: 'bpm/processInstance/detail'
}
},
{
path: '/bpm/oa/leave/create',
component: () => import('@/views/bpm/oa/leave/create.vue'),
name: 'OALeaveCreate',
meta: {
noCache: true,
hidden: true,
canTo: true,
title: '发起 OA 请假',
activeMenu: '/bpm/oa/leave'
}
},
{
path: '/bpm/oa/leave/detail',
component: () => import('@/views/bpm/oa/leave/detail.vue'),
name: 'OALeaveDetail',
meta: {
noCache: true,
hidden: true,
canTo: true,
title: '查看 OA 请假',
activeMenu: '/bpm/oa/leave'
}
}
]
},
{
path: '/property',
component: Layout,
name: 'property',
meta: {
hidden: true
},
children: [
{
path: 'value/:propertyId(\\d+)',
component: () => import('@/views/mall/product/property/value/index.vue'),
name: 'ProductPropertyValue',
meta: { title: '商品属性值', icon: '', activeMenu: '/product/property' }
}
]
}
// {
// path: '/product',
// component: Layout,
// name: 'Product',
// meta: {
// hidden: true
// },
// children: [
// {
// path: 'productSpuAdd', // TODO @puhui999最好拆成 add 和 edit 两个路由;添加商品;修改商品 fix
// component: () => import('@/views/mall/product/spu/addForm.vue'),
// name: 'ProductSpuAdd',
// meta: {
// noCache: true,
// hidden: true,
// canTo: true,
// icon: 'ep:edit',
// title: '添加商品',
// activeMenu: '/product/product-spu'
// }
// },
// {
// path: 'productSpuEdit/:spuId(\\d+)',
// component: () => import('@/views/mall/product/spu/addForm.vue'),
// name: 'productSpuEdit',
// meta: {
// noCache: true,
// hidden: true,
// canTo: true,
// icon: 'ep:edit',
// title: '编辑商品',
// activeMenu: '/product/product-spu'
// }
// }
// ]
// }
]
export default remainingRouter