From c27ad3dcb8b67a6c10a99c98b9bd6dd1f08b7967 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期二, 01 三月 2022 10:43:15 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/index.html |   74 ++++++++++++++++++------------------
 1 files changed, 37 insertions(+), 37 deletions(-)

diff --git a/src/main/webapp/views/index.html b/src/main/webapp/views/index.html
index 37e0412..392aeda 100644
--- a/src/main/webapp/views/index.html
+++ b/src/main/webapp/views/index.html
@@ -146,7 +146,7 @@
 
         // 榛樿鍔犺浇涓婚〉
         index.loadHome({
-            menuPath: baseUrl+'/views/home/console.html',
+            menuPath: baseUrl+'/views/issue/issue.html',
             menuName: '<i class="layui-icon layui-icon-home"></i>'
         });
 
@@ -164,42 +164,42 @@
         var url = logout.getAttribute('href');
         logout.setAttribute('href', baseUrl + "/login");
 
-        setInterval(function () {
-            $.ajax({
-                url: baseUrl + "/alarm/index/auth",
-                headers: {'token': localStorage.getItem('token')},
-                method: 'GET',
-                success: function (res) {
-                    if (res.code === 200) {
-                        if (res.data != null) {
-                            notice["error"]({
-                                theme: "dark",
-                                animateInside: true,
-                                layout: 2,
-                                rtl: false,
-                                displayMode: 1,
-                                position: "bottomRight",
-                                transitionIn: "fadeInLeft",
-                                transitionOut: "fadeOutRight",
-                                title: res.data.sensorType$ + "璁惧鎶ヨ",
-                                message: "#" + res.data.uuid + "#" + res.data.desc,
-                                pauseOnHover: false,
-                                resetOnHover: false,
-                                timeout: false,
-                                progressBar: false,
-                                onOpened: function () {
-                                    $(".iziToast-message").css("cursor", "pointer")
-                                }
-                            });
-                        }
-                    } else if (res.code === 403) {
-                        top.location.href = baseUrl + "/login";
-                    } else {
-                        layer.msg(res.msg, {icon: 2});
-                    }
-                }
-            });
-        }, 5000);
+        // setInterval(function () {
+        //     $.ajax({
+        //         url: baseUrl + "/alarm/index/auth",
+        //         headers: {'token': localStorage.getItem('token')},
+        //         method: 'GET',
+        //         success: function (res) {
+        //             if (res.code === 200) {
+        //                 if (res.data != null) {
+        //                     notice["error"]({
+        //                         theme: "dark",
+        //                         animateInside: true,
+        //                         layout: 2,
+        //                         rtl: false,
+        //                         displayMode: 1,
+        //                         position: "bottomRight",
+        //                         transitionIn: "fadeInLeft",
+        //                         transitionOut: "fadeOutRight",
+        //                         title: res.data.sensorType$ + "璁惧鎶ヨ",
+        //                         message: "#" + res.data.uuid + "#" + res.data.desc,
+        //                         pauseOnHover: false,
+        //                         resetOnHover: false,
+        //                         timeout: false,
+        //                         progressBar: false,
+        //                         onOpened: function () {
+        //                             $(".iziToast-message").css("cursor", "pointer")
+        //                         }
+        //                     });
+        //                 }
+        //             } else if (res.code === 403) {
+        //                 top.location.href = baseUrl + "/login";
+        //             } else {
+        //                 layer.msg(res.msg, {icon: 2});
+        //             }
+        //         }
+        //     });
+        // }, 5000);
 
         $(document).on('click', '.iziToast-message', function(el) {
             var alarmUuid = el.target.innerText.match(/#(\S*)#/)[1];

--
Gitblit v1.9.1