提交 8fffb3d7 authored 作者: taojinlong's avatar taojinlong

feat: 【数据集】添加 Excel 数据集,加入上传说明

上级 e934e485
......@@ -1100,7 +1100,10 @@ export default {
no_merge: 'Dont Merge',
merge_msg: 'If the fields in the data table are consistent, merge them into one data set?',
merge_title: 'Merge data',
field_name_less_50: 'Field name can not more 50 chars.'
field_name_less_50: 'Field name can not more 50 chars.',
excel_info_1: '1、Merged cells cannot exist in the file;',
excel_info_2: '2、The first line of the file is the title line, which cannot be empty or date;',
excel_info_3: '3、The file size shall not exceed 500m。'
},
datasource: {
datasource: 'Data Source',
......
......@@ -1101,7 +1101,10 @@ export default {
no_merge: '不合並',
merge_msg: '數據表中存在字段一致的情況,是否合並到一個數據集中?',
merge_title: '合並數據',
field_name_less_50: '字段名不能超過50個字符'
field_name_less_50: '字段名不能超過50個字符',
excel_info_1: '1、文件終不能存在合併單元格;',
excel_info_2: '2、文件的第一行為標題行,不能為空,不能為日期;',
excel_info_3: '3、文件不超過500M。'
},
datasource: {
datasource: '數據源',
......
......@@ -1101,7 +1101,10 @@ export default {
no_merge: '不合并',
merge_msg: '数据表中存在字段一致的情况,是否合并到一个数据集中?',
merge_title: '合并数据',
field_name_less_50: '字段名不能超过50个字符'
field_name_less_50: '字段名不能超过50个字符',
excel_info_1: '1、文件中不能存在合并单元格;',
excel_info_2: '2、文件的第一行为标题行,不能为空,不能为日期型;',
excel_info_3: '3、Excel文件大小请确保在500M以内。'
},
datasource: {
datasource: '数据源',
......
......@@ -5,6 +5,16 @@
<span style="line-height: 26px;">
{{ param.tableId?$t('dataset.edit_excel_table'):$t('dataset.add_excel_table') }}
</span>
<span style="line-height: 26px;">
<el-tooltip class="item" effect="dark" content="Right Bottom 提示文字" placement="bottom">
<div slot="content">
{{$t('dataset.excel_info_1')}}<br/>
{{$t('dataset.excel_info_2')}}<br/>
{{$t('dataset.excel_info_3')}}
</div>
<i class="el-icon-info" style="cursor: pointer;"></i>
</el-tooltip>
</span>
<el-row style="float: right">
<el-button size="mini" @click="cancel">
{{ $t('dataset.cancel') }}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论