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[] = [
668668 activeMenu : '/ai/knowledge'
669669 }
670670 } ,
671+ // TODO @lesan ::type =》 design 设计 AI 工作流
671672 {
672673 path : 'console/workflow/:type/:id' ,
673674 component : ( ) => import ( '@/views/ai/workflow/manager/WorkflowModelForm.vue' ) ,
@@ -676,7 +677,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
676677 noCache : true ,
677678 hidden : true ,
678679 canTo : true ,
679- title : '修改AI工作流 ' ,
680+ title : '修改 AI 工作流 ' ,
680681 activeMenu : '/ai/console/workflow'
681682 }
682683 }
Original file line number Diff line number Diff line change 1+ <!-- TODO @lesan:要不叫搞个 design 单独一个路由 -->
12<template >
23 <div style =" width : 100% ; height : calc (100vh - 160px )" >
34 <Tinyflow
1011 />
1112 </div >
1213 <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 >
1520 </div >
1621</template >
1722
@@ -25,6 +30,7 @@ const message = useMessage() // 消息弹窗
2530const { t } = useI18n () // 国际化
2631
2732const tinyflowRef = ref ()
33+ // TODO @lesan:待接入
2834const provider = ref ({ llm : () => [], knowledge : () => [], internal : () => [] })
2935const initialData = ref ()
3036
Original file line number Diff line number Diff line change 1+ <!-- TODO @lesan:要不直接放到 workflow 根目录 -->
12<template >
23 <!-- 搜索工作栏 -->
34 <ContentWrap >
4041 <el-form-item >
4142 <el-button @click =" handleQuery" ><Icon icon =" ep:search" class =" mr-5px" /> 搜索</el-button >
4243 <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+ >
4450 <Icon icon =" ep:plus" /> 新增
4551 </el-button >
4652 </el-form-item >
You can’t perform that action at this time.
0 commit comments