diff --git a/ui/src/workflow/common/NodeCascader.vue b/ui/src/workflow/common/NodeCascader.vue
index e3bfc3f14..9086bda62 100644
--- a/ui/src/workflow/common/NodeCascader.vue
+++ b/ui/src/workflow/common/NodeCascader.vue
@@ -1,10 +1,42 @@
-
+
+
+ {{ data.label }}
+
+
diff --git a/ui/src/workflow/index.vue b/ui/src/workflow/index.vue
index 3bf10a876..7c9cba67d 100644
--- a/ui/src/workflow/index.vue
+++ b/ui/src/workflow/index.vue
@@ -39,6 +39,16 @@ const graphData = {
stepName: '知识库检索',
input: [{ key: '输入' }],
output: [{ key: '输出' }],
+ fields: [
+ {
+ label: '检索结果',
+ value: 'data'
+ },
+ {
+ label: '满足直接回答的分段内容',
+ value: 'paragraph'
+ }
+ ],
node_data: {
dataset_id_list: [],
dataset_setting: {
@@ -64,17 +74,17 @@ const graphData = {
node_data: {
branch: [
{
- conditions: [{ field: { node_id: 'xxx', fields: '' }, compare: '', value: '' }],
+ conditions: [{ field: [], compare: '', value: '' }],
id: '2391',
condition: 'and'
},
{
- conditions: [{ field: { node_id: 'xxx', fields: '' }, compare: '', value: '' }],
+ conditions: [{ field: [], compare: '', value: '' }],
id: '1143',
condition: 'and'
},
{
- conditions: [{ field: { node_id: 'xxx', fields: '' }, compare: '', value: '' }],
+ conditions: [{ field: [], compare: '', value: '' }],
id: '9208',
condition: 'and'
}
diff --git a/ui/src/workflow/nodes/condition-node/index.vue b/ui/src/workflow/nodes/condition-node/index.vue
index 12c0c18d4..85cae1384 100644
--- a/ui/src/workflow/nodes/condition-node/index.vue
+++ b/ui/src/workflow/nodes/condition-node/index.vue
@@ -20,21 +20,18 @@
-
-
-
-
+ v-model="condition.field"
+ />
@@ -85,6 +82,7 @@