3e2144df by lihua

修改标签类型汇总的实现方式

1 parent a31ee9de
......@@ -533,6 +533,13 @@ const pageConfirm = () => {
})
}
const cntLabelMap = ref({
'01': 'directIdentifierNum',
'02': 'standardIdentifierNum',
'03': 'sensitiveNum',
'04': 'nonSensitiveNum'
})
</script>
<template>
......@@ -548,10 +555,7 @@ const pageConfirm = () => {
<div v-show="!sensitiveTableDataLoading" class="cnt-desc">{{ '表总数:' + changeNum(cntSumInfo.tableNum || 0, 0) + '张 敏感表总数:' +
changeNum(cntSumInfo.sensitiveTableNum || 0, 0) + '张 字段总数:'
+ changeNum(cntSumInfo.fieldNum || 0, 0) + '个 敏感字段总数:' + changeNum(cntSumInfo.sensitiveFieldNum || 0, 0) +
'个,其中直接标识:' +
changeNum(cntSumInfo.directIdentifierNum || 0, 0) + '个 准标识:' + changeNum(cntSumInfo.standardIdentifierNum ||
0, 0) + '个 敏感:' +
changeNum(cntSumInfo.sensitiveNum || 0, 0) + '个 非敏感:' + changeNum(cntSumInfo.nonSensitiveNum || 0, 0) + '个'
'个,其中' + labelTypeList?.map(l => `${l.label}:${changeNum(cntSumInfo[cntLabelMap[l.value]] || 0, 0)}个`).join(' ')
}}</div>
</div>
</div>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!