Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
3e2144df
authored
2025-08-26 16:41:06 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改标签类型汇总的实现方式
1 parent
a31ee9de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
src/views/data_anonymization/sensitiveIdentifyConfig.vue
src/views/data_anonymization/sensitiveIdentifyConfig.vue
View file @
3e2144d
...
...
@@ -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
>
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment