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
93ade0ce
authored
2025-09-18 17:37:07 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
匿名化处理传参修改
1 parent
7012779f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
src/api/modules/dataAnonymization.ts
src/views/data_anonymization/anonResultView.vue
src/api/modules/dataAnonymization.ts
View file @
93ade0c
...
...
@@ -260,6 +260,12 @@ export const getAnonAnalyzeResult = (execGuid) => request({
method
:
'get'
})
/** 获取匿名化任务分析结果数据 */
export
const
getLastAnonAnalyzeResult
=
(
execGuid
)
=>
request
({
url
:
`
${
import
.
meta
.
env
.
VITE_APP_ANONYMIZATION_BASEURL
}
/anon-task/get-anon-analyze?isResult=true&taskExecGuid=
${
execGuid
}
`
,
method
:
'get'
})
/** 获取匿名化任务分析结果统计分页数据 */
export
const
getAnonAnalyzePageData
=
(
params
)
=>
request
({
url
:
`
${
import
.
meta
.
env
.
VITE_APP_ANONYMIZATION_BASEURL
}
/anon-task/page-anon-analyze-data`
,
...
...
src/views/data_anonymization/anonResultView.vue
View file @
93ade0c
...
...
@@ -6,7 +6,7 @@
import
{
ref
}
from
"vue"
;
import
{
getAnonPageData
,
getAnonAnalyzeResult
,
get
Last
AnonAnalyzeResult
,
exportAnonExecData
,
}
from
"@/api/modules/dataAnonymization"
;
import
{
calcColumnWidth
}
from
"@/utils/index"
;
...
...
@@ -125,7 +125,7 @@ watch(() => props.execGuid, (val) => {
return
;
}
tableDataLoading
.
value
=
true
;
getAnonAnalyzeResult
(
val
).
then
((
res
:
any
)
=>
{
get
Last
AnonAnalyzeResult
(
val
).
then
((
res
:
any
)
=>
{
tableDataLoading
.
value
=
false
;
if
(
res
.
code
==
proxy
.
$passCode
)
{
let
column
=
res
.
data
?.
column
||
{};
...
...
@@ -145,7 +145,7 @@ onBeforeMount(() => {
return
;
}
tableDataLoading
.
value
=
true
;
getAnonAnalyzeResult
(
route
.
query
.
execGuid
).
then
((
res
:
any
)
=>
{
get
Last
AnonAnalyzeResult
(
route
.
query
.
execGuid
).
then
((
res
:
any
)
=>
{
tableDataLoading
.
value
=
false
;
if
(
res
.
code
==
proxy
.
$passCode
)
{
let
column
=
res
.
data
?.
column
||
{};
...
...
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