From 9149e4b2327bad321c74183f1e80f9c7b3e1e1ee Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期三, 09 四月 2025 12:52:13 +0800
Subject: [PATCH] 系统管理界面翻译为俄语

---
 src/main/webapp/static/js/operateLog/operateLog.js |   49 +++++++++++++++++++++++++++----------------------
 1 files changed, 27 insertions(+), 22 deletions(-)

diff --git a/src/main/webapp/static/js/operateLog/operateLog.js b/src/main/webapp/static/js/operateLog/operateLog.js
index b456d05..e1ee110 100644
--- a/src/main/webapp/static/js/operateLog/operateLog.js
+++ b/src/main/webapp/static/js/operateLog/operateLog.js
@@ -13,20 +13,21 @@
         url: baseUrl+'/operateLog/list/auth',
         page: true,
         limit: 16,
-        // even: true,
+        limits: [16, 30, 50, 100, 200, 500],
+        even: true,
         toolbar: '#toolbar',
         cellMinWidth: 50,
         cols: [[
-            {type: 'checkbox', fixed: 'left'}
-            ,{field: 'id', title: 'ID', sort: true,align: 'center', fixed: 'left', width: 80}
-            ,{field: 'action', align: 'center',title: '璁块棶鍦板潃'}
-            ,{field: 'userId$', align: 'center',title: '鐢ㄦ埛',event: 'userId', style: 'text-decoration: underline;cursor:pointer'}
-            ,{field: 'ip',  edit:'text', align: 'center',title: '瀹㈡埛绔疘P'}
-            ,{field: 'request', align: 'center',title: '璇锋眰鏁版嵁'}
-            ,{field: 'response', align: 'center',title: '鍝嶅簲鏁版嵁'}
-            ,{field: 'createTime$', align: 'center',title: '娣诲姞鏃堕棿'}
+            // {type: 'checkbox'}
+            {field: 'id', title: '袧芯屑械褉', sort: true,align: 'center', width: 80}
+            ,{field: 'userId$', align: 'center',title: '校褔械褌薪邪褟 蟹邪锌懈褋褜 写谢褟 胁褏芯写邪'}
+            ,{field: 'action', align: 'center',title: '袨锌械褉邪褑懈褟'}
+            ,{field: 'ip', align: 'center',title: 'ip'}
+            ,{field: 'request', align: 'center',title: '小芯写械褉卸邪薪懈械 蟹邪锌褉芯褋邪'}
+            ,{field: 'response', align: 'center',title: '袪械蟹褍谢褜褌邪褌'}
+            ,{field: 'createTime$', align: 'center',title: '鍒涘缓鏃堕棿'}
 
-            ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:150}
+            // ,{fixed: 'right', title:'袨锌械褉邪褑懈褟', align: 'center', toolbar: '#operate', width:100}
         ]],
         request: {
             pageName: 'curr',
@@ -45,7 +46,7 @@
         },
         done: function(res, curr, count) {
             if (res.code === 403) {
-                top.location.href = "/";
+                top.location.href = baseUrl+"/";
             }
             pageCurr=curr;
             limit();
@@ -77,7 +78,7 @@
             },
             done: function (res, curr, count) {
                 if (res.code === 403) {
-                    top.location.href = "/";
+                    top.location.href = baseUrl+"/";
                 }
                 pageCurr=curr;
                 limit();
@@ -92,7 +93,7 @@
             case 'addData':
                 layer.open({
                     type: 2,
-                    title: '鏂板',
+                    title: '袛芯斜邪胁懈褌褜',
                     maxmin: true,
                     area: [top.detailWidth, top.detailHeight],
                     shadeClose: false,
@@ -118,7 +119,7 @@
                     ids.push(track.id);
                 });
                 if (ids.length === 0){
-                    layer.msg('璇烽�夋嫨鏁版嵁');
+                    layer.msg('袩芯卸邪谢褍泄褋褌邪, 胁褘斜械褉懈褌械 写邪薪薪褘械');
                 } else {
                     layer.confirm('纭畾鍒犻櫎'+(ids.length===1?'姝�':ids.length)+'鏉℃暟鎹悧', function(){
                         $.ajax({
@@ -132,7 +133,7 @@
                                     layer.closeAll();
                                     tableReload(false);
                                 } else if (res.code === 403){
-                                    top.location.href = "/";
+                                    top.location.href = baseUrl+"/";
                                 } else {
                                     layer.msg(res.msg)
                                 }
@@ -142,7 +143,7 @@
                 }
                 break;
             case 'exportData':
-                layer.confirm('纭畾瀵煎嚭Excel鍚�', function(){
+                layer.confirm('袩芯写褌胁械褉写懈褌褜 褝泻褋锌芯褉褌 胁 Excel?', {shadeClose: true}, function(){
                     var titles=[];
                     var fields=[];
                     obj.config.cols[0].map(function (col) {
@@ -171,7 +172,7 @@
                             if (res.code === 200) {
                                 table.exportFile(titles,res.data,'xls');
                             } else if (res.code === 403) {
-                                top.location.href = "/";
+                                top.location.href = baseUrl+"/";
                             } else {
                                 layer.msg(res.msg)
                             }
@@ -208,7 +209,7 @@
             case 'edit':
                 layer.open({
                     type: 2,
-                    title: '淇敼',
+                    title: '袠蟹屑械薪懈褌褜',
                     maxmin: true,
                     area: [top.detailWidth, top.detailHeight],
                     shadeClose: false,
@@ -224,7 +225,7 @@
             case 'userId':
                 var param = top.reObject(data).userId;
                 if (param === undefined) {
-                    layer.msg("鏃犳暟鎹�");
+                    layer.msg("袧械褌 写邪薪薪褘褏");
                 } else {
                    layer.open({
                        type: 2,
@@ -288,7 +289,7 @@
                         $(this).val("");
                     });
                 } else if (res.code === 403){
-                    top.location.href = "/";
+                    top.location.href = baseUrl+"/";
                 }else {
                     layer.msg(res.msg)
                 }
@@ -315,7 +316,11 @@
         elem: '#createTime\\$',
         type: 'datetime'
     });
-
+    layDate.render({
+        elem: '.layui-laydate-range'
+        ,type: 'datetime'
+        ,range: true
+    });
 });
 
 // 鍏抽棴鍔ㄤ綔
@@ -335,7 +340,7 @@
         },
         done: function (res, curr, count) {
             if (res.code === 403) {
-                top.location.href = "/";
+                top.location.href = baseUrl+"/";
             }
             pageCurr=curr;
             if (res.data.length === 0 && count !== 0) {

--
Gitblit v1.9.1