|
@@ -487,9 +487,9 @@ window.addEventListener('message', function (e) { // 监听 message 事件
|
|
|
U.MD.D.I.openApplication("AIprogram")
|
|
|
} else if (e.data.tools && e.data.tools == "25") {
|
|
|
U.MD.D.I.openApplication("sys")
|
|
|
- }
|
|
|
- else if (e.data.tools && e.data.tools == "26") {
|
|
|
- U.MD.D.I.openApplication("courseDesign")
|
|
|
+ }else if (e.data.tools && e.data.tools == "26") {
|
|
|
+ // U.MD.D.I.openApplication("courseDesign")
|
|
|
+ U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
|
|
|
}
|
|
|
});
|
|
|
|
|
@@ -1956,6 +1956,50 @@ U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
|
|
|
}
|
|
|
}
|
|
|
break;
|
|
|
+ case "courseDesign":
|
|
|
+ _iframe = $$("iframe", {
|
|
|
+ "webkitallowfullscreen": "",
|
|
|
+ "mozallowfullscreen": "",
|
|
|
+ "allowfullscreen": "",
|
|
|
+ "frameborder": "no",
|
|
|
+ "border": "0",
|
|
|
+ "scrolling ": "no",
|
|
|
+ "style": {
|
|
|
+ "cssText": "border:0; width:100%; height:100%;"
|
|
|
+ },
|
|
|
+ "src": "/course-design/index.html"
|
|
|
+ })
|
|
|
+ _box.appendChild(_iframe);
|
|
|
+ _box.appendChild(_jie);
|
|
|
+ _formdiv = new U.UF.UI.form(
|
|
|
+ "课程设计",
|
|
|
+ _box, {
|
|
|
+ "id": "courseDesign",
|
|
|
+ "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/courseDesign.png)"
|
|
|
+ },
|
|
|
+ "name": "课程设计",
|
|
|
+ "forms": _formdiv,
|
|
|
+ "click": function () {
|
|
|
+ U.MD.D.I.openApplication(str, obj, info);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ break;
|
|
|
}
|
|
|
const script1 = document.createElement("script");
|
|
|
script1.type = "text/javascript";
|