2025-07-04 17:16:38 +08:00
|
|
|
/**
|
|
|
|
|
* 路由别名,方便快速找到页面,同时可以用作路由跳转
|
|
|
|
|
*/
|
|
|
|
|
export enum RoutesAlias {
|
|
|
|
|
Home = '/index/index', // 布局容器
|
|
|
|
|
Login = '/auth/login', // 登录
|
|
|
|
|
Register = '/auth/register', // 注册
|
|
|
|
|
ForgetPassword = '/auth/forget-password', // 忘记密码
|
|
|
|
|
Exception403 = '/exception/403', // 403
|
|
|
|
|
Exception404 = '/exception/404', // 404
|
|
|
|
|
Exception500 = '/exception/500', // 500
|
|
|
|
|
Success = '/result/success', // 成功
|
|
|
|
|
Fail = '/result/fail', // 失败
|
|
|
|
|
Dashboard = '/dashboard/console', // 工作台
|
|
|
|
|
Analysis = '/dashboard/analysis', // 分析页
|
|
|
|
|
Ecommerce = '/dashboard/ecommerce', // 电子商务
|
|
|
|
|
IconList = '/widgets/icon-list', // 图标列表
|
|
|
|
|
IconSelector = '/widgets/icon-selector', // 图标选择器
|
|
|
|
|
ImageCrop = '/widgets/image-crop', // 图片裁剪
|
|
|
|
|
Excel = '/widgets/excel', // Excel
|
|
|
|
|
Video = '/widgets/video', // 视频
|
|
|
|
|
CountTo = '/widgets/count-to', // 计数
|
|
|
|
|
WangEditor = '/widgets/wang-editor', // 富文本编辑器
|
|
|
|
|
Watermark = '/widgets/watermark', // 水印
|
|
|
|
|
ContextMenu = '/widgets/context-menu', // 上下文菜单
|
|
|
|
|
Qrcode = '/widgets/qrcode', // 二维码
|
|
|
|
|
Drag = '/widgets/drag', // 拖拽
|
|
|
|
|
TextScroll = '/widgets/text-scroll', // 文字滚动
|
|
|
|
|
Fireworks = '/widgets/fireworks', // 礼花效果
|
|
|
|
|
Chat = '/template/chat', // 聊天
|
|
|
|
|
Cards = '/template/cards', // 卡片
|
|
|
|
|
Banners = '/template/banners', // 横幅
|
|
|
|
|
Charts = '/template/charts', // 图表
|
|
|
|
|
Map = '/template/map', // 地图
|
|
|
|
|
Calendar = '/template/calendar', // 日历
|
|
|
|
|
Pricing = '/template/pricing', // 定价
|
|
|
|
|
ArticleList = '/article/list', // 文章列表
|
|
|
|
|
ArticleDetail = '/article/detail', // 文章详情
|
|
|
|
|
Comment = '/article/comment', // 评论
|
|
|
|
|
ArticlePublish = '/article/publish', // 文章发布
|
|
|
|
|
User = '/system/user', // 账户
|
|
|
|
|
Role = '/system/role', // 角色
|
|
|
|
|
Usedcar = '/car/usedcar', // 角色
|
|
|
|
|
Newcar = '/car/newcar', // 角色
|
|
|
|
|
Menu = '/system/menu', // 菜单
|
|
|
|
|
NestedMenu1 = '/system/nested/menu1', // 嵌套菜单1
|
|
|
|
|
NestedMenu21 = '/system/nested/menu2', // 嵌套菜单2-1
|
|
|
|
|
NestedMenu31 = '/system/nested/menu3', // 嵌套菜单3-1
|
|
|
|
|
NestedMenu321 = '/system/nested/menu3/menu3-2', // 嵌套菜单3-2-1
|
|
|
|
|
Server = '/safeguard/server', // 服务器
|
|
|
|
|
ChangeLog = '/change/log', // 更新日志
|
|
|
|
|
Order = '/work/order', // 工单
|
2025-07-21 11:24:06 +08:00
|
|
|
OrderType = '/work/type', // 工单
|
|
|
|
|
Crmpchome = '/crmpc/home', // crm首页
|
|
|
|
|
Crmphighseas = '/crmpc/highseas', // crm公海
|
|
|
|
|
Crmpcustomer = '/crmpc/customer', // crm客户
|
|
|
|
|
CrmpcustomerAdd = '/crmpc/customer/Add',//客户添加
|
|
|
|
|
CrmpcustomerEdit = '/crmpc/customer/Edit',//客户编辑
|
|
|
|
|
CrmpcustomerShow = '/crmpc/customer/Show',//客户详情
|
|
|
|
|
CrmpcustomerFollowadd = '/crmpc/customer/Followadd',//添加跟进
|
|
|
|
|
recycle = '/crmpc/recycle',//回收站
|
|
|
|
|
UserCenter = '/system/user-center', // 用户中心
|
2025-07-22 16:35:43 +08:00
|
|
|
inquirySystem = '/admin/inquiry_system', // 询单系统
|
2025-07-04 17:16:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 主页路由
|
2025-07-11 18:37:16 +08:00
|
|
|
// export const HOME_PAGE = RoutesAlias.Dashboard
|
2025-07-11 19:43:34 +08:00
|
|
|
export const HOME_PAGE = RoutesAlias.Dashboard
|