|
@@ -525,87 +525,96 @@ export const constantRoutes = [
|
|
|
{
|
|
{
|
|
|
path: '/lobster',
|
|
path: '/lobster',
|
|
|
component: Layout,
|
|
component: Layout,
|
|
|
- redirect: '/lobster/workflow-generate',
|
|
|
|
|
|
|
+ redirect: '/lobster/production-workflow',
|
|
|
name: 'Lobster',
|
|
name: 'Lobster',
|
|
|
- meta: { title: '龙虾引擎', icon: 'el-icon-cpu' },
|
|
|
|
|
- children: [
|
|
|
|
|
|
|
+ meta: { title: '龙虾引擎', icon: 'system' },
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
|
|
+ path: 'production-workflow',
|
|
|
|
|
+ component: ParentView,
|
|
|
|
|
+ redirect: '/lobster/production-workflow/canvas',
|
|
|
|
|
+ name: 'ProductionWorkflow',
|
|
|
|
|
+ meta: { title: 'AI生产工作流', icon: 'component' },
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
|
|
+ path: 'canvas',
|
|
|
|
|
+ component: () => import('@/views/lobster/workflow-canvas/index'),
|
|
|
|
|
+ name: 'LobsterCanvas',
|
|
|
|
|
+ meta: { title: '工作流画布', icon: 'chart' }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: 'template',
|
|
|
|
|
+ component: () => import('@/views/lobster/template/index'),
|
|
|
|
|
+ name: 'LobsterTemplate',
|
|
|
|
|
+ meta: { title: '工作流模板库', icon: 'documentation' }
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
path: 'workflow-generate',
|
|
path: 'workflow-generate',
|
|
|
component: () => import('@/views/lobster/workflow-generate/index'),
|
|
component: () => import('@/views/lobster/workflow-generate/index'),
|
|
|
name: 'LobsterGenerate',
|
|
name: 'LobsterGenerate',
|
|
|
- meta: { title: 'AI生成工作流', icon: 'el-icon-magic-stick' }
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- path: 'workflow-canvas',
|
|
|
|
|
- component: () => import('@/views/lobster/workflow-canvas/index'),
|
|
|
|
|
- name: 'LobsterCanvas',
|
|
|
|
|
- meta: { title: '工作流画布', icon: 'el-icon-share' }
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- path: 'template',
|
|
|
|
|
- component: () => import('@/views/lobster/template/index'),
|
|
|
|
|
- name: 'LobsterTemplate',
|
|
|
|
|
- meta: { title: '工作流模板库', icon: 'el-icon-document' }
|
|
|
|
|
|
|
+ meta: { title: 'AI生成工作流', icon: 'build' }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: 'instance',
|
|
path: 'instance',
|
|
|
component: () => import('@/views/lobster/instance/index'),
|
|
component: () => import('@/views/lobster/instance/index'),
|
|
|
name: 'LobsterInstance',
|
|
name: 'LobsterInstance',
|
|
|
- meta: { title: '实例监控', icon: 'el-icon-monitor' }
|
|
|
|
|
|
|
+ meta: { title: '实例监控', icon: 'monitor' }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: 'optimization',
|
|
path: 'optimization',
|
|
|
component: () => import('@/views/lobster/optimization/index'),
|
|
component: () => import('@/views/lobster/optimization/index'),
|
|
|
name: 'LobsterOptimization',
|
|
name: 'LobsterOptimization',
|
|
|
- meta: { title: 'AI优化建议', icon: 'el-icon-lightbulb' }
|
|
|
|
|
|
|
+ meta: { title: 'AI优化建议', icon: 'eye-open' }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: 'prompt',
|
|
path: 'prompt',
|
|
|
component: () => import('@/views/lobster/prompt/index'),
|
|
component: () => import('@/views/lobster/prompt/index'),
|
|
|
name: 'LobsterPrompt',
|
|
name: 'LobsterPrompt',
|
|
|
- meta: { title: '提示词管理', icon: 'el-icon-edit-outline' }
|
|
|
|
|
|
|
+ meta: { title: '提示词管理', icon: 'edit' }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: 'sales-corpus',
|
|
path: 'sales-corpus',
|
|
|
component: () => import('@/views/lobster/sales-corpus/index'),
|
|
component: () => import('@/views/lobster/sales-corpus/index'),
|
|
|
name: 'SalesCorpus',
|
|
name: 'SalesCorpus',
|
|
|
- meta: { title: '销冠语料学习', icon: 'el-icon-star-on' }
|
|
|
|
|
|
|
+ meta: { title: '销冠语料学习', icon: 'star' }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: 'api-registry',
|
|
path: 'api-registry',
|
|
|
component: () => import('@/views/lobster/api-registry/index'),
|
|
component: () => import('@/views/lobster/api-registry/index'),
|
|
|
name: 'LobsterApiRegistry',
|
|
name: 'LobsterApiRegistry',
|
|
|
- meta: { title: '接口注册中心', icon: 'el-icon-connection' }
|
|
|
|
|
|
|
+ meta: { title: '接口注册中心', icon: 'nested' }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: 'dead-letter',
|
|
path: 'dead-letter',
|
|
|
component: () => import('@/views/lobster/dead-letter/index'),
|
|
component: () => import('@/views/lobster/dead-letter/index'),
|
|
|
name: 'LobsterDeadLetter',
|
|
name: 'LobsterDeadLetter',
|
|
|
- meta: { title: '死信队列', icon: 'el-icon-warning-outline' }
|
|
|
|
|
|
|
+ meta: { title: '死信队列', icon: 'bug' }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: 'event-audit',
|
|
path: 'event-audit',
|
|
|
component: () => import('@/views/lobster/event-audit/index'),
|
|
component: () => import('@/views/lobster/event-audit/index'),
|
|
|
name: 'LobsterEventAudit',
|
|
name: 'LobsterEventAudit',
|
|
|
- meta: { title: '节点审核', icon: 'el-icon-check' }
|
|
|
|
|
|
|
+ meta: { title: '节点审核', icon: 'checkbox' }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: 'chat-aggregate',
|
|
path: 'chat-aggregate',
|
|
|
component: () => import('@/views/lobster/chat-aggregate/index'),
|
|
component: () => import('@/views/lobster/chat-aggregate/index'),
|
|
|
name: 'ChatAggregate',
|
|
name: 'ChatAggregate',
|
|
|
- meta: { title: '聚合聊天', icon: 'el-icon-chat-dot-round' }
|
|
|
|
|
|
|
+ meta: { title: '聚合聊天', icon: 'message' }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: 'model-config',
|
|
path: 'model-config',
|
|
|
component: () => import('@/views/lobster/model-config/index'),
|
|
component: () => import('@/views/lobster/model-config/index'),
|
|
|
name: 'LobsterModelConfig',
|
|
name: 'LobsterModelConfig',
|
|
|
- meta: { title: '模型配置', icon: 'el-icon-cpu' }
|
|
|
|
|
|
|
+ meta: { title: '模型配置', icon: 'server' }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: 'billing',
|
|
path: 'billing',
|
|
|
component: () => import('@/views/lobster/billing/index'),
|
|
component: () => import('@/views/lobster/billing/index'),
|
|
|
name: 'LobsterBilling',
|
|
name: 'LobsterBilling',
|
|
|
- meta: { title: 'Token系数管理', icon: 'el-icon-money' }
|
|
|
|
|
|
|
+ meta: { title: 'Token系数管理', icon: 'money' }
|
|
|
}
|
|
}
|
|
|
]
|
|
]
|
|
|
},
|
|
},
|
|
@@ -614,7 +623,7 @@ export const constantRoutes = [
|
|
|
{
|
|
{
|
|
|
path: '/crm',
|
|
path: '/crm',
|
|
|
component: Layout, redirect: '/crm/customer', name: 'Crm',
|
|
component: Layout, redirect: '/crm/customer', name: 'Crm',
|
|
|
- meta: { title: 'CRM', icon: 'el-icon-s-custom' },
|
|
|
|
|
|
|
+ meta: { title: 'CRM', icon: 'crm' },
|
|
|
children: [
|
|
children: [
|
|
|
{ path: 'customer', component: () => import('@/views/crm/customer/index'), name: 'CrmCustomer', meta: { title: '客户管理' } },
|
|
{ path: 'customer', component: () => import('@/views/crm/customer/index'), name: 'CrmCustomer', meta: { title: '客户管理' } },
|
|
|
{ path: 'event', component: () => import('@/views/crm/event/index'), name: 'CrmEvent', meta: { title: '客户事件' } },
|
|
{ path: 'event', component: () => import('@/views/crm/event/index'), name: 'CrmEvent', meta: { title: '客户事件' } },
|
|
@@ -627,7 +636,7 @@ export const constantRoutes = [
|
|
|
{
|
|
{
|
|
|
path: '/chat',
|
|
path: '/chat',
|
|
|
component: Layout, redirect: '/chat/chatSession', name: 'Chat',
|
|
component: Layout, redirect: '/chat/chatSession', name: 'Chat',
|
|
|
- meta: { title: 'AI聊天', icon: 'el-icon-chat-dot-round' },
|
|
|
|
|
|
|
+ meta: { title: 'AI聊天', icon: 'message' },
|
|
|
children: [
|
|
children: [
|
|
|
{ path: 'chatSession', component: () => import('@/views/chat/chatSession/index'), name: 'ChatSession', meta: { title: '会话列表' } },
|
|
{ path: 'chatSession', component: () => import('@/views/chat/chatSession/index'), name: 'ChatSession', meta: { title: '会话列表' } },
|
|
|
{ path: 'chatRole', component: () => import('@/views/chat/chatRole/index'), name: 'ChatRole', meta: { title: 'AI角色' } },
|
|
{ path: 'chatRole', component: () => import('@/views/chat/chatRole/index'), name: 'ChatRole', meta: { title: 'AI角色' } },
|
|
@@ -639,7 +648,7 @@ export const constantRoutes = [
|
|
|
{
|
|
{
|
|
|
path: '/fastGpt',
|
|
path: '/fastGpt',
|
|
|
component: Layout, redirect: '/fastGpt/fastGptRole', name: 'FastGpt',
|
|
component: Layout, redirect: '/fastGpt/fastGptRole', name: 'FastGpt',
|
|
|
- meta: { title: 'FastGpt', icon: 'el-icon-cpu' },
|
|
|
|
|
|
|
+ meta: { title: 'FastGpt', icon: 'server' },
|
|
|
children: [
|
|
children: [
|
|
|
{ path: 'fastGptRole', component: () => import('@/views/fastGpt/fastGptRole/index'), name: 'FastGptRole', meta: { title: '角色管理' } },
|
|
{ path: 'fastGptRole', component: () => import('@/views/fastGpt/fastGptRole/index'), name: 'FastGptRole', meta: { title: '角色管理' } },
|
|
|
{ path: 'fastGptDataset', component: () => import('@/views/fastGpt/fastGptDataset/index'), name: 'FastGptData', meta: { title: '数据集', hidden: true } },
|
|
{ path: 'fastGptDataset', component: () => import('@/views/fastGpt/fastGptDataset/index'), name: 'FastGptData', meta: { title: '数据集', hidden: true } },
|
|
@@ -651,7 +660,7 @@ export const constantRoutes = [
|
|
|
{
|
|
{
|
|
|
path: '/company',
|
|
path: '/company',
|
|
|
component: Layout, redirect: '/company/companyUser', name: 'Company',
|
|
component: Layout, redirect: '/company/companyUser', name: 'Company',
|
|
|
- meta: { title: '企业管理', icon: 'el-icon-office-building' },
|
|
|
|
|
|
|
+ meta: { title: '企业管理', icon: 'people' },
|
|
|
children: [
|
|
children: [
|
|
|
{ path: 'companyUser', component: () => import('@/views/company/companyUser/index'), name: 'CompUser', meta: { title: '员工管理' } },
|
|
{ path: 'companyUser', component: () => import('@/views/company/companyUser/index'), name: 'CompUser', meta: { title: '员工管理' } },
|
|
|
{ path: 'companyRole', component: () => import('@/views/company/companyRole/index'), name: 'CompRole', meta: { title: '角色管理', hidden: true } },
|
|
{ path: 'companyRole', component: () => import('@/views/company/companyRole/index'), name: 'CompRole', meta: { title: '角色管理', hidden: true } },
|
|
@@ -670,7 +679,7 @@ export const constantRoutes = [
|
|
|
{
|
|
{
|
|
|
path: '/companyWx',
|
|
path: '/companyWx',
|
|
|
component: Layout, redirect: '/companyWx/companyWorkflow', name: 'CompanyWx',
|
|
component: Layout, redirect: '/companyWx/companyWorkflow', name: 'CompanyWx',
|
|
|
- meta: { title: '企微管理', icon: 'el-icon-s-platform' },
|
|
|
|
|
|
|
+ meta: { title: '企微管理', icon: 'wechat' },
|
|
|
children: [
|
|
children: [
|
|
|
{ path: 'companyWorkflow', component: () => import('@/views/company/companyWorkflow/index'), name: 'CompWorkflow', meta: { title: 'AI外呼工作流' } }
|
|
{ path: 'companyWorkflow', component: () => import('@/views/company/companyWorkflow/index'), name: 'CompWorkflow', meta: { title: 'AI外呼工作流' } }
|
|
|
]
|
|
]
|
|
@@ -680,7 +689,7 @@ export const constantRoutes = [
|
|
|
{
|
|
{
|
|
|
path: '/wx',
|
|
path: '/wx',
|
|
|
component: Layout, redirect: '/wx/wxAccount', name: 'Wx',
|
|
component: Layout, redirect: '/wx/wxAccount', name: 'Wx',
|
|
|
- meta: { title: '个微管理', icon: 'el-icon-chat-line-square' },
|
|
|
|
|
|
|
+ meta: { title: '个微管理', icon: 'user' },
|
|
|
children: [
|
|
children: [
|
|
|
{ path: 'wxAccount', component: () => import('@/views/company/wxAccount/index'), name: 'WxAccount', meta: { title: '个微账号' } },
|
|
{ path: 'wxAccount', component: () => import('@/views/company/wxAccount/index'), name: 'WxAccount', meta: { title: '个微账号' } },
|
|
|
{ path: 'wxUser', component: () => import('@/views/company/wxUser/index'), name: 'WxUser', meta: { title: '个微用户', hidden: true } }
|
|
{ path: 'wxUser', component: () => import('@/views/company/wxUser/index'), name: 'WxUser', meta: { title: '个微用户', hidden: true } }
|
|
@@ -691,7 +700,7 @@ export const constantRoutes = [
|
|
|
{
|
|
{
|
|
|
path: '/store',
|
|
path: '/store',
|
|
|
component: Layout, redirect: '/store/storeProduct', name: 'Store',
|
|
component: Layout, redirect: '/store/storeProduct', name: 'Store',
|
|
|
- meta: { title: '商城管理', icon: 'el-icon-shopping-cart-2' },
|
|
|
|
|
|
|
+ meta: { title: '商城管理', icon: 'shopping' },
|
|
|
children: [
|
|
children: [
|
|
|
{ path: 'storeProduct', component: () => import('@/views/store/storeProduct/index'), name: 'StoreProduct', meta: { title: '商品管理' } },
|
|
{ path: 'storeProduct', component: () => import('@/views/store/storeProduct/index'), name: 'StoreProduct', meta: { title: '商品管理' } },
|
|
|
{ path: 'storeOrder', component: () => import('@/views/store/storeOrder/list'), name: 'StoreOrder', meta: { title: '订单管理', hidden: true } },
|
|
{ path: 'storeOrder', component: () => import('@/views/store/storeOrder/list'), name: 'StoreOrder', meta: { title: '订单管理', hidden: true } },
|