forked from verdnatura/salix-front
Remove roles
This commit is contained in:
parent
946aa6b24d
commit
9f6d0b4dc9
|
@ -12,7 +12,6 @@ import Supplier from './Supplier';
|
|||
import Travel from './travel';
|
||||
import Order from './order';
|
||||
import Department from './department';
|
||||
import Role from './role';
|
||||
import Entry from './entry';
|
||||
import roadmap from './roadmap';
|
||||
import Parking from './parking';
|
||||
|
@ -37,7 +36,6 @@ export default [
|
|||
Order,
|
||||
invoiceIn,
|
||||
Department,
|
||||
Role,
|
||||
Entry,
|
||||
roadmap,
|
||||
Parking,
|
||||
|
|
|
@ -1,76 +0,0 @@
|
|||
import { RouterView } from 'vue-router';
|
||||
|
||||
export default {
|
||||
path: '/role',
|
||||
name: 'Role',
|
||||
meta: {
|
||||
title: 'role',
|
||||
icon: 'vn:greuge',
|
||||
moduleName: 'Role',
|
||||
},
|
||||
component: RouterView,
|
||||
redirect: { name: 'AccountRoles' },
|
||||
menus: {
|
||||
main: [],
|
||||
card: ['RoleBasicData', 'SubRoles', 'InheritedRoles', 'RoleLog'],
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'RoleCard',
|
||||
path: '/role/:id',
|
||||
component: () => import('src/pages/Account/Role/Card/RoleCard.vue'),
|
||||
redirect: { name: 'RoleSummary' },
|
||||
children: [
|
||||
{
|
||||
name: 'RoleSummary',
|
||||
path: 'summary',
|
||||
meta: {
|
||||
title: 'summary',
|
||||
icon: 'launch',
|
||||
},
|
||||
component: () =>
|
||||
import('src/pages/Account/Role/Card/RoleSummary.vue'),
|
||||
},
|
||||
{
|
||||
name: 'RoleBasicData',
|
||||
path: 'basic-data',
|
||||
meta: {
|
||||
title: 'basicData',
|
||||
icon: 'vn:settings',
|
||||
},
|
||||
component: () =>
|
||||
import('src/pages/Account/Role/Card/RoleBasicData.vue'),
|
||||
},
|
||||
{
|
||||
name: 'SubRoles',
|
||||
path: 'sub-roles',
|
||||
meta: {
|
||||
title: 'subRoles',
|
||||
icon: 'group',
|
||||
},
|
||||
component: () => import('src/pages/Account/Role/Card/SubRoles.vue'),
|
||||
},
|
||||
|
||||
{
|
||||
name: 'InheritedRoles',
|
||||
path: 'inherited-roles',
|
||||
meta: {
|
||||
title: 'inheritedRoles',
|
||||
icon: 'account_tree',
|
||||
},
|
||||
component: () =>
|
||||
import('src/pages/Account/Role/Card/InheritedRoles.vue'),
|
||||
},
|
||||
{
|
||||
name: 'RoleLog',
|
||||
path: 'log',
|
||||
meta: {
|
||||
title: 'log',
|
||||
icon: 'history',
|
||||
},
|
||||
component: () => import('src/pages/Account/Role/Card/RoleLog.vue'),
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
};
|
|
@ -10,7 +10,6 @@ import supplier from './modules/Supplier';
|
|||
import route from './modules/route';
|
||||
import travel from './modules/travel';
|
||||
import department from './modules/department';
|
||||
import role from './modules/role';
|
||||
import ItemType from './modules/itemType';
|
||||
import shelving from 'src/router/modules/shelving';
|
||||
import order from 'src/router/modules/order';
|
||||
|
@ -75,7 +74,6 @@ const routes = [
|
|||
supplier,
|
||||
travel,
|
||||
department,
|
||||
role,
|
||||
roadmap,
|
||||
entry,
|
||||
parking,
|
||||
|
|
Loading…
Reference in New Issue