From 2e74e70bf05962e27d9147f862f8a3ce2511be65 Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期三, 09 四月 2025 09:47:06 +0800
Subject: [PATCH] 日志统计界面翻译为俄语

---
 src/main/webapp/static/js/report/workIn.js |   28 ++++++++++++++++++++++------
 1 files changed, 22 insertions(+), 6 deletions(-)

diff --git a/src/main/webapp/static/js/report/workIn.js b/src/main/webapp/static/js/report/workIn.js
index 80267c4..0b5e145 100644
--- a/src/main/webapp/static/js/report/workIn.js
+++ b/src/main/webapp/static/js/report/workIn.js
@@ -1,8 +1,8 @@
 var pageCurr;
 function getCol() {
     var cols = [
-        {field: 'io_time', align: 'center', title: '鍏ュ簱鏃ユ湡', width: 200}
-        ,{field: 'loc_no', align: 'center',title: '搴撲綅鍙�'}
+        {field: 'ioTime$', align: 'center', title: '袛邪褌邪 锌芯褋褌褍锌谢械薪懈褟', width: 200}
+        ,{field: 'loc_no', align: 'center',title: '袧芯屑械褉 褋泻谢邪写褋泻芯谐芯 屑械褋褌邪'}
     ];
     cols.push.apply(cols, detlCols);
     return cols;
@@ -28,8 +28,8 @@
         cellMinWidth: 50,
         cols: [getCol()],
         request: {
-            pageName: 'curr',
-            pageSize: 'limit'
+            pageName: 'pageNumber',
+            limitName: 'pageSize'
         },
         parseData: function (res) {
             return {
@@ -79,7 +79,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) {
@@ -88,8 +88,13 @@
                             fields.push(col.field);
                         }
                     });
+                    var exportData = {};
+                    $.each($('#search-box [name]').serializeArray(), function() {
+                        exportData[this.name] = this.value;
+                    });
                     var param = {
-                        'fields': fields
+                        fields: fields,
+                        exportData: exportData
                     };
                     $.ajax({
                         url: baseUrl+"/report/viewWorkInExport.action",
@@ -119,6 +124,17 @@
         pageCurr = 1;
         tableReload(false);
     });
+    // 鎼滅储鏍忛噸缃簨浠�
+    form.on('submit(reset)', function (data) {
+        pageCurr = 1;
+        clearFormVal($('#search-box'));
+        tableReload(false);
+    });
+    layDate.render({
+        elem: '.layui-laydate-range'
+        ,type: 'datetime'
+        ,range: true
+    });
 });
 
 // 鍏抽棴鍔ㄤ綔

--
Gitblit v1.9.1