导出excel

This commit is contained in:
cwchen 2024-11-11 15:30:16 +08:00
parent bb3bff1cbe
commit 1919489d48
1 changed files with 11 additions and 0 deletions

View File

@ -199,6 +199,17 @@ function setNumColor(value, type) {
return '<span style="color:' + color + '">' + value + "</span>";
}
// 导出
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);