Browse Source

打印优化

TonyKang 4 years ago
parent
commit
55b206723e
1 changed files with 3 additions and 3 deletions
  1. 3 3
      app/public/report/js/rpt_print.js

+ 3 - 3
app/public/report/js/rpt_print.js

@@ -296,10 +296,10 @@ function buildCellSvg(cell, fonts, styles, controls, pageMergeBorder, rptMergeBo
 
 function buildImage(destRst, cell, control, offsetX, offsetY, adjustY, isHtoV, HtoVStr) {
     let href = '';
-    if (cell.pic) {
-        href = 'href="' + cell.pic +'"';
-    } else {
+    if (cell.path) {
         href = 'xlink:href="' + cell.path +'"';
+    } else {
+        href = 'href="' + cell.pic +'"';
     }
     const area = getProperSignatureArea(cell, control, offsetX, offsetY);
     if (cell.signature_name === JV.SIGNATURE_NAME_DUMMY) {