|
@@ -3123,6 +3123,8 @@ window.addEventListener('message', function (e) { // 监听 message 事件
|
|
U.MD.D.I.openInApplication("hanUrl", '', '', '')
|
|
U.MD.D.I.openInApplication("hanUrl", '', '', '')
|
|
} else if (e.data.tools && e.data.tools == "46") {
|
|
} else if (e.data.tools && e.data.tools == "46") {
|
|
U.MD.D.I.openApplication("project")
|
|
U.MD.D.I.openApplication("project")
|
|
|
|
+ } else if (e.data.tools && e.data.tools == "71") {
|
|
|
|
+ U.MD.D.I.openApplication("aigptCourse")
|
|
} else if (e.data.tools && e.data.tools == "1s") {
|
|
} else if (e.data.tools && e.data.tools == "1s") {
|
|
U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
|
|
U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
|
|
} else if (e.data.tools && e.data.tools == "3s") {
|
|
} else if (e.data.tools && e.data.tools == "3s") {
|
|
@@ -5412,8 +5414,20 @@ U.MD.D.I.openApplication = function (str, obj, info) {
|
|
}, {
|
|
}, {
|
|
closecallback: function () { }
|
|
closecallback: function () { }
|
|
}, { "style": { "height": "36px" } }).form; //创建窗体
|
|
}, { "style": { "height": "36px" } }).form; //创建窗体
|
|
- _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Record.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
|
|
|
+ _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Record.png)" }, "name": "观察记录", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
|
|
break;
|
|
break;
|
|
|
|
+ case "aigptCourse":
|
|
|
|
+ _formdiv = new U.UF.UI.form(
|
|
|
|
+ "AI智能体",
|
|
|
|
+ $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aigpt/?userid" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role + '#/AgentVue' }), {
|
|
|
|
+ "id": "aigptCourse",
|
|
|
|
+ "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/aigptCourse.png)" }, "name": "AI智能体", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
|
+ break;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|