feat:【ele】【ai】工作流的代码迁移

This commit is contained in:
YunaiV
2025-11-15 09:26:36 +08:00
parent dc68abd4d9
commit 51fb4b479e
8 changed files with 985 additions and 88 deletions

View File

@@ -82,30 +82,30 @@ const routes: RouteRecordRaw[] = [
activePath: '/ai/knowledge',
},
},
// {
// path: String.raw`workflow/create/:id(\d+)/:type(update|create)`,
// component: () => import('#/views/ai/workflow/form/index.vue'),
// name: 'AiWorkflowCreate',
// meta: {
// noCache: true,
// hidden: true,
// canTo: true,
// title: '设计 AI 工作流',
// activePath: '/ai/workflow',
// },
// },
// {
// path: 'console/workflow/:type/:id',
// component: () => import('#/views/ai/workflow/form/index.vue'),
// name: 'AiWorkflowUpdate',
// meta: {
// noCache: true,
// hidden: true,
// canTo: true,
// title: '设计 AI 工作流',
// activePath: '/ai/workflow',
// },
// },
{
path: String.raw`workflow/create/:id(\d+)/:type(update|create)`,
component: () => import('#/views/ai/workflow/form/index.vue'),
name: 'AiWorkflowCreate',
meta: {
noCache: true,
hidden: true,
canTo: true,
title: '设计 AI 工作流',
activePath: '/ai/workflow',
},
},
{
path: 'console/workflow/:type/:id',
component: () => import('#/views/ai/workflow/form/index.vue'),
name: 'AiWorkflowUpdate',
meta: {
noCache: true,
hidden: true,
canTo: true,
title: '设计 AI 工作流',
activePath: '/ai/workflow',
},
},
],
},
];