File tree Expand file tree Collapse file tree 3 files changed +17
-4
lines changed
views/ai/workflow/manager Expand file tree Collapse file tree 3 files changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -668,6 +668,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
668
668
activeMenu : '/ai/knowledge'
669
669
}
670
670
} ,
671
+ // TODO @lesan ::type =》 design 设计 AI 工作流
671
672
{
672
673
path : 'console/workflow/:type/:id' ,
673
674
component : ( ) => import ( '@/views/ai/workflow/manager/WorkflowModelForm.vue' ) ,
@@ -676,7 +677,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
676
677
noCache : true ,
677
678
hidden : true ,
678
679
canTo : true ,
679
- title : '修改AI工作流 ' ,
680
+ title : '修改 AI 工作流 ' ,
680
681
activeMenu : '/ai/console/workflow'
681
682
}
682
683
}
Original file line number Diff line number Diff line change
1
+ <!-- TODO @lesan:要不叫搞个 design 单独一个路由 -->
1
2
<template >
2
3
<div style =" width : 100% ; height : calc (100vh - 160px )" >
3
4
<Tinyflow
10
11
/>
11
12
</div >
12
13
<div class =" absolute top-30px right-30px" >
13
- <el-button @click =" updateWorkflowModel" type =" primary" v-hasPermi =" ['ai:workflow:update']" >保存</el-button >
14
- <el-button @click =" testWorkflowModel" type =" primary" v-hasPermi =" ['ai:workflow:test']" >测试</el-button >
14
+ <el-button @click =" updateWorkflowModel" type =" primary" v-hasPermi =" ['ai:workflow:update']" >
15
+ 保存
16
+ </el-button >
17
+ <el-button @click =" testWorkflowModel" type =" primary" v-hasPermi =" ['ai:workflow:test']" >
18
+ 测试
19
+ </el-button >
15
20
</div >
16
21
</template >
17
22
@@ -25,6 +30,7 @@ const message = useMessage() // 消息弹窗
25
30
const { t } = useI18n () // 国际化
26
31
27
32
const tinyflowRef = ref ()
33
+ // TODO @lesan:待接入
28
34
const provider = ref ({ llm : () => [], knowledge : () => [], internal : () => [] })
29
35
const initialData = ref ()
30
36
Original file line number Diff line number Diff line change
1
+ <!-- TODO @lesan:要不直接放到 workflow 根目录 -->
1
2
<template >
2
3
<!-- 搜索工作栏 -->
3
4
<ContentWrap >
40
41
<el-form-item >
41
42
<el-button @click =" handleQuery" ><Icon icon =" ep:search" class =" mr-5px" /> 搜索</el-button >
42
43
<el-button @click =" resetQuery" ><Icon icon =" ep:refresh" class =" mr-5px" /> 重置</el-button >
43
- <el-button type =" primary" plain @click =" openForm('create')" v-hasPermi =" ['ai:workflow:create']" >
44
+ <el-button
45
+ type =" primary"
46
+ plain
47
+ @click =" openForm('create')"
48
+ v-hasPermi =" ['ai:workflow:create']"
49
+ >
44
50
<Icon icon =" ep:plus" /> 新增
45
51
</el-button >
46
52
</el-form-item >
You can’t perform that action at this time.
0 commit comments