From ab290efb7df666e173fcd88c32f066f333825c5e Mon Sep 17 00:00:00 2001
From: dubin <bindu_bean@163.com>
Date: 星期六, 18 十月 2025 08:50:01 +0800
Subject: [PATCH] 联调
---
src/main/webapp/static/js/report/workCountIn.js | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/main/webapp/static/js/report/workCountIn.js b/src/main/webapp/static/js/report/workCountIn.js
index d3fa391..a26b526 100644
--- a/src/main/webapp/static/js/report/workCountIn.js
+++ b/src/main/webapp/static/js/report/workCountIn.js
@@ -4,6 +4,7 @@
{field: 'oneday', align: 'center', title: '鍏ュ簱鏃ユ湡', width: 200}
,{field: 'matnr', align: 'center',title: '鍟嗗搧缂栧彿'}
,{field: 'maktx', align: 'center',title: '鍟嗗搧鍚嶇О'}
+ ,{field: 'model', align: 'center',title: '浜у搧浠g爜'}
,{field: 'anfme', align: 'center',title: '鏁伴噺'}
];
@@ -34,18 +35,19 @@
limitName: 'pageSize'
},
parseData: function (res) {
- console.log(res);
+ $('#countNum').text(res.data.sum + '涓�');
return {
'code': res.code,
'msg': res.msg,
- 'count': res.data.total,
- 'data': res.data.records
+ 'count': res.data.page.total,
+ 'data': res.data.page.records
}
},
response: {
statusCode: 200
},
done: function(res, curr, count) {
+
if (res.code === 403) {
top.location.href = baseUrl+"/";
}
--
Gitblit v1.9.1