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
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
10 deletions
src/views/data_anonymization/anonResultReportView.vue
src/views/data_anonymization/anonTaskCreate.vue
src/views/data_anonymization/anonResultReportView.vue
View file @
642f2f1
...
...
@@ -228,11 +228,13 @@ const downloadWord = () => {
htmlOverview
=
htmlContent
.
substring
(
0
,
index
+
firstBr
.
length
);
htmlContentPart
=
htmlContent
.
substring
(
index
+
firstBr
.
length
);
}
let
secondBr
=
match
[
1
];
if
(
secondBr
)
{
const
index
=
htmlContent
.
indexOf
(
secondBr
);
if
(
index
!==
-
1
)
{
htmlAppendix
=
htmlContent
.
substring
(
index
+
secondBr
.
length
);
if
(
match
?.
length
>
2
)
{
let
secondBr
=
match
[
1
];
if
(
secondBr
)
{
const
index
=
htmlContent
.
indexOf
(
secondBr
);
if
(
index
!==
-
1
)
{
htmlAppendix
=
htmlContent
.
substring
(
index
+
secondBr
.
length
);
}
}
}
}
...
...
src/views/data_anonymization/anonTaskCreate.vue
View file @
642f2f1
...
...
@@ -2247,11 +2247,13 @@ const downloadWord = () => {
htmlOverview
=
htmlContent
.
substring
(
0
,
index
+
firstBr
.
length
);
htmlContentPart
=
htmlContent
.
substring
(
index
+
firstBr
.
length
);
}
let
secondBr
=
match
[
1
];
if
(
secondBr
)
{
const
index
=
htmlContent
.
indexOf
(
secondBr
);
if
(
index
!==
-
1
)
{
htmlAppendix
=
htmlContent
.
substring
(
index
+
secondBr
.
length
);
if
(
match
?.
length
>
2
)
{
let
secondBr
=
match
[
1
];
if
(
secondBr
)
{
const
index
=
htmlContent
.
indexOf
(
secondBr
);
if
(
index
!==
-
1
)
{
htmlAppendix
=
htmlContent
.
substring
(
index
+
secondBr
.
length
);
}
}
}
}
...
...
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