2026-08-03 18:49:18 +08:00
|
|
|
import type { RouteRecordRaw } from 'vue-router'
|
|
|
|
|
|
|
|
|
|
export const customerRoutes = [
|
|
|
|
|
{
|
|
|
|
|
path: 'customers',
|
|
|
|
|
name: 'customers',
|
|
|
|
|
component: () => import('@/modules/customers/pages/CustomersView.vue'),
|
2026-08-03 20:50:18 +08:00
|
|
|
meta: { title: '客户管理', description: '维护客户企业资料、合作状态和注册审核', permission: 'platform:customer:list', permissionAnyOf: ['platform:customer:review'] },
|
2026-08-03 18:49:18 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'customers/reviews',
|
|
|
|
|
name: 'enterprise-reviews',
|
2026-08-03 20:50:18 +08:00
|
|
|
redirect: '/customers',
|
|
|
|
|
meta: { title: '客户管理', description: '企业审核已合并到客户列表', permission: 'platform:customer:list', permissionAnyOf: ['platform:customer:review'] },
|
2026-08-03 18:49:18 +08:00
|
|
|
},
|
|
|
|
|
] satisfies RouteRecordRaw[]
|