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
642f2f19
authored
2026-07-17 09:10:03 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 下载报告附录分页
1 parent
4afc0206
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
src/views/data_anonymization/anonResultReportView.vue
src/views/data_anonymization/anonTaskCreate.vue
src/views/data_anonymization/anonResultReportView.vue
View file @
642f2f1
...
...
@@ -228,6 +228,7 @@ const downloadWord = () => {
htmlOverview
=
htmlContent
.
substring
(
0
,
index
+
firstBr
.
length
);
htmlContentPart
=
htmlContent
.
substring
(
index
+
firstBr
.
length
);
}
if
(
match
?.
length
>
2
)
{
let
secondBr
=
match
[
1
];
if
(
secondBr
)
{
const
index
=
htmlContent
.
indexOf
(
secondBr
);
...
...
@@ -236,6 +237,7 @@ const downloadWord = () => {
}
}
}
}
if
(
route
.
query
.
dataOwner
==
'1'
)
{
sendAnonReport
({
taskGuid
:
taskGuid
.
value
,
title
:
`
${
analysisResultInfo
.
value
.
tenantName
}
持有的“
${
oldAnonTaskValueInfo
.
value
.
taskName
}
”`
,
evaluationDate
:
analysisResultInfo
.
value
.
execTime
?
analysisResultInfo
.
value
.
execTime
.
substring
(
0
,
10
)
:
''
,
deIdentProcessorName
:
userData
.
tenantName
,
htmlOverview
:
encodeURIComponent
(
`<div>
${
htmlOverview
}
</div>`
),
...
...
src/views/data_anonymization/anonTaskCreate.vue
View file @
642f2f1
...
...
@@ -2247,6 +2247,7 @@ const downloadWord = () => {
htmlOverview
=
htmlContent
.
substring
(
0
,
index
+
firstBr
.
length
);
htmlContentPart
=
htmlContent
.
substring
(
index
+
firstBr
.
length
);
}
if
(
match
?.
length
>
2
)
{
let
secondBr
=
match
[
1
];
if
(
secondBr
)
{
const
index
=
htmlContent
.
indexOf
(
secondBr
);
...
...
@@ -2255,6 +2256,7 @@ const downloadWord = () => {
}
}
}
}
downPromise
.
value
=
convertHtml2Img
(
report
,
dom
).
then
(()
=>
{
downloadAnonReport
({
taskGuid
:
oldAnonTaskValueInfo
.
value
.
guid
,
title
:
`
${
analysisResultInfo
.
value
.
tenantName
}
持有的“
${
oldAnonTaskValueInfo
.
value
.
taskName
}
”`
,
evaluationDate
:
analysisResultInfo
.
value
.
execTime
?
analysisResultInfo
.
value
.
execTime
.
substring
(
0
,
10
)
:
''
,
...
...
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