1d3cb7f4 by lihua

fix

1 parent 6226e6ed
......@@ -290,6 +290,14 @@ const getSensitiveFieldLabelData = (info?: {
}
return d;
}) || []);
let list = data['确认状态'];
if (info?.setStatus !== false || !pageInfo.value.confirmStatus?.length) {
confirmStatusList.value = list?.map(d => {
d.guid = d.confirmStatus;
d.label = d.confirmStatus == 'Y' ? '已确认' : '未确认';
return d;
}) || []
};
(info?.setType !== false || !pageInfo.value.labelTypeCodes?.length) && (labelTypeDataList.value = data['标签类型']?.map(d => {
d.guid = d.labelTypeCode;
if (!d.labelTypeCode) {
......@@ -298,11 +306,6 @@ const getSensitiveFieldLabelData = (info?: {
}
return d;
}) || [])
(info?.setStatus !== false || !pageInfo.value.confirmStatus?.length) && (confirmStatusList.value = data['确认状态']?.map(d => {
d.guid = d.confirmStatus;
d.label = d.confirmStatus == 'Y' ? '已确认' : '未确认';
return d;
}) || [])
} else {
proxy.$ElMessage({
type: 'error',
......@@ -433,13 +436,7 @@ const confirmStatusList: any = ref([]);
const popoverStatusListInfo = computed(() => {
return {
type: 'checkbox-list-btns',
data: confirmStatusList.value || [{
guid: 'N',
label: '待确认'
}, {
guid: 'Y',
label: '已确认'
}],
data: confirmStatusList.value,
placeholder: '请输入关键字搜索',
scope: {
row: {}
......@@ -710,12 +707,11 @@ const cntLabelMap = ref({
</template>
</el-table-column>
<el-table-column label="所属表中文名" prop="tableChName" width="140" align="left" show-overflow-tooltip>
<template #default="scope">
<template #default="scope">
<span>{{ scope.row.tableChName || '--' }}</span>
</template>
</el-table-column>
<el-table-column label="所属表英文名" prop="tableName" width="160" align="left"
show-overflow-tooltip>
<el-table-column label="所属表英文名" prop="tableName" :width="dataSource == 1 ? 160 : 130" 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>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!