提交 49a49e1e 编写于 作者: huangwensu's avatar huangwensu

进详情页判断的弹框修改

上级 c9affaf8
...@@ -278,10 +278,10 @@ export default { ...@@ -278,10 +278,10 @@ export default {
console.log("跳登录"); console.log("跳登录");
rocNative.gotoLogin(); rocNative.gotoLogin();
} else { } else {
if (!_this.premissionFlag) { // if (!_this.premissionFlag) {
_this.premissionFlag = true; // _this.premissionFlag = true;
_this.permission(); // 提示是否有机构和在申请范围内 // _this.permission(); // 提示是否有机构和在申请范围内
} // }
} }
}); });
}, },
...@@ -290,7 +290,7 @@ export default { ...@@ -290,7 +290,7 @@ export default {
let _this = this; let _this = this;
let param = { let param = {
id: _this.projectId, id: _this.projectId,
creditId: _this.project.creditId || 1, creditId: _this.project.creditId,
token: _this.userInfo.userToken || this.token, token: _this.userInfo.userToken || this.token,
setEntry: true setEntry: true
}; };
...@@ -311,7 +311,7 @@ export default { ...@@ -311,7 +311,7 @@ export default {
let _this = this; let _this = this;
let param = { let param = {
id: _this.projectId, id: _this.projectId,
creditId: _this.project.creditId || 1, creditId: _this.project.creditId,
token: _this.userInfo.userToken || this.token, token: _this.userInfo.userToken || this.token,
setEntry: true setEntry: true
}; };
...@@ -414,6 +414,11 @@ export default { ...@@ -414,6 +414,11 @@ export default {
_this.projectComponentDTOS = _this.setListData( _this.projectComponentDTOS = _this.setListData(
res.data.projectComponentDTOS res.data.projectComponentDTOS
); );
if(!_this.isWeb && !_this.premissionFlag) {
_this.premissionFlag = true;
_this.permission(); // 提示是否有机构和在申请范围内
}
} }
//_this.showLoading = false; //_this.showLoading = false;
}); });
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册