|
@@ -379,311 +379,469 @@ U.MD.D.I.openApplication = function(str, obj, info) {
|
|
|
_formdiv, //创建任务栏时同时弹出的窗体元素。
|
|
|
_userinfo = US.userInfo, //登录用户信息
|
|
|
_userid = obj.userid || US.userInfo.userid, //登录用户id
|
|
|
- _oid = obj.organizeid || _userinfo.organizeid;
|
|
|
- //选择应用处理
|
|
|
- switch (str) {
|
|
|
+ _oid = obj.organizeid || _userinfo.organizeid,
|
|
|
+ _type = US.userInfo.type;
|
|
|
+ if (_type == 2) {
|
|
|
+ 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":
|
|
|
+ case "project": //好友打开
|
|
|
+ U.Alert("你没有该权限");
|
|
|
+ break;
|
|
|
+ case "student":
|
|
|
+ U.Alert("你没有该权限");
|
|
|
+ break;
|
|
|
+ case "evaluate":
|
|
|
+ U.Alert("你没有该权限");
|
|
|
+ break;
|
|
|
+ case "class":
|
|
|
+ U.Alert("你没有该权限");
|
|
|
+ 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":
|
|
|
+ U.Alert("你没有该权限");
|
|
|
+ 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", { "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", { "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;
|
|
|
+
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ //选择应用处理
|
|
|
+ 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-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", { "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 "friend": //好友打开
|
|
|
- // U.MD.D.I.IsDrag = true;
|
|
|
- // U.MD.F.W.viewFriend(info); //打开好友
|
|
|
- // // U.MD.N.urlWrite("friend/" + obj.directoryid, "好友"); //好友的url重写
|
|
|
- // break;
|
|
|
- // case "domain":
|
|
|
- // var _iframe = $$('iframe', { src: '//domain.1473.cn/DomainSystem.aspx/?fileId=' + info.fileId + '&type=' + info.type + '&mode=' + info.mode, frameborder: "0", style: { cssText: "width:100%;height:100%;border:0px" } });
|
|
|
- // _formdiv = new U.UF.UI.form("域名管理", _iframe, { id: "U_MD_DS_DomainShare", style: { "width": "370px", "height": "390px" } }).form;
|
|
|
- // if (_formdiv) {
|
|
|
- // //生成任务栏的变量
|
|
|
- // _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-15px -296px", "name": "网盘", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
- // }
|
|
|
- // break;
|
|
|
- // case "disk": //个人网盘查看
|
|
|
- // _formdiv = U.MD.DK.initDisk(_userid, obj.directoryid); //根据网盘数据,并加载网盘,里面包含了url重写
|
|
|
- // if (_formdiv) {
|
|
|
- // //生成任务栏的变量
|
|
|
- // _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-15px -296px", "name": "网盘", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj); } }
|
|
|
- // }
|
|
|
- // break;
|
|
|
- // case "word": //Word打开
|
|
|
- // var _wordinfo = U.MD.O.word(_userinfo, obj, arguments[2]); //初始化word的处理
|
|
|
- // _formdiv = _wordinfo[0];
|
|
|
- // if (_formdiv) {
|
|
|
- // //生成任务栏的变量
|
|
|
- // _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-462px -296px", "name": "文档", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, _wordinfo[1]); } }
|
|
|
- // }
|
|
|
- // if (obj.UrlType != 'join') {
|
|
|
- // U.MD.N.urlWrite("word/" + _formdiv.id.substr(-36), "在线文档"); //word的url重写
|
|
|
- // }
|
|
|
- // break;
|
|
|
- // case "excel": //Excel打开
|
|
|
- // _formdiv = U.MD.O.excel(_userinfo, obj);
|
|
|
- // if (_formdiv) {
|
|
|
- // //生成任务栏的变量
|
|
|
- // _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-523px -296px", "name": "Excel", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj); } }
|
|
|
- // }
|
|
|
- // U.MD.N.urlWrite("excel/" + _formdiv.id.substr(-36), "Excel");
|
|
|
- // break;
|
|
|
- // case "txt": //Txt打开
|
|
|
- // _formdiv = U.MD.D.Txt.textCreate();
|
|
|
- // if (_formdiv) {
|
|
|
- // //生成任务栏的变量
|
|
|
- // _taskbar = { "id": str + obj.directoryid, "backgroundPostion": "-267px -413px", "name": "文本", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj); } }
|
|
|
- // }
|
|
|
- // U.MD.N.urlWrite("txt/" + _formdiv.id.substr(-36), "文本");
|
|
|
- // break;
|
|
|
- // case "lookupFriend":
|
|
|
- // _formdiv = U.MD.F.S.popSearchFriendsOrGroupForm(0);
|
|
|
- // //生成任务栏的变量
|
|
|
- // _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-85px -413px", "name": "查找好友", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj); } }
|
|
|
- // U.MD.N.urlWrite("lookupfriend/" + obj.directoryid.substr(-36), "查找好友"); //查找好友的url重写
|
|
|
- // break;
|
|
|
- // case "ftp": //Ftp
|
|
|
- // _formdiv = U.MD.F.S.popupsSearchFtp();
|
|
|
- // //生成任务栏的变量
|
|
|
- // _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-144px -413px", "name": "FTP", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj); } }
|
|
|
- // break;
|
|
|
- // case "group": //群组
|
|
|
- // _formdiv = U.MD.F.S.popupsSearchGroups(0);
|
|
|
- // //生成任务栏的变量
|
|
|
- // _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-85px -413px", "name": "群组", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj); } }
|
|
|
- // break;
|
|
|
- // case "set": //个人设置
|
|
|
- // _formdiv = U.MD.U.P.userDataSet();
|
|
|
- // if (_formdiv) {
|
|
|
- // //生成任务栏的变量
|
|
|
- // _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-400px -296px", "name": "个人设置", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj); } }
|
|
|
- // }
|
|
|
- // break;
|
|
|
- // case "systemSet": //系统设置
|
|
|
- // _formdiv = U.MD.D.B.init();
|
|
|
- // //生成任务栏的变量
|
|
|
- // _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-400px -296px", "name": "系统设置", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj); } }
|
|
|
- // break;
|
|
|
- // case "boomYun": //BoomYun
|
|
|
- // _formdiv = U.Boom.I.onload();
|
|
|
- // //生成任务栏的变量
|
|
|
- // _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-844px -419px", "name": "互联办公", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj); } }
|
|
|
- // U.MD.N.urlWrite("boomyun", "互联办公"); //boomyun的url重写
|
|
|
- // break;
|
|
|
- // case "xz": //App下载
|
|
|
- // window.open("http://xz.1473.cn");
|
|
|
- // break;
|
|
|
- // case "client": //App下载
|
|
|
- // window.open("http://client.1473.cn");
|
|
|
- // break;
|
|
|
- // case "backEndProgramming": //在线编程平台打开
|
|
|
- // window.open("http://c.1473.cn");
|
|
|
- // break;
|
|
|
- // case "frontEndProgramming": //在线web编程
|
|
|
- // window.open("http://d.1473.cn");
|
|
|
- // break;
|
|
|
- // default:
|
|
|
- // break;
|
|
|
+ _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", { "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", { "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 "friend": //好友打开
|
|
|
+ // U.MD.D.I.IsDrag = true;
|
|
|
+ // U.MD.F.W.viewFriend(info); //打开好友
|
|
|
+ // // U.MD.N.urlWrite("friend/" + obj.directoryid, "好友"); //好友的url重写
|
|
|
+ // break;
|
|
|
+ // case "domain":
|
|
|
+ // var _iframe = $$('iframe', { src: '//domain.1473.cn/DomainSystem.aspx/?fileId=' + info.fileId + '&type=' + info.type + '&mode=' + info.mode, frameborder: "0", style: { cssText: "width:100%;height:100%;border:0px" } });
|
|
|
+ // _formdiv = new U.UF.UI.form("域名管理", _iframe, { id: "U_MD_DS_DomainShare", style: { "width": "370px", "height": "390px" } }).form;
|
|
|
+ // if (_formdiv) {
|
|
|
+ // //生成任务栏的变量
|
|
|
+ // _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-15px -296px", "name": "网盘", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
+ // }
|
|
|
+ // break;
|
|
|
+ // case "disk": //个人网盘查看
|
|
|
+ // _formdiv = U.MD.DK.initDisk(_userid, obj.directoryid); //根据网盘数据,并加载网盘,里面包含了url重写
|
|
|
+ // if (_formdiv) {
|
|
|
+ // //生成任务栏的变量
|
|
|
+ // _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-15px -296px", "name": "网盘", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj); } }
|
|
|
+ // }
|
|
|
+ // break;
|
|
|
+ // case "word": //Word打开
|
|
|
+ // var _wordinfo = U.MD.O.word(_userinfo, obj, arguments[2]); //初始化word的处理
|
|
|
+ // _formdiv = _wordinfo[0];
|
|
|
+ // if (_formdiv) {
|
|
|
+ // //生成任务栏的变量
|
|
|
+ // _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-462px -296px", "name": "文档", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, _wordinfo[1]); } }
|
|
|
+ // }
|
|
|
+ // if (obj.UrlType != 'join') {
|
|
|
+ // U.MD.N.urlWrite("word/" + _formdiv.id.substr(-36), "在线文档"); //word的url重写
|
|
|
+ // }
|
|
|
+ // break;
|
|
|
+ // case "excel": //Excel打开
|
|
|
+ // _formdiv = U.MD.O.excel(_userinfo, obj);
|
|
|
+ // if (_formdiv) {
|
|
|
+ // //生成任务栏的变量
|
|
|
+ // _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-523px -296px", "name": "Excel", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj); } }
|
|
|
+ // }
|
|
|
+ // U.MD.N.urlWrite("excel/" + _formdiv.id.substr(-36), "Excel");
|
|
|
+ // break;
|
|
|
+ // case "txt": //Txt打开
|
|
|
+ // _formdiv = U.MD.D.Txt.textCreate();
|
|
|
+ // if (_formdiv) {
|
|
|
+ // //生成任务栏的变量
|
|
|
+ // _taskbar = { "id": str + obj.directoryid, "backgroundPostion": "-267px -413px", "name": "文本", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj); } }
|
|
|
+ // }
|
|
|
+ // U.MD.N.urlWrite("txt/" + _formdiv.id.substr(-36), "文本");
|
|
|
+ // break;
|
|
|
+ // case "lookupFriend":
|
|
|
+ // _formdiv = U.MD.F.S.popSearchFriendsOrGroupForm(0);
|
|
|
+ // //生成任务栏的变量
|
|
|
+ // _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-85px -413px", "name": "查找好友", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj); } }
|
|
|
+ // U.MD.N.urlWrite("lookupfriend/" + obj.directoryid.substr(-36), "查找好友"); //查找好友的url重写
|
|
|
+ // break;
|
|
|
+ // case "ftp": //Ftp
|
|
|
+ // _formdiv = U.MD.F.S.popupsSearchFtp();
|
|
|
+ // //生成任务栏的变量
|
|
|
+ // _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-144px -413px", "name": "FTP", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj); } }
|
|
|
+ // break;
|
|
|
+ // case "group": //群组
|
|
|
+ // _formdiv = U.MD.F.S.popupsSearchGroups(0);
|
|
|
+ // //生成任务栏的变量
|
|
|
+ // _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-85px -413px", "name": "群组", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj); } }
|
|
|
+ // break;
|
|
|
+ // case "set": //个人设置
|
|
|
+ // _formdiv = U.MD.U.P.userDataSet();
|
|
|
+ // if (_formdiv) {
|
|
|
+ // //生成任务栏的变量
|
|
|
+ // _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-400px -296px", "name": "个人设置", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj); } }
|
|
|
+ // }
|
|
|
+ // break;
|
|
|
+ // case "systemSet": //系统设置
|
|
|
+ // _formdiv = U.MD.D.B.init();
|
|
|
+ // //生成任务栏的变量
|
|
|
+ // _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-400px -296px", "name": "系统设置", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj); } }
|
|
|
+ // break;
|
|
|
+ // case "boomYun": //BoomYun
|
|
|
+ // _formdiv = U.Boom.I.onload();
|
|
|
+ // //生成任务栏的变量
|
|
|
+ // _taskbar = { "id": str + _formdiv.id, "backgroundPostion": "-844px -419px", "name": "互联办公", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj); } }
|
|
|
+ // U.MD.N.urlWrite("boomyun", "互联办公"); //boomyun的url重写
|
|
|
+ // break;
|
|
|
+ // case "xz": //App下载
|
|
|
+ // window.open("http://xz.1473.cn");
|
|
|
+ // break;
|
|
|
+ // case "client": //App下载
|
|
|
+ // window.open("http://client.1473.cn");
|
|
|
+ // break;
|
|
|
+ // case "backEndProgramming": //在线编程平台打开
|
|
|
+ // window.open("http://c.1473.cn");
|
|
|
+ // break;
|
|
|
+ // case "frontEndProgramming": //在线web编程
|
|
|
+ // window.open("http://d.1473.cn");
|
|
|
+ // break;
|
|
|
+ // default:
|
|
|
+ // break;
|
|
|
+ }
|
|
|
}
|
|
|
+
|
|
|
//U.MD.D.I.openClick(str);
|
|
|
//如果有任务栏信息
|
|
|
if (_taskbar) {
|