|
@@ -1532,7 +1532,7 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
)
|
|
|
}
|
|
|
|
|
|
- if (_oid == "215340ee-8f22-11ee-b98c-005056b86db5") {
|
|
|
+ if (_oid == "215340ee-8f22-11ee-b98c-005056b86db5" || _oid == "1bc66f4e-8798-11ee-b98c-005056b86db5") {
|
|
|
_teacherDesktopIconInfo.push(
|
|
|
{ "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
|
|
|
)
|
|
@@ -3191,6 +3191,10 @@ window.addEventListener('message', function (e) { // 監聽 message 事件
|
|
|
U.MD.D.I.openInApplication("opencCscl", _data)
|
|
|
} else if (e.data.tools && e.data.tools == "dataBoardTest") {
|
|
|
U.MD.D.I.openApplication("dataBoardTest")
|
|
|
+ } else if (e.data.tools && e.data.tools == "openCourseUpdate") {
|
|
|
+ U.MD.D.I.openInApplication("openCourseUpdate", e.data.cid)
|
|
|
+ }else if (e.data.tools && e.data.tools == "openCourseEUpdate") {
|
|
|
+ U.MD.D.I.openInApplication("openCourseEUpdate", e.data.cid)
|
|
|
}
|
|
|
});
|
|
|
|
|
@@ -3426,8 +3430,7 @@ U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
|
|
|
"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); } }
|
|
|
+ }, { "style": { "height": "36px" } }).form; //创建窗体
|
|
|
break;
|
|
|
}
|
|
|
case "openCourseEUpdate":
|
|
@@ -3444,8 +3447,69 @@ U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
|
|
|
"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); } }
|
|
|
+ }, { "style": { "height": "36px" } }).form; //创建窗体
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case "inviteLoginSz":
|
|
|
+ _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": US.Config.bpbl + "/pbl-teacher-table/dist/#/inviteLoginSZ?code=" + data }), {
|
|
|
+ "id": "inviteLoginSz",
|
|
|
+ "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
|
+ "onresize": function () { }
|
|
|
+ }, {
|
|
|
+ closecallback: function () { }
|
|
|
+ }, { "style": { "height": "36px" } }).form; //创建窗体
|
|
|
+ break;
|
|
|
+ case "teacher":
|
|
|
+ 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": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacher?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
|
|
|
+ "id": "teacher",
|
|
|
+ "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
|
+ "onresize": function () { }
|
|
|
+ }, {
|
|
|
+ closecallback: function () { }
|
|
|
+ }, { "style": { "height": "36px" } }).form; //创建窗体
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case "dataBoardSZArea":
|
|
|
+ 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": US.Config.bpbl + "/pbl-teacher-table/dist/#/sz/dataBoardArea?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
|
|
|
+ "id": "dataBoardSZArea",
|
|
|
+ "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
|
|
|
+ "onresize": function () { }
|
|
|
+ }, {
|
|
|
+ closecallback: function () { }
|
|
|
+ }, { "style": { "height": "36px" } }).form; //创建窗体
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case "dataBoardSZCity":
|
|
|
+ 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": US.Config.bpbl + "/pbl-teacher-table/dist/#/sz/dataBoardCity?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
|
|
|
+ "id": "dataBoardSZCity",
|
|
|
+ "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
|
|
|
+ "onresize": function () { }
|
|
|
+ }, {
|
|
|
+ closecallback: function () { }
|
|
|
+ }, { "style": { "height": "36px" } }).form; //创建窗体
|
|
|
break;
|
|
|
}
|
|
|
}
|