From f93bbaf146851e3befe0696c48bbce2023624d2a Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期一, 10 八月 2020 17:02:57 +0800
Subject: [PATCH] #
---
src/main/webapp/views/crn.html | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/main/webapp/views/crn.html b/src/main/webapp/views/crn.html
index 71fec9c..abbf01c 100644
--- a/src/main/webapp/views/crn.html
+++ b/src/main/webapp/views/crn.html
@@ -83,7 +83,7 @@
<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>
@@ -200,7 +200,7 @@
// 鍒ゆ柇鎵嬪姩鎿嶄綔妯″潡鏄惁鍙敤
function operatorBlockShow() {
- if (top.systemRunning) {
+ if (parent.systemRunning) {
$('.crn-operation').css("opacity", "0.5");
$('.crn-operation-shade').show();
$('.crn-operation-shade-span').show();
@@ -224,7 +224,7 @@
$("#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);
}
@@ -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