From 68669be0d9e75cd52b64d691b8a25ca10e131c94 Mon Sep 17 00:00:00 2001 From: Junjie <540245094@qq.com> Date: 星期二, 02 九月 2025 16:28:35 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/report/workOut.js | 16 +++++++++++----- 1 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/main/webapp/static/js/report/workOut.js b/src/main/webapp/static/js/report/workOut.js index 035d6b5..3eb7a1a 100644 --- a/src/main/webapp/static/js/report/workOut.js +++ b/src/main/webapp/static/js/report/workOut.js @@ -1,10 +1,11 @@ var pageCurr; function getCol() { var cols = [ - {field: 'io_time', align: 'center', title: '鍑哄簱鏃ユ湡', width: 200} - ,{field: 'loc_no', align: 'center',title: '搴撲綅鍙�'} - ,{field: 'crn_str_time', align: 'center',title: '鍫嗗灈鏈哄惎鍔ㄦ椂闂�'} - ,{field: 'crn_end_time', align: 'center',title: '鍫嗗灈鏈哄仠姝㈡椂闂�'} + {field: 'ioTime$', align: 'center', title: '鍑哄簱鏃ユ湡', width: 200} + // ,{field: 'loc_no', align: 'center',title: '搴撲綅鍙�'} + // ,{field: 'crn_str_time', align: 'center',title: '鍫嗗灈鏈哄惎鍔ㄦ椂闂�'} + // ,{field: 'crn_end_time', align: 'center',title: '鍫嗗灈鏈哄仠姝㈡椂闂�'} + // ,{field: 'model', align: 'center',title: '鍥惧彿'} ]; cols.push.apply(cols, detlCols); return cols; @@ -90,8 +91,13 @@ fields.push(col.field); } }); + var exportData = {}; + $.each($('#search-box [name]').serializeArray(), function() { + exportData[this.name] = this.value; + }); var param = { - 'fields': fields + fields: fields, + exportData: exportData }; $.ajax({ url: baseUrl+"/report/viewWorkOutExport.action", -- Gitblit v1.9.1