|
@@ -466,7 +466,7 @@ U.MD.D.I.openApplication = function(str, obj, info) {
|
|
} else if (US.userInfo.identity && US.userInfo.identity == 2) {
|
|
} else if (US.userInfo.identity && US.userInfo.identity == 2) {
|
|
_type = 0;
|
|
_type = 0;
|
|
}
|
|
}
|
|
- if (_type == 2 || _type == 0 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
|
|
|
|
|
|
+ if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
|
|
switch (str) {
|
|
switch (str) {
|
|
|
|
|
|
case "studnetProject": //好友打开
|
|
case "studnetProject": //好友打开
|
|
@@ -641,7 +641,7 @@ U.MD.D.I.openApplication = function(str, obj, info) {
|
|
break;
|
|
break;
|
|
|
|
|
|
}
|
|
}
|
|
- } else if (_type == 1 || _type == 0 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
|
|
|
|
|
|
+ } else if (_type == 1 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
|
|
//选择应用处理
|
|
//选择应用处理
|
|
switch (str) {
|
|
switch (str) {
|
|
|
|
|
|
@@ -866,7 +866,7 @@ U.MD.D.I.openApplication = function(str, obj, info) {
|
|
}, 0);
|
|
}, 0);
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
- } else if (_type == 1 || _type == 0 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
|
|
|
|
|
|
+ } else if (_type == 1 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
|
|
switch (str) {
|
|
switch (str) {
|
|
case "project": //好友打开
|
|
case "project": //好友打开
|
|
|
|
|
|
@@ -1021,6 +1021,231 @@ U.MD.D.I.openApplication = function(str, obj, info) {
|
|
_taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "训练服务器", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
|
|
_taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "训练服务器", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
|
|
+ } else if (_type == 0 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
|
|
|
|
+ //选择应用处理
|
|
|
|
+ switch (str) {
|
|
|
|
+
|
|
|
|
+ case "project": //好友打开
|
|
|
|
+
|
|
|
|
+ _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/#/course?userid=" + _userid + "&oid=" + _oid }), {
|
|
|
|
+ "id": "project",
|
|
|
|
+ "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/project.png)" }, "name": "项目管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
|
+ break;
|
|
|
|
+
|
|
|
|
+ case "student":
|
|
|
|
+
|
|
|
|
+ _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/#/student?userid=" + _userid + "&oid=" + _oid }), {
|
|
|
|
+ "id": "student",
|
|
|
|
+ "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/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
|
+ break;
|
|
|
|
+
|
|
|
|
+ case "evaluate":
|
|
|
|
+
|
|
|
|
+ _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/#/works?userid=" + _userid + "&oid=" + _oid }), {
|
|
|
|
+ "id": "evaluate",
|
|
|
|
+ "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/evaluation.png)" }, "name": "评价管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
|
+ break;
|
|
|
|
+ case "class":
|
|
|
|
+
|
|
|
|
+ _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/#/class?userid=" + _userid + "&oid=" + _oid }), {
|
|
|
|
+ "id": "class",
|
|
|
|
+ "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/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
|
+ break;
|
|
|
|
+ case "my":
|
|
|
|
+
|
|
|
|
+ _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/#/data?userid=" + _userid }), {
|
|
|
|
+ "id": "my",
|
|
|
|
+ "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
|
|
|
|
+ "onresize": function() {}
|
|
|
|
+ }, {
|
|
|
|
+ closecallback: function() {}
|
|
|
|
+ }, { "style": { "height": "36px" } }).form; //创建窗体
|
|
|
|
+ _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
|
+ break;
|
|
|
|
+ case "notice":
|
|
|
|
+
|
|
|
|
+ _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/#/notice?userid=" + _userid }), {
|
|
|
|
+ "id": "notice",
|
|
|
|
+ "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/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
|
+ break;
|
|
|
|
+
|
|
|
|
+ case "library":
|
|
|
|
+
|
|
|
|
+ _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/#/library?userid=" + _userid }), {
|
|
|
|
+ "id": "library",
|
|
|
|
+ "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/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
|
+ break;
|
|
|
|
+ case "whiteboard":
|
|
|
|
+
|
|
|
|
+ _formdiv = new U.UF.UI.form(
|
|
|
|
+ "电子白板",
|
|
|
|
+ $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
|
|
|
|
+ "id": "whiteboard",
|
|
|
|
+ "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/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
|
+ break;
|
|
|
|
+ case "investigation":
|
|
|
|
+
|
|
|
|
+ _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/#/ask?userid=" + _userid }), {
|
|
|
|
+ "id": "investigation",
|
|
|
|
+ "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/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
|
+ break;
|
|
|
|
+ case "note":
|
|
|
|
+
|
|
|
|
+ _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/#/note?userid=" + _userid }), {
|
|
|
|
+ "id": "note",
|
|
|
|
+ "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
|
|
|
|
+ "onresize": function() {}
|
|
|
|
+ }, {
|
|
|
|
+ closecallback: function() {}
|
|
|
|
+ }, { "style": { "height": "36px" } }).form; //创建窗体
|
|
|
|
+ _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
|
+ break;
|
|
|
|
+ // case "score":
|
|
|
|
+
|
|
|
|
+ // _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" }), {
|
|
|
|
+ // "id": "score",
|
|
|
|
+ // "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/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
|
+ // break;
|
|
|
|
+ case "mind":
|
|
|
|
+
|
|
|
|
+ _formdiv = new U.UF.UI.form(
|
|
|
|
+ "思维导图",
|
|
|
|
+ $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
|
|
|
|
+ "id": "mind",
|
|
|
|
+ "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/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
|
+ break;
|
|
|
|
+ case "doc":
|
|
|
|
+
|
|
|
|
+ // U.MD.D.I.isRoom();
|
|
|
|
+ _formdiv = new U.UF.UI.form(
|
|
|
|
+ "协同文档",
|
|
|
|
+ $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
|
|
|
|
+ "id": "doc",
|
|
|
|
+ "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
|
|
+ "onresize": function() {}
|
|
|
|
+ }, {
|
|
|
|
+ closecallback: function() {}
|
|
|
|
+ }, { "style": { "height": "36px" } }).form; //创建窗体
|
|
|
|
+
|
|
|
|
+ U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
|
|
|
|
+ $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
|
|
|
|
+ })
|
|
|
|
+ _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/doc.png)" }, "name": "协同文档", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
|
+ break;
|
|
|
|
+ case "study":
|
|
|
|
+
|
|
|
|
+ _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/#/index?userid=" + _userid + "&oid=" + _oid }), { //https://pbl.cocorobo.cn/pbl-student-table/dist/#/index
|
|
|
|
+ "id": "study",
|
|
|
|
+ "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
|
|
|
|
+ "onresize": function() {}
|
|
|
|
+ }, {
|
|
|
|
+ closecallback: function() {}
|
|
|
|
+ }, { "style": { "height": "36px" } }).form; //创建窗体
|
|
|
|
+ _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 "mindNetwork": //好友打开
|
|
|
|
+
|
|
|
|
+ _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-teacher-table/dist/#/Grid?userid=" + _userid }), {
|
|
|
|
+ "id": "mindNetwork",
|
|
|
|
+ "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/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
|
+ break;
|
|
|
|
+
|
|
|
|
+ case "teacherClassRoom": //好友打开
|
|
|
|
+
|
|
|
|
+ _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/#/classRoom?userid=" + _userid + "&oid=" + _oid }), {
|
|
|
|
+ "id": "teacherClassRoom",
|
|
|
|
+ "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/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
|
+ setTimeout(() => {
|
|
|
|
+ U.UF.F.windowZooming(_formdiv)
|
|
|
|
+ }, 0);
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
//U.MD.D.I.openClick(str);
|
|
//U.MD.D.I.openClick(str);
|