From 67da83c698e77ccf178669a31e4bd3a4e8fc1ca7 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期二, 03 八月 2021 16:10:05 +0800
Subject: [PATCH] #
---
src/main/webapp/static/js/report/workOut.js | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/main/webapp/static/js/report/workOut.js b/src/main/webapp/static/js/report/workOut.js
index b4f4f32..5697abf 100644
--- a/src/main/webapp/static/js/report/workOut.js
+++ b/src/main/webapp/static/js/report/workOut.js
@@ -1,4 +1,5 @@
var pageCurr;
+var workOutData = [];
function getCol() {
var cols = [
{field: 'io_time', align: 'center', title: '鍑哄簱鏃ユ湡', width: 200}
@@ -50,6 +51,8 @@
}
pageCurr=curr;
limit();
+ // 鍒嗛〉鏁版嵁涓存椂瀛樺偍
+ workOutData = res.data;
}
});
@@ -96,10 +99,10 @@
});
var param = {
fields: fields,
- exportData: exportData
+ exportData: workOutData
};
$.ajax({
- url: baseUrl+"/report/viewWorkOutExport.action",
+ url: baseUrl+"/report/viewWorkOutExportByPage.action",
headers: {'token': localStorage.getItem('token')},
data: JSON.stringify(param),
dataType:'json',
--
Gitblit v1.9.1