From 07e07d7666cfb2d822c60db7b67d93e0610072a8 Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期四, 10 四月 2025 08:53:18 +0800
Subject: [PATCH] 开发专用界面翻译为俄语

---
 src/main/webapp/static/js/user/user.js |   36 +++++++++++++++++-------------------
 1 files changed, 17 insertions(+), 19 deletions(-)

diff --git a/src/main/webapp/static/js/user/user.js b/src/main/webapp/static/js/user/user.js
index 3de1c43..99c788c 100644
--- a/src/main/webapp/static/js/user/user.js
+++ b/src/main/webapp/static/js/user/user.js
@@ -23,18 +23,18 @@
         height: 'full-100',
         cols: [[
             {type: 'checkbox'}
-            ,{field: 'hostName', align: 'center',title: '鎺堟潈鍟嗘埛', templet: '#hostTpl', width: 140}
+            // ,{field: 'hostName', align: 'center',title: '鎺堟潈鍟嗘埛', templet: '#hostTpl', width: 140}
             // ,{field: 'nickname', align: 'center',title: '鐢ㄦ埛鍚�'}
-            ,{field: 'username', align: 'center',title: '鐢ㄦ埛鍚�'}
+            ,{field: 'username', align: 'center',title: '校褔械褌薪邪褟 蟹邪锌懈褋褜 写谢褟 胁褏芯写邪'}
             ,{field: 'mobile', align: 'center',title: '鎵嬫満鍙�'}
             // ,{field: 'deptName', align: 'center',title: '鎵�灞為儴闂�'}
-            ,{field: 'roleName', align: 'center',title: '瑙掕壊'}
-            ,{field: 'email', align: 'center',title: '閭'}
+            ,{field: 'roleName', align: 'center',title: '袪芯谢褜'}
+            ,{field: 'email', align: 'center',title: '协谢械泻褌褉芯薪薪邪褟 锌芯褔褌邪'}
             // ,{field: 'sex$', align: 'center',title: '鎬у埆'}
-            ,{field: 'createTime$', align: 'center',title: '娉ㄥ唽鏃堕棿', hide: true}
-            ,{field: 'status$', align: 'center',title: '鐘舵��', templet: '#statusTpl', width: 120, unresize: true}
+            ,{field: 'createTime$', align: 'center',title: '鍒涘缓鏃堕棿', hide: true}
+            ,{field: 'status$', align: 'center',title: '小褌邪褌褍褋', templet: '#statusTpl', width: 120, unresize: true}
 
-            ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:170}
+            ,{fixed: 'right', title:'袨锌械褉邪褑懈褟', align: 'center', toolbar: '#operate', width:200}
         ]],
         request: {
             pageName: 'curr',
@@ -68,18 +68,17 @@
 
     /* 琛ㄦ牸2澶村伐鍏锋爮鐐瑰嚮浜嬩欢 */
     table.on('toolbar(userTable)', function (obj) {
+        var checkStatus = table.checkStatus(obj.config.id).data;
         if (obj.event === 'add') { // 娣诲姞
             showEditModel()
         } else if (obj.event === 'del') { // 鍒犻櫎
-            var checkRows = table.checkStatus('userTable');
-            if (checkRows.data.length === 0) {
-                layer.msg('璇烽�夋嫨瑕佸垹闄ょ殑鏁版嵁', {icon: 2});
+            if (checkStatus.length === 0) {
+                layer.msg('袙褘 褍胁械褉械薪褘, 褔褌芯 褏芯褌懈褌械 褍写邪谢懈褌褜 褝褌褍 蟹邪锌懈褋褜?', {icon: 2});
                 return;
             }
-            var ids = checkRows.data.map(function (d) {
+            del(checkStatus.map(function (d) {
                 return d.id;
-            });
-            doDelUser({ids: ids});
+            }));
         }
     });
 
@@ -103,14 +102,13 @@
                 break;
             // 鍒犻櫎
             case 'del':
-                var ids = [obj.id];
-                doDelUser({ids: ids});
+                del([data.id]);
                 break;
             // 閲嶇疆瀵嗙爜
             case 'resetPwd':
                 admin.open({
                     type: 1,
-                    title: '閲嶇疆瀵嗙爜',
+                    title: '小斜褉芯褋 锌邪褉芯谢褟',
                     offset: '150px',
                     area: ['360px'],
                     shade: 0.1,
@@ -130,7 +128,7 @@
         admin.open({
             type: 1,
             area: '600px',
-            title: (mData ? '淇敼' : '娣诲姞') + '鐢ㄦ埛',
+            title: (mData ? '袠蟹屑械薪懈褌褜' : '袛芯斜邪胁懈褌褜') + '小懈褋褌械屑薪褘械 锌芯谢褜蟹芯胁邪褌械谢懈',
             content: $('#editDialog').html(),
             success: function (layero, dIndex) {
                 // 鍥炴樉琛ㄥ崟鏁版嵁
@@ -171,7 +169,7 @@
 
 
     /* 鍒犻櫎璁㈠崟 */
-    function doDelUser(obj) {
+    function del(ids) {
         layer.confirm('纭畾瑕佸垹闄ら�変腑鏁版嵁鍚楋紵', {
             skin: 'layui-layer-admin',
             shade: .1
@@ -181,7 +179,7 @@
             $.ajax({
                 url: baseUrl+"/user/delete/auth",
                 headers: {'token': localStorage.getItem('token')},
-                data: {ids: obj.ids},
+                data: {ids: ids},
                 method: 'POST',
                 success: function (res) {
                     layer.close(loadIndex);

--
Gitblit v1.9.1