From 90963568d7f507417818f74d2131575f09eb1383 Mon Sep 17 00:00:00 2001
From: vincent <1341870251@qq.com>
Date: 星期三, 03 六月 2020 15:09:12 +0800
Subject: [PATCH] #

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

diff --git a/src/main/webapp/views/crn.html b/src/main/webapp/views/crn.html
index 8a1ebca..e39cd89 100644
--- a/src/main/webapp/views/crn.html
+++ b/src/main/webapp/views/crn.html
@@ -81,6 +81,12 @@
 <!-- 鎵嬪姩鎿嶄綔 -->
 <div class="crn-operation">
 
+    <div class="crn-operation-shade">
+        <span class="crn-operation-shade-span">
+            WCS 绯荤粺杩愯涓紝璇峰仠姝㈠悗鎿嶄綔
+        </span>
+    </div>
+
     <!-- 璁惧浠诲姟閫夋嫨 -->
     <div class="task-select">
         <!-- 鍫嗗灈鏈洪�夋嫨 -->
@@ -177,6 +183,7 @@
         getCrnStateInfo();
         initCrnMsgTable();
         getCrnMsgInfo();
+        operatorBlockShow();
     });
     // 鏁版嵁鏇存柊
     setInterval(function () {
@@ -186,8 +193,22 @@
     },1000);
     setInterval(function () {
         getSiteOutput();
+        operatorBlockShow();
     },500);
 
+    // 鍒ゆ柇鎵嬪姩鎿嶄綔妯″潡鏄惁鍙敤
+    function operatorBlockShow() {
+        if (top.systemRunning) {
+            $('.crn-operation').css("opacity", "0.5");
+            $('.crn-operation-shade').show();
+            $('.crn-operation-shade-span').show();
+        }  else {
+            $('.crn-operation').css("opacity", "1");
+            $('.crn-operation-shade').hide();
+            $('.crn-operation-shade-span').hide();
+        }
+    }
+
     // 鑾峰彇鍫嗗灈鏈烘墽琛屼腑鐨勫懡浠�
     function getCommandLog() {
         $.ajax({

--
Gitblit v1.9.1