Explorar o código

签名框等比例缩放

laiguoran %!s(int64=4) %!d(string=hai) anos
pai
achega
ce642f0e79
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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,