fix(Data Source): Supports batch uploading of data tables (Note)

This commit is contained in:
dataeaseShu
2025-12-23 15:29:49 +08:00
parent 687c7cf04f
commit cfa19b58c0
5 changed files with 11 additions and 5 deletions
+2
View File
@@ -8,6 +8,8 @@
"Details": "Details"
},
"parameter": {
"export_notes": "Export notes",
"import_notes": "Import notes",
"memo": "Memo update rules: Match table name and field name. If a match is found, update the table memo and field memo; otherwise, leave the memo unchanged.",
"parameter_configuration": "Parameter Config",
"question_count_settings": "Question Count Settings",
+3 -1
View File
@@ -8,6 +8,8 @@
"Details": "세부"
},
"parameter": {
"export_notes": "수출 참고사항",
"import_notes": "수입 참고사항",
"memo": "메모 업데이트 규칙: 테이블 이름과 필드 이름이 일치하는지 확인합니다. 일치하는 항목이 있으면 테이블 메모와 필드 메모를 업데이트하고, 그렇지 않으면 메모를 변경하지 않고 그대로 둡니다.",
"parameter_configuration": "매개변수 구성",
"question_count_settings": "질문 수 설정",
@@ -826,4 +828,4 @@
"to_doc": "API 보기",
"trigger_limit": "최대 {0}개의 API 키 생성 지원"
}
}
}
+3 -1
View File
@@ -8,6 +8,8 @@
"Details": "详情"
},
"parameter": {
"export_notes": "导出备注",
"import_notes": "导入备注",
"memo": "备注更新规则:根据表名和字段名匹配,如果匹配则更新表备注和字段备注;如果匹配不上,备注保持不变。",
"parameter_configuration": "参数配置",
"question_count_settings": "问数设置",
@@ -827,4 +829,4 @@
"to_doc": "查看 API",
"trigger_limit": "最多支持创建 {0} 个 API Key"
}
}
}
+1 -1
View File
@@ -364,7 +364,7 @@ const btnSelectClick = (val: any) => {
<template #icon>
<icon_import_outlined></icon_import_outlined>
</template>
{{ $t('professional.export') }}
{{ $t('parameter.export_notes') }}
</el-button>
<UploaderRemark
:upload-path="`/datasource/uploadDsSchema/${info.id}`"
@@ -39,7 +39,7 @@ function downloadTemplate() {
})
const link = document.createElement('a')
link.href = URL.createObjectURL(blob)
link.download = '备注.xlsx'
link.download = t('parameter.import_notes') + '.xlsx'
document.body.appendChild(link)
link.click()
document.body.removeChild(link)
@@ -169,7 +169,7 @@ const submitUpload = () => {
<template #icon>
<ccmUpload></ccmUpload>
</template>
{{ $t('user.import') }}
{{ $t('parameter.import_notes') }}
</el-button>
<el-dialog
v-if="dialogShow"