[update] 插入签章,签名图片大小和位置调整
This commit is contained in:
@@ -2384,9 +2384,11 @@ export default {
|
||||
const oRunImage = Api.CreateRun()
|
||||
if (user.avatarFileId) {
|
||||
const url = `${Asc.scope.downloadUrl}/laws-sinotruk/sys/common/downloadWithoutToken/${user.avatarFileId}`
|
||||
const oDrawingImg = Api.CreateImage(url, 34 * 36000, 18 * 36000)
|
||||
// const oDrawingImg = Api.CreateImage(url, 34 * 36000, 18 * 36000)
|
||||
const oDrawingImg = Api.CreateImage(url, 28 * 36000, 8 * 36000)
|
||||
oRunImage.AddDrawing(oDrawingImg)
|
||||
}
|
||||
oRunImage.SetPosition(33)
|
||||
// 签署日期
|
||||
// const oRunTime = Api.CreateRun()
|
||||
// oRunTime.AddText(' 签署日期:' + user.signTime)
|
||||
|
||||
Reference in New Issue
Block a user