feat(staff): 员工详情独立页(StaffDetail.vue,替代 drawer 降级,对齐云客 userDetailNew)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
浅念
2026-08-11 17:05:01 +08:00
parent 0e1cb87156
commit 20cf2c51f0
4 changed files with 347 additions and 3 deletions
+11
View File
@@ -21,6 +21,17 @@ const routes: RouteRecordRaw[] = [
component: () => import('@/views/StaffList.vue'),
meta: { title: '员工列表' },
},
{
// Standalone 员工详情 page mirroring 云客's
// /cms/customer/userDetailNew?userId=... — replaces the all-fields drawer
// degradation for the 员工姓名 click. Row-click in StaffList still opens
// the drawer for a quick preview.
path: '/staff-detail/:userId',
name: 'staff-detail',
component: () => import('@/views/StaffDetail.vue'),
props: true,
meta: { title: '员工详情' },
},
{
path: '/accounts',
redirect: { name: 'staff' },