Browse Source

Merge branch 'beta' into HK

lsc 1 year ago
parent
commit
f2c838b365
1 changed files with 146 additions and 57 deletions
  1. 146 57
      js/Desktop/DeskTop.js

+ 146 - 57
js/Desktop/DeskTop.js

@@ -599,7 +599,14 @@ U.MD.D.I.hkteacherDeskIcon = [
     { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
 ];
 
-//雲海
+//hk
+U.MD.D.I.hkStudentDeskIcon = [
+    { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
+    { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
+    { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
+];
+
+//云海
 U.MD.D.I.yunhaiTeacherDeskIcon = [
     { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
     { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
@@ -615,6 +622,34 @@ U.MD.D.I.yunhaiTeacherDeskIcon = [
     { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
     { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
 ];
+
+//福田
+U.MD.D.I.heyuanTeacherDeskIcon = [
+    { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
+    { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
+    { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
+    { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
+    { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
+    { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
+    { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
+    // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
+    // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
+    { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
+];
+
+//福田
+U.MD.D.I.heyuanAdminDeskIcon = [
+    { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
+    { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
+    { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
+    { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
+    { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
+    { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
+    { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
+    { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
+    { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
+];
+
 //#region 桌面初始化a
 
 /**
@@ -731,20 +766,23 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
         _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon,//騰訊學生
         _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon,//福田
         _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon,//福田
-        _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon,//福田
-        _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon,//福田
+        _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon,//福田
+        _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon,//福田
+        _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon,//
+        _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon,//
         _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon,//lotech
         _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon,//龍華中心
         _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon,//龍華中心
         _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon,//騰訊學生
         _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon,//hk
-        _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon,//雲海
-        _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon,//網絡夏令營
-        _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon,//網絡夏令營
-        _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon;//網絡夏令營
+        _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon,//hk
+        _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon,//云海
+        _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon,//网络夏令营
+        _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon,//网络夏令营
+        _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon;//网络夏令营
     var _oidA = ['69893dca-1d47-11ed-8c78-005056b86db5', "91305d49-01ba-11ed-8c78-005056b86db5", "d9db3320-503a-11ed-8c78-005056b86db5", "05b62310-8cda-11ed-b13d-005056b86db5", '1c3b9def-8fbe-11ed-b13d-005056b86db5', '91305d49-01ba-11ed-8c78-005056b86db4','ea2a8c65-f38c-11ed-91d8-005056b86db5','4c686762-1d0a-11ed-8c78-005056b86db5','b1095a3c-1d06-4ac8-854f-7c0d97f4ab41'];
-    var _orgA = ["7ada499f-4ec7-11ed-8c78-005056b86db5", "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d", "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b", "150e3120-9195-11ed-b13d-005056b86db5", "ee40e8e3-e36c-4872-8105-cf395481012s", '97c4ee8b-d010-4042-986d-e9d3c217264f','ec0af97a-7c10-4259-a7eb-db9cc8174cdc','4df1b570-f6ac-48fc-8d50-d0b157dae776','e632b86c-f89d-11ed-91d8-005056b86db5','b50cf65a-001c-11ee-91d8-005056b86db5'];
-    //清楚桌面圖標
+    var _orgA = ["7ada499f-4ec7-11ed-8c78-005056b86db5", "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d", "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b", "150e3120-9195-11ed-b13d-005056b86db5", "ee40e8e3-e36c-4872-8105-cf395481012s", '97c4ee8b-d010-4042-986d-e9d3c217264f','ec0af97a-7c10-4259-a7eb-db9cc8174cdc','4df1b570-f6ac-48fc-8d50-d0b157dae776','e632b86c-f89d-11ed-91d8-005056b86db5','b50cf65a-001c-11ee-91d8-005056b86db5','578de748-05d2-11ee-91d8-005056b86db5'];
+    //清楚桌面图标
     el.innerHTML = "";
     if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == '45facc0a-1211-11ec-80ad-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
         _teacherDesktopIconInfo.push(
@@ -797,6 +835,23 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
                 $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
                 $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
             }
+        }else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
+            for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
+                _content = $$("div", {
+                    className: "U_MD_D_KO",
+                    "onmousedown": U.UF.C.closure(function (obj) {
+                        //防止拖动图标即打开了桌面应用
+                        U.MD.D.click(this, obj);
+                    }, [_hkStudentDeskIconInfo[i]]),
+                    "onclick": U.UF.C.closure(function (obj) {
+                        //防止拖动图标即打开了桌面应用
+                        U.MD.D.click(this, obj);
+                    }, [_hkStudentDeskIconInfo[i]])
+                }, _frag); // 
+                _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
+                $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
+                $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
+            }
         } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
             for (i = 0; i < _studentDesktopIconInfo.length; i++) {
                 _content = $$("div", {
@@ -1000,7 +1055,7 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
                 _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
                 $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
                 $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
-            }
+            }//_hkStudentDeskIconInfo
         }else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
             for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
                 _content = $$("div", {
@@ -1052,6 +1107,40 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
                 $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
                 $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
             }
+        }else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
+            for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
+                _content = $$("div", {
+                    className: "U_MD_D_KO",
+                    "onmousedown": U.UF.C.closure(function (obj) {
+                        //防止拖动图标即打开了桌面应用
+                        U.MD.D.click(this, obj);
+                    }, [_heyuannAdminDeskIconInfo[i]]),
+                    "onclick": U.UF.C.closure(function (obj) {
+                        //防止拖动图标即打开了桌面应用
+                        U.MD.D.click(this, obj);
+                    }, [_heyuannAdminDeskIconInfo[i]])
+                }, _frag); // 
+                _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
+                $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
+                $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
+            }
+        }else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
+            for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
+                _content = $$("div", {
+                    className: "U_MD_D_KO",
+                    "onmousedown": U.UF.C.closure(function (obj) {
+                        //防止拖动图标即打开了桌面应用
+                        U.MD.D.click(this, obj);
+                    }, [_heyuanTeacherDeskIconInfo[i]]),
+                    "onclick": U.UF.C.closure(function (obj) {
+                        //防止拖动图标即打开了桌面应用
+                        U.MD.D.click(this, obj);
+                    }, [_heyuanTeacherDeskIconInfo[i]])
+                }, _frag); // 
+                _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
+                $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
+                $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
+            }
         }else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
             for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
                 _content = $$("div", {
@@ -1865,8 +1954,8 @@ U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
                 }, 2000);
             } else {
                 _formdiv = new U.UF.UI.form(
-                    "課程詳情",
-                    $$("iframe", { "allow": "camera *; microphone *;display-capture", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailNT?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
+                    "课程详情",
+                    $$("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-student-table/dist/#/courseDetailNT?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
                     "id": "studyDetailNT",
                     "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
                     "onresize": function () { }
@@ -1883,8 +1972,8 @@ U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
                 }, 2000);
             } else {
                 _formdiv = new U.UF.UI.form(
-                    "課程詳情",
-                    $$("iframe", { "allow": "camera *; microphone *;display-capture", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetail?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
+                    "课程详情",
+                    $$("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-student-table/dist/#/courseDetail?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
                     "id": "studyDetail",
                     "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
                     "onresize": function () { }
@@ -1901,8 +1990,8 @@ U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
                 }, 2000);
             } else {
                 _formdiv = new U.UF.UI.form(
-                    "項目詳情",
-                    $$("iframe", { "allow": "camera *; microphone *;display-capture", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
+                    "项目详情",
+                    $$("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-student-table/dist/#/courseDetailS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
                     "id": "studyDetailS",
                     "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
                     "onresize": function () { }
@@ -1919,8 +2008,8 @@ U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
                 }, 2000);
             } else {
                 _formdiv = new U.UF.UI.form(
-                    "工作情",
-                    $$("iframe", { "allow": "camera *; microphone *;display-capture", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailStudio?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
+                    "工作情",
+                    $$("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-student-table/dist/#/courseDetailStudio?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
                     "id": "studyDetailStudio",
                     "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
                     "onresize": function () { }
@@ -1937,8 +2026,8 @@ U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
                 }, 2000);
             } else {
                 _formdiv = new U.UF.UI.form(
-                    "項目詳情",
-                    $$("iframe", { "allow": "camera *; microphone *;display-capture", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/studyStudentS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
+                    "项目详情",
+                    $$("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-student-table/dist/#/studyStudentS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
                     "id": "studyDetailS",
                     "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
                     "onresize": function () { }
@@ -1955,8 +2044,8 @@ U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
                 }, 2000);
             } else {
                 _formdiv = new U.UF.UI.form(
-                    "課程詳情",
-                    $$("iframe", { "allow": "camera *; microphone *;display-capture", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
+                    "课程详情",
+                    $$("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-student-table/dist/#/courseDetailGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
                     "id": "studyDetail",
                     "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
                     "onresize": function () { }
@@ -1973,8 +2062,8 @@ U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
                 }, 2000);
             } else {
                 _formdiv = new U.UF.UI.form(
-                    "漢字宮",
-                    $$("iframe", { "allow": "camera *; microphone *;display-capture", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//school.hanzigon.cn/?appid=734714090237947#/material/video?grade_id=62&lesson_code=621&id=2432" }), {
+                    "汉字宫",
+                    $$("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": "//school.hanzigon.cn/?appid=734714090237947#/material/video?grade_id=62&lesson_code=621&id=2432" }), {
                     "id": "hanUrl",
                     "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
                     "onresize": function () { }
@@ -2152,8 +2241,8 @@ U.MD.D.I.openApplication = function (str, obj, info) {
                 break;
             case "studentStudy":
                 _formdiv = new U.UF.UI.form(
-                    "程中心",
-                    $$("iframe", { "allow": "camera *; microphone *;display-capture", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), { //https://beta.pbl.cocorobo.cn/pbl-student-table/dist/#/index
+                    "程中心",
+                    $$("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-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), { //https://beta.pbl.cocorobo.cn/pbl-student-table/dist/#/index
                     "id": "studentStudy",
                     "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
                     "onresize": function () { }
@@ -2366,8 +2455,8 @@ U.MD.D.I.openApplication = function (str, obj, info) {
                 break;
             case "studentStudy":
                 _formdiv = new U.UF.UI.form(
-                    "程中心",
-                    $$("iframe", { "allow": "camera *; microphone *;display-capture", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), { //https://beta.pbl.cocorobo.cn/pbl-student-table/dist/#/index
+                    "程中心",
+                    $$("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-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), { //https://beta.pbl.cocorobo.cn/pbl-student-table/dist/#/index
                     "id": "studentStudy",
                     "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
                     "onresize": function () { }
@@ -2413,8 +2502,8 @@ U.MD.D.I.openApplication = function (str, obj, info) {
             case "project": //好友打開
 
                 _formdiv = new U.UF.UI.form(
-                    _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作項目':"課程管理",
-                    $$("iframe", { "allow": "camera *; microphone *;display-capture;clipboard-write;clipboard-read", "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/#/course?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
+                    _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目':"课程管理",
+                    $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;clipboard-write;clipboard-read", "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/#/course?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
                     "id": "project",
                     "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
                     "onresize": function () { }
@@ -2629,8 +2718,8 @@ U.MD.D.I.openApplication = function (str, obj, info) {
             case "study":
 
                 _formdiv = new U.UF.UI.form(
-                    "程中心",
-                    $$("iframe", { "allow": "camera *; microphone *;display-capture", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType }), { //https://beta.pbl.cocorobo.cn/pbl-student-table/dist/#/index
+                    "程中心",
+                    $$("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-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType }), { //https://beta.pbl.cocorobo.cn/pbl-student-table/dist/#/index
                     "id": "study",
                     "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
                     "onresize": function () { }
@@ -2688,8 +2777,8 @@ U.MD.D.I.openApplication = function (str, obj, info) {
             case "project": //好友打開
 
                 _formdiv = new U.UF.UI.form(
-                    "程管理",
-                    $$("iframe", { "allow": "camera *; microphone *;display-capture;clipboard-write;clipboard-read", "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/#/course?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
+                    "程管理",
+                    $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;clipboard-write;clipboard-read", "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/#/course?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
                     "id": "project",
                     "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
                     "onresize": function () { }
@@ -2813,8 +2902,8 @@ U.MD.D.I.openApplication = function (str, obj, info) {
             case "study":
 
                 _formdiv = new U.UF.UI.form(
-                    "程中心",
-                    $$("iframe", { "allow": "camera *; microphone *;display-capture", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType }), { //https://beta.pbl.cocorobo.cn/pbl-student-table/dist/#/index
+                    "程中心",
+                    $$("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-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType }), { //https://beta.pbl.cocorobo.cn/pbl-student-table/dist/#/index
                     "id": "study",
                     "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
                     "onresize": function () { }
@@ -2938,7 +3027,7 @@ U.MD.D.I.openApplication = function (str, obj, info) {
         case "CocoPi": //CocoPi
             _formdiv = new U.UF.UI.form(
                 "CocoPi",
-                $$("iframe", { "allow": "camera *; microphone *;display-capture;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pi.cocorobo.hk/?lang=zh-hant" }), {
+                $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pi.cocorobo.hk/?lang=zh-hant" }), {
                 "id": "CocoPi",
                 "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
                 "onresize": function () { }
@@ -2949,8 +3038,8 @@ U.MD.D.I.openApplication = function (str, obj, info) {
             break;
         case "Wood": //Wood
             _formdiv = new U.UF.UI.form(
-                "海龜編程",
-                $$("iframe", { "allow": "camera *; microphone *;display-capture;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://wood.codemao.cn/" }), {
+                "海龟编程",
+                $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://wood.codemao.cn/" }), {
                 "id": "Wood",
                 "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
                 "onresize": function () { }
@@ -2961,8 +3050,8 @@ U.MD.D.I.openApplication = function (str, obj, info) {
             break;
         case "car": //模擬駕駛
             _formdiv = new U.UF.UI.form(
-                "模擬駕駛",
-                $$("iframe", { "allow": "camera *; microphone *;display-capture;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://slowroads.io/" }), {
+                "模拟驾驶",
+                $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://slowroads.io/" }), {
                 "id": "car",
                 "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
                 "onresize": function () { }
@@ -2973,8 +3062,8 @@ U.MD.D.I.openApplication = function (str, obj, info) {
             break;
         case "lineSearch": //路徑搜索
             _formdiv = new U.UF.UI.form(
-                "路搜索",
-                $$("iframe", { "allow": "camera *; microphone *;display-capture;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://qiao.github.io/PathFinding.js/visual/" }), {
+                "路搜索",
+                $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://qiao.github.io/PathFinding.js/visual/" }), {
                 "id": "lineSearch",
                 "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
                 "onresize": function () { }
@@ -2985,8 +3074,8 @@ U.MD.D.I.openApplication = function (str, obj, info) {
             break;
         case "deepLearning": //深度學習
             _formdiv = new U.UF.UI.form(
-                "深度學習",
-                $$("iframe", { "allow": "camera *; microphone *;display-capture;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-demos.cocorobo.cn/teachable-machine/public/#" }), {
+                "深度学习",
+                $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-demos.cocorobo.cn/teachable-machine/public/#" }), {
                 "id": "deepLearning",
                 "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
                 "onresize": function () { }
@@ -2997,8 +3086,8 @@ U.MD.D.I.openApplication = function (str, obj, info) {
             break;
         case "allHistory": //深度學習
             _formdiv = new U.UF.UI.form(
-                "全史",
-                $$("iframe", { "allow": "camera *; microphone *;display-capture;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.allhistory.com/" }), {
+                "全史",
+                $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.allhistory.com/" }), {
                 "id": "allHistory",
                 "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
                 "onresize": function () { }
@@ -3070,7 +3159,7 @@ U.MD.D.I.openApplication = function (str, obj, info) {
         case "GeoGebra": //GeoGebra
             _formdiv = new U.UF.UI.form(
                 "GeoGebra",
-                $$("iframe", { "allow": "camera *; microphone *;display-capture", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.geogebra.org/calculator" }), {
+                $$("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": "//www.geogebra.org/calculator" }), {
                 "id": "GeoGebra",
                 "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
                 "onresize": function () { }
@@ -3348,8 +3437,8 @@ U.MD.D.I.openApplication = function (str, obj, info) {
             break;
         case "studentCourse": //項目管理 學生
             _formdiv = new U.UF.UI.form(
-                (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "師生項目" : "項目管理",
-                $$("iframe", { "allow": "camera *; microphone *;display-capture", "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/#/studentCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
+                (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
+                $$("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/#/studentCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
                 "id": "studentCourse",
                 "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
                 "onresize": function () { }
@@ -3360,8 +3449,8 @@ U.MD.D.I.openApplication = function (str, obj, info) {
             break;
         case "studentCourseS": //項目管理 老師
             _formdiv = new U.UF.UI.form(
-                (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "師生項目" : "項目管理",
-                $$("iframe", { "allow": "camera *; microphone *;display-capture", "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/#/scourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
+                (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
+                $$("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/#/scourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
                 "id": "studentCourseS",
                 "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
                 "onresize": function () { }
@@ -3372,8 +3461,8 @@ U.MD.D.I.openApplication = function (str, obj, info) {
             break;
         case "studentIndex": //項目中心
             _formdiv = new U.UF.UI.form(
-                "目中心",
-                $$("iframe", { "allow": "camera *; microphone *;display-capture", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/studentIndex?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType + "&role=" + _role }), {
+                "目中心",
+                $$("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-student-table/dist/#/studentIndex?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType + "&role=" + _role }), {
                 "id": "studentIndex",
                 "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
                 "onresize": function () { }
@@ -6384,7 +6473,7 @@ U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
                 aTool = 57;
                 _iframe = $$("iframe", {
                     "allowpaymentrequest":"allowpaymentrequest",
-                    "allow": "camera *; microphone *;display-capture;usb",
+                    "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
                     "webkitallowfullscreen": "", "mozallowfullscreen": "",
                     "frameborder": "no",
                     "border": "0",
@@ -6652,7 +6741,7 @@ U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
             aTool = 57;
             _iframe = $$("iframe", {
                 "allowpaymentrequest":"allowpaymentrequest",
-                "allow": "camera *; microphone *;display-capture;usb",
+                "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
                 "webkitallowfullscreen": "", "mozallowfullscreen": "",
                 "frameborder": "no",
                 "border": "0",
@@ -6788,7 +6877,7 @@ U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, s
             aTool = 57;
             _iframe = $$("iframe", {
                 "allowpaymentrequest":"allowpaymentrequest",
-                "allow": "camera *; microphone *;display-capture;usb",
+                "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
                 "webkitallowfullscreen": "", "mozallowfullscreen": "",
                 "frameborder": "no",
                 "border": "0",