Skip to content

Commit c75e51d

Browse files
z275748353张龙彬LP-J
authored
Implement internationalization for the existing auxiliary reminder words in operator configuration (#1444)
* add dataflow * add dataflow * remove antv/x6/lib/registry package * Fix bugs * Fix bugs * add package * add package * add zhHantOps * 1.Adjust the image path for operator management 2.Add permission judgment on whether to display the menu in operator management * Operator Management: Modification of dataflow/operator/ interface * 1.Add the cancellation of execution for internationalization and status verification 2.If a user has no organization or no authorized operators, all public operators will be queried by default * 1.Add the cancellation of execution for internationalization and status verification 2.If a user has no organization or no authorized operators, all public operators will be queried by default * 1.Add the cancellation of execution for internationalization and status verification 2.If a user has no organization or no authorized operators, all public operators will be queried by default * Add newly developed operators, internationalize tools, and supplement the internationalization of statistics. * Add newly developed operators, internationalize tools, and supplement the internationalization of statistics. * 1.Add template deletion function 2.Celery node deletion (admin only, offline status) 3.Block the option of creating tool operators, set tools as default 4.Internationalization update * Fix the bug of dataflow with ID #36 * Fix the bug of dataflow with ID OpenCSGs/csghub-dataflow#31 * Fix the bug of dataflow with ID OpenCSGs/csghub-dataflow#43 * Fix the bug of dataflow with ID OpenCSGs/csghub-dataflow#34 * 1.Fixed the issue where modifying the custom template operator name does not take effect, and added an internationalized name subtitle. 1.Added internationalization to the description of the keyword filtering operator. * 1.Add horizontal and vertical alignment guides for operator task flow filling. 2.Select PDF for format conversion and add the Mineru Backend field. 3.Add model selection and corresponding internationalization to the MD-to-JSONL tool. 4.Implement internationalization for the existing auxiliary reminder words in operator configuration. * 1. When dealing with operator overlap, there may be duplicate connection issues 2. Add internationalization to the generate_code_qa_cir_mapper configuration item --------- Co-authored-by: 张龙彬 <bin@sxcfx.cn> Co-authored-by: Jilp <1140016490@qq.com>
1 parent d8f67b2 commit c75e51d

File tree

10 files changed

+988
-148
lines changed

10 files changed

+988
-148
lines changed

frontend/src/components/dataflow_config/dataAcquisition/formatConversion/newFormatConversion.vue

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,21 @@
172172
</el-radio>
173173
</el-radio-group>
174174
</el-form-item>
175+
<el-form-item
176+
v-if="isPdfSelected(groupKey)"
177+
prop="mineru_backend"
178+
class="mt-[12px]"
179+
>
180+
<template #label>
181+
<p class="text-gray-500 text-xs">Mineru Backend</p>
182+
</template>
183+
<el-input
184+
v-model="form.mineru_backend"
185+
:placeholder="mineru_backend_placeholder"
186+
clearable
187+
>
188+
</el-input>
189+
</el-form-item>
175190
</el-col>
176191
</el-row>
177192

@@ -364,13 +379,15 @@ const isPdfSelected = (groupKey) => {
364379
return selectedFormat && (selectedFormat.label === "PDF" || selectedFormat.label === "pdf");
365380
};
366381
367-
const mineru_api_url_placeholder = ref("请输入 MinerU API URL");
382+
const mineru_api_url_placeholder = ref("MinerU API URL");
383+
const mineru_backend_placeholder = ref("Mineru Backend");
368384
// 获取 MinerU API URL 默认值
369385
const fetchMineruApiUrl = async () => {
370386
try {
371387
const { data } = await useFetchApi("/dataflow/formatify/get_mineru_api_url").get().json();
372388
if (data.value?.code === 200 && data.value?.data?.mineru_api_url) {
373389
mineru_api_url_placeholder.value = data.value.data.mineru_api_url;
390+
mineru_backend_placeholder.value = data.value.data.mineru_backend;
374391
}
375392
} catch (error) {
376393
console.error("获取 MinerU API URL 失败:", error);

0 commit comments

Comments
 (0)