From 268d58a278c6e93f2ebbd567686e70383aacfea4 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期五, 03 七月 2020 14:16:23 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/crn.html |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/main/webapp/views/crn.html b/src/main/webapp/views/crn.html
index ef2f2b1..ec56bd0 100644
--- a/src/main/webapp/views/crn.html
+++ b/src/main/webapp/views/crn.html
@@ -82,7 +82,8 @@
 <!-- 鎵嬪姩鎿嶄綔 -->
 <div class="crn-operation">
 
-    <div class="crn-operation-shade" onclick="layer.msg('璇峰仠姝� WCS 绯荤粺鍚庢搷浣�');">
+    <!-- 閬僵灞� -->
+    <div class="crn-operation-shade">
         <span class="crn-operation-shade-span">
             WCS 绯荤粺杩愯涓紝璇峰仠姝㈠悗鎿嶄綔
         </span>
@@ -199,7 +200,7 @@
 
     // 鍒ゆ柇鎵嬪姩鎿嶄綔妯″潡鏄惁鍙敤
     function operatorBlockShow() {
-        if (top.systemRunning) {
+        if (systemRunning) {
             $('.crn-operation').css("opacity", "0.5");
             $('.crn-operation-shade').show();
             $('.crn-operation-shade-span').show();
@@ -223,14 +224,13 @@
                         $("#crn"+commands[i].crnNo).val(commands[i].command);
                     }
                 } else if (res.code === 403) {
-                    top.location.href = baseUrl + "/login";
+                    window.location.href = baseUrl + "/login";
                 } else {
                     alert(res.msg);
                 }
             }
         })
     }
-
 
     // 鍫嗗灈鏈轰俊鎭〃鑾峰彇 ---- 琛ㄤ竴
     function getCrnStateInfo() {
@@ -263,7 +263,7 @@
                         setVal(tr.children("td").eq(12), table[i-1].warnCode);
                     }
                 } else if (res.code === 403){
-                    top.location.href = baseUrl+"/login";
+                    window.location.href = baseUrl+"/login";
                 }  else {
                     alert(res.msg);
                 }
@@ -299,7 +299,7 @@
                         setVal(tr.children("td").eq(9), table[i-1].command);
                     }
                 } else if (res.code === 403){
-                    top.location.href = baseUrl+"/login";
+                    window.location.href = baseUrl+"/login";
                 }  else {
                     alert(res.msg);
                 }
@@ -412,7 +412,7 @@
                 if (res.code === 200) {
                     crnOutput(res.data);
                 } else if (res.code === 403) {
-                    top.location.href = baseUrl + "/login";
+                    window.location.href = baseUrl + "/login";
                 } else {
                     alert(res.msg);
                 }

--
Gitblit v1.9.1