From 1919489d48c8599f4fc0e60b12dc0bd6a634dd1e Mon Sep 17 00:00:00 2001 From: cwchen <1048842385@qq.com> Date: Mon, 11 Nov 2024 15:30:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=87=BAexcel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/demandPlan/child/view_data_source_list.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/js/demandPlan/child/view_data_source_list.js b/js/demandPlan/child/view_data_source_list.js index 9394a43..a705257 100644 --- a/js/demandPlan/child/view_data_source_list.js +++ b/js/demandPlan/child/view_data_source_list.js @@ -199,6 +199,17 @@ function setNumColor(value, type) { return '' + value + ""; } +// 导出 +function exportExcel() { + let params = { + 'name': $('#name').val(), + 'module': $('#module').val(), + 'moduleId': objParam.moduleId + } + let url = dataUrl + "backstage/export/exportDetails"; + exportExcelUtil(url, '需求计划', JSON.stringify(params)); +} + // 需求计划编号 function demand_plan(obj) { openIframeByParamObj2("demand_plan", "机具需求计划", "./child/apply_plan_detail.html", "92%", "95%", obj);