fix: workflow style
This commit is contained in:
parent
24f67a3c0f
commit
80d4442cd0
@ -139,7 +139,7 @@ export default {
|
|||||||
hybridSearch: 'Hybrid Search',
|
hybridSearch: 'Hybrid Search',
|
||||||
hybridSearchTooltip:
|
hybridSearchTooltip:
|
||||||
'Hybrid search is a retrieval method based on both vector and text similarity, suitable for medium data volumes in the knowledge.',
|
'Hybrid search is a retrieval method based on both vector and text similarity, suitable for medium data volumes in the knowledge.',
|
||||||
similarityThreshold: 'Lowest Similarity',
|
similarityThreshold: 'Similarity higher than',
|
||||||
similarityTooltip: 'The higher the similarity, the stronger the correlation.',
|
similarityTooltip: 'The higher the similarity, the stronger the correlation.',
|
||||||
topReferences: 'Top N Segments',
|
topReferences: 'Top N Segments',
|
||||||
maxCharacters: 'Maximum Characters per Reference',
|
maxCharacters: 'Maximum Characters per Reference',
|
||||||
|
|||||||
@ -377,6 +377,7 @@ function saveApplication(bool?: boolean, back?: boolean) {
|
|||||||
.then((res) => {
|
.then((res) => {
|
||||||
saveTime.value = new Date()
|
saveTime.value = new Date()
|
||||||
if (bool) {
|
if (bool) {
|
||||||
|
cloneWorkFlow.value = getGraphData()
|
||||||
MsgSuccess(t('common.saveSuccess'))
|
MsgSuccess(t('common.saveSuccess'))
|
||||||
if (back) {
|
if (back) {
|
||||||
router.push({ path: `/application/${id}/WORK_FLOW/overview` })
|
router.push({ path: `/application/${id}/WORK_FLOW/overview` })
|
||||||
|
|||||||
@ -180,7 +180,6 @@ import { isWorkFlow } from '@/utils/application'
|
|||||||
import { ValidType, ValidCount } from '@/enums/common'
|
import { ValidType, ValidCount } from '@/enums/common'
|
||||||
import { t } from '@/locales'
|
import { t } from '@/locales'
|
||||||
import useStore from '@/stores'
|
import useStore from '@/stores'
|
||||||
import { reject } from 'lodash'
|
|
||||||
|
|
||||||
const elUploadRef = ref<any>()
|
const elUploadRef = ref<any>()
|
||||||
const { application, user, common } = useStore()
|
const { application, user, common } = useStore()
|
||||||
|
|||||||
@ -9,7 +9,6 @@
|
|||||||
ref="replyNodeFormRef"
|
ref="replyNodeFormRef"
|
||||||
hide-required-asterisk
|
hide-required-asterisk
|
||||||
>
|
>
|
||||||
<el-scrollbar max-height="750" @wheel="wheel">
|
|
||||||
<template v-for="(item, index) in form_data.variable_list" :key="item.id">
|
<template v-for="(item, index) in form_data.variable_list" :key="item.id">
|
||||||
<el-card shadow="never" class="card-never mb-8" style="--el-card-padding: 12px">
|
<el-card shadow="never" class="card-never mb-8" style="--el-card-padding: 12px">
|
||||||
<el-form-item :label="$t('views.applicationWorkflow.variable.label')">
|
<el-form-item :label="$t('views.applicationWorkflow.variable.label')">
|
||||||
@ -139,7 +138,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-card>
|
</el-card>
|
||||||
</template>
|
</template>
|
||||||
</el-scrollbar>
|
|
||||||
<el-button link type="primary" @click="addVariable">
|
<el-button link type="primary" @click="addVariable">
|
||||||
<el-icon class="mr-4">
|
<el-icon class="mr-4">
|
||||||
<Plus />
|
<Plus />
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user