From b4227b5145943e067351a2a59ca34826b41d6fb7 Mon Sep 17 00:00:00 2001 From: pang.jiabao <pang_jiabao@163.com> Date: 星期二, 15 四月 2025 09:46:30 +0800 Subject: [PATCH] 界面翻译为俄语 --- src/main/webapp/static/js/report/workCountIn.js | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/main/webapp/static/js/report/workCountIn.js b/src/main/webapp/static/js/report/workCountIn.js index d3fa391..3827ad9 100644 --- a/src/main/webapp/static/js/report/workCountIn.js +++ b/src/main/webapp/static/js/report/workCountIn.js @@ -2,9 +2,9 @@ function getCol() { var cols = [ {field: 'oneday', align: 'center', title: '鍏ュ簱鏃ユ湡', width: 200} - ,{field: 'matnr', align: 'center',title: '鍟嗗搧缂栧彿'} - ,{field: 'maktx', align: 'center',title: '鍟嗗搧鍚嶇О'} - ,{field: 'anfme', align: 'center',title: '鏁伴噺'} + ,{field: 'matnr', align: 'center',title: '袣芯写 褌芯胁邪褉邪'} + ,{field: 'maktx', align: 'center',title: '袧邪懈屑械薪芯胁邪薪懈械 褌芯胁邪褉邪'} + ,{field: 'anfme', align: 'center',title: '袣芯谢懈褔械褋褌胁芯'} ]; return cols; @@ -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+"/"; } @@ -82,7 +83,7 @@ var checkStatus = table.checkStatus(obj.config.id); switch(obj.event) { case 'exportData': - layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){ + layer.confirm('袩芯写褌胁械褉写懈褌褜 褝泻褋锌芯褉褌 胁 Excel?', {shadeClose: true}, function(){ var titles=[]; var fields=[]; obj.config.cols[0].map(function (col) { -- Gitblit v1.9.1