From 4e02590562894bf6614bc3066f6689f1b00ea2ce Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期三, 14 八月 2024 16:39:33 +0800
Subject: [PATCH] #
---
zy-asrs-wms/src/main/webapp/static/js/report/stayTime.js | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/zy-asrs-wms/src/main/webapp/static/js/report/stayTime.js b/zy-asrs-wms/src/main/webapp/static/js/report/stayTime.js
index 7039a49..20fe80d 100644
--- a/zy-asrs-wms/src/main/webapp/static/js/report/stayTime.js
+++ b/zy-asrs-wms/src/main/webapp/static/js/report/stayTime.js
@@ -78,6 +78,10 @@
// 鐩戝惉澶村伐鍏锋爮浜嬩欢
table.on('toolbar(stayTime)', function (obj) {
var checkStatus = table.checkStatus(obj.config.id);
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
switch(obj.event) {
case 'exportData':
layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
@@ -90,7 +94,8 @@
}
});
var param = {
- 'fields': fields
+ 'fields': fields,
+ 'exportData': searchData
};
$.ajax({
url: baseUrl+"/report/viewStayTimeExport.action",
--
Gitblit v1.9.1