From b8c41a54d3c1ce563b30406ad5d132352f8a30aa Mon Sep 17 00:00:00 2001 From: LSH Date: 星期一, 22 五月 2023 17:01:05 +0800 Subject: [PATCH] # --- src/main/webapp/views/index.html | 53 +++-------------------------------------------------- 1 files changed, 3 insertions(+), 50 deletions(-) diff --git a/src/main/webapp/views/index.html b/src/main/webapp/views/index.html index 5f5506c..d93a5d6 100644 --- a/src/main/webapp/views/index.html +++ b/src/main/webapp/views/index.html @@ -6,13 +6,6 @@ <link rel="stylesheet" href="../static/css/index.css"> <script src="../static/js/jquery/jquery-3.3.1.min.js"></script> <style> - html{ - transform: scale(1) translate(0,0); - /*transform: scale(0.5) translate(-50%,-50%);*/ - height: 150%; - width: 150%; - } - </style> </head> <body> @@ -23,8 +16,7 @@ <div class="sidebar"> <div class="nav"> <ul class="cl-effect-4"> - <li><button id="fire" style="border-radius: 30px">娑堥槻</button><br> - <a id="console" onclick="nav(this.id)" class="nav-select" href="#">涓绘帶鍥�</a></li> + <li><a id="console" onclick="nav(this.id)" class="nav-select" href="#">涓绘帶鍥�</a></li> <li><a id="pipeline" onclick="nav(this.id)" class="nav-unselect" href="#">杈撻�佽澶�</a></li> <li><a id="crn" onclick="nav(this.id)" class="nav-unselect" href="#">鍫嗗灈鏈�</a></li> </ul> @@ -36,7 +28,7 @@ <!-- 涓讳綋鍐呭 --> <iframe id="content" src="console.html"></iframe> <footer class="footer"> - Copyright 漏 2022 All Rights Reserved. <a href="http://www.zoneyung.com" target="_blank">绔嬪簱wcs鎿嶄綔骞冲彴</a> + Copyright 漏 2023 All Rights Reserved. <a href="http://www.zoneyung.com" target="_blank">绔嬪簱wcs鎿嶄綔骞冲彴</a> </footer> </body> <script> @@ -51,46 +43,7 @@ localStorage.removeItem("token"); window.location.href = baseUrl + "/login"; } - $.ajax({ - url: "/fnwcs" + "/console/crn/detail", - headers: { - 'token': localStorage.getItem('token') - }, - data: { - crnNo: 1 - }, - method: 'post', - success: function (res) { - for (var val in res.data) { - var find = $("#crnWindow").find(":input[name='" + val + "']"); - if (find[0].type === 'text') { - find.val(res.data[val]); - } else if (find[0].type === 'checkbox') { - find.attr("checked", res.data[val] === 'Y'); - } - } - } - }) - $.ajax({ - url: "/fnwcs" + "/console/loc/detail2", - headers: { - 'token': localStorage.getItem('token') - }, - data: { - locNo: "0101804" - }, - method: 'post', - success: function (res) { - console.log(res); - if (res.code === 200) { - if (res.data.channel<=10240){ - $("#fire").attr("style", "background-color: #00FF00;border-radius: 30px"); - }else { - $("#fire").attr("style", "background-color: #FD482C;border-radius: 30px"); - } - } - } - }) + // 绯荤粺杩愯鐘舵�� var systemRunning = true; </script> -- Gitblit v1.9.1