From 45341cb55f28e7583c361f159f982e64cb36c7ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=9C=84?= Date: Sun, 4 Feb 2024 12:04:00 +0800 Subject: [PATCH] fix 81745 --- src/pages/page1/saicComponents/Init.vue | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/src/pages/page1/saicComponents/Init.vue b/src/pages/page1/saicComponents/Init.vue index 583298a..a4ff7d2 100644 --- a/src/pages/page1/saicComponents/Init.vue +++ b/src/pages/page1/saicComponents/Init.vue @@ -2204,10 +2204,10 @@ export default { const userList = signatureInfo[key] || [] for (let i = 0; i < userList.length; i++) { const user = userList[i] - // 姓名工号 - const oRunUserName = Api.CreateRun() - oRunUserName.AddText(user.userName + ' ') - oRunUserName.SetPosition(48) + // // 姓名工号 + // const oRunUserName = Api.CreateRun() + // oRunUserName.AddText(user.userName + ' ') + // oRunUserName.SetPosition(48) // 手写章图片 const oRunImage = Api.CreateRun() if (user.avatarFileId) { @@ -2216,22 +2216,24 @@ export default { oRunImage.AddDrawing(oDrawingImg) } // 签署日期 - const oRunTime = Api.CreateRun() - oRunTime.AddText(' 签署日期:' + user.signTime) - oRunTime.SetPosition(48) + // const oRunTime = Api.CreateRun() + // oRunTime.AddText(' 签署日期:' + user.signTime) + // oRunTime.SetPosition(48) if (i === 0) { - oParagraphLineOne.AddElement(oRunUserName) + // oParagraphLineOne.AddElement(oRunUserName) oParagraphLineOne.AddElement(oRunImage) - oParagraphLineOne.AddElement(oRunTime) + // oParagraphLineOne.AddElement(oRunTime) oParagraphLineOne.GetElement(0) + oParagraphLineOne.SetJc('center') oDocContent.AddElement(oParagraphLineOne) oDocContent.Push(oParagraphLineOne) } else { const oParagraphLine = Api.CreateParagraph() - oParagraphLine.AddElement(oRunUserName) + // oParagraphLine.AddElement(oRunUserName) oParagraphLine.AddElement(oRunImage) - oParagraphLine.AddElement(oRunTime) + // oParagraphLine.AddElement(oRunTime) oParagraphLine.SetIndLeft(1388) + oParagraphLine.SetJc('center') oDocContent.AddElement(oParagraphLine) oDocContent.Push(oParagraphLine) }