diff --git a/js/pages/newDataAnalysis/projectManagement.js b/js/pages/newDataAnalysis/projectManagement.js index cda0285..d60ebc5 100644 --- a/js/pages/newDataAnalysis/projectManagement.js +++ b/js/pages/newDataAnalysis/projectManagement.js @@ -81,6 +81,27 @@ function initTable(type, bidCode) { var index = $(this).index(); var rowData = res.rows[index]; // 获取对应行的数据 console.log(rowData, "rowData导出"); + + const url = + commonUrl + + "screen/largeScreen/tb_project_new/export?proName=" + + rowData.taskName + + "&token=" + + sessionStorage.getItem("zhgd_token"); + + // window.location.href = url; + window.open(url, "_blank"); + // $.ajax({ + // url: url, + // type: "get", + + // headers: { + // authorization: sessionStorage.getItem("zhgd_token"), + // }, + // success: function (data) { + // console.log(data, "导出的数据结果"); + // }, + // }); } ); }, @@ -141,7 +162,7 @@ function initTable(type, bidCode) { templet: (d) => { let text = ""; text += - '导出'; + '分析报告'; return text; }, },