|
@@ -577,6 +577,11 @@ window.addEventListener('message', function(e) { // 监听 message 事件
|
|
|
//3是展示全部阶段 2学生 1老师 4专家
|
|
|
} else if (e.data.screenType && e.data.screenType == "3") { //项目管理传入
|
|
|
U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
|
|
|
+ }if (e.data.screenType && e.data.screenType == "2gm") { //项目管理传入
|
|
|
+ U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
|
|
|
+ //3是展示全部阶段 2学生 1老师 4专家
|
|
|
+ } else if (e.data.screenType && e.data.screenType == "3gm") { //项目管理传入
|
|
|
+ U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
|
|
|
} else if (e.data.close && e.data.close == "1") { //更新用户信息
|
|
|
U.MD.D.I.selectUser();
|
|
|
} else if (e.data.allScreen && e.data.allScreen == "1") {
|
|
@@ -611,7 +616,14 @@ window.addEventListener('message', function(e) { // 监听 message 事件
|
|
|
// }
|
|
|
// U.UF.F.windowZooming(_formel);
|
|
|
U.UF.F.topWindow(_formel);
|
|
|
- } else if (e.data.tools && e.data.tools == "1") {
|
|
|
+ } else if (e.data.allScreen && e.data.allScreen == "5gm") {
|
|
|
+ var _formel = document.getElementById("study");
|
|
|
+ // if (_formel.ismaximize) {
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
+ // U.UF.F.windowZooming(_formel);
|
|
|
+ U.UF.F.topWindow(_formel);
|
|
|
+ } else if (e.data.tools && e.data.tools == "1") {
|
|
|
// U.MD.D.I.openApplication("whiteboard")
|
|
|
U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
|
|
|
} else if (e.data.tools && e.data.tools == "2") {
|
|
@@ -705,6 +717,24 @@ U.MD.D.I.openInApplication = function(str, data, screenType, tType) {
|
|
|
_taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "学习中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
break;
|
|
|
}
|
|
|
+ case "studyDetailGM":
|
|
|
+ if (!_userinfo || Object.keys(_userinfo).length === 0) {
|
|
|
+ setTimeout(() => {
|
|
|
+ U.MD.U.L.login();
|
|
|
+ }, 2000);
|
|
|
+ } else {
|
|
|
+ _formdiv = new U.UF.UI.form(
|
|
|
+ "项目详情",
|
|
|
+ $$("iframe", { "allow": "camera *; microphone *", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-student-table/dist/#/courseDetailGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
|
|
|
+ "id": "studyDetail",
|
|
|
+ "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
|
|
|
+ "onresize": function () { }
|
|
|
+ }, {
|
|
|
+ closecallback: function () { }
|
|
|
+ }, { "style": { "height": "36px" } }).form; //创建窗体
|
|
|
+ _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "学习中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
+ break;
|
|
|
+ }
|
|
|
case "hanUrl":
|
|
|
if (!_userinfo || Object.keys(_userinfo).length === 0) {
|
|
|
setTimeout(() => {
|
|
@@ -1869,7 +1899,7 @@ U.MD.D.I.openApplication = function(str, obj, info) {
|
|
|
_formdiv = new U.UF.UI.form(
|
|
|
"学习中心",
|
|
|
$$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-student-table/dist/#/indexGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType }), { //https://pbl.cocorobo.cn/pbl-student-table/dist/#/index
|
|
|
- "id": "studyGM",
|
|
|
+ "id": "study",
|
|
|
"style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
|
|
|
"onresize": function () { }
|
|
|
}, {
|