mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
feat: 工作编排
This commit is contained in:
parent
3214819aa0
commit
99ea8b25dd
|
|
@ -6,9 +6,9 @@
|
|||
<script setup lang="ts">
|
||||
import LogicFlow from '@logicflow/core'
|
||||
import { ref, onMounted } from 'vue'
|
||||
import AiChatNode from '@/work-flow/nodes/ai-chat-node/index.ts'
|
||||
import AppEdge from '@/work-flow/common/edge/index'
|
||||
import { AppMenu } from '@/work-flow/common/menu/index'
|
||||
import AiChatNode from '@/workflow/nodes/ai-chat-node/index.ts'
|
||||
import AppEdge from '@/workflow/common/edge/index'
|
||||
import { AppMenu } from '@/workflow/common/menu/index'
|
||||
import '@logicflow/extension/lib/style/index.css'
|
||||
import '@logicflow/core/dist/style/index.css'
|
||||
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
import ChatNodeVue from '@/work-flow/nodes/ai-chat-node/index.vue'
|
||||
import { AppNode, AppNodeModel } from '@/work-flow/common/app-node/index'
|
||||
import ChatNodeVue from '@/workflow/nodes/ai-chat-node/index.vue'
|
||||
import { AppNode, AppNodeModel } from '@/workflow/common/app-node/index'
|
||||
class ChatNode extends AppNode {
|
||||
constructor(props: any) {
|
||||
super(props, ChatNodeVue)
|
||||
|
|
@ -38,7 +38,7 @@
|
|||
</NodeContainer>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import NodeContainer from '@/work-flow/common/node-container/index.vue'
|
||||
import NodeContainer from '@/workflow/common/node-container/index.vue'
|
||||
import type { FormInstance } from 'element-plus'
|
||||
import { ref, computed, onMounted } from 'vue'
|
||||
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
import SearchDatasetVue from './index.vue'
|
||||
import { AppNode, AppNodeModel } from '@/work-flow/common/app-node/index'
|
||||
import { AppNode, AppNodeModel } from '@/workflow/common/app-node/index'
|
||||
class SearchDatasetNode extends AppNode {
|
||||
constructor(props: any) {
|
||||
super(props, SearchDatasetVue)
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
</NodeContainer>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import NodeContainer from '@/work-flow/common/node-container/index.vue'
|
||||
import NodeContainer from '@/workflow/common/node-container/index.vue'
|
||||
import type { FormInstance } from 'element-plus'
|
||||
import { ref, computed, onMounted } from 'vue'
|
||||
|
||||
|
|
@ -77,6 +77,14 @@ const applicationRouter = {
|
|||
}
|
||||
]
|
||||
},
|
||||
// 创建编排
|
||||
{
|
||||
path: '/application/workflow',
|
||||
name: 'CreateApplication',
|
||||
meta: { activeMenu: '/application' },
|
||||
component: () => import('@/views/application/CreateAndSetting.vue'),
|
||||
hidden: true
|
||||
},
|
||||
]
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue