Sfoglia il codice sorgente

Merge branch 'beta'

lsc 1 anno fa
parent
commit
143d02ff9d
3 ha cambiato i file con 40 aggiunte e 6 eliminazioni
  1. BIN
      img/icon/qhBg.jpg
  2. 35 1
      js/Desktop/DeskTop.js
  3. 5 5
      js/Desktop/Onload.js

BIN
img/icon/qhBg.jpg


+ 35 - 1
js/Desktop/DeskTop.js

@@ -1532,7 +1532,7 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
         )
         )
     }
     }
 
 
-    if (_oid == "215340ee-8f22-11ee-b98c-005056b86db5") {
+    if (_oid == "215340ee-8f22-11ee-b98c-005056b86db5" || _oid == "1bc66f4e-8798-11ee-b98c-005056b86db5") {
         _teacherDesktopIconInfo.push(
         _teacherDesktopIconInfo.push(
             { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
             { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
         )
         )
@@ -3478,6 +3478,40 @@ U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
                 }, { "style": { "height": "36px" } }).form; //创建窗体
                 }, { "style": { "height": "36px" } }).form; //创建窗体
                 break;
                 break;
             }
             }
+        case "dataBoardSZArea":
+            if (!_userinfo || Object.keys(_userinfo).length === 0) {
+                setTimeout(() => {
+                    U.MD.U.L.login();
+                }, 2000);
+            } else {
+                _formdiv = new U.UF.UI.form(
+                    "综合数据看板",
+                    $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/sz/dataBoardArea?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
+                    "id": "dataBoardSZArea",
+                    "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
+                    "onresize": function () { }
+                }, {
+                    closecallback: function () { }
+                }, { "style": { "height": "36px" } }).form; //创建窗体
+                break;
+            }
+        case "dataBoardSZCity":
+            if (!_userinfo || Object.keys(_userinfo).length === 0) {
+                setTimeout(() => {
+                    U.MD.U.L.login();
+                }, 2000);
+            } else {
+                _formdiv = new U.UF.UI.form(
+                    "综合数据看板",
+                    $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/sz/dataBoardCity?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
+                    "id": "dataBoardSZCity",
+                    "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
+                    "onresize": function () { }
+                }, {
+                    closecallback: function () { }
+                }, { "style": { "height": "36px" } }).form; //创建窗体
+                break;
+            }
     }
     }
 }
 }
 U.MD.D.I.openApplication = function (str, obj, info) {
 U.MD.D.I.openApplication = function (str, obj, info) {

+ 5 - 5
js/Desktop/Onload.js

@@ -438,8 +438,8 @@ U.MD.D.getuser = function () {
                                         $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/chjyjBg.png")'
                                         $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/chjyjBg.png")'
                                         US.Config.background = 'url("/img/icon/chjyjBg.png")'
                                         US.Config.background = 'url("/img/icon/chjyjBg.png")'
                                     } else if (res.value[0][0].org == '2a9f32ea-88df-49eb-aba1-0a286f691474') {
                                     } else if (res.value[0][0].org == '2a9f32ea-88df-49eb-aba1-0a286f691474') {
-                                        $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/qhBg.png")'
-                                        US.Config.background = 'url("/img/icon/qhBg.png")'
+                                        $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/qhBg.jpg")'
+                                        US.Config.background = 'url("/img/icon/qhBg.jpg")'
                                     }
                                     }
                             
                             
                                     
                                     
@@ -557,7 +557,7 @@ U.MD.D.getuser = function () {
             } else if (userInfo.org == '2fa75e51-189a-11ee-91d8-005056b86db5') {
             } else if (userInfo.org == '2fa75e51-189a-11ee-91d8-005056b86db5') {
                 $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/chjyjBg.png")'
                 $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/chjyjBg.png")'
             } else if (userInfo.org == '2a9f32ea-88df-49eb-aba1-0a286f691474') {
             } else if (userInfo.org == '2a9f32ea-88df-49eb-aba1-0a286f691474') {
-                $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/qhBg.png")'
+                $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/qhBg.jpg")'
             }
             }
         }
         }
     }
     }
@@ -669,8 +669,8 @@ U.MD.D.getuser2 = function (userid, cid) {
             $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/chjyjBg.png")'
             $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/chjyjBg.png")'
             US.Config.background = 'url("/img/icon/chjyjBg.png")'
             US.Config.background = 'url("/img/icon/chjyjBg.png")'
         } else if (res.value[0][0].org == '2a9f32ea-88df-49eb-aba1-0a286f691474') {
         } else if (res.value[0][0].org == '2a9f32ea-88df-49eb-aba1-0a286f691474') {
-            $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/qhBg.png")'
-            US.Config.background = 'url("/img/icon/qhBg.png")'
+            $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/qhBg.jpg")'
+            US.Config.background = 'url("/img/icon/qhBg.jpg")'
         }
         }
 
 
         US.userInfo = res.value[0][0];
         US.userInfo = res.value[0][0];