From ac0e295137f1266ec0f37e4f5296998f7fd9b2e0 Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期二, 02 九月 2025 17:05:59 +0800
Subject: [PATCH] 许可证到期提醒,系统30分钟无操作下线账号

---
 src/main/webapp/static/js/locDetlStatis/check.js |   29 ++++++++++++++++++++++++++++-
 1 files changed, 28 insertions(+), 1 deletions(-)

diff --git a/src/main/webapp/static/js/locDetlStatis/check.js b/src/main/webapp/static/js/locDetlStatis/check.js
index 72596ef..21c4b8d 100644
--- a/src/main/webapp/static/js/locDetlStatis/check.js
+++ b/src/main/webapp/static/js/locDetlStatis/check.js
@@ -21,7 +21,8 @@
         cols: [[
             {type: 'checkbox'},
             {field: 'orderNo', align: 'center',title: '鐩樼偣鍗曠紪鍙�', style: 'font-weight: bold'},
-            {field: 'anfme', align: 'center',title: '鐩樼偣鐩堜簭', style: 'font-weight: bold'},
+            {field: 'anfme', align: 'center',title: '璐﹂潰鏁伴噺', style: 'font-weight: bold'},
+            {field: 'number', align: 'center',title: '鐩樼偣鏁伴噺', style: 'font-weight: bold'},
             {field: 'createTime$', align: 'center',title: '鍒涘缓鏃堕棿', style: 'font-weight: bold'},
             {field: 'matnr', align: 'center',title: '鍟嗗搧缂栧彿', style: 'font-weight: bold'},
             {field: 'maktx', align: 'center',title: '鍟嗗搧鍚嶇О', style: 'font-weight: bold'},
@@ -164,6 +165,32 @@
                     });
                 }
                 break;
+            case 'uploadData':
+                var data = checkStatus.data;
+                if (data.length === 0){
+                    layer.msg('璇烽�夋嫨鏁版嵁');
+                } else {
+                    layer.confirm('纭畾涓婃姤'+(data.length===1?'姝�':data.length)+'鏉℃暟鎹悧', function(){
+                        $.ajax({
+                            url: baseUrl+"/check/upload/auth",
+                            headers: {'token': localStorage.getItem('token')},
+                            data: {param: JSON.stringify(data)},
+                            method: 'POST',
+                            traditional:true,
+                            success: function (res) {
+                                if (res.code === 200){
+                                    layer.closeAll();
+                                    tableReload(false);
+                                } else if (res.code === 403){
+                                    top.location.href = baseUrl+"/";
+                                } else {
+                                    layer.msg(res.msg)
+                                }
+                            }
+                        })
+                    });
+                }
+                break;
             case 'exportData':
                 layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
                     var titles=[];

--
Gitblit v1.9.1