|
@@ -8,23 +8,8 @@ U.MD.D.I.IsDrag;
|
|
|
|
|
|
U.MD.D.I.Ip;
|
|
U.MD.D.I.Ip;
|
|
|
|
|
|
-//桌面图标的全局变量
|
|
|
|
-U.MD.D.I.DeskIcon = [
|
|
|
|
- //
|
|
|
|
- // { "Name": "互联办公", "Url": "boomYun", "Img": { "x": "-844", "y": "-419"} },
|
|
|
|
- // { "Name": "Word", "Url": "word", "Img": { "x": "-462", "y": "-296"} },
|
|
|
|
- // { "Name": "Execl", "Url": "excel", "Img": { "x": "-523", "y": "-296"} },
|
|
|
|
- // { "Name": "文本文件", "Url": "txt", "Img": { "x": "-267", "y": "-413"} },
|
|
|
|
- // { "Name": "我的好友", "Url": "friend", "Img": { "x": "-648", "y": "-297"} },
|
|
|
|
- // { "Name": "查找好友", "Url": "lookupFriend", "Img": { "x": "-85", "y": "-413"} },
|
|
|
|
- // { "Name": "我的设置", "Url": "set", "Img": { "x": "-400", "y": "-296"} },
|
|
|
|
- // { "Name": "系统设置", "Url": "systemSet", "Img": { "x": "-144", "y": "-413"} },
|
|
|
|
- // { "Name": "云端下载", "Url": "client", "Img": { "x": "-648", "y": "-357"} },
|
|
|
|
- // { "Name": "云端产品", "Url": "xz", "Img": { "x": "-24", "y": "-413"} }
|
|
|
|
- // { "Name": "FTP", "Url": "ftp", "Img": { "x": "-24", "y": "-413"} },
|
|
|
|
- // { "Name": "群文档", "Url": "group", "Img": { "x": "-85", "y": "-413"} },
|
|
|
|
- // { "Name": "web编程", "Url": "frontEndProgramming", "Img": { "x": "-275", "y": "-297"} },
|
|
|
|
- // { "Name": "后端编程", "Url": "backEndProgramming", "Img": { "x": "-275", "y": "-297"} },
|
|
|
|
|
|
+//教师桌面图标的全局变量
|
|
|
|
+U.MD.D.I.teacherDeskIcon = [
|
|
{ "Name": "项目管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
|
|
{ "Name": "项目管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
|
|
{ "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)" } },
|
|
@@ -39,7 +24,24 @@ U.MD.D.I.DeskIcon = [
|
|
// { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
|
|
// { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
|
|
{ "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
|
|
{ "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
|
|
{ "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
|
|
{ "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
|
|
- { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } }
|
|
|
|
|
|
+ { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
|
|
|
|
+ { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } }
|
|
|
|
+];
|
|
|
|
+
|
|
|
|
+U.MD.D.I.studentDeskIcon = [
|
|
|
|
+ { "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": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
|
|
|
|
+ { "Name": "我的资料", "Url": "studentMy", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
|
|
|
|
+ { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
|
|
|
|
+ { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
|
|
|
|
+ { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
|
|
|
|
+ { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
|
|
|
|
+ // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
|
|
|
|
+ { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
|
|
|
|
+ { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
|
|
|
|
+ { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
|
|
|
|
+ { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } }
|
|
];
|
|
];
|
|
|
|
|
|
//#region 桌面初始化a
|
|
//#region 桌面初始化a
|
|
@@ -48,7 +50,7 @@ U.MD.D.I.DeskIcon = [
|
|
* 初始化桌面的起始函数
|
|
* 初始化桌面的起始函数
|
|
*
|
|
*
|
|
*/
|
|
*/
|
|
-U.MD.D.I.init = function() {
|
|
|
|
|
|
+U.MD.D.I.init = function () {
|
|
if ($("#U_MD_D_K")[0]) {
|
|
if ($("#U_MD_D_K")[0]) {
|
|
//初始化桌面图标
|
|
//初始化桌面图标
|
|
U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0]);
|
|
U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0]);
|
|
@@ -69,7 +71,7 @@ U.MD.D.I.init = function() {
|
|
*
|
|
*
|
|
* @param {element} 桌面元素
|
|
* @param {element} 桌面元素
|
|
*/
|
|
*/
|
|
-U.MD.D.I.hiddenTaskbar = function(el) {
|
|
|
|
|
|
+U.MD.D.I.hiddenTaskbar = function (el) {
|
|
//任务栏位置变小
|
|
//任务栏位置变小
|
|
U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
|
|
U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
|
|
//桌面的位置变大
|
|
//桌面的位置变大
|
|
@@ -82,7 +84,7 @@ U.MD.D.I.hiddenTaskbar = function(el) {
|
|
*
|
|
*
|
|
* @param {element} 桌面元素
|
|
* @param {element} 桌面元素
|
|
*/
|
|
*/
|
|
-U.MD.D.I.hiddenTaskbarout = function(el) {
|
|
|
|
|
|
+U.MD.D.I.hiddenTaskbarout = function (el) {
|
|
//任务栏位置变小
|
|
//任务栏位置变小
|
|
if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
|
|
if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
|
|
//任务栏位置变化
|
|
//任务栏位置变化
|
|
@@ -98,31 +100,53 @@ U.MD.D.I.hiddenTaskbarout = function(el) {
|
|
*
|
|
*
|
|
* @param {element} 桌面元素
|
|
* @param {element} 桌面元素
|
|
*/
|
|
*/
|
|
-U.MD.D.I.initDesktopIcons = function(el) {
|
|
|
|
|
|
+U.MD.D.I.initDesktopIcons = function (el) {
|
|
var i, //用于循环
|
|
var i, //用于循环
|
|
_content, //桌面图标元素
|
|
_content, //桌面图标元素
|
|
_iconcontent, //桌面图标元素
|
|
_iconcontent, //桌面图标元素
|
|
_frag = $$("frag"), //定义一个碎片元素
|
|
_frag = $$("frag"), //定义一个碎片元素
|
|
- _DesktopIconInfo = U.MD.D.I.DeskIcon; //获取桌面图标
|
|
|
|
|
|
+ _type = US.userInfo.type,
|
|
|
|
+ _teacherDesktopIconInfo = U.MD.D.I.teacherDeskIcon, //获取教师端桌面图标
|
|
|
|
+ _studentDesktopIconInfo = U.MD.D.I.studentDeskIcon; //获取桌面图标
|
|
//清楚桌面图标
|
|
//清楚桌面图标
|
|
el.innerHTML = "";
|
|
el.innerHTML = "";
|
|
//循环创建桌面图标
|
|
//循环创建桌面图标
|
|
- for (i = 0; i < _DesktopIconInfo.length; i++) {
|
|
|
|
- _content = $$("div", {
|
|
|
|
- className: "U_MD_D_KO",
|
|
|
|
- "onmousedown": U.UF.C.closure(function(obj) {
|
|
|
|
- //防止拖动图标即打开了桌面应用
|
|
|
|
- U.MD.D.click(this, obj);
|
|
|
|
- }, [_DesktopIconInfo[i]]),
|
|
|
|
- "onclick": U.UF.C.closure(function(obj) {
|
|
|
|
- //防止拖动图标即打开了桌面应用
|
|
|
|
- U.MD.D.click(this, obj);
|
|
|
|
- }, [_DesktopIconInfo[i]])
|
|
|
|
- }, _frag); //
|
|
|
|
- _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
|
|
|
|
- $$("div", { className: "U_MD_D_KOS U_Img", "style": _DesktopIconInfo[i].style }, _iconcontent); //{ "backgroundPosition": _DesktopIconInfo[i].Img.x + "px " + _DesktopIconInfo[i].Img.y + "px" }
|
|
|
|
- $$("div", { className: "U_MD_D_KOX", "style": { "cssText": "text-shadow: rgb(100 100 100) 2px 1px 3px, rgb(102 102 102) 0px 1px 0px, rgb(85 85 85) -1px 0px 0px, rgb(153 153 153) 0px -1px 0px; -webkit-text-shadow: rgb(100 100 100) 2px 1px 3px, rgb(102 102 102) 0px 1px 0px, rgb(85 85 85) -1px 0px 0px, rgb(153 153 153) 0px -1px 0px; -moz-text-shadow: rgb(100 100 100) 2px 1px 3px, rgb(102 102 102) 0px 1px 0px, rgb(85 85 85) -1px 0px 0px, rgb(153 153 153) 0px -1px 0px; filter: Glow(color=#777777, strength=1)\9;" }, "innerHTML": _DesktopIconInfo[i].Name }, _iconcontent);
|
|
|
|
|
|
+ if (_type == 2) {
|
|
|
|
+ for (i = 0; i < _studentDesktopIconInfo.length; i++) {
|
|
|
|
+ _content = $$("div", {
|
|
|
|
+ className: "U_MD_D_KO",
|
|
|
|
+ "onmousedown": U.UF.C.closure(function (obj) {
|
|
|
|
+ //防止拖动图标即打开了桌面应用
|
|
|
|
+ U.MD.D.click(this, obj);
|
|
|
|
+ }, [_studentDesktopIconInfo[i]]),
|
|
|
|
+ "onclick": U.UF.C.closure(function (obj) {
|
|
|
|
+ //防止拖动图标即打开了桌面应用
|
|
|
|
+ U.MD.D.click(this, obj);
|
|
|
|
+ }, [_studentDesktopIconInfo[i]])
|
|
|
|
+ }, _frag); //
|
|
|
|
+ _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
|
|
|
|
+ $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
|
|
|
|
+ $$("div", { className: "U_MD_D_KOX", "style": { "cssText": "text-shadow: rgb(100 100 100) 2px 1px 3px, rgb(102 102 102) 0px 1px 0px, rgb(85 85 85) -1px 0px 0px, rgb(153 153 153) 0px -1px 0px; -webkit-text-shadow: rgb(100 100 100) 2px 1px 3px, rgb(102 102 102) 0px 1px 0px, rgb(85 85 85) -1px 0px 0px, rgb(153 153 153) 0px -1px 0px; -moz-text-shadow: rgb(100 100 100) 2px 1px 3px, rgb(102 102 102) 0px 1px 0px, rgb(85 85 85) -1px 0px 0px, rgb(153 153 153) 0px -1px 0px; filter: Glow(color=#777777, strength=1)\9;" }, "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
|
|
|
|
+ }
|
|
|
|
+ } else {
|
|
|
|
+ for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
|
|
|
|
+ _content = $$("div", {
|
|
|
|
+ className: "U_MD_D_KO",
|
|
|
|
+ "onmousedown": U.UF.C.closure(function (obj) {
|
|
|
|
+ //防止拖动图标即打开了桌面应用
|
|
|
|
+ U.MD.D.click(this, obj);
|
|
|
|
+ }, [_teacherDesktopIconInfo[i]]),
|
|
|
|
+ "onclick": U.UF.C.closure(function (obj) {
|
|
|
|
+ //防止拖动图标即打开了桌面应用
|
|
|
|
+ U.MD.D.click(this, obj);
|
|
|
|
+ }, [_teacherDesktopIconInfo[i]])
|
|
|
|
+ }, _frag); //
|
|
|
|
+ _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
|
|
|
|
+ $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
|
|
|
|
+ $$("div", { className: "U_MD_D_KOX", "style": { "cssText": "text-shadow: rgb(100 100 100) 2px 1px 3px, rgb(102 102 102) 0px 1px 0px, rgb(85 85 85) -1px 0px 0px, rgb(153 153 153) 0px -1px 0px; -webkit-text-shadow: rgb(100 100 100) 2px 1px 3px, rgb(102 102 102) 0px 1px 0px, rgb(85 85 85) -1px 0px 0px, rgb(153 153 153) 0px -1px 0px; -moz-text-shadow: rgb(100 100 100) 2px 1px 3px, rgb(102 102 102) 0px 1px 0px, rgb(85 85 85) -1px 0px 0px, rgb(153 153 153) 0px -1px 0px; filter: Glow(color=#777777, strength=1)\9;" }, "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
+
|
|
//加载好后给图标定位
|
|
//加载好后给图标定位
|
|
U.MD.D.iconPostion($(_frag).Child());
|
|
U.MD.D.iconPostion($(_frag).Child());
|
|
//把图标加载到页面
|
|
//把图标加载到页面
|
|
@@ -134,7 +158,7 @@ U.MD.D.I.initDesktopIcons = function(el) {
|
|
*
|
|
*
|
|
* @param {element} 桌面元素
|
|
* @param {element} 桌面元素
|
|
*/
|
|
*/
|
|
-U.MD.D.I.displayTaskbar = function(el) {
|
|
|
|
|
|
+U.MD.D.I.displayTaskbar = function (el) {
|
|
//判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
|
|
//判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
|
|
if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
|
|
if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
|
|
//任务栏位置变化
|
|
//任务栏位置变化
|
|
@@ -154,7 +178,7 @@ U.MD.D.I.displayTaskbar = function(el) {
|
|
* @param {object} 左右相距的距离
|
|
* @param {object} 左右相距的距离
|
|
* @return {object} 命名空间
|
|
* @return {object} 命名空间
|
|
*/
|
|
*/
|
|
-U.MD.D.iconPostion = function(childs, top, left) {
|
|
|
|
|
|
+U.MD.D.iconPostion = function (childs, top, left) {
|
|
var i; //用于循环处理
|
|
var i; //用于循环处理
|
|
top = top || 15; //如果没有设置元素的间距处理默认上间距为15
|
|
top = top || 15; //如果没有设置元素的间距处理默认上间距为15
|
|
left = left || 20; //如果没有设置元素的间距处理默认左间距为15
|
|
left = left || 20; //如果没有设置元素的间距处理默认左间距为15
|
|
@@ -192,7 +216,7 @@ U.MD.D.iconPostion = function(childs, top, left) {
|
|
* @param {object} 左右相距的距离
|
|
* @param {object} 左右相距的距离
|
|
* @return {object} 命名空间
|
|
* @return {object} 命名空间
|
|
*/
|
|
*/
|
|
-U.MD.D.click = function(el, obj) {
|
|
|
|
|
|
+U.MD.D.click = function (el, obj) {
|
|
var _buttonnumber = event.button; //点击的按钮的事件值
|
|
var _buttonnumber = event.button; //点击的按钮的事件值
|
|
var _userinfo = US.userInfo;
|
|
var _userinfo = US.userInfo;
|
|
U.UF.EV.stopBubble(); //阻止向上冒泡
|
|
U.UF.EV.stopBubble(); //阻止向上冒泡
|
|
@@ -226,7 +250,7 @@ U.MD.D.click = function(el, obj) {
|
|
* 拖动的处理
|
|
* 拖动的处理
|
|
*
|
|
*
|
|
*/
|
|
*/
|
|
-U.MD.D.iconMove = function() {
|
|
|
|
|
|
+U.MD.D.iconMove = function () {
|
|
//如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
|
|
//如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
|
|
U.MD.D.I.IsDrag = true;
|
|
U.MD.D.I.IsDrag = true;
|
|
}
|
|
}
|
|
@@ -237,7 +261,7 @@ U.MD.D.iconMove = function() {
|
|
* @param {element} 拖动的元素
|
|
* @param {element} 拖动的元素
|
|
* @return {object} 命名空间
|
|
* @return {object} 命名空间
|
|
*/
|
|
*/
|
|
-U.MD.D.iconUp = function(el) {
|
|
|
|
|
|
+U.MD.D.iconUp = function (el) {
|
|
var _top = 15,
|
|
var _top = 15,
|
|
_left = 20,
|
|
_left = 20,
|
|
_margin,
|
|
_margin,
|
|
@@ -271,7 +295,7 @@ U.MD.D.iconUp = function(el) {
|
|
----------[1] 左 left
|
|
----------[1] 左 left
|
|
* @return {object} 命名空间
|
|
* @return {object} 命名空间
|
|
*/
|
|
*/
|
|
-U.MD.D.isOverlap = function(el, childs, postionarray) {
|
|
|
|
|
|
+U.MD.D.isOverlap = function (el, childs, postionarray) {
|
|
//循环所有的图标
|
|
//循环所有的图标
|
|
for (var i = 0; i < childs.length; i++) {
|
|
for (var i = 0; i < childs.length; i++) {
|
|
//判断有没有和该图标诶子重叠的元素
|
|
//判断有没有和该图标诶子重叠的元素
|
|
@@ -316,24 +340,38 @@ U.MD.D.isOverlap = function(el, childs, postionarray) {
|
|
如果第一个参数为其他,则无第二个参数
|
|
如果第一个参数为其他,则无第二个参数
|
|
* @returns {array}
|
|
* @returns {array}
|
|
*/
|
|
*/
|
|
-window.addEventListener('message', function(e) { // 监听 message 事件
|
|
|
|
|
|
+window.addEventListener('message', function (e) { // 监听 message 事件
|
|
// alert(e.data.type);
|
|
// alert(e.data.type);
|
|
if (e.data.type && e.data.type == "1") { //项目管理传入
|
|
if (e.data.type && e.data.type == "1") { //项目管理传入
|
|
U.MD.D.I.openInApplication("study", e.data.cid)
|
|
U.MD.D.I.openInApplication("study", e.data.cid)
|
|
} else if (e.data.close && e.data.close == "1") { //更新用户信息
|
|
} else if (e.data.close && e.data.close == "1") { //更新用户信息
|
|
U.MD.D.I.selectUser();
|
|
U.MD.D.I.selectUser();
|
|
|
|
+ } else if (e.data.tools && e.data.tools == "1") {
|
|
|
|
+ U.MD.D.I.openApplication("whiteboard")
|
|
|
|
+ } else if (e.data.tools && e.data.tools == "2") {
|
|
|
|
+ U.MD.D.I.openApplication("note")
|
|
|
|
+ } else if (e.data.tools && e.data.tools == "3") {
|
|
|
|
+ U.MD.D.I.openApplication("mind")
|
|
|
|
+ } else if (e.data.tools && e.data.tools == "4") {
|
|
|
|
+ U.MD.D.I.openApplication("investigation")
|
|
|
|
+ } else if (e.data.tools && e.data.tools == "6") {
|
|
|
|
+ U.MD.D.I.openApplication("doc")
|
|
|
|
+ } else if (e.data.tools && e.data.tools == "7") {
|
|
|
|
+ U.MD.D.I.openApplication("mindNetwork")
|
|
|
|
+ } else if (e.data.tools && e.data.tools == "8") {
|
|
|
|
+ U.MD.D.I.openApplication("library")
|
|
}
|
|
}
|
|
});
|
|
});
|
|
|
|
|
|
-U.MD.D.I.selectUser = function() {
|
|
|
|
- U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function(res) { //US.userInfo.userid
|
|
|
|
|
|
+U.MD.D.I.selectUser = function () {
|
|
|
|
+ U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
|
|
if (res.value[0].length > 0) {
|
|
if (res.value[0].length > 0) {
|
|
US.userInfo = res.value[0][0];
|
|
US.userInfo = res.value[0][0];
|
|
$(".userName")[0].innerHTML = US.userInfo.username;
|
|
$(".userName")[0].innerHTML = US.userInfo.username;
|
|
}
|
|
}
|
|
}, [], { "type": "GET", "withCredentials": true });
|
|
}, [], { "type": "GET", "withCredentials": true });
|
|
}
|
|
}
|
|
-U.MD.D.I.openInApplication = function(str, data) {
|
|
|
|
|
|
+U.MD.D.I.openInApplication = function (str, data) {
|
|
var _userinfo = US.userInfo, //登录用户信息
|
|
var _userinfo = US.userInfo, //登录用户信息
|
|
_userid = US.userInfo.userid, //登录用户id
|
|
_userid = US.userInfo.userid, //登录用户id
|
|
_oid = _userinfo.organizeid;
|
|
_oid = _userinfo.organizeid;
|
|
@@ -347,232 +385,425 @@ U.MD.D.I.openInApplication = function(str, data) {
|
|
_formdiv = new U.UF.UI.form(
|
|
_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/#/courseDetail?userid=" + _userid + "&oid=" + _oid + "&courseId=" + data }), {
|
|
$$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-student-table/dist/#/courseDetail?userid=" + _userid + "&oid=" + _oid + "&courseId=" + data }), {
|
|
- "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); } }
|
|
|
|
|
|
+ "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;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|
|
-U.MD.D.I.openApplication = function(str, obj, info) {
|
|
|
|
|
|
+U.MD.D.I.openApplication = function (str, obj, info) {
|
|
obj = obj || {};
|
|
obj = obj || {};
|
|
var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
|
|
var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
|
|
_formdiv, //创建任务栏时同时弹出的窗体元素。
|
|
_formdiv, //创建任务栏时同时弹出的窗体元素。
|
|
_userinfo = US.userInfo, //登录用户信息
|
|
_userinfo = US.userInfo, //登录用户信息
|
|
_userid = obj.userid || US.userInfo.userid, //登录用户id
|
|
_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": //好友打开
|
|
|
|
|
|
+ case "studnetProject": //好友打开
|
|
|
|
+ _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/#/project?userid=" + _userid + "&oid=" + _oid }), {
|
|
|
|
+ "id": "studnetProject",
|
|
|
|
+ "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/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
|
+
|
|
|
|
+ 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/#/course?userid=" + _userid + "&oid=" + _oid }), {
|
|
|
|
|
|
+ case "studentEvaluate": //好友打开
|
|
|
|
+ _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/#/works?userid=" + _userid + "&oid=" + _oid }), {
|
|
|
|
+ "id": "studentEvaluate",
|
|
|
|
+ "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/evaluation.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 "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 "studentStudy":
|
|
|
|
+ _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": "studentStudy",
|
|
|
|
+ "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 "studentClassRoom": //好友打开
|
|
|
|
+ _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/#/liveRoom?userid=" + _userid + "&oid=" + _oid }), {
|
|
|
|
+ "id": "studentClassRoom",
|
|
|
|
+ "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;
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ } 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",
|
|
"id": "project",
|
|
"style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
"style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
- "onresize": function() {}
|
|
|
|
|
|
+ "onresize": function () { }
|
|
}, {
|
|
}, {
|
|
- closecallback: function() {}
|
|
|
|
|
|
+ closecallback: function () { }
|
|
}, { "style": { "height": "36px" } }).form; //创建窗体
|
|
}, { "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;
|
|
|
|
|
|
+ _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":
|
|
|
|
|
|
+ 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 }), {
|
|
|
|
|
|
+ _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",
|
|
"id": "student",
|
|
"style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
"style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
- "onresize": function() {}
|
|
|
|
|
|
+ "onresize": function () { }
|
|
}, {
|
|
}, {
|
|
- closecallback: function() {}
|
|
|
|
|
|
+ closecallback: function () { }
|
|
}, { "style": { "height": "36px" } }).form; //创建窗体
|
|
}, { "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;
|
|
|
|
|
|
+ _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":
|
|
|
|
|
|
+ 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 }), {
|
|
|
|
|
|
+ _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",
|
|
"id": "evaluate",
|
|
"style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
"style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
- "onresize": function() {}
|
|
|
|
|
|
+ "onresize": function () { }
|
|
}, {
|
|
}, {
|
|
- closecallback: function() {}
|
|
|
|
|
|
+ closecallback: function () { }
|
|
}, { "style": { "height": "36px" } }).form; //创建窗体
|
|
}, { "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":
|
|
|
|
|
|
+ _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 }), {
|
|
|
|
|
|
+ _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",
|
|
"id": "class",
|
|
"style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
"style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
- "onresize": function() {}
|
|
|
|
|
|
+ "onresize": function () { }
|
|
}, {
|
|
}, {
|
|
- closecallback: function() {}
|
|
|
|
|
|
+ closecallback: function () { }
|
|
}, { "style": { "height": "36px" } }).form; //创建窗体
|
|
}, { "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":
|
|
|
|
|
|
+ _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 }), {
|
|
|
|
|
|
+ _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",
|
|
"id": "my",
|
|
"style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
|
|
"style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
|
|
- "onresize": function() {}
|
|
|
|
|
|
+ "onresize": function () { }
|
|
}, {
|
|
}, {
|
|
- closecallback: function() {}
|
|
|
|
|
|
+ closecallback: function () { }
|
|
}, { "style": { "height": "36px" } }).form; //创建窗体
|
|
}, { "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":
|
|
|
|
|
|
+ _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 }), {
|
|
|
|
|
|
+ _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",
|
|
"id": "notice",
|
|
"style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
"style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
- "onresize": function() {}
|
|
|
|
|
|
+ "onresize": function () { }
|
|
}, {
|
|
}, {
|
|
- closecallback: function() {}
|
|
|
|
|
|
+ closecallback: function () { }
|
|
}, { "style": { "height": "36px" } }).form; //创建窗体
|
|
}, { "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;
|
|
|
|
|
|
+ _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":
|
|
|
|
|
|
+ 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 }), {
|
|
|
|
|
|
+ _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",
|
|
"id": "library",
|
|
"style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
"style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
- "onresize": function() {}
|
|
|
|
|
|
+ "onresize": function () { }
|
|
}, {
|
|
}, {
|
|
- closecallback: function() {}
|
|
|
|
|
|
+ closecallback: function () { }
|
|
}, { "style": { "height": "36px" } }).form; //创建窗体
|
|
}, { "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":
|
|
|
|
|
|
+ _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/" }), {
|
|
|
|
|
|
+ _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",
|
|
"id": "whiteboard",
|
|
"style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
"style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
- "onresize": function() {}
|
|
|
|
|
|
+ "onresize": function () { }
|
|
}, {
|
|
}, {
|
|
- closecallback: function() {}
|
|
|
|
|
|
+ closecallback: function () { }
|
|
}, { "style": { "height": "36px" } }).form; //创建窗体
|
|
}, { "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":
|
|
|
|
|
|
+ _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 }), {
|
|
|
|
|
|
+ _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",
|
|
"id": "investigation",
|
|
"style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
"style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
- "onresize": function() {}
|
|
|
|
|
|
+ "onresize": function () { }
|
|
}, {
|
|
}, {
|
|
- closecallback: function() {}
|
|
|
|
|
|
+ closecallback: function () { }
|
|
}, { "style": { "height": "36px" } }).form; //创建窗体
|
|
}, { "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":
|
|
|
|
|
|
+ _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 }), {
|
|
|
|
|
|
+ _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",
|
|
"id": "note",
|
|
"style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
|
|
"style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
|
|
- "onresize": function() {}
|
|
|
|
|
|
+ "onresize": function () { }
|
|
}, {
|
|
}, {
|
|
- closecallback: function() {}
|
|
|
|
|
|
+ closecallback: function () { }
|
|
}, { "style": { "height": "36px" } }).form; //创建窗体
|
|
}, { "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"
|
|
|
|
|
|
+ _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",
|
|
"id": "mind",
|
|
"style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
"style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
- "onresize": function() {}
|
|
|
|
|
|
+ "onresize": function () { }
|
|
}, {
|
|
}, {
|
|
- closecallback: function() {}
|
|
|
|
|
|
+ closecallback: function () { }
|
|
}, { "style": { "height": "36px" } }).form; //创建窗体
|
|
}, { "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" }), {
|
|
|
|
|
|
+ _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",
|
|
"id": "doc",
|
|
"style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
"style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
- "onresize": function() {}
|
|
|
|
|
|
+ "onresize": function () { }
|
|
}, {
|
|
}, {
|
|
- closecallback: function() {}
|
|
|
|
|
|
+ closecallback: function () { }
|
|
}, { "style": { "height": "36px" } }).form; //创建窗体
|
|
}, { "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":
|
|
|
|
|
|
+ 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
|
|
|
|
|
|
+ _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",
|
|
"id": "study",
|
|
"style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
|
|
"style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
|
|
- "onresize": function() {}
|
|
|
|
|
|
+ "onresize": function () { }
|
|
}, {
|
|
}, {
|
|
- closecallback: function() {}
|
|
|
|
|
|
+ closecallback: function () { }
|
|
}, { "style": { "height": "36px" } }).form; //创建窗体
|
|
}, { "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": //好友打开
|
|
|
|
|
|
+ _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 }), {
|
|
|
|
|
|
+ _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",
|
|
"id": "mindNetwork",
|
|
"style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
"style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
- "onresize": function() {}
|
|
|
|
|
|
+ "onresize": function () { }
|
|
}, {
|
|
}, {
|
|
- closecallback: function() {}
|
|
|
|
|
|
+ closecallback: function () { }
|
|
}, { "style": { "height": "36px" } }).form; //创建窗体
|
|
}, { "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;
|
|
|
|
|
|
+ _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;
|
|
|
|
|
|
// case "friend": //好友打开
|
|
// case "friend": //好友打开
|
|
// U.MD.D.I.IsDrag = true;
|
|
// U.MD.D.I.IsDrag = true;
|
|
@@ -669,7 +900,9 @@ U.MD.D.I.openApplication = function(str, obj, info) {
|
|
// break;
|
|
// break;
|
|
// default:
|
|
// default:
|
|
// break;
|
|
// break;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
+
|
|
//U.MD.D.I.openClick(str);
|
|
//U.MD.D.I.openClick(str);
|
|
//如果有任务栏信息
|
|
//如果有任务栏信息
|
|
if (_taskbar) {
|
|
if (_taskbar) {
|