|
@@ -187,6 +187,7 @@ const post = function (url, data, opts) {
|
|
|
res = JSON.parse(resq);
|
|
|
}
|
|
|
const code = res.code;
|
|
|
+ console.log(parent)
|
|
|
const isOut = code === '10020011' || code === '10020012' || code === '10020013';
|
|
|
if(isOut){
|
|
|
//登录信息失效处理
|
|
@@ -235,7 +236,7 @@ const post = function (url, data, opts) {
|
|
|
function unloginPop(msg){
|
|
|
/*const isOut = code === '10020011' || code === '10020012' || code === '10020013';
|
|
|
if(isOut){*/
|
|
|
- if(self != top&&window.location.url.indexOf("qcScore.html")===-1){//子窗口并且不是病例列表
|
|
|
+ if(self != top&&parent&&parent.location.href.indexOf("qcScore.html")===-1){//子窗口并且不是病例列表
|
|
|
const dialogmessage = {
|
|
|
iframemessage: 1,
|
|
|
data: msg
|