fix: style
This commit is contained in:
parent
580c6ac641
commit
9f25619fae
@ -56,7 +56,7 @@
|
|||||||
<el-icon class="mr-4">
|
<el-icon class="mr-4">
|
||||||
<Plus />
|
<Plus />
|
||||||
</el-icon>
|
</el-icon>
|
||||||
{{ $t('views.application.buttons.addModel') }}
|
{{ $t('views.application.operation.addModel') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
</slot>
|
</slot>
|
||||||
|
|||||||
@ -15,7 +15,6 @@ export default {
|
|||||||
restoreVersion: 'Restore Previous Version"',
|
restoreVersion: 'Restore Previous Version"',
|
||||||
restoreCurrentVersion: 'Restore to This Version',
|
restoreCurrentVersion: 'Restore to This Version',
|
||||||
addComponent: 'Add',
|
addComponent: 'Add',
|
||||||
public: 'Publish',
|
|
||||||
releaseHistory: 'Release History',
|
releaseHistory: 'Release History',
|
||||||
autoSave: 'Auto Save',
|
autoSave: 'Auto Save',
|
||||||
latestRelease: 'Latest Release',
|
latestRelease: 'Latest Release',
|
||||||
@ -25,7 +24,6 @@ export default {
|
|||||||
exitSave: 'Save & Exit',
|
exitSave: 'Save & Exit',
|
||||||
},
|
},
|
||||||
tip: {
|
tip: {
|
||||||
publicSuccess: 'Published successfully',
|
|
||||||
noData: 'No related results found',
|
noData: 'No related results found',
|
||||||
nameMessage: 'Name cannot be empty!',
|
nameMessage: 'Name cannot be empty!',
|
||||||
onlyRight: 'Connections can only be made from the right anchor',
|
onlyRight: 'Connections can only be made from the right anchor',
|
||||||
|
|||||||
@ -19,7 +19,9 @@ export default {
|
|||||||
unpublished: 'Unpublished',
|
unpublished: 'Unpublished',
|
||||||
},
|
},
|
||||||
operation: {
|
operation: {
|
||||||
|
addModel: 'Add Model',
|
||||||
toChat: 'Chat',
|
toChat: 'Chat',
|
||||||
|
publish: 'Publish',
|
||||||
},
|
},
|
||||||
delete: {
|
delete: {
|
||||||
confirmTitle: 'Are you sure you want to delete this APP: ',
|
confirmTitle: 'Are you sure you want to delete this APP: ',
|
||||||
@ -27,6 +29,7 @@ export default {
|
|||||||
'Deleting this APP will no longer provide its services. Please proceed with caution.',
|
'Deleting this APP will no longer provide its services. Please proceed with caution.',
|
||||||
},
|
},
|
||||||
tip: {
|
tip: {
|
||||||
|
publishSuccess: 'Published successfully',
|
||||||
ExportError: 'Export Failed',
|
ExportError: 'Export Failed',
|
||||||
professionalMessage:
|
professionalMessage:
|
||||||
'The Community Edition supports up to 5 APP. If you need more APP, please upgrade to the Professional Edition.',
|
'The Community Edition supports up to 5 APP. If you need more APP, please upgrade to the Professional Edition.',
|
||||||
@ -123,10 +126,7 @@ export default {
|
|||||||
end: 'End',
|
end: 'End',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
buttons: {
|
buttons: {},
|
||||||
publish: 'Save&Publish',
|
|
||||||
addModel: 'Add Model',
|
|
||||||
},
|
|
||||||
dialog: {
|
dialog: {
|
||||||
addKnowledge: 'Add Related Knowledge',
|
addKnowledge: 'Add Related Knowledge',
|
||||||
addKnowledgePlaceholder: 'The selected knowledge must use the same embedding model',
|
addKnowledgePlaceholder: 'The selected knowledge must use the same embedding model',
|
||||||
|
|||||||
@ -5,27 +5,25 @@ export default {
|
|||||||
nodeSetting: '节点设置',
|
nodeSetting: '节点设置',
|
||||||
workflow: '工作流',
|
workflow: '工作流',
|
||||||
searchBar: {
|
searchBar: {
|
||||||
placeholder: '按名称搜索'
|
placeholder: '按名称搜索',
|
||||||
},
|
},
|
||||||
info: {
|
info: {
|
||||||
previewVersion: '预览版本:',
|
previewVersion: '预览版本:',
|
||||||
saveTime: '保存时间:'
|
saveTime: '保存时间:',
|
||||||
},
|
},
|
||||||
setting: {
|
setting: {
|
||||||
restoreVersion: '恢复版本',
|
restoreVersion: '恢复版本',
|
||||||
restoreCurrentVersion: '恢复此版本',
|
restoreCurrentVersion: '恢复此版本',
|
||||||
addComponent: '添加组件',
|
addComponent: '添加组件',
|
||||||
public: '发布',
|
|
||||||
releaseHistory: '发布历史',
|
releaseHistory: '发布历史',
|
||||||
autoSave: '自动保存',
|
autoSave: '自动保存',
|
||||||
latestRelease: '最近发布',
|
latestRelease: '最近发布',
|
||||||
copyParam: '复制参数',
|
copyParam: '复制参数',
|
||||||
debug: '调试',
|
debug: '调试',
|
||||||
exit: '直接退出',
|
exit: '直接退出',
|
||||||
exitSave: '保存并退出'
|
exitSave: '保存并退出',
|
||||||
},
|
},
|
||||||
tip: {
|
tip: {
|
||||||
publicSuccess: '发布成功',
|
|
||||||
noData: '没有找到相关结果',
|
noData: '没有找到相关结果',
|
||||||
nameMessage: '名字不能为空!',
|
nameMessage: '名字不能为空!',
|
||||||
onlyRight: '只允许从右边的锚点连出',
|
onlyRight: '只允许从右边的锚点连出',
|
||||||
@ -37,11 +35,11 @@ export default {
|
|||||||
cannotCopy: '不能被复制',
|
cannotCopy: '不能被复制',
|
||||||
copyError: '已复制节点',
|
copyError: '已复制节点',
|
||||||
paramErrorMessage: '参数已存在: ',
|
paramErrorMessage: '参数已存在: ',
|
||||||
saveMessage: '当前的更改尚未保存,是否保存后退出?'
|
saveMessage: '当前的更改尚未保存,是否保存后退出?',
|
||||||
},
|
},
|
||||||
delete: {
|
delete: {
|
||||||
confirmTitle: '确定删除该节点?',
|
confirmTitle: '确定删除该节点?',
|
||||||
deleteMessage: '节点不允许删除'
|
deleteMessage: '节点不允许删除',
|
||||||
},
|
},
|
||||||
control: {
|
control: {
|
||||||
zoomOut: '缩小',
|
zoomOut: '缩小',
|
||||||
@ -49,7 +47,7 @@ export default {
|
|||||||
fitView: '适应',
|
fitView: '适应',
|
||||||
retract: '收起全部节点',
|
retract: '收起全部节点',
|
||||||
extend: '展开全部节点',
|
extend: '展开全部节点',
|
||||||
beautify: '一键美化'
|
beautify: '一键美化',
|
||||||
},
|
},
|
||||||
variable: {
|
variable: {
|
||||||
label: '变量',
|
label: '变量',
|
||||||
@ -58,14 +56,14 @@ export default {
|
|||||||
ReferencingRequired: '引用变量必填',
|
ReferencingRequired: '引用变量必填',
|
||||||
ReferencingError: '引用变量错误',
|
ReferencingError: '引用变量错误',
|
||||||
NoReferencing: '不存在的引用变量',
|
NoReferencing: '不存在的引用变量',
|
||||||
placeholder: '请选择变量'
|
placeholder: '请选择变量',
|
||||||
},
|
},
|
||||||
condition: {
|
condition: {
|
||||||
title: '执行条件',
|
title: '执行条件',
|
||||||
front: '前置',
|
front: '前置',
|
||||||
AND: '所有',
|
AND: '所有',
|
||||||
OR: '任一',
|
OR: '任一',
|
||||||
text: '连线节点执行完,执行当前节点'
|
text: '连线节点执行完,执行当前节点',
|
||||||
},
|
},
|
||||||
validate: {
|
validate: {
|
||||||
startNodeRequired: '开始节点必填',
|
startNodeRequired: '开始节点必填',
|
||||||
@ -77,30 +75,30 @@ export default {
|
|||||||
nodeUnavailable: '节点不可用',
|
nodeUnavailable: '节点不可用',
|
||||||
needConnect1: '节点的',
|
needConnect1: '节点的',
|
||||||
needConnect2: '分支需要连接',
|
needConnect2: '分支需要连接',
|
||||||
cannotEndNode: '节点不能当做结束节点'
|
cannotEndNode: '节点不能当做结束节点',
|
||||||
},
|
},
|
||||||
nodes: {
|
nodes: {
|
||||||
classify: {
|
classify: {
|
||||||
aiCapability: 'AI能力',
|
aiCapability: 'AI能力',
|
||||||
businessLogic: '业务逻辑',
|
businessLogic: '业务逻辑',
|
||||||
other: '其他'
|
other: '其他',
|
||||||
},
|
},
|
||||||
startNode: {
|
startNode: {
|
||||||
label: '开始',
|
label: '开始',
|
||||||
question: '用户问题',
|
question: '用户问题',
|
||||||
currentTime: '当前时间'
|
currentTime: '当前时间',
|
||||||
},
|
},
|
||||||
baseNode: {
|
baseNode: {
|
||||||
label: '基本信息',
|
label: '基本信息',
|
||||||
appName: {
|
appName: {
|
||||||
label: '应用名称'
|
label: '应用名称',
|
||||||
},
|
},
|
||||||
appDescription: {
|
appDescription: {
|
||||||
label: '应用描述'
|
label: '应用描述',
|
||||||
},
|
},
|
||||||
fileUpload: {
|
fileUpload: {
|
||||||
label: '文件上传',
|
label: '文件上传',
|
||||||
tooltip: '开启后,问答页面会显示上传文件的按钮。'
|
tooltip: '开启后,问答页面会显示上传文件的按钮。',
|
||||||
},
|
},
|
||||||
FileUploadSetting: {
|
FileUploadSetting: {
|
||||||
title: '文件上传设置',
|
title: '文件上传设置',
|
||||||
@ -111,10 +109,9 @@ export default {
|
|||||||
documentText: '需要使用“文档内容提取”节点解析文档内容',
|
documentText: '需要使用“文档内容提取”节点解析文档内容',
|
||||||
imageText: '需要使用“视觉模型”节点解析图片内容',
|
imageText: '需要使用“视觉模型”节点解析图片内容',
|
||||||
audioText: '需要使用“语音转文本”节点解析音频内容',
|
audioText: '需要使用“语音转文本”节点解析音频内容',
|
||||||
otherText: '需要自行解析该类型文件'
|
otherText: '需要自行解析该类型文件',
|
||||||
},
|
},
|
||||||
|
},
|
||||||
}
|
|
||||||
},
|
},
|
||||||
aiChatNode: {
|
aiChatNode: {
|
||||||
label: 'AI 对话',
|
label: 'AI 对话',
|
||||||
@ -123,10 +120,10 @@ export default {
|
|||||||
returnContent: {
|
returnContent: {
|
||||||
label: '返回内容',
|
label: '返回内容',
|
||||||
tooltip: `关闭后该节点的内容则不输出给用户。
|
tooltip: `关闭后该节点的内容则不输出给用户。
|
||||||
如果你想让用户看到该节点的输出内容,请打开开关。`
|
如果你想让用户看到该节点的输出内容,请打开开关。`,
|
||||||
},
|
},
|
||||||
defaultPrompt: '已知信息',
|
defaultPrompt: '已知信息',
|
||||||
think: '思考过程'
|
think: '思考过程',
|
||||||
},
|
},
|
||||||
searchKnowledgeNode: {
|
searchKnowledgeNode: {
|
||||||
label: '知识库检索',
|
label: '知识库检索',
|
||||||
@ -139,8 +136,8 @@ export default {
|
|||||||
searchQuestion: {
|
searchQuestion: {
|
||||||
label: '检索问题',
|
label: '检索问题',
|
||||||
placeholder: '请选择检索问题',
|
placeholder: '请选择检索问题',
|
||||||
requiredMessage: '请选择检索问题'
|
requiredMessage: '请选择检索问题',
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
questionNode: {
|
questionNode: {
|
||||||
label: '问题优化',
|
label: '问题优化',
|
||||||
@ -148,7 +145,7 @@ export default {
|
|||||||
result: '问题优化结果',
|
result: '问题优化结果',
|
||||||
defaultPrompt1: `根据上下文优化和完善用户问题`,
|
defaultPrompt1: `根据上下文优化和完善用户问题`,
|
||||||
defaultPrompt2: `请输出一个优化后的问题。`,
|
defaultPrompt2: `请输出一个优化后的问题。`,
|
||||||
systemDefault: '你是一个问题优化大师'
|
systemDefault: '你是一个问题优化大师',
|
||||||
},
|
},
|
||||||
conditionNode: {
|
conditionNode: {
|
||||||
label: '判断器',
|
label: '判断器',
|
||||||
@ -157,11 +154,11 @@ export default {
|
|||||||
conditions: {
|
conditions: {
|
||||||
label: '条件',
|
label: '条件',
|
||||||
info: '符合以下',
|
info: '符合以下',
|
||||||
requiredMessage: '请选择条件'
|
requiredMessage: '请选择条件',
|
||||||
},
|
},
|
||||||
valueMessage: '请输入值',
|
valueMessage: '请输入值',
|
||||||
addCondition: '添加条件',
|
addCondition: '添加条件',
|
||||||
addBranch: '添加分支'
|
addBranch: '添加分支',
|
||||||
},
|
},
|
||||||
replyNode: {
|
replyNode: {
|
||||||
label: '指定回复',
|
label: '指定回复',
|
||||||
@ -169,8 +166,8 @@ export default {
|
|||||||
content: '内容',
|
content: '内容',
|
||||||
replyContent: {
|
replyContent: {
|
||||||
label: '回复内容',
|
label: '回复内容',
|
||||||
reference: '引用变量'
|
reference: '引用变量',
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
rerankerNode: {
|
rerankerNode: {
|
||||||
label: '多路召回',
|
label: '多路召回',
|
||||||
@ -179,15 +176,15 @@ export default {
|
|||||||
result: '重排结果',
|
result: '重排结果',
|
||||||
rerankerContent: {
|
rerankerContent: {
|
||||||
label: '重排内容',
|
label: '重排内容',
|
||||||
requiredMessage: '请选择重排内容'
|
requiredMessage: '请选择重排内容',
|
||||||
},
|
},
|
||||||
higher: '高于',
|
higher: '高于',
|
||||||
ScoreTooltip: 'Score越高相关性越强。',
|
ScoreTooltip: 'Score越高相关性越强。',
|
||||||
max_paragraph_char_number: '最大引用字符数',
|
max_paragraph_char_number: '最大引用字符数',
|
||||||
reranker_model: {
|
reranker_model: {
|
||||||
label: '重排模型',
|
label: '重排模型',
|
||||||
placeholder: '请选择重排模型'
|
placeholder: '请选择重排模型',
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
formNode: {
|
formNode: {
|
||||||
label: '表单收集',
|
label: '表单收集',
|
||||||
@ -198,15 +195,15 @@ export default {
|
|||||||
formContent: {
|
formContent: {
|
||||||
label: '表单输出内容',
|
label: '表单输出内容',
|
||||||
requiredMessage: '请表单输出内容',
|
requiredMessage: '请表单输出内容',
|
||||||
tooltip: '设置执行该节点输出的内容,{ form } 为表单的占位符。'
|
tooltip: '设置执行该节点输出的内容,{ form } 为表单的占位符。',
|
||||||
},
|
},
|
||||||
formAllContent: '表单全部内容',
|
formAllContent: '表单全部内容',
|
||||||
formSetting: '表单配置'
|
formSetting: '表单配置',
|
||||||
},
|
},
|
||||||
documentExtractNode: {
|
documentExtractNode: {
|
||||||
label: '文档内容提取',
|
label: '文档内容提取',
|
||||||
text: '提取文档中的内容',
|
text: '提取文档中的内容',
|
||||||
content: '文档内容'
|
content: '文档内容',
|
||||||
},
|
},
|
||||||
imageUnderstandNode: {
|
imageUnderstandNode: {
|
||||||
label: '图片理解',
|
label: '图片理解',
|
||||||
@ -214,17 +211,17 @@ export default {
|
|||||||
answer: 'AI 回答内容',
|
answer: 'AI 回答内容',
|
||||||
model: {
|
model: {
|
||||||
label: '视觉模型',
|
label: '视觉模型',
|
||||||
requiredMessage: '请选择视觉模型'
|
requiredMessage: '请选择视觉模型',
|
||||||
},
|
},
|
||||||
image: {
|
image: {
|
||||||
label: '选择图片',
|
label: '选择图片',
|
||||||
requiredMessage: '请选择图片'
|
requiredMessage: '请选择图片',
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
variableAssignNode: {
|
variableAssignNode: {
|
||||||
label: '变量赋值',
|
label: '变量赋值',
|
||||||
text: '更新全局变量的值',
|
text: '更新全局变量的值',
|
||||||
assign: '赋值'
|
assign: '赋值',
|
||||||
},
|
},
|
||||||
mcpNode: {
|
mcpNode: {
|
||||||
label: 'MCP 调用',
|
label: 'MCP 调用',
|
||||||
@ -235,7 +232,7 @@ export default {
|
|||||||
toolParam: '工具参数',
|
toolParam: '工具参数',
|
||||||
mcpServerTip: '请输入JSON格式的MCP服务器配置',
|
mcpServerTip: '请输入JSON格式的MCP服务器配置',
|
||||||
mcpToolTip: '请选择工具',
|
mcpToolTip: '请选择工具',
|
||||||
configLabel: 'MCP Server Config (仅支持SSE/Streamable HTTP调用方式)'
|
configLabel: 'MCP Server Config (仅支持SSE/Streamable HTTP调用方式)',
|
||||||
},
|
},
|
||||||
imageGenerateNode: {
|
imageGenerateNode: {
|
||||||
label: '图片生成',
|
label: '图片生成',
|
||||||
@ -243,46 +240,46 @@ export default {
|
|||||||
answer: 'AI 回答内容',
|
answer: 'AI 回答内容',
|
||||||
model: {
|
model: {
|
||||||
label: '图片生成模型',
|
label: '图片生成模型',
|
||||||
requiredMessage: '请选择图片生成模型'
|
requiredMessage: '请选择图片生成模型',
|
||||||
},
|
},
|
||||||
prompt: {
|
prompt: {
|
||||||
label: '提示词(正向)',
|
label: '提示词(正向)',
|
||||||
tooltip: '正向提示词,用来描述生成图像中期望包含的元素和视觉特点'
|
tooltip: '正向提示词,用来描述生成图像中期望包含的元素和视觉特点',
|
||||||
},
|
},
|
||||||
negative_prompt: {
|
negative_prompt: {
|
||||||
label: '提示词(负向)',
|
label: '提示词(负向)',
|
||||||
tooltip: '反向提示词,用来描述不希望在画面中看到的内容,可以对画面进行限制。',
|
tooltip: '反向提示词,用来描述不希望在画面中看到的内容,可以对画面进行限制。',
|
||||||
placeholder: '请描述不想生成的图片内容,比如:颜色、血腥内容'
|
placeholder: '请描述不想生成的图片内容,比如:颜色、血腥内容',
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
speechToTextNode: {
|
speechToTextNode: {
|
||||||
label: '语音转文本',
|
label: '语音转文本',
|
||||||
text: '将音频通过语音识别模型转换为文本',
|
text: '将音频通过语音识别模型转换为文本',
|
||||||
stt_model: {
|
stt_model: {
|
||||||
label: '语音识别模型'
|
label: '语音识别模型',
|
||||||
},
|
},
|
||||||
audio: {
|
audio: {
|
||||||
label: '选择语音文件',
|
label: '选择语音文件',
|
||||||
placeholder: '请选择语音文件'
|
placeholder: '请选择语音文件',
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
textToSpeechNode: {
|
textToSpeechNode: {
|
||||||
label: '文本转语音',
|
label: '文本转语音',
|
||||||
text: '将文本通过语音合成模型转换为音频',
|
text: '将文本通过语音合成模型转换为音频',
|
||||||
tts_model: {
|
tts_model: {
|
||||||
label: '语音识别模型'
|
label: '语音识别模型',
|
||||||
},
|
},
|
||||||
content: {
|
content: {
|
||||||
label: '选择文本内容'
|
label: '选择文本内容',
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
toolNode: {
|
toolNode: {
|
||||||
label: '自定义函数',
|
label: '自定义函数',
|
||||||
text: '通过执行自定义脚本,实现数据处理'
|
text: '通过执行自定义脚本,实现数据处理',
|
||||||
},
|
},
|
||||||
applicationNode: {
|
applicationNode: {
|
||||||
label: '应用节点'
|
label: '应用节点',
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
compare: {
|
compare: {
|
||||||
is_null: '为空',
|
is_null: '为空',
|
||||||
@ -300,7 +297,7 @@ export default {
|
|||||||
len_le: '长度小于等于',
|
len_le: '长度小于等于',
|
||||||
len_lt: '长度小于',
|
len_lt: '长度小于',
|
||||||
is_true: '为真',
|
is_true: '为真',
|
||||||
is_not_true: '不为真'
|
is_not_true: '不为真',
|
||||||
},
|
},
|
||||||
FileUploadSetting: {}
|
FileUploadSetting: {},
|
||||||
}
|
}
|
||||||
|
|||||||
@ -17,14 +17,18 @@ export default {
|
|||||||
published: '已发布',
|
published: '已发布',
|
||||||
unpublished: '未发布',
|
unpublished: '未发布',
|
||||||
},
|
},
|
||||||
|
|
||||||
operation: {
|
operation: {
|
||||||
|
addModel: '添加模型',
|
||||||
toChat: '去对话',
|
toChat: '去对话',
|
||||||
|
publish: '发布',
|
||||||
},
|
},
|
||||||
delete: {
|
delete: {
|
||||||
confirmTitle: '是否删除应用:',
|
confirmTitle: '是否删除应用:',
|
||||||
confirmMessage: '删除后该应用将不再提供服务,请谨慎操作。',
|
confirmMessage: '删除后该应用将不再提供服务,请谨慎操作。',
|
||||||
},
|
},
|
||||||
tip: {
|
tip: {
|
||||||
|
publishSuccess: '发布成功',
|
||||||
ExportError: '导出失败',
|
ExportError: '导出失败',
|
||||||
professionalMessage: '社区版最多支持 5 个应用,如需拥有更多应用,请升级为专业版。',
|
professionalMessage: '社区版最多支持 5 个应用,如需拥有更多应用,请升级为专业版。',
|
||||||
saveErrorMessage: '保存失败,请检查输入或稍后再试',
|
saveErrorMessage: '保存失败,请检查输入或稍后再试',
|
||||||
@ -113,11 +117,6 @@ export default {
|
|||||||
end: '结束',
|
end: '结束',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
buttons: {
|
|
||||||
save: '保存',
|
|
||||||
publish: '发布',
|
|
||||||
addModel: '添加模型',
|
|
||||||
},
|
|
||||||
|
|
||||||
dialog: {
|
dialog: {
|
||||||
addKnowledge: '添加关联知识库',
|
addKnowledge: '添加关联知识库',
|
||||||
|
|||||||
@ -15,7 +15,6 @@ export default {
|
|||||||
restoreVersion: '恢復版本',
|
restoreVersion: '恢復版本',
|
||||||
restoreCurrentVersion: '恢復此版本',
|
restoreCurrentVersion: '恢復此版本',
|
||||||
addComponent: '添加組件',
|
addComponent: '添加組件',
|
||||||
public: '發布',
|
|
||||||
releaseHistory: '發布歷史',
|
releaseHistory: '發布歷史',
|
||||||
autoSave: '自動保存',
|
autoSave: '自動保存',
|
||||||
latestRelease: '最近發布',
|
latestRelease: '最近發布',
|
||||||
@ -25,7 +24,6 @@ export default {
|
|||||||
exitSave: '保存並退出',
|
exitSave: '保存並退出',
|
||||||
},
|
},
|
||||||
tip: {
|
tip: {
|
||||||
publicSuccess: '發布成功',
|
|
||||||
noData: '沒有找到相關結果',
|
noData: '沒有找到相關結果',
|
||||||
nameMessage: '名字不能為空!',
|
nameMessage: '名字不能為空!',
|
||||||
onlyRight: '只允許從右邊的錨點連出',
|
onlyRight: '只允許從右邊的錨點連出',
|
||||||
|
|||||||
@ -19,12 +19,15 @@ export default {
|
|||||||
},
|
},
|
||||||
operation: {
|
operation: {
|
||||||
toChat: '去對話',
|
toChat: '去對話',
|
||||||
|
publish: '發布',
|
||||||
|
addModel: '新增模型',
|
||||||
},
|
},
|
||||||
delete: {
|
delete: {
|
||||||
confirmTitle: '是否刪除應用:',
|
confirmTitle: '是否刪除應用:',
|
||||||
confirmMessage: '刪除後該應用將不再提供服務,請謹慎操作。',
|
confirmMessage: '刪除後該應用將不再提供服務,請謹慎操作。',
|
||||||
},
|
},
|
||||||
tip: {
|
tip: {
|
||||||
|
publishSuccess: '發布成功',
|
||||||
ExportError: '匯出失敗',
|
ExportError: '匯出失敗',
|
||||||
professionalMessage: '社群版最多支援 5 個應用,如需擁有更多應用,請升級為專業版。',
|
professionalMessage: '社群版最多支援 5 個應用,如需擁有更多應用,請升級為專業版。',
|
||||||
saveErrorMessage: '儲存失敗,請檢查輸入或稍後再試',
|
saveErrorMessage: '儲存失敗,請檢查輸入或稍後再試',
|
||||||
@ -113,10 +116,6 @@ export default {
|
|||||||
end: '結束',
|
end: '結束',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
buttons: {
|
|
||||||
publish: '儲存並發佈',
|
|
||||||
addModel: '新增模型',
|
|
||||||
},
|
|
||||||
|
|
||||||
dialog: {
|
dialog: {
|
||||||
addKnowledge: '新增關聯知識庫',
|
addKnowledge: '新增關聯知識庫',
|
||||||
|
|||||||
@ -37,7 +37,7 @@
|
|||||||
{{ $t('common.save') }}
|
{{ $t('common.save') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button type="primary" @click="publish">
|
<el-button type="primary" @click="publish">
|
||||||
{{ $t('views.applicationWorkflow.setting.public') }}
|
{{ $t('views.application.operation.publish') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
||||||
<el-dropdown trigger="click">
|
<el-dropdown trigger="click">
|
||||||
@ -287,7 +287,7 @@ const publish = () => {
|
|||||||
})
|
})
|
||||||
.then((ok: any) => {
|
.then((ok: any) => {
|
||||||
detail.value.name = ok.data.name
|
detail.value.name = ok.data.name
|
||||||
MsgSuccess(t('views.applicationWorkflow.tip.publicSuccess'))
|
MsgSuccess(t('views.application.tip.publishSuccess'))
|
||||||
})
|
})
|
||||||
.catch((res: any) => {
|
.catch((res: any) => {
|
||||||
const node = res.node
|
const node = res.node
|
||||||
|
|||||||
@ -11,7 +11,7 @@
|
|||||||
:disabled="loading"
|
:disabled="loading"
|
||||||
v-if="permissionPrecise.edit(id)"
|
v-if="permissionPrecise.edit(id)"
|
||||||
>
|
>
|
||||||
{{ $t('views.application.buttons.save') }}
|
{{ $t('common.save') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
@ -19,7 +19,7 @@
|
|||||||
:disabled="loading"
|
:disabled="loading"
|
||||||
v-if="permissionPrecise.edit(id)"
|
v-if="permissionPrecise.edit(id)"
|
||||||
>
|
>
|
||||||
{{ $t('views.application.buttons.publish') }}
|
{{ $t('views.application.operation.publish') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -567,7 +567,7 @@ const publish = (formEl: FormInstance | undefined) => {
|
|||||||
return ApplicationAPI.publish(id, {}, loading)
|
return ApplicationAPI.publish(id, {}, loading)
|
||||||
})
|
})
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
MsgSuccess(t('common.saveSuccess'))
|
MsgSuccess(t('views.application.tip.publishSuccess'))
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@ -36,12 +36,12 @@ export default defineConfig((conf: any) => {
|
|||||||
const ENV = loadEnv(mode, envDir)
|
const ENV = loadEnv(mode, envDir)
|
||||||
const proxyConf: Record<string, string | ProxyOptions> = {}
|
const proxyConf: Record<string, string | ProxyOptions> = {}
|
||||||
proxyConf['/admin/api'] = {
|
proxyConf['/admin/api'] = {
|
||||||
// target: 'http://47.92.102.103:8080/',
|
// target: 'http://47.92.195.88:8080/',
|
||||||
target: 'http://127.0.0.1:8080',
|
target: 'http://127.0.0.1:8080',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
}
|
}
|
||||||
proxyConf['/chat/api'] = {
|
proxyConf['/chat/api'] = {
|
||||||
// target: 'http://47.92.102.103:8080/',
|
// target: 'http://47.92.195.88:8080/',
|
||||||
target: 'http://127.0.0.1:8080',
|
target: 'http://127.0.0.1:8080',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user