Browse Source

签名框等比例缩放

laiguoran 3 years ago
parent
commit
ce642f0e79
1 changed files with 2 additions and 2 deletions
  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,