From 3393a0cd1bd57f3b8085f52567ef2ab243dbea95 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期五, 19 六月 2020 16:54:43 +0800
Subject: [PATCH] #
---
src/main/webapp/views/crn.html | 2 +-
src/main/webapp/views/console.html | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/main/webapp/views/console.html b/src/main/webapp/views/console.html
index 5676366..50e2660 100644
--- a/src/main/webapp/views/console.html
+++ b/src/main/webapp/views/console.html
@@ -638,7 +638,7 @@
// 绯荤粺杩愯寮�鍏�
function systemSwitch() {
- if (top.systemRunning){
+ if (systemRunning){
layer.prompt({title: '璇疯緭鍏ュ彛浠わ紝骞跺仠姝� WCS 绯荤粺', formType: 1, shadeClose: true}, function(pass, idx){
layer.close(idx);
doSwitch(0, pass); // 鍋滄wcs绯荤粺
@@ -669,11 +669,11 @@
if (res.data.status) {
$('#system-icon').attr("class", "system-icon-open");
$('#system-run-desc').html("绯荤粺杩愯涓�...");
- top.systemRunning = true;
+ systemRunning = true;
} else {
$('#system-icon').attr("class", "system-icon-close");
$('#system-run-desc').html("绯荤粺宸插仠姝�!");
- top.systemRunning = false;
+ systemRunning = false;
}
} else if (res.code === 403){
top.location.href = baseUrl+"/login";
@@ -696,11 +696,11 @@
if (res.data.status) {
$('#system-icon').attr("class", "system-icon-open");
$('#system-run-desc').html("绯荤粺杩愯涓�...");
- top.systemRunning = true;
+ systemRunning = true;
} else {
$('#system-icon').attr("class", "system-icon-close");
$('#system-run-desc').html("绯荤粺宸插仠姝�!");
- top.systemRunning = false;
+ systemRunning = false;
}
} else if (res.code === 403){
top.location.href = baseUrl+"/login";
diff --git a/src/main/webapp/views/crn.html b/src/main/webapp/views/crn.html
index fd3be0a..dce019a 100644
--- a/src/main/webapp/views/crn.html
+++ b/src/main/webapp/views/crn.html
@@ -200,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();
--
Gitblit v1.9.1