|
|
@@ -202,7 +202,7 @@ U.MD.D.I.orgStemDeskIcon = [
|
|
|
{ "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
|
|
|
{ "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
|
|
|
{ "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
|
|
|
- { "Name": "知識建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
|
|
|
+ { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
|
|
|
{ "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
|
|
|
// { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
|
|
|
];
|
|
|
@@ -560,6 +560,7 @@ U.MD.D.I.lotechTeacherDeskIcon = [
|
|
|
{ "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
|
|
|
{ "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
|
|
|
{ "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
|
|
|
+ { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
|
|
|
];
|
|
|
|
|
|
//龍華中心小學教師桌面圖標的全局變量
|
|
|
@@ -784,7 +785,7 @@ U.MD.D.I.dseiTeacherDeskIcon = [
|
|
|
{ "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
|
|
|
{ "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
|
|
|
{ "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
|
|
|
- { "Name": "知識建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
|
|
|
+ { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
|
|
|
{ "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
|
|
|
];
|
|
|
|
|
|
@@ -829,7 +830,7 @@ U.MD.D.I.dseiAdminDeskIcon = [
|
|
|
{ "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
|
|
|
{ "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
|
|
|
{ "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
|
|
|
- { "Name": "知識建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
|
|
|
+ { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
|
|
|
{ "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
|
|
|
];
|
|
|
|
|
|
@@ -858,7 +859,7 @@ U.MD.D.I.szjkyTeacherDeskIcon = [
|
|
|
{ "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
|
|
|
{ "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
|
|
|
{ "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
|
|
|
- { "Name": "知識建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
|
|
|
+ { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
|
|
|
{ "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
|
|
|
];
|
|
|
|
|
|
@@ -877,7 +878,7 @@ U.MD.D.I.szjkyAdminDeskIcon = [
|
|
|
{ "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
|
|
|
{ "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
|
|
|
{ "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
|
|
|
- { "Name": "知識建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
|
|
|
+ { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
|
|
|
{ "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
|
|
|
];
|
|
|
|
|
|
@@ -1092,22 +1093,28 @@ U.MD.D.I.initDesktopIcons = function(el, type) {
|
|
|
{ "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
|
|
|
{ "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
|
|
|
{ "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
|
|
|
- { "Name": "知識建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
|
|
|
+ { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
|
|
|
{ "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
|
|
|
)
|
|
|
}
|
|
|
|
|
|
if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
|
|
|
_teacherDesktopIconInfo.push(
|
|
|
- { "Name": "知識建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
|
|
|
+ { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
|
|
|
{ "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
|
|
|
)
|
|
|
_studentDesktopIconInfo.push(
|
|
|
- { "Name": "知識建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
|
|
|
+ { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
|
|
|
)
|
|
|
|
|
|
}
|
|
|
|
|
|
+ if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
|
|
|
+ _teacherDesktopIconInfo.push(
|
|
|
+ { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
|
|
|
+ )
|
|
|
+ }
|
|
|
+
|
|
|
if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
|
|
|
_studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
|
|
|
if (el.Name == '項目管理') {
|
|
|
@@ -2474,8 +2481,13 @@ window.addEventListener('message', function(e) { // 監聽 message 事件
|
|
|
classid:e.data.classid || '',
|
|
|
}
|
|
|
U.MD.D.I.openInApplication("dataClass", _data)
|
|
|
+ } else if (e.data.tools && e.data.tools == "opencCscl") {
|
|
|
+ let _data = {
|
|
|
+ cid:e.data.cid || '',
|
|
|
+ gid:e.data.gid || '',
|
|
|
+ }
|
|
|
+ U.MD.D.I.openInApplication("opencCscl", _data)
|
|
|
}
|
|
|
-
|
|
|
});
|
|
|
|
|
|
U.MD.D.I.selectUser = function() {
|
|
|
@@ -2642,7 +2654,7 @@ U.MD.D.I.openInApplication = function(str, data, screenType, tType) {
|
|
|
_taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "課程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
break;
|
|
|
}
|
|
|
- case "dataClass":
|
|
|
+ case "dataClass":
|
|
|
if (!_userinfo || Object.keys(_userinfo).length === 0) {
|
|
|
setTimeout(() => {
|
|
|
U.MD.U.L.login();
|
|
|
@@ -2660,8 +2672,25 @@ U.MD.D.I.openInApplication = function(str, data, screenType, tType) {
|
|
|
_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 "opencCscl":
|
|
|
+ if (!_userinfo || Object.keys(_userinfo).length === 0) {
|
|
|
+ setTimeout(() => {
|
|
|
+ U.MD.U.L.login();
|
|
|
+ }, 2000);
|
|
|
+ } else {
|
|
|
+ _formdiv = new U.UF.UI.form(
|
|
|
+ "協同建構",
|
|
|
+ $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn?cid="+ data.cid + "&gid=" + data.gid }), {
|
|
|
+ "id": "futureClass",
|
|
|
+ "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/futureClass.png)" }, "name": "協同建構", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
+ break;
|
|
|
+ }
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
U.MD.D.I.openApplication = function(str, obj, info) {
|
|
|
obj = obj || {};
|
|
|
@@ -3104,7 +3133,7 @@ U.MD.D.I.openApplication = function(str, obj, info) {
|
|
|
|
|
|
_formdiv = new U.UF.UI.form(
|
|
|
"學生管理",
|
|
|
- $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/student?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org }), {
|
|
|
+ $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/student?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org + "&role=" + _role }), {
|
|
|
"id": "student",
|
|
|
"style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
|
"onresize": function() {}
|
|
|
@@ -3133,7 +3162,7 @@ U.MD.D.I.openApplication = function(str, obj, info) {
|
|
|
"目標管理",
|
|
|
$$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
|
|
|
"id": "sys",
|
|
|
- "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
|
+ "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
|
|
|
"onresize": function() {}
|
|
|
}, {
|
|
|
closecallback: function() {}
|
|
|
@@ -3558,7 +3587,7 @@ U.MD.D.I.openApplication = function(str, obj, info) {
|
|
|
"目標管理",
|
|
|
$$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
|
|
|
"id": "sys",
|
|
|
- "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
|
+ "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
|
|
|
"onresize": function() {}
|
|
|
}, {
|
|
|
closecallback: function() {}
|
|
|
@@ -4252,6 +4281,32 @@ U.MD.D.I.openApplication = function(str, obj, info) {
|
|
|
}, { "style": { "height": "36px" } }).form; //創建窗體
|
|
|
_taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI協同", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
|
|
|
+ break;
|
|
|
+ case "futureClass": //AI共創
|
|
|
+ _formdiv = new U.UF.UI.form(
|
|
|
+ "協同建構",
|
|
|
+ $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {//https://cscl.cocorobo.cn
|
|
|
+ "id": "synergyCourse",
|
|
|
+ "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
|
|
|
+ "onresize": function() {}
|
|
|
+ }, {
|
|
|
+ closecallback: function() {}
|
|
|
+ }, { "style": { "height": "36px" } }).form; //創建窗體
|
|
|
+ _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/futureClass.png)" }, "name": "協同建構", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
+
|
|
|
+ break;
|
|
|
+ case "dataBoard": //數據看板
|
|
|
+ _formdiv = new U.UF.UI.form(
|
|
|
+ "數據看板",
|
|
|
+ $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoard?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
|
|
|
+ "id": "dataBoard",
|
|
|
+ "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
|
|
|
+ "onresize": function() {}
|
|
|
+ }, {
|
|
|
+ closecallback: function() {}
|
|
|
+ }, { "style": { "height": "36px" } }).form; //創建窗體
|
|
|
+ _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoard.png)" }, "name": "數據看板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
+
|
|
|
break;
|
|
|
case "AIAnalyse": //AI共創
|
|
|
_formdiv = new U.UF.UI.form(
|