|
|
|
@ -1,141 +1,141 @@
|
|
|
|
|
/*
|
|
|
|
|
* @Author: your name
|
|
|
|
|
* @Date: 2021-11-24 14:45:04
|
|
|
|
|
* @LastEditTime: 2021-11-24 15:27:01
|
|
|
|
|
* @LastEditTime: 2021-11-26 16:15:03
|
|
|
|
|
* @LastEditors: Please set LastEditors
|
|
|
|
|
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
|
|
|
* @FilePath: /LittleBeeSaas/src/router/basic.js
|
|
|
|
|
*/
|
|
|
|
|
export default [
|
|
|
|
|
{
|
|
|
|
|
path: '/Console',
|
|
|
|
|
path: '/Basic/Console',
|
|
|
|
|
name: "Console",
|
|
|
|
|
title: "控制台",
|
|
|
|
|
hide: false,
|
|
|
|
|
icon: 'container',
|
|
|
|
|
component: resolve => require(['@/views/Console'], resolve),
|
|
|
|
|
component: resolve => require(['@/views/Basic/Console'], resolve),
|
|
|
|
|
meta: {title: '控制台'}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/Employee',
|
|
|
|
|
path: '/Basic/Employee',
|
|
|
|
|
name: "Employee",
|
|
|
|
|
title: "员工管理",
|
|
|
|
|
icon: 'database',
|
|
|
|
|
hide: false,
|
|
|
|
|
component: resolve => require(['@/views/Employee'], resolve),
|
|
|
|
|
component: resolve => require(['@/views/Basic/Employee'], resolve),
|
|
|
|
|
meta: {title: '员工管理'}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/Authority',
|
|
|
|
|
path: '/Basic/Authority',
|
|
|
|
|
name: "Authority",
|
|
|
|
|
title: "权限管理",
|
|
|
|
|
icon: 'profile',
|
|
|
|
|
hide: false,
|
|
|
|
|
component: resolve => require(['@/views/Authority'], resolve),
|
|
|
|
|
component: resolve => require(['@/views/Basic/Authority'], resolve),
|
|
|
|
|
meta: {title: '权限管理'},
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
path: '/Authority/_member',
|
|
|
|
|
path: '/Basic/Authority/_member',
|
|
|
|
|
name: "Authority_member",
|
|
|
|
|
title: "成员管理",
|
|
|
|
|
icon: 'profile',
|
|
|
|
|
hide: false,
|
|
|
|
|
component: resolve => require(['@/views/Authority/_member'], resolve),
|
|
|
|
|
component: resolve => require(['@/views/Basic/Authority/_member'], resolve),
|
|
|
|
|
meta: {title: '成员管理'},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/Authority/_role',
|
|
|
|
|
path: '/Basic/Authority/_role',
|
|
|
|
|
name: "Authority_role",
|
|
|
|
|
title: "角色管理",
|
|
|
|
|
icon: 'profile',
|
|
|
|
|
hide: false,
|
|
|
|
|
component: resolve => require(['@/views/Authority/_role'], resolve),
|
|
|
|
|
component: resolve => require(['@/views/Basic/Authority/_role'], resolve),
|
|
|
|
|
meta: {title: '角色管理'},
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/Attendance',
|
|
|
|
|
path: '/Basic/Attendance',
|
|
|
|
|
name: "Attendance",
|
|
|
|
|
title: "考勤管理",
|
|
|
|
|
icon: 'profile',
|
|
|
|
|
hide: false,
|
|
|
|
|
component: resolve => require(['@/views/Attendance'], resolve),
|
|
|
|
|
component: resolve => require(['@/views/Basic/Attendance'], resolve),
|
|
|
|
|
meta: {title: '考勤管理'},
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
path: '/Attendance/record',
|
|
|
|
|
path: '/Basic/Attendance/record',
|
|
|
|
|
name: "Attendance_record",
|
|
|
|
|
title: "考勤记录",
|
|
|
|
|
icon: 'profile',
|
|
|
|
|
hide: false,
|
|
|
|
|
component: resolve => require(['@/views/Attendance/_record'], resolve),
|
|
|
|
|
component: resolve => require(['@/views/Basic/Attendance/_record'], resolve),
|
|
|
|
|
meta: {title: '考勤记录'},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/Attendance/application',
|
|
|
|
|
path: '/Basic/Attendance/application',
|
|
|
|
|
name: "Attendance_application",
|
|
|
|
|
title: "申请记录",
|
|
|
|
|
icon: 'profile',
|
|
|
|
|
hide: false,
|
|
|
|
|
component: resolve => require(['@/views/Attendance/_application'], resolve),
|
|
|
|
|
component: resolve => require(['@/views/Basic/Attendance/_application'], resolve),
|
|
|
|
|
meta: {title: '申请记录'},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/Attendance/attendanceteam',
|
|
|
|
|
path: '/Basic/Attendance/attendanceteam',
|
|
|
|
|
name: "Attendance_attendanceteam",
|
|
|
|
|
title: "考勤小组",
|
|
|
|
|
icon: 'profile',
|
|
|
|
|
hide: false,
|
|
|
|
|
component: resolve => require(['@/views/Attendance/_attendanceteam'], resolve),
|
|
|
|
|
component: resolve => require(['@/views/Basic/Attendance/_attendanceteam'], resolve),
|
|
|
|
|
meta: {title: '考勤小组'},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/Attendance/scheduling',
|
|
|
|
|
path: '/Basic/Attendance/scheduling',
|
|
|
|
|
name: "Attendance_scheduling",
|
|
|
|
|
title: "排班计划",
|
|
|
|
|
icon: 'profile',
|
|
|
|
|
hide: false,
|
|
|
|
|
component: resolve => require(['@/views/Attendance/_scheduling'], resolve),
|
|
|
|
|
component: resolve => require(['@/views/Basic/Attendance/_scheduling'], resolve),
|
|
|
|
|
meta: {title: '排班计划'},
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/Community',
|
|
|
|
|
path: '/Basic/Community',
|
|
|
|
|
name: "Community",
|
|
|
|
|
title: "社区档案",
|
|
|
|
|
icon: 'profile',
|
|
|
|
|
hide: false,
|
|
|
|
|
component: resolve => require(['@/views/Community'], resolve),
|
|
|
|
|
component: resolve => require(['@/views/Basic/Community'], resolve),
|
|
|
|
|
meta: {title: '社区档案'},
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
path: '/Community/_balcony',
|
|
|
|
|
path: '/Basic/Community/_balcony',
|
|
|
|
|
name: "Community_balcony",
|
|
|
|
|
title: "楼座管理",
|
|
|
|
|
icon: 'profile',
|
|
|
|
|
hide: false,
|
|
|
|
|
component: resolve => require(['@/views/Community/_balcony'], resolve),
|
|
|
|
|
component: resolve => require(['@/views/Basic/Community/_balcony'], resolve),
|
|
|
|
|
meta: {title: '楼座管理'},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/Community/_house',
|
|
|
|
|
path: '/Basic/Community/_house',
|
|
|
|
|
name: "Community_house",
|
|
|
|
|
title: "房屋管理",
|
|
|
|
|
icon: 'profile',
|
|
|
|
|
hide: false,
|
|
|
|
|
component: resolve => require(['@/views/Community/_house'], resolve),
|
|
|
|
|
component: resolve => require(['@/views/Basic/Community/_house'], resolve),
|
|
|
|
|
meta: {title: '房屋管理'},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/Community/owner',
|
|
|
|
|
path: '/Basic/Community/owner',
|
|
|
|
|
name: "Community_owner",
|
|
|
|
|
title: "业主管理",
|
|
|
|
|
icon: 'profile',
|
|
|
|
|
hide: false,
|
|
|
|
|
component: resolve => require(['@/views/Community/_owner'], resolve),
|
|
|
|
|
component: resolve => require(['@/views/Basic/Community/_owner'], resolve),
|
|
|
|
|
meta: {title: '业主管理'},
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|