4d239f80 by lihua

fix

1 parent 28477bee
......@@ -104,7 +104,7 @@ watch(() => props.popoverInfo, async (val) => {
</template>
<template v-else-if="type == 'checkbox-list-btns'">
<div class="content_body">
<el-input v-model.trim="inputValue" v-show="popoverInfo.data?.length > 5" :placeholder="props.popoverInfo.placeholder ?? '请输入权限名称'" :prefix-icon="Search" clearable
<el-input v-model.trim="inputValue" v-show="popoverInfo.data?.length > 8" :placeholder="props.popoverInfo.placeholder ?? '请输入权限名称'" :prefix-icon="Search" clearable
@input="filterPopover" />
<el-checkbox-group v-model="checkedVal" @change="handleCheckedCitiesChange">
<el-checkbox v-for="auth in authorities" :key="auth.guid" :value="auth.guid">{{ auth[dataProps.label || 'dataPermissionName']
......
......@@ -158,7 +158,7 @@ const getExecSensitiveTableData = () => {
}
d.tableList = d.tableList?.map(t => {
t.value = `${d.databaseName}-${t.tableName}`;
t.label = dataSource.value == 1 ? `${t.tableChName}(${t.tableName})` : t.tableChName;
t.label = dataSource.value == 1 ? (t.tableChName || t.tableName) : t.tableChName;
t.parent = d.databaseName;
return t;
}) || []
......@@ -710,8 +710,11 @@ const cntLabelMap = ref({
</template>
</el-table-column>
<el-table-column label="所属表名" prop="tableChName" width="140" align="left" show-overflow-tooltip>
<template #default="scope">
<span>{{ scope.row.tableChName || '--' }}</span>
</template>
</el-table-column>
<el-table-column v-if="dataSource == 1" label="所属表英文名" prop="tableName" width="140" align="left"
<el-table-column v-if="dataSource == 1" label="所属表英文名" prop="tableName" width="160" align="left"
show-overflow-tooltip>
</el-table-column>
<el-table-column label="确认状态" prop="confirmStatus" class-name="filter-cell" width="120" align="center"
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!