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
617626e0
authored
2025-08-27 11:50:24 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 样式
1 parent
09488cbc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
10 deletions
src/assets/styles/element-plus/index.scss
src/views/data_anonymization/sensitiveIdentifyConfig.vue
src/assets/styles/element-plus/index.scss
View file @
617626e
...
...
@@ -248,6 +248,12 @@
}
}
.el-select-v2-popper
{
.el-select-dropdown__item
{
padding
:
0px
16px
;
}
}
.el-select-dropdown__item
{
--el-text-color-regular
:
var
(
--
el-color-regular
);
--el-fill-color-light
:
#f5f5f5
;
...
...
src/views/data_anonymization/sensitiveIdentifyConfig.vue
View file @
617626e
...
...
@@ -548,11 +548,14 @@ 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
.
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
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
>
<
div
class
=
"table_panel_wrap"
>
...
...
@@ -586,13 +589,18 @@ const cntLabelMap = ref({
@
popverBtnClick
=
"handleLabelPopoverClick"
/>
<
/template
>
<
template
#
default
=
"scope"
>
<
el
-
select
-
v2
v
-
if
=
"scope.row['isEdit']"
v
-
model
=
"scope.row['labelGuid']"
filterable
<
el
-
select
-
v2
v
-
if
=
"scope.row['isEdit']"
v
-
model
=
"scope.row['labelGuid']"
filterable
popper
-
class
=
"el-select-v2-popper"
:
options
=
"allDataLabelList"
placeholder
=
"请选择"
clearable
:
props
=
"
{
value
:
'guid'
,
label
:
'labelName'
}
"
@change="
(
val
)
=>
handleSelectChange
(
val
,
scope
)
"
/>
@change="
(
val
)
=>
handleSelectChange
(
val
,
scope
)
">
<template #default="
{
item
}
">
<ellipsis-tooltip :content="
item
.
labelName
??
''
" class-name="
w100f
"
:refName="
'tooltipOver'
+
item
.
guid
"
><
/ellipsis-tooltip
>
<
/template
>
<
/el-select-v2
>
<
span
v
-
else
>
{{
scope
.
row
[
"labelName"
]
||
'--'
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"标签类型"
prop
=
"labelTypeName"
class
-
name
=
"filter-cell"
width
=
"1
2
0"
align
=
"left"
<
el
-
table
-
column
label
=
"标签类型"
prop
=
"labelTypeName"
class
-
name
=
"filter-cell"
width
=
"1
3
0"
align
=
"left"
show
-
overflow
-
tooltip
>
<
template
#
header
>
<
span
>
标签类型
<
/span
>
...
...
@@ -619,7 +627,7 @@ const cntLabelMap = ref({
<
span
v
-
else
>
{{
'--'
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
v
-
if
=
"!isLook"
label
=
"操作"
width
=
"
10
0px"
align
=
"left"
fixed
=
"right"
show
-
overflow
-
tooltip
>
<
el
-
table
-
column
v
-
if
=
"!isLook"
label
=
"操作"
width
=
"
9
0px"
align
=
"left"
fixed
=
"right"
show
-
overflow
-
tooltip
>
<
template
#
default
=
"scope"
>
<
span
class
=
"text_btn"
v
-
if
=
"!scope.row['isEdit']"
@
click
=
"handleFieldClickEdit(scope)"
v
-
preReClick
>
编辑
<
/span
>
...
...
@@ -648,9 +656,10 @@ const cntLabelMap = ref({
.
table_tool_wrap
{
display
:
flex
;
.
cnt
-
desc
{
line
-
height
:
21
px
;
white
-
space
:
break
-
spaces
;
}
}
...
...
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