From 6ec3505f6acceca7eae90693d9e4b109942f4185 Mon Sep 17 00:00:00 2001 From: zc <zc> Date: 星期四, 10 七月 2025 13:45:10 +0800 Subject: [PATCH] 接口对接调试 --- src/main/webapp/static/js/report/workCountOut.js | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/static/js/report/workCountOut.js b/src/main/webapp/static/js/report/workCountOut.js index 1603a81..fa4124d 100644 --- a/src/main/webapp/static/js/report/workCountOut.js +++ b/src/main/webapp/static/js/report/workCountOut.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,11 +35,12 @@ limitName: 'pageSize' }, parseData: function (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: { -- Gitblit v1.9.1