Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Y
yn-health-science
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
徐俊
yn-health-science
Commits
94fff477
Commit
94fff477
authored
Aug 13, 2025
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
5b9c6449
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
TaskInfoToPDFUtil.java
...ain/java/com/yiboshi/science/utils/TaskInfoToPDFUtil.java
+6
-2
No files found.
science-admin/src/main/java/com/yiboshi/science/utils/TaskInfoToPDFUtil.java
View file @
94fff477
...
@@ -929,7 +929,11 @@ public class TaskInfoToPDFUtil {
...
@@ -929,7 +929,11 @@ public class TaskInfoToPDFUtil {
}
}
private
static
void
addProjectKPITable
(
Document
document
,
ComProjectTaskDTO
dto
,
BaseFont
bfChinese
,
BaseFont
fsChinese
)
throws
DocumentException
{
private
static
void
addProjectKPITable
(
Document
document
,
ComProjectTaskDTO
dto
,
BaseFont
bfChinese
,
BaseFont
fsChinese
)
throws
DocumentException
{
document
.
newPage
();
Font
titleFont
=
new
Font
(
bfChinese
,
14
f
,
Font
.
BOLD
);
Font
normalFont
=
new
Font
(
bfChinese
,
12
f
,
Font
.
NORMAL
);
// 添加标题
addSection
(
document
,
"八、项目绩效目标表"
,
titleFont
);
}
}
private
static
void
addFileTable
(
Document
document
,
ComProjectTaskDTO
dto
,
BaseFont
bfChinese
,
BaseFont
fsChinese
)
throws
DocumentException
{
private
static
void
addFileTable
(
Document
document
,
ComProjectTaskDTO
dto
,
BaseFont
bfChinese
,
BaseFont
fsChinese
)
throws
DocumentException
{
...
@@ -951,7 +955,7 @@ public class TaskInfoToPDFUtil {
...
@@ -951,7 +955,7 @@ public class TaskInfoToPDFUtil {
addCell
(
fileTable
,
"附件名称"
,
null
,
null
,
labelFont
,
40
f
,
Element
.
ALIGN_CENTER
,
Element
.
ALIGN_MIDDLE
);
addCell
(
fileTable
,
"附件名称"
,
null
,
null
,
labelFont
,
40
f
,
Element
.
ALIGN_CENTER
,
Element
.
ALIGN_MIDDLE
);
addCell
(
fileTable
,
"份数"
,
null
,
null
,
labelFont
,
40
f
,
Element
.
ALIGN_CENTER
,
Element
.
ALIGN_MIDDLE
);
addCell
(
fileTable
,
"份数"
,
null
,
null
,
labelFont
,
40
f
,
Element
.
ALIGN_CENTER
,
Element
.
ALIGN_MIDDLE
);
addCell
(
fileTable
,
"备注"
,
null
,
null
,
labelFont
,
40
f
,
Element
.
ALIGN_CENTER
,
Element
.
ALIGN_MIDDLE
);
addCell
(
fileTable
,
"备注"
,
null
,
null
,
labelFont
,
40
f
,
Element
.
ALIGN_CENTER
,
Element
.
ALIGN_MIDDLE
);
// 附件列表内容
// 附件列表内容
String
[][]
attachments
=
{
String
[][]
attachments
=
{
{
"1"
,
"项目申请书"
,
"1"
,
""
},
{
"1"
,
"项目申请书"
,
"1"
,
""
},
...
...
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