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/locDetlStatis/locDetlStatis.js | 25 +++++++++++++++++++------ 1 files changed, 19 insertions(+), 6 deletions(-) diff --git a/src/main/webapp/static/js/locDetlStatis/locDetlStatis.js b/src/main/webapp/static/js/locDetlStatis/locDetlStatis.js index aac1566..b1bb529 100644 --- a/src/main/webapp/static/js/locDetlStatis/locDetlStatis.js +++ b/src/main/webapp/static/js/locDetlStatis/locDetlStatis.js @@ -1,12 +1,12 @@ var pageCurr; function getCol() { var cols = [ - {field: 'anfme', align: 'center',title: '搴撳瓨鏁伴噺', style: 'font-weight: bold'} + {field: 'anfme', align: 'center',title: '袣芯谢懈褔械褋褌胁芯 胁 薪邪谢懈褔懈懈', style: 'font-weight: bold'} ]; arrRemove(detlCols, "field", "anfme") arrRemove(detlCols, "field", "zpallet") cols.push.apply(cols, detlCols); - // cols.push({field: 'anfme', align: 'center',title: '鏁伴噺', style: 'font-weight: bold'} + // cols.push({field: 'anfme', align: 'center',title: '袣芯谢懈褔械褋褌胁芯', style: 'font-weight: bold'} // ) return cols; } @@ -24,8 +24,8 @@ headers: {token: localStorage.getItem('token')}, url: baseUrl+'/locDetl/statis/auth', page: true, - limit: 16, - limits: [16, 30, 50, 100, 200, 500], + limit: 20, + limits: [20, 30, 50, 100, 200, 500], even: true, toolbar: '#toolbar', cellMinWidth: 50, @@ -59,6 +59,19 @@ res.data[_index][data.value] = 'N'; } }); + /** + * 鏄剧ず搴撳瓨鎬绘暟閲� + */ + $.ajax({ + url: baseUrl+"/locDetl/count", + headers: {'token': localStorage.getItem('token')}, + contentType:'application/json;charset=UTF-8', + method: 'POST', + success: function (res) { + $("#countNum").text(res.data + '涓�'); + } + }); + } }); @@ -96,7 +109,7 @@ layer.closeAll('loading'); break; 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) { @@ -144,7 +157,7 @@ case 'detail': layer.open({ type: 2, - title: '璇︽儏', + title: '袛械褌邪谢懈', maxmin: true, area: [top.detailWidth, top.detailHeight], shadeClose: false, -- Gitblit v1.9.1