|
@@ -137,6 +137,7 @@ U.MD.D.I.GMteacherDeskIcon = [
|
|
|
{ "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
|
|
|
{ "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
|
|
|
{ "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
|
|
|
+ { "Name": "消息通知", "Url": "messageGM", "style": { "cssText": "background-image:url(/img/icon/gm/message.png)" } },
|
|
|
];
|
|
|
|
|
|
U.MD.D.I.GMorganizerDeskIcon = [
|
|
@@ -150,6 +151,8 @@ U.MD.D.I.GMorganizerDeskIcon = [
|
|
|
{ "Name": "教师管理", "Url": "teacherGM", "style": { "cssText": "background-image:url(/img/icon/gm/teacher.png)" } },
|
|
|
{ "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
|
|
|
{ "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
|
|
|
+ { "Name": "项目审核", "Url": "examineGM", "style": { "cssText": "background-image:url(/img/icon/gm/examine.png)" } },
|
|
|
+ { "Name": "消息通知", "Url": "messageGM", "style": { "cssText": "background-image:url(/img/icon/gm/message.png)" } },
|
|
|
];
|
|
|
|
|
|
U.MD.D.I.GMstudentDeskIcon = [
|
|
@@ -157,6 +160,7 @@ U.MD.D.I.GMstudentDeskIcon = [
|
|
|
{ "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
|
|
|
{ "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
|
|
|
{ "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
|
|
|
+ { "Name": "消息通知", "Url": "messageGM", "style": { "cssText": "background-image:url(/img/icon/gm/message.png)" } },
|
|
|
];
|
|
|
|
|
|
U.MD.D.I.teacherDeskIcon = [
|
|
@@ -622,7 +626,7 @@ 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") { //项目管理传入
|
|
|
+ } else 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") { //项目管理传入
|
|
@@ -813,6 +817,7 @@ U.MD.D.I.openApplication = function (str, obj, info) {
|
|
|
_oid = obj.organizeid || _userinfo.organizeid,
|
|
|
_type = US.userInfo.type,
|
|
|
_org = US.userInfo.org,
|
|
|
+ _role = US.userInfo.role,
|
|
|
_classId = US.userInfo.classid,
|
|
|
_TscreenType = 1
|
|
|
_screenType = 2,
|
|
@@ -2092,7 +2097,39 @@ U.MD.D.I.openApplication = function (str, obj, info) {
|
|
|
window.open("https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/teacherGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org, "教师管理", "height=" + US.height + ", width=" + US.width + ", top=100, left=100, toolbar=no, menubar=0, resizable=0, location=0, status=no");
|
|
|
|
|
|
break;
|
|
|
+ case "examineGM": //教师管理
|
|
|
+ // _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/#/examineGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
|
|
|
+ // "id": "examineGM",
|
|
|
+ // "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/gm/examine.png)" }, "name": "项目审核", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
+
|
|
|
+
|
|
|
+ window.open("https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/examineGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org, "项目审核", "height=" + US.height + ", width=" + US.width + ", top=100, left=100, toolbar=no, menubar=0, resizable=0, location=0, status=no");
|
|
|
+
|
|
|
+ break;
|
|
|
+ case "messageGM": //消息通知
|
|
|
+ // _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/#/noticeGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
|
|
|
+ // "id": "messageGM",
|
|
|
+ // "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/gm/examine.png)" }, "name": "消息通知", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
+
|
|
|
|
|
|
+ window.open("https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/noticeGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role, "消息通知", "height=" + US.height + ", width=" + US.width + ", top=100, left=100, toolbar=no, menubar=0, resizable=0, location=0, status=no");
|
|
|
+
|
|
|
+ break;
|
|
|
+
|
|
|
}
|
|
|
|
|
|
|