lsc 2 år sedan
förälder
incheckning
f57eaf494d
1 ändrade filer med 9 tillägg och 9 borttagningar
  1. 9 9
      js/Desktop/DeskTop.js

+ 9 - 9
js/Desktop/DeskTop.js

@@ -174,7 +174,7 @@ U.MD.D.I.initDesktopIcons = function(el) {
     //清楚桌面图标
     el.innerHTML = "";
     //循环创建桌面图标
-    if ((_type == 2 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
+    if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
         for (i = 0; i < _studentDesktopIconInfo.length; i++) {
             _content = $$("div", {
                 className: "U_MD_D_KO",
@@ -191,7 +191,7 @@ U.MD.D.I.initDesktopIcons = function(el) {
             $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
             $$("div", { className: "U_MD_D_KOX", "style": { "cssText": "text-shadow: rgb(100 100 100) 2px 1px 3px, rgb(102 102 102) 0px 1px 0px, rgb(85 85 85) -1px 0px 0px, rgb(153 153 153) 0px -1px 0px; -webkit-text-shadow: rgb(100 100 100) 2px 1px 3px, rgb(102 102 102) 0px 1px 0px, rgb(85 85 85) -1px 0px 0px, rgb(153 153 153) 0px -1px 0px; -moz-text-shadow: rgb(100 100 100) 2px 1px 3px, rgb(102 102 102) 0px 1px 0px, rgb(85 85 85) -1px 0px 0px, rgb(153 153 153) 0px -1px 0px; filter: Glow(color=#777777, strength=1)\9;" }, "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
         }
-    } else if (_type == 1 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
+    } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
         for (i = 0; i < _orgDesktopIconInfo.length; i++) {
             _content = $$("div", {
                 className: "U_MD_D_KO",
@@ -208,7 +208,7 @@ U.MD.D.I.initDesktopIcons = function(el) {
             $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
             $$("div", { className: "U_MD_D_KOX", "style": { "cssText": "text-shadow: rgb(100 100 100) 2px 1px 3px, rgb(102 102 102) 0px 1px 0px, rgb(85 85 85) -1px 0px 0px, rgb(153 153 153) 0px -1px 0px; -webkit-text-shadow: rgb(100 100 100) 2px 1px 3px, rgb(102 102 102) 0px 1px 0px, rgb(85 85 85) -1px 0px 0px, rgb(153 153 153) 0px -1px 0px; -moz-text-shadow: rgb(100 100 100) 2px 1px 3px, rgb(102 102 102) 0px 1px 0px, rgb(85 85 85) -1px 0px 0px, rgb(153 153 153) 0px -1px 0px; filter: Glow(color=#777777, strength=1)\9;" }, "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
         }
-    } else if (_type == 1 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
+    } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
         for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
             _content = $$("div", {
                 className: "U_MD_D_KO",
@@ -225,7 +225,7 @@ U.MD.D.I.initDesktopIcons = function(el) {
             $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
             $$("div", { className: "U_MD_D_KOX", "style": { "cssText": "text-shadow: rgb(100 100 100) 2px 1px 3px, rgb(102 102 102) 0px 1px 0px, rgb(85 85 85) -1px 0px 0px, rgb(153 153 153) 0px -1px 0px; -webkit-text-shadow: rgb(100 100 100) 2px 1px 3px, rgb(102 102 102) 0px 1px 0px, rgb(85 85 85) -1px 0px 0px, rgb(153 153 153) 0px -1px 0px; -moz-text-shadow: rgb(100 100 100) 2px 1px 3px, rgb(102 102 102) 0px 1px 0px, rgb(85 85 85) -1px 0px 0px, rgb(153 153 153) 0px -1px 0px; filter: Glow(color=#777777, strength=1)\9;" }, "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
         }
-    } else if (_type == 1 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
+    } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
         for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
             _content = $$("div", {
                 className: "U_MD_D_KO",
@@ -242,7 +242,7 @@ U.MD.D.I.initDesktopIcons = function(el) {
             $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
             $$("div", { className: "U_MD_D_KOX", "style": { "cssText": "text-shadow: rgb(100 100 100) 2px 1px 3px, rgb(102 102 102) 0px 1px 0px, rgb(85 85 85) -1px 0px 0px, rgb(153 153 153) 0px -1px 0px; -webkit-text-shadow: rgb(100 100 100) 2px 1px 3px, rgb(102 102 102) 0px 1px 0px, rgb(85 85 85) -1px 0px 0px, rgb(153 153 153) 0px -1px 0px; -moz-text-shadow: rgb(100 100 100) 2px 1px 3px, rgb(102 102 102) 0px 1px 0px, rgb(85 85 85) -1px 0px 0px, rgb(153 153 153) 0px -1px 0px; filter: Glow(color=#777777, strength=1)\9;" }, "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
         }
-    } else if ((_type == 2 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
+    } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
         for (i = 0; i < _studentDesktopIconInfo.length; i++) {
             _content = $$("div", {
                 className: "U_MD_D_KO",
@@ -618,7 +618,7 @@ U.MD.D.I.openApplication = function(str, obj, info) {
         _TscreenType = 1
     _screenType = 2,
         _SscreenType = 3;
-    if ((_type == 2 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
+    if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
         switch (str) {
 
             case "studnetProject": //好友打开
@@ -819,7 +819,7 @@ U.MD.D.I.openApplication = function(str, obj, info) {
                 break;
 
         }
-    } else if ((_type == 2 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
+    } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
         switch (str) {
 
             case "studnetProject": //好友打开
@@ -1020,7 +1020,7 @@ U.MD.D.I.openApplication = function(str, obj, info) {
                 break;
 
         }
-    } else if (_type == 1 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
+    } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
         //选择应用处理
         switch (str) {
 
@@ -1297,7 +1297,7 @@ U.MD.D.I.openApplication = function(str, obj, info) {
                 }, 0);
                 break;
         }
-    } else if (_type == 1 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
+    } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
         switch (str) {
             case "project": //好友打开