Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
car-reptiles
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
梁辉
car-reptiles
Commits
96ee6467
Commit
96ee6467
authored
Dec 03, 2020
by
梁辉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化了检测报告html转pdf不居中问题
parent
7ef17474
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
car-reptiles-system/src/main/java/me/zhengjie/modules/system/util/CarReportUtil.java
+2
-1
No files found.
car-reptiles-system/src/main/java/me/zhengjie/modules/system/util/CarReportUtil.java
View file @
96ee6467
...
...
@@ -439,7 +439,8 @@ public class CarReportUtil {
reportHtml
=
reportHtml
.
replace
(
"src=\"../.."
,
"src=\""
+
host
).
replace
(
"src=\"/businesscom"
,
"src=\""
+
host
+
"businesscom"
)
.
replace
(
"黑体"
,
"SimSun"
).
replace
(
"<br> \n"
+
" <br>"
,
"<br style=\"page-break-after:always;\"> \n"
+
" <br style=\"page-break-after:always;\">"
);
" <br style=\"page-break-after:always;\">"
)
.
replace
(
"<div>"
,
"<div style=\"margin-left:-500px\">"
);
Document
parse1
=
Jsoup
.
parse
(
reportHtml
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment