fix
Showing
2 changed files
with
6 additions
and
3 deletions
| ... | @@ -104,7 +104,7 @@ watch(() => props.popoverInfo, async (val) => { | ... | @@ -104,7 +104,7 @@ watch(() => props.popoverInfo, async (val) => { |
| 104 | </template> | 104 | </template> |
| 105 | <template v-else-if="type == 'checkbox-list-btns'"> | 105 | <template v-else-if="type == 'checkbox-list-btns'"> |
| 106 | <div class="content_body"> | 106 | <div class="content_body"> |
| 107 | <el-input v-model.trim="inputValue" v-show="popoverInfo.data?.length > 5" :placeholder="props.popoverInfo.placeholder ?? '请输入权限名称'" :prefix-icon="Search" clearable | 107 | <el-input v-model.trim="inputValue" v-show="popoverInfo.data?.length > 8" :placeholder="props.popoverInfo.placeholder ?? '请输入权限名称'" :prefix-icon="Search" clearable |
| 108 | @input="filterPopover" /> | 108 | @input="filterPopover" /> |
| 109 | <el-checkbox-group v-model="checkedVal" @change="handleCheckedCitiesChange"> | 109 | <el-checkbox-group v-model="checkedVal" @change="handleCheckedCitiesChange"> |
| 110 | <el-checkbox v-for="auth in authorities" :key="auth.guid" :value="auth.guid">{{ auth[dataProps.label || 'dataPermissionName'] | 110 | <el-checkbox v-for="auth in authorities" :key="auth.guid" :value="auth.guid">{{ auth[dataProps.label || 'dataPermissionName'] | ... | ... |
| ... | @@ -158,7 +158,7 @@ const getExecSensitiveTableData = () => { | ... | @@ -158,7 +158,7 @@ const getExecSensitiveTableData = () => { |
| 158 | } | 158 | } |
| 159 | d.tableList = d.tableList?.map(t => { | 159 | d.tableList = d.tableList?.map(t => { |
| 160 | t.value = `${d.databaseName}-${t.tableName}`; | 160 | t.value = `${d.databaseName}-${t.tableName}`; |
| 161 | t.label = dataSource.value == 1 ? `${t.tableChName}(${t.tableName})` : t.tableChName; | 161 | t.label = dataSource.value == 1 ? (t.tableChName || t.tableName) : t.tableChName; |
| 162 | t.parent = d.databaseName; | 162 | t.parent = d.databaseName; |
| 163 | return t; | 163 | return t; |
| 164 | }) || [] | 164 | }) || [] |
| ... | @@ -710,8 +710,11 @@ const cntLabelMap = ref({ | ... | @@ -710,8 +710,11 @@ const cntLabelMap = ref({ |
| 710 | </template> | 710 | </template> |
| 711 | </el-table-column> | 711 | </el-table-column> |
| 712 | <el-table-column label="所属表名" prop="tableChName" width="140" align="left" show-overflow-tooltip> | 712 | <el-table-column label="所属表名" prop="tableChName" width="140" align="left" show-overflow-tooltip> |
| 713 | <template #default="scope"> | ||
| 714 | <span>{{ scope.row.tableChName || '--' }}</span> | ||
| 715 | </template> | ||
| 713 | </el-table-column> | 716 | </el-table-column> |
| 714 | <el-table-column v-if="dataSource == 1" label="所属表英文名" prop="tableName" width="140" align="left" | 717 | <el-table-column v-if="dataSource == 1" label="所属表英文名" prop="tableName" width="160" align="left" |
| 715 | show-overflow-tooltip> | 718 | show-overflow-tooltip> |
| 716 | </el-table-column> | 719 | </el-table-column> |
| 717 | <el-table-column label="确认状态" prop="confirmStatus" class-name="filter-cell" width="120" align="center" | 720 | <el-table-column label="确认状态" prop="confirmStatus" class-name="filter-cell" width="120" align="center" | ... | ... |
-
Please register or sign in to post a comment