fix 81745
This commit is contained in:
@@ -2204,10 +2204,10 @@ export default {
|
|||||||
const userList = signatureInfo[key] || []
|
const userList = signatureInfo[key] || []
|
||||||
for (let i = 0; i < userList.length; i++) {
|
for (let i = 0; i < userList.length; i++) {
|
||||||
const user = userList[i]
|
const user = userList[i]
|
||||||
// 姓名工号
|
// // 姓名工号
|
||||||
const oRunUserName = Api.CreateRun()
|
// const oRunUserName = Api.CreateRun()
|
||||||
oRunUserName.AddText(user.userName + ' ')
|
// oRunUserName.AddText(user.userName + ' ')
|
||||||
oRunUserName.SetPosition(48)
|
// oRunUserName.SetPosition(48)
|
||||||
// 手写章图片
|
// 手写章图片
|
||||||
const oRunImage = Api.CreateRun()
|
const oRunImage = Api.CreateRun()
|
||||||
if (user.avatarFileId) {
|
if (user.avatarFileId) {
|
||||||
@@ -2216,22 +2216,24 @@ export default {
|
|||||||
oRunImage.AddDrawing(oDrawingImg)
|
oRunImage.AddDrawing(oDrawingImg)
|
||||||
}
|
}
|
||||||
// 签署日期
|
// 签署日期
|
||||||
const oRunTime = Api.CreateRun()
|
// const oRunTime = Api.CreateRun()
|
||||||
oRunTime.AddText(' 签署日期:' + user.signTime)
|
// oRunTime.AddText(' 签署日期:' + user.signTime)
|
||||||
oRunTime.SetPosition(48)
|
// oRunTime.SetPosition(48)
|
||||||
if (i === 0) {
|
if (i === 0) {
|
||||||
oParagraphLineOne.AddElement(oRunUserName)
|
// oParagraphLineOne.AddElement(oRunUserName)
|
||||||
oParagraphLineOne.AddElement(oRunImage)
|
oParagraphLineOne.AddElement(oRunImage)
|
||||||
oParagraphLineOne.AddElement(oRunTime)
|
// oParagraphLineOne.AddElement(oRunTime)
|
||||||
oParagraphLineOne.GetElement(0)
|
oParagraphLineOne.GetElement(0)
|
||||||
|
oParagraphLineOne.SetJc('center')
|
||||||
oDocContent.AddElement(oParagraphLineOne)
|
oDocContent.AddElement(oParagraphLineOne)
|
||||||
oDocContent.Push(oParagraphLineOne)
|
oDocContent.Push(oParagraphLineOne)
|
||||||
} else {
|
} else {
|
||||||
const oParagraphLine = Api.CreateParagraph()
|
const oParagraphLine = Api.CreateParagraph()
|
||||||
oParagraphLine.AddElement(oRunUserName)
|
// oParagraphLine.AddElement(oRunUserName)
|
||||||
oParagraphLine.AddElement(oRunImage)
|
oParagraphLine.AddElement(oRunImage)
|
||||||
oParagraphLine.AddElement(oRunTime)
|
// oParagraphLine.AddElement(oRunTime)
|
||||||
oParagraphLine.SetIndLeft(1388)
|
oParagraphLine.SetIndLeft(1388)
|
||||||
|
oParagraphLine.SetJc('center')
|
||||||
oDocContent.AddElement(oParagraphLine)
|
oDocContent.AddElement(oParagraphLine)
|
||||||
oDocContent.Push(oParagraphLine)
|
oDocContent.Push(oParagraphLine)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user