[Update] 添加改密计划模块路由和目录结构

This commit is contained in:
Bai 2020-05-21 18:11:51 +08:00
parent ac016e1782
commit b3b66b7d5b
9 changed files with 113 additions and 1 deletions

View File

@ -756,6 +756,7 @@
"OrganizationCreate": "创建组织",
"OrganizationUpdate": "更新组织",
"OrganizationDetail": "组织详情",
"ChangeAuthPlan": "改密计划",
"Admin": "管理员",
"Auditor": "审计员",
"User": "用户",

View File

@ -0,0 +1,13 @@
<template>
<div>change auth plan create update</div>
</template>
<script>
export default {
name: 'ChangeAuthPlanCreateUpdate'
}
</script>
<style scoped>
</style>

View File

@ -0,0 +1,13 @@
<template>
<div>asset or node</div>
</template>
<script>
export default {
name: 'ChangeAuthPlanAsset'
}
</script>
<style scoped>
</style>

View File

@ -0,0 +1,13 @@
<template>
<div>change auth plan detail</div>
</template>
<script>
export default {
name: 'ChangeAuthPlanDetail'
}
</script>
<style scoped>
</style>

View File

@ -0,0 +1,13 @@
<template>
<div>change auth plan execution task list</div>
</template>
<script>
export default {
name: 'ChangeAuthPlanExecutionTaskList'
}
</script>
<style scoped>
</style>

View File

@ -0,0 +1,13 @@
<template>
<div>change auth plan execution</div>
</template>
<script>
export default {
name: 'ChangeAuthPlanExecution'
}
</script>
<style scoped>
</style>

View File

@ -0,0 +1,12 @@
<template>
<div>change auth plan detail</div>
</template>
<script>
export default {
}
</script>
<style scoped>
</style>

View File

@ -1,5 +1,5 @@
<template>
<h1>hello</h1>
<h1>change auth plan list</h1>
</template>
<script>

View File

@ -73,6 +73,40 @@ export default {
name: 'OrganizationDetail',
hidden: true,
meta: { title: i18n.t('xpack.OrganizationDetail'), activeMenu: '/xpack/orgs' }
},
{
path: 'change-auth-plan',
component: () => import('@/views/xpack/ChangeAuthPlan/ChangeAuthPlanList.vue'),
name: 'ChangeAuthPlan',
meta: { title: i18n.t('xpack.ChangeAuthPlan'), activeMenu: '/xpack/change-auth-plan' }
},
{
path: 'change-auth-plan/create',
component: () => import('@/views/xpack/ChangeAuthPlan/ChangeAuthPlanCreateUpdate.vue'),
name: 'ChangeAuthPlanCreate',
meta: { title: i18n.t('xpack.ChangeAuthPlanCreate'), activeMenu: '/xpack/change-auth-plan', action: 'create' },
hidden: true
},
{
path: 'change-auth-plan/:id/update',
component: () => import('@/views/xpack/ChangeAuthPlan/ChangeAuthPlanCreateUpdate.vue'),
name: 'ChangeAuthPlanUpdate',
meta: { title: i18n.t('xpack.ChangeAuthPlanUpdate'), activeMenu: '/xpack/change-auth-plan', action: 'update' },
hidden: true
},
{
path: 'change-auth-plan/:id',
component: () => import('@/views/xpack/ChangeAuthPlan/ChangeAuthPlanDetail/index.vue'),
name: 'ChangeAuthPlanDetail',
meta: { title: i18n.t('xpack.ChangeAuthPlanDetail'), activeMenu: '/xpack/change-auth-plan' },
hidden: true
},
{
path: 'change-auth-plan/:id/execution/task',
component: () => import('@/views/xpack/ChangeAuthPlan/ChangeAuthPlanDetail/ChangeAuthPlanExecution/ChangeAuthPlanExecutionDetail/ChangeAuthPlanExecutionTaskList.vue'),
name: 'ChangeAuthPlanExecutionTask',
meta: { title: i18n.t('xpack.ChangeAuthPlanExecutionTask'), activeMenu: '/xpack/change-auth-plan' },
hidden: true
}
]
}