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