diff --git a/src/locales/lang/en/routes/demo.ts b/src/locales/lang/en/routes/demo.ts index c90e85770453d4e762683990246ca9758755a6cb..c57124cae0580ef1297bf4521c572c7e16418143 100644 --- a/src/locales/lang/en/routes/demo.ts +++ b/src/locales/lang/en/routes/demo.ts @@ -163,7 +163,7 @@ export default { moduleName: 'System management', account: 'Account management', - + account_detail: 'Account detail', password: 'Change password', dept: 'Department management', diff --git a/src/locales/lang/zh_CN/routes/demo.ts b/src/locales/lang/zh_CN/routes/demo.ts index 65fea4cf7019840980fd685dfdc292f8718d3479..3908052e910e2167d7e8502997cd272c39516139 100644 --- a/src/locales/lang/zh_CN/routes/demo.ts +++ b/src/locales/lang/zh_CN/routes/demo.ts @@ -157,6 +157,7 @@ export default { system: { moduleName: '系统管理', account: '账号管理', + account_detail: '账号详情', password: '修改密码', dept: '部门管理', menu: '菜单管理', diff --git a/src/router/routes/modules/demo/system.ts b/src/router/routes/modules/demo/system.ts index 96cc8ba91299f2dd60e25531283e43cdd1e8495b..479353d6428e7b204edc74093291046653e5bd35 100644 --- a/src/router/routes/modules/demo/system.ts +++ b/src/router/routes/modules/demo/system.ts @@ -18,10 +18,21 @@ const system: AppRouteModule = { name: 'AccountManagement', meta: { title: t('routes.demo.system.account'), - ignoreKeepAlive: true, + ignoreKeepAlive: false, }, component: () => import('/@/views/demo/system/account/index.vue'), }, + { + path: 'account_detail/:id', + name: 'AccountDetail', + meta: { + title: t('routes.demo.system.account_detail'), + ignoreKeepAlive: true, + showMenu: false, + currentActiveMenu: '/system/account', + }, + component: () => import('/@/views/demo/system/account/AccountDetail.vue'), + }, { path: 'role', name: 'RoleManagement', diff --git a/src/views/demo/system/account/AccountDetail.vue b/src/views/demo/system/account/AccountDetail.vue new file mode 100644 index 0000000000000000000000000000000000000000..914dabba4a4fbb82946dd5864b0bf5c1749c1baa --- /dev/null +++ b/src/views/demo/system/account/AccountDetail.vue @@ -0,0 +1,62 @@ + + + + + diff --git a/src/views/demo/system/account/index.vue b/src/views/demo/system/account/index.vue index 158ebd5504a836894cc1a9d2b13f82b15bf6a89e..7a800ff186bddd09ed85e92b559d1fb31d0716e9 100644 --- a/src/views/demo/system/account/index.vue +++ b/src/views/demo/system/account/index.vue @@ -8,13 +8,20 @@