mirror of
https://github.com/dataease/dataease.git
synced 2025-02-25 12:03:05 +08:00
Merge pull request #8614 from dataease/pr@dev-v2@fix_field_remark
fix: 修复字段描述不展示的问题
This commit is contained in:
commit
d26708ea76
@ -1429,7 +1429,8 @@ export default {
|
|||||||
the_running_results: '即可查看运行结果',
|
the_running_results: '即可查看运行结果',
|
||||||
item: '项',
|
item: '项',
|
||||||
logic_filter: '条件筛选',
|
logic_filter: '条件筛选',
|
||||||
enum_filter: '枚举筛选'
|
enum_filter: '枚举筛选',
|
||||||
|
description: '字段备注'
|
||||||
},
|
},
|
||||||
about: {
|
about: {
|
||||||
auth_to: '授权给',
|
auth_to: '授权给',
|
||||||
|
@ -116,7 +116,7 @@ watch(
|
|||||||
<el-checkbox @change="checkChange" v-model="scope.row.checked" />
|
<el-checkbox @change="checkChange" v-model="scope.row.checked" />
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column :label="t('panel.column_name')">
|
<el-table-column :label="t('dataset.origin_name')">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-icon>
|
<el-icon>
|
||||||
<Icon
|
<Icon
|
||||||
@ -127,7 +127,7 @@ watch(
|
|||||||
{{ scope.row.originName }}
|
{{ scope.row.originName }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column property="name" :label="t('deDataset.original_name')" />
|
<el-table-column property="description" :label="t('deDataset.description')" />
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1486,6 +1486,19 @@ const getDsIconName = data => {
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
|
<el-table-column
|
||||||
|
prop="description"
|
||||||
|
:label="t('deDataset.description')"
|
||||||
|
width="240"
|
||||||
|
>
|
||||||
|
<template #default="scope">
|
||||||
|
<div class="column-style">
|
||||||
|
<span v-if="scope.row.extField === 0">{{ scope.row.description }}</span>
|
||||||
|
<span style="color: #8d9199" v-else> </span>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
|
||||||
<el-table-column prop="deType" :label="t('dataset.field_type')" width="200">
|
<el-table-column prop="deType" :label="t('dataset.field_type')" width="200">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-cascader
|
<el-cascader
|
||||||
@ -1633,6 +1646,19 @@ const getDsIconName = data => {
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
|
<el-table-column
|
||||||
|
prop="description"
|
||||||
|
:label="t('deDataset.description')"
|
||||||
|
width="240"
|
||||||
|
>
|
||||||
|
<template #default="scope">
|
||||||
|
<div class="column-style">
|
||||||
|
<span v-if="scope.row.extField === 0">{{ scope.row.description }}</span>
|
||||||
|
<span style="color: #8d9199" v-else> </span>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
|
||||||
<el-table-column prop="deType" :label="t('dataset.field_type')" width="200">
|
<el-table-column prop="deType" :label="t('dataset.field_type')" width="200">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-cascader
|
<el-cascader
|
||||||
|
@ -152,7 +152,7 @@ const allFieldsColumns = [
|
|||||||
{
|
{
|
||||||
key: 'description',
|
key: 'description',
|
||||||
dataKey: 'description',
|
dataKey: 'description',
|
||||||
title: '备注',
|
title: '字段备注',
|
||||||
width: 250
|
width: 250
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user