From 5cf5e532ffe25e098e9bbcc345b27427e85fc8ae Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@63.com> Date: 星期三, 07 十二月 2022 15:57:36 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/report/workCountIn.js | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/main/webapp/static/js/report/workCountIn.js b/src/main/webapp/static/js/report/workCountIn.js index d3fa391..f52174e 100644 --- a/src/main/webapp/static/js/report/workCountIn.js +++ b/src/main/webapp/static/js/report/workCountIn.js @@ -2,8 +2,8 @@ function getCol() { var cols = [ {field: 'oneday', align: 'center', title: '鍏ュ簱鏃ユ湡', width: 200} - ,{field: 'matnr', align: 'center',title: '鍟嗗搧缂栧彿'} - ,{field: 'maktx', align: 'center',title: '鍟嗗搧鍚嶇О'} + ,{field: 'matnr', align: 'center',title: '鍗曟嵁鍙�'} + ,{field: 'maktx', align: 'center',title: '鐗╂枡鍙�'} ,{field: 'anfme', align: 'center',title: '鏁伴噺'} ]; @@ -34,18 +34,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