Skip to content

Commit cfa19b5

Browse files
committed
fix(Data Source): Supports batch uploading of data tables (Note)
1 parent 687c7cf commit cfa19b5

File tree

5 files changed

+11
-5
lines changed

5 files changed

+11
-5
lines changed

frontend/src/i18n/en.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
"Details": "Details"
99
},
1010
"parameter": {
11+
"export_notes": "Export notes",
12+
"import_notes": "Import notes",
1113
"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.",
1214
"parameter_configuration": "Parameter Config",
1315
"question_count_settings": "Question Count Settings",

frontend/src/i18n/ko-KR.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
"Details": "세부"
99
},
1010
"parameter": {
11+
"export_notes": "수출 참고사항",
12+
"import_notes": "수입 참고사항",
1113
"memo": "메모 업데이트 규칙: 테이블 이름과 필드 이름이 일치하는지 확인합니다. 일치하는 항목이 있으면 테이블 메모와 필드 메모를 업데이트하고, 그렇지 않으면 메모를 변경하지 않고 그대로 둡니다.",
1214
"parameter_configuration": "매개변수 구성",
1315
"question_count_settings": "질문 수 설정",
@@ -826,4 +828,4 @@
826828
"to_doc": "API 보기",
827829
"trigger_limit": "최대 {0}개의 API 키 생성 지원"
828830
}
829-
}
831+
}

frontend/src/i18n/zh-CN.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
"Details": "详情"
99
},
1010
"parameter": {
11+
"export_notes": "导出备注",
12+
"import_notes": "导入备注",
1113
"memo": "备注更新规则:根据表名和字段名匹配,如果匹配则更新表备注和字段备注;如果匹配不上,备注保持不变。",
1214
"parameter_configuration": "参数配置",
1315
"question_count_settings": "问数设置",
@@ -827,4 +829,4 @@
827829
"to_doc": "查看 API",
828830
"trigger_limit": "最多支持创建 {0} 个 API Key"
829831
}
830-
}
832+
}

frontend/src/views/ds/DataTable.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ const btnSelectClick = (val: any) => {
364364
<template #icon>
365365
<icon_import_outlined></icon_import_outlined>
366366
</template>
367-
{{ $t('professional.export') }}
367+
{{ $t('parameter.export_notes') }}
368368
</el-button>
369369
<UploaderRemark
370370
:upload-path="`/datasource/uploadDsSchema/${info.id}`"

frontend/src/views/system/excel-upload/UploaderRemark.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function downloadTemplate() {
3939
})
4040
const link = document.createElement('a')
4141
link.href = URL.createObjectURL(blob)
42-
link.download = '备注.xlsx'
42+
link.download = t('parameter.import_notes') + '.xlsx'
4343
document.body.appendChild(link)
4444
link.click()
4545
document.body.removeChild(link)
@@ -169,7 +169,7 @@ const submitUpload = () => {
169169
<template #icon>
170170
<ccmUpload></ccmUpload>
171171
</template>
172-
{{ $t('user.import') }}
172+
{{ $t('parameter.import_notes') }}
173173
</el-button>
174174
<el-dialog
175175
v-if="dialogShow"

0 commit comments

Comments
 (0)