feat(router): 调整菜单
This commit is contained in:
@@ -28,12 +28,10 @@ export const menuService = {
|
||||
ElMessage.error('菜单数据处理失败')
|
||||
return { menuList: [] }
|
||||
}
|
||||
|
||||
// 模拟接口延迟
|
||||
await new Promise((resolve) => setTimeout(resolve, delay))
|
||||
|
||||
return { menuList }
|
||||
|
||||
} catch (error) {
|
||||
console.error('获取菜单失败:', error)
|
||||
throw error instanceof Error ? error : new Error('获取菜单失败')
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
import { useWorktabStore } from '@/store/modules/worktab'
|
||||
import { useSettingStore } from '@/store/modules/setting'
|
||||
|
||||
// Store refs
|
||||
// Store refs1
|
||||
const { pageTransition, containerWidth, refresh } = storeToRefs(useSettingStore())
|
||||
const { keepAliveExclude } = storeToRefs(useWorktabStore())
|
||||
|
||||
|
||||
@@ -54,13 +54,13 @@ export enum RoutesAlias {
|
||||
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',//回收站
|
||||
CrmpcustomerAdd = '/crmpc/customer/Add', //客户添加
|
||||
CrmpcustomerEdit = '/crmpc/customer/Edit', //客户编辑
|
||||
CrmpcustomerShow = '/crmpc/customer/Show', //客户详情
|
||||
CrmpcustomerFollowadd = '/crmpc/customer/Followadd', //添加跟进
|
||||
recycle = '/crmpc/recycle', //回收站
|
||||
UserCenter = '/system/user-center', // 用户中心
|
||||
inquirySystem = '/admin/inquiry_system', // 询单系统
|
||||
inquirySystem = '/admin/inquiry_system' // 询单系统
|
||||
}
|
||||
|
||||
// 主页路由
|
||||
|
||||
Reference in New Issue
Block a user