|
@@ -14,6 +14,7 @@ U.MD.D.I.teacherDeskIcon = [
|
|
{ "Name": "学习中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
|
|
{ "Name": "学习中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
|
|
{ "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
|
|
{ "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
|
|
{ "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
|
|
{ "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
|
|
|
|
+ { "Name": "学生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
|
|
{ "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
|
|
{ "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
|
|
{ "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
|
|
{ "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
|
|
{ "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
|
|
{ "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
|
|
@@ -53,6 +54,7 @@ U.MD.D.I.teacherDeskIcon2 = [
|
|
{ "Name": "学习中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
|
|
{ "Name": "学习中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
|
|
{ "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
|
|
{ "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
|
|
{ "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
|
|
{ "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
|
|
|
|
+ // { "Name": "学生项目", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
|
|
{ "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
|
|
{ "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
|
|
{ "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
|
|
{ "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
|
|
{ "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
|
|
{ "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
|
|
@@ -87,6 +89,7 @@ U.MD.D.I.teacherDeskIcon2 = [
|
|
];
|
|
];
|
|
|
|
|
|
U.MD.D.I.studentDeskIcon = [
|
|
U.MD.D.I.studentDeskIcon = [
|
|
|
|
+ { "Name": "学生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
|
|
// { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
|
|
// { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
|
|
{ "Name": "学习中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
|
|
{ "Name": "学习中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
|
|
// { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
|
|
// { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
|
|
@@ -118,6 +121,7 @@ U.MD.D.I.studentDeskIcon = [
|
|
];
|
|
];
|
|
|
|
|
|
U.MD.D.I.studentDeskIcon2 = [
|
|
U.MD.D.I.studentDeskIcon2 = [
|
|
|
|
+ // { "Name": "学生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
|
|
{ "Name": "学习中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
|
|
{ "Name": "学习中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
|
|
// { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
|
|
// { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
|
|
// { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
|
|
// { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
|
|
@@ -779,7 +783,9 @@ window.addEventListener('message', function(e) { // 监听 message 事件
|
|
//3是展示全部阶段 2学生 1老师 4专家
|
|
//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)
|
|
- }if (e.data.screenType && e.data.screenType == "2gm") { //项目管理传入
|
|
|
|
|
|
+ }else if (e.data.screenType && e.data.screenType == "3s") { //项目管理传入
|
|
|
|
+ U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
|
|
|
|
+ }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专家
|
|
} else if (e.data.screenType && e.data.screenType == "3gm") { //项目管理传入
|
|
} else if (e.data.screenType && e.data.screenType == "3gm") { //项目管理传入
|
|
@@ -922,6 +928,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); } }
|
|
_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;
|
|
break;
|
|
}
|
|
}
|
|
|
|
+ case "studyDetailS":
|
|
|
|
+ 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/#/courseDetailS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
|
|
|
|
+ "id": "studyDetailS",
|
|
|
|
+ "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/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(() => {
|
|
@@ -2232,6 +2256,30 @@ U.MD.D.I.openApplication = function(str, obj, info) {
|
|
_taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/number.png)" }, "name": "数字实验室", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
|
|
_taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/number.png)" }, "name": "数字实验室", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
|
|
|
break;
|
|
break;
|
|
|
|
+ case "studentCourse": //学生项目 学生
|
|
|
|
+ _formdiv = new U.UF.UI.form(
|
|
|
|
+ "学生项目",
|
|
|
|
+ $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/studentCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
|
|
|
|
+ "id": "studentCourse",
|
|
|
|
+ "style": { "width": "90%", "height": "90%", "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 "studentCourseS": //学生项目 老师
|
|
|
|
+ _formdiv = new U.UF.UI.form(
|
|
|
|
+ "学生项目",
|
|
|
|
+ $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/scourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
|
|
|
|
+ "id": "studentCourseS",
|
|
|
|
+ "style": { "width": "90%", "height": "90%", "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;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|