浏览代码

uat报表模板id设置

laiguoran 3 年之前
父节点
当前提交
167dca1e2b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/public/js/stage.js

+ 1 - 1
app/public/js/stage.js

@@ -4541,7 +4541,7 @@ function makeReportData(sfid) {
     replace_key_params['KEY_子目号及子目名称'] = ledger_code + ' ' + lData.name;
     replace_key_params['KEY_桩号及工程部位'] = pos_name;
     const req_params = {
-        rpt_tpl_id: window.location.host === '127.0.0.1:7002' || window.location.host === 'jlqa.smartcost.com.cn:7002' ? 1784 : 2138, // 1784(qa的,外网是2138)
+        rpt_tpl_id: window.location.host === '127.0.0.1:7002' || window.location.host === 'jlqa.smartcost.com.cn:7002' ? 1784 : (window.location.host === 'jluat.smartcost.com.cn' ? 315 : 2138), // 1784(qa的,外网是2138)
         pageSize: 'A4',
         project_id: tender.project_id,
         tender_id: tender.id,