|
@@ -474,7 +474,8 @@ U.MD.D.isOverlap = function(el, childs, postionarray) {
|
|
window.addEventListener('message', function(e) { // 监听 message 事件
|
|
window.addEventListener('message', function(e) { // 监听 message 事件
|
|
// alert(e.data.type);
|
|
// alert(e.data.type);
|
|
if (e.data.screenType && e.data.screenType == "2") { //项目管理传入
|
|
if (e.data.screenType && e.data.screenType == "2") { //项目管理传入
|
|
- U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 3)
|
|
|
|
|
|
+ U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 1)
|
|
|
|
+ //3是展示全部阶段 2学生 1老师 4专家
|
|
} else if (e.data.screenType && e.data.screenType == "3") { //项目管理传入
|
|
} else if (e.data.screenType && e.data.screenType == "3") { //项目管理传入
|
|
U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
|
|
U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
|
|
} else if (e.data.close && e.data.close == "1") { //更新用户信息
|
|
} else if (e.data.close && e.data.close == "1") { //更新用户信息
|
|
@@ -579,6 +580,9 @@ U.MD.D.I.openInApplication = function(str, data, screenType, tType) {
|
|
_type = US.userInfo.type,
|
|
_type = US.userInfo.type,
|
|
_org = US.userInfo.org,
|
|
_org = US.userInfo.org,
|
|
_classId = US.userInfo.classid;
|
|
_classId = US.userInfo.classid;
|
|
|
|
+ if(_type == 4){
|
|
|
|
+ tType = 4
|
|
|
|
+ }
|
|
switch (str) {
|
|
switch (str) {
|
|
case "studyDetail":
|
|
case "studyDetail":
|
|
if (!_userinfo || Object.keys(_userinfo).length === 0) {
|
|
if (!_userinfo || Object.keys(_userinfo).length === 0) {
|