cfort 2 жил өмнө
parent
commit
b7de505d34

+ 1 - 1
src/plugins/ibps/index.js

@@ -56,7 +56,7 @@ export default {
         Vue.prototype.$ibpsUrl = env.VUE_APP_BASE_API_0_0_TEST
         const downloadReport = (src, where, type = 6) => {
             // 目前可用type    6:生成报表的pdf文件【默认】   7:生成报表的word文件   3:生成报表的excel文件
-            return `http://120.78.154.31/demo/reportServlet?action=${type}&file=${encodeURIComponent(src)}.rpx&columns=0&srcType=file&paramString=${encodeURIComponent(where)}`
+            return `http://120.78.154.31/demo/reportServlet?action=${type}&file=${encodeURIComponent(src)}.rpx&print=1&srcType=file&paramString=${encodeURIComponent(where)}`
         }
         const reportPath = '中汇瑞德检测中心'
         let timer = setInterval(() => { //定时循环添加参数