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
09488cbc
authored
2025-08-27 11:04:52 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix
1 parent
3e2144df
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
src/views/data_anonymization/sensitiveIdentifyConfig.vue
src/views/data_anonymization/sensitiveIdentifyConfig.vue
View file @
09488cb
...
...
@@ -439,10 +439,6 @@ const handleFieldClickEdit = (scope) => {
}
const
handleFieldClickSave
=
(
scope
)
=>
{
if
(
!
scope
.
row
.
labelGuid
)
{
proxy
.
$ElMessage
.
error
(
'字段的标签不能为空'
);
return
;
}
let
labelName
=
''
;
let
labelTypeCode
=
''
;
if
(
scope
.
row
.
labelGuid
)
{
...
...
@@ -552,10 +548,10 @@ const cntLabelMap = ref({
<div
class=
"table_tool_wrap"
>
<div
class=
"tools_btns"
>
<el-button
v-if=
"!isLook"
type=
"primary"
@
click=
"batchConfirm"
>
批量确认
</el-button>
<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
)
+
'个,其中'
+
labelTypeList
?.
map
(
l
=>
`${l.label
}
:${changeNum(cntSumInfo[cntLabelMap[l.value]] || 0, 0)
}
个`
).
join
(
' '
)
<div
v-show=
"!sensitiveTableDataLoading"
class=
"cnt-desc"
>
{{
'表总数:'
+
changeNum
(
cntSumInfo
.
tableNum
||
0
,
0
)
+
'张
字段总数:'
+
changeNum
(
cntSumInfo
.
fieldNum
||
0
,
0
)
+
'个 敏感表总数:'
+
changeNum
(
cntSumInfo
.
sensitiveTableNum
||
0
,
0
)
+
'张
敏感字段总数:'
+
changeNum
(
cntSumInfo
.
sensitiveFieldNum
||
0
,
0
)
+
'个,其中'
+
labelTypeList
?.
map
(
l
=>
`${l.label
}
:${changeNum(cntSumInfo[cntLabelMap[l.value]] || 0, 0)
}
个`
).
join
(
' '
)
+
' 非敏感:'
+
changeNum
(
cntSumInfo
[
'nonSensitiveNum'
]
||
0
,
0
)
+
'个'
}}
<
/div
>
<
/div
>
<
/div
>
...
...
@@ -652,6 +648,10 @@ const cntLabelMap = ref({
.
table_tool_wrap
{
display
:
flex
;
.
cnt
-
desc
{
line
-
height
:
21
px
;
}
}
.
table_panel_wrap
{
...
...
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