浏览代码

签名框等比例缩放

laiguoran 3 年之前
父节点
当前提交
ce642f0e79
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/view/report/index_sign.ejs

+ 2 - 2
app/view/report/index_sign.ejs

@@ -470,8 +470,8 @@
                                 const encrypt = rptArchiveObj.currentEncryptionList.encryption[val];
                                 console.log(encrypt);
                                 const requestJson = {
-                                    width: encrypt.areas[0].width,
-                                    height: encrypt.areas[0].height,
+                                    width: encrypt.areas[0].width*0.75,
+                                    height: encrypt.areas[0].height*0.75,
                                     x: encrypt.areas[0].Left*0.75,
                                     y: encrypt.areas[0].Top*0.75,
                                     // page: rptArchiveObj.currentEncryptionList.total_page ? rptArchiveObj.currentEncryptionList.total_page : 1,