lsc 2 years ago
parent
commit
12e9da411d
1 changed files with 12 additions and 12 deletions
  1. 12 12
      js/Desktop/DeskTop.js

+ 12 - 12
js/Desktop/DeskTop.js

@@ -1846,18 +1846,6 @@ U.MD.D.I.openApplication = function(str, obj, info) {
                     }, { "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;
-            case "demoIndex":
-                    _formdiv = new U.UF.UI.form(
-                        "学习中心",
-                        $$("iframe", { "allow": "display-capture","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 + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), { //https://pbl.cocorobo.cn/pbl-student-table/dist/#/index
-                        "id": "studentStudy",
-                        "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/study.png)" }, "name": "学习中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
-                    break;
     
         }
     } else if (!_type) {
@@ -2244,6 +2232,18 @@ U.MD.D.I.openApplication = function(str, obj, info) {
                 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/number.png)" }, "name": "数字实验室", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
 
                 break;  
+            case "demoIndex":
+                    _formdiv = new U.UF.UI.form(
+                        "学习中心",
+                        $$("iframe", { "allow": "display-capture","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 + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), { //https://pbl.cocorobo.cn/pbl-student-table/dist/#/index
+                        "id": "studentStudy",
+                        "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/study.png)" }, "name": "学习中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
+                    break;
     }