feat(web): 增加任务和流程图CRUD
This commit is contained in:
@@ -18,7 +18,6 @@ import {values} from 'licia'
|
||||
import {Navigate, type RouteObject} from 'react-router'
|
||||
import Conversation from './pages/ai/Conversation.tsx'
|
||||
import Feedback from './pages/ai/feedback/Feedback.tsx'
|
||||
import FlowEditor from './pages/ai/flow/FlowEditor.tsx'
|
||||
import DataDetail from './pages/ai/knowledge/DataDetail.tsx'
|
||||
import DataImport from './pages/ai/knowledge/DataImport.tsx'
|
||||
import DataSegment from './pages/ai/knowledge/DataSegment.tsx'
|
||||
@@ -39,6 +38,7 @@ import Yarn from './pages/overview/Yarn.tsx'
|
||||
import YarnCluster from './pages/overview/YarnCluster.tsx'
|
||||
import Test from './pages/Test.tsx'
|
||||
import {commonInfo} from './util/amis.tsx'
|
||||
import FlowTaskTemplateFlowEdit from './pages/ai/task/template/FlowTaskTemplateFlowEdit.tsx'
|
||||
|
||||
export const routes: RouteObject[] = [
|
||||
{
|
||||
@@ -133,9 +133,9 @@ export const routes: RouteObject[] = [
|
||||
Component: FlowTaskTemplateEdit,
|
||||
},
|
||||
{
|
||||
path: 'flowable',
|
||||
Component: FlowEditor,
|
||||
},
|
||||
path: 'flow_task_template/flow/edit/:template_id',
|
||||
Component: FlowTaskTemplateFlowEdit,
|
||||
}
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -238,11 +238,6 @@ export const menus = {
|
||||
name: '知识库',
|
||||
icon: <DatabaseOutlined/>,
|
||||
},
|
||||
{
|
||||
path: '/ai/flowable',
|
||||
name: '流程编排',
|
||||
icon: <GatewayOutlined/>,
|
||||
},
|
||||
{
|
||||
path: '1089caa6-9477-44a5-99f1-a9c179f6cfd3',
|
||||
name: '流程任务',
|
||||
|
||||
Reference in New Issue
Block a user