feat(staff): 员工详情独立页(StaffDetail.vue,替代 drawer 降级,对齐云客 userDetailNew)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -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' },
|
||||
|
||||
Reference in New Issue
Block a user