Merge pull request #13630 from dataease/pr@dev-v2@chart-table-info

style(图表): 明细表自动换行配置的提示修改
This commit is contained in:
jianneng-fit2cloud 2024-11-28 10:58:17 +08:00 committed by GitHub
commit ccdef88991
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 18 additions and 6 deletions

View File

@ -1741,7 +1741,8 @@ Scatter chart (bubble) chart: {a} (series name), {b} (data name), {c} (value arr
p_bottom: 'Bottom alignment', p_bottom: 'Bottom alignment',
p_center: 'Center', p_center: 'Center',
table_auto_break_line: 'Automatic line break', table_auto_break_line: 'Automatic line break',
table_break_line_tip: 'After merging cells, automatic line wrapping is not supported', table_break_line_tip:
'Turn on automatic line break, the table header row height setting will be invalid',
table_break_line_max_lines: 'Maximum number of lines', table_break_line_max_lines: 'Maximum number of lines',
step: 'Step length (px)', step: 'Step length (px)',
no_function: no_function:
@ -1855,7 +1856,8 @@ Scatter chart (bubble) chart: {a} (series name), {b} (data name), {c} (value arr
radar_area_color: 'enable area', radar_area_color: 'enable area',
table_freeze_tip: 'after merging cells, column and row freezing is not supported', table_freeze_tip: 'after merging cells, column and row freezing is not supported',
merge_cells_tips: merge_cells_tips:
'after merging cells, freezing rows and columns and automatic line wrapping will become invalid' 'after merging cells, freezing rows and columns and automatic line wrapping will become invalid',
merge_cells_break_line_tip: 'after merging cells, automatic line wrapping is not supported'
}, },
dataset: { dataset: {
scope_edit: 'only effective when editing', scope_edit: 'only effective when editing',

View File

@ -1705,7 +1705,7 @@ export default {
p_bottom: '下對齊', p_bottom: '下對齊',
p_center: '居中', p_center: '居中',
table_auto_break_line: '自動換行', table_auto_break_line: '自動換行',
table_break_line_tip: '合併儲存格後不支持自動換行', table_break_line_tip: '開啟自動換行表頭行高設定將失效',
table_break_line_max_lines: '最大行數', table_break_line_max_lines: '最大行數',
step: '步長(px)', step: '步長(px)',
no_function: '函數尚未支援直接引用請在欄位表達式中手動輸入 ', no_function: '函數尚未支援直接引用請在欄位表達式中手動輸入 ',
@ -1815,7 +1815,8 @@ export default {
radar_point_size: '輔助點大小', radar_point_size: '輔助點大小',
radar_area_color: '開啟面積', radar_area_color: '開啟面積',
table_freeze_tip: '合併儲存格後不支持行列凍結', table_freeze_tip: '合併儲存格後不支持行列凍結',
merge_cells_tips: '合併儲存格後行列凍結自動換行會失效' merge_cells_tips: '合併儲存格後行列凍結自動換行會失效',
merge_cells_break_line_tip: '合併儲存格後不支持自動換行'
}, },
dataset: { dataset: {
scope_edit: '僅編輯時生效', scope_edit: '僅編輯時生效',

View File

@ -1708,7 +1708,7 @@ export default {
p_bottom: '下对齐', p_bottom: '下对齐',
p_center: '居中', p_center: '居中',
table_auto_break_line: '自动换行', table_auto_break_line: '自动换行',
table_break_line_tip: '合并单元格后不支持自动换行', table_break_line_tip: '开启自动换行表头行高设置将失效',
table_break_line_max_lines: '最大行数', table_break_line_max_lines: '最大行数',
step: '步长(px)', step: '步长(px)',
no_function: '函数尚未支持直接引用请在字段表达式中手动输入', no_function: '函数尚未支持直接引用请在字段表达式中手动输入',
@ -1818,7 +1818,8 @@ export default {
radar_point_size: '辅助点大小', radar_point_size: '辅助点大小',
radar_area_color: '开启面积', radar_area_color: '开启面积',
table_freeze_tip: '合并单元格后不支持行列冻结', table_freeze_tip: '合并单元格后不支持行列冻结',
merge_cells_tips: '合并单元格后行列冻结自动换行会失效' merge_cells_tips: '合并单元格后行列冻结自动换行会失效',
merge_cells_break_line_tip: '合并单元格后不支持自动换行'
}, },
dataset: { dataset: {
scope_edit: '仅编辑时生效', scope_edit: '仅编辑时生效',

View File

@ -1075,6 +1075,14 @@ onMounted(() => {
<span class="data-area-label"> <span class="data-area-label">
<span style="margin-right: 4px">{{ t('chart.table_auto_break_line') }}</span> <span style="margin-right: 4px">{{ t('chart.table_auto_break_line') }}</span>
<el-tooltip class="item" effect="dark" placement="bottom" v-if="mergeCell"> <el-tooltip class="item" effect="dark" placement="bottom" v-if="mergeCell">
<template #content>
<div>{{ t('chart.merge_cells_break_line_tip') }}</div>
</template>
<el-icon class="hint-icon" :class="{ 'hint-icon--dark': themes === 'dark' }">
<Icon name="icon_info_outlined"><icon_info_outlined class="svg-icon" /></Icon>
</el-icon>
</el-tooltip>
<el-tooltip class="item" effect="dark" placement="bottom" v-else>
<template #content> <template #content>
<div>{{ t('chart.table_break_line_tip') }}</div> <div>{{ t('chart.table_break_line_tip') }}</div>
</template> </template>