28435152 by lihua

fix

1 parent 246e4225
......@@ -143,17 +143,22 @@ const getCntSumInfo = () => {
})
}
const dataSource = ref(null);
const getExecSensitiveTableData = () => {
treeInfo.value.loading = true;
getExecSensitiveTable(route.query.execGuid).then((res: any) => {
treeInfo.value.loading = false;
if (res?.code == proxy.$passCode) {
treeInfo.value.data = res.data?.map(d => {
treeInfo.value.data = res.data?.map((d, index) => {
d.value = `${d.databaseName}-ds`; //解决文件名称和文件的sheet名称一样的树形选中问题
d.label = d.databaseChName;
if (index == 0) {
dataSource.value = d.dataSource;
}
d.tableList = d.tableList?.map(t => {
t.value = `${d.databaseName}-${t.tableName}`;
t.label = t.tableChName;
t.label = dataSource.value == 1 ? `${t.tableChName}(${t.tableName})` : t.tableChName;
t.parent = d.databaseName;
return t;
}) || []
......@@ -621,6 +626,8 @@ const cntLabelMap = ref({
</el-table-column>
<el-table-column label="所属表名" prop="tableChName" width="140" align="left" show-overflow-tooltip>
</el-table-column>
<el-table-column v-if="dataSource == 1" label="所属表英文名" prop="tableName" width="140" align="left" show-overflow-tooltip>
</el-table-column>
<el-table-column label="确认状态" prop="confirmStatus" class-name="filter-cell" width="120" align="center"
show-overflow-tooltip>
<template #header>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!