Browse Source

我的 资料

lsc 2 years ago
parent
commit
8b72eed740
1 changed files with 15 additions and 0 deletions
  1. 15 0
      js/Desktop/DeskTop.js

+ 15 - 0
js/Desktop/DeskTop.js

@@ -1414,6 +1414,21 @@ U.MD.D.I.openApplication = function (str, obj, info) {
                 _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;
         }
+    }else if(!_type){
+        switch(str){
+            case "my":
+                _formdiv = new U.UF.UI.form(
+                    "我的资料",
+                    $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/data?userid=" + _userid }), {
+                    "id": "my",
+                    "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
+                    "onresize": function () { }
+                }, {
+                    closecallback: function () { }
+                }, { "style": { "height": "36px" } }).form; //创建窗体
+                _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
+                break;
+        }
     }
 
     switch (str) {