Commit 019d6f17 by caoyanzhi

管理员和门店角色

parent 6dbc6151
......@@ -96,9 +96,14 @@ export const routes = [
component: _import('enterprise', 'enterprise-set')
},
{
path: '/authManage',
name: '权限管理',
component: _import('enterprise', 'auth-manage')
path: '/admin-list',
name: '管理员',
component: _import('enterprise', 'admin-list')
},
{
path: '/store-admin-list',
name: '门店角色',
component: _import('enterprise', 'store-admin-list')
},
{
path: '/superAdmin',
......
<template>
<div>权限管理</div>
<div>管理员</div>
</template>
<script>
export default {
name: 'auth-manage'
name: 'admin-list'
}
</script>
......@@ -111,10 +111,10 @@ export default {
that.changeRoute('enterpriseSet');
break;
case '2-1':
that.changeRoute('authManage');
that.changeRoute('admin-list');
break;
case '2-2':
that.changeRoute('authManage');
that.changeRoute('store-admin-list');
break;
case '3':
that.changeRoute('superAdmin');
......
<template>
<div>门店角色</div>
</template>
<script>
export default {
name: 'store-admin-list'
}
</script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment