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
28435152
authored
2025-08-27 16:18:07 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix
1 parent
246e4225
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
src/views/data_anonymization/sensitiveIdentifyConfig.vue
src/views/data_anonymization/sensitiveIdentifyConfig.vue
View file @
2843515
...
...
@@ -143,17 +143,22 @@ const getCntSumInfo = () => {
})
}
const
dataSource
=
ref
(
null
);
const
getExecSensitiveTableData
=
()
=>
{
treeInfo
.
value
.
loading
=
true
;
getExecSensitiveTable
(
route
.
query
.
execGuid
).
then
((
res
:
any
)
=>
{
treeInfo
.
value
.
loading
=
false
;
if
(
res
?.
code
==
proxy
.
$passCode
)
{
treeInfo
.
value
.
data
=
res
.
data
?.
map
(
d
=>
{
treeInfo
.
value
.
data
=
res
.
data
?.
map
(
(
d
,
index
)
=>
{
d
.
value
=
`
${
d
.
databaseName
}
-ds`
;
//解决文件名称和文件的sheet名称一样的树形选中问题
d
.
label
=
d
.
databaseChName
;
if
(
index
==
0
)
{
dataSource
.
value
=
d
.
dataSource
;
}
d
.
tableList
=
d
.
tableList
?.
map
(
t
=>
{
t
.
value
=
`
${
d
.
databaseName
}
-
${
t
.
tableName
}
`
;
t
.
label
=
t
.
tableChName
;
t
.
label
=
dataSource
.
value
==
1
?
`
${
t
.
tableChName
}
(
${
t
.
tableName
}
)`
:
t
.
tableChName
;
t
.
parent
=
d
.
databaseName
;
return
t
;
})
||
[]
...
...
@@ -621,6 +626,8 @@ const cntLabelMap = ref({
<
/el-table-column
>
<
el
-
table
-
column
label
=
"所属表名"
prop
=
"tableChName"
width
=
"140"
align
=
"left"
show
-
overflow
-
tooltip
>
<
/el-table-column
>
<
el
-
table
-
column
v
-
if
=
"dataSource == 1"
label
=
"所属表英文名"
prop
=
"tableName"
width
=
"140"
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
>
<
template
#
header
>
...
...
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