|
@@ -1150,6 +1150,8 @@ window.addEventListener('message', function (e) { // 监听 message 事件
|
|
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.screenType && e.data.screenType == "3s") { //课程管理传入
|
|
} else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
|
|
U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
|
|
U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
|
|
|
|
+ } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
|
|
|
|
+ U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
|
|
} else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
|
|
} else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
|
|
U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
|
|
U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
|
|
//3是展示全部阶段 2学生 1老师 4专家
|
|
//3是展示全部阶段 2学生 1老师 4专家
|
|
@@ -1334,6 +1336,24 @@ U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
|
|
_taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
|
|
_taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
|
|
+ case "studyDetailS5":
|
|
|
|
+ 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 *;display-capture", "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/#/studyStudentS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
|
|
|
|
+ "id": "studyDetailS",
|
|
|
|
+ "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
|
|
|
|
+ "onresize": function () { }
|
|
|
|
+ }, {
|
|
|
|
+ closecallback: function () { }
|
|
|
|
+ }, { "style": { "height": "36px" } }).form; //创建窗体
|
|
|
|
+ _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
case "studyDetailGM":
|
|
case "studyDetailGM":
|
|
if (!_userinfo || Object.keys(_userinfo).length === 0) {
|
|
if (!_userinfo || Object.keys(_userinfo).length === 0) {
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|