cfort 2 лет назад
Родитель
Сommit
b7de505d34
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/plugins/ibps/index.js

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

@@ -56,7 +56,7 @@ export default {
         Vue.prototype.$ibpsUrl = env.VUE_APP_BASE_API_0_0_TEST
         Vue.prototype.$ibpsUrl = env.VUE_APP_BASE_API_0_0_TEST
         const downloadReport = (src, where, type = 6) => {
         const downloadReport = (src, where, type = 6) => {
             // 目前可用type    6:生成报表的pdf文件【默认】   7:生成报表的word文件   3:生成报表的excel文件
             // 目前可用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 = '中汇瑞德检测中心'
         const reportPath = '中汇瑞德检测中心'
         let timer = setInterval(() => { //定时循环添加参数
         let timer = setInterval(() => { //定时循环添加参数