|
@@ -1305,6 +1305,68 @@ U.MD.D.I.ytyStudentDeskIcon = [
|
|
|
{ "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
|
|
|
];
|
|
|
|
|
|
+//scnuai
|
|
|
+U.MD.D.I.scnuaiTeacherDeskIcon = [
|
|
|
+ { "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": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
|
|
|
+ { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
|
|
|
+ { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
|
|
|
+ // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.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)" } },
|
|
|
+ // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
|
|
|
+ { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
|
|
|
+ // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
|
|
|
+ { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
|
|
|
+ { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
|
|
|
+ { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
|
|
|
+ // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
|
|
|
+ { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
|
|
|
+ { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
|
|
|
+ { "Name": "学生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
|
|
|
+];
|
|
|
+
|
|
|
+//scnuai
|
|
|
+U.MD.D.I.scnuaiAdminDeskIcon = [
|
|
|
+ { "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": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
|
|
|
+ { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
|
|
|
+ { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
|
|
|
+ // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.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)" } },
|
|
|
+ // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
|
|
|
+ { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
|
|
|
+ // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
|
|
|
+ { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
|
|
|
+ { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
|
|
|
+ { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
|
|
|
+ // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
|
|
|
+ { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
|
|
|
+ { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
|
|
|
+ { "Name": "学生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
|
|
|
+];
|
|
|
+
|
|
|
+//scnuai
|
|
|
+U.MD.D.I.scnuaiStudentDeskIcon = [
|
|
|
+ { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
|
|
|
+ { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
|
|
|
+ { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
|
|
|
+ { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
|
|
|
+];
|
|
|
+
|
|
|
|
|
|
//#region 桌面初始化a
|
|
|
|
|
@@ -1463,9 +1525,12 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
_ytyTeacherDeskIconInfo = U.MD.D.I.ytyTeacherDeskIcon, // 盐田幼儿园
|
|
|
_szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
|
|
|
_szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
|
|
|
- _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
|
|
|
+ _scnuaiTeacherDeskIconInfo = U.MD.D.I.scnuaiTeacherDeskIcon, //未来教育基地
|
|
|
+ _scnuaiAdminDeskIconInfo = U.MD.D.I.scnuaiAdminDeskIcon, //scnuai
|
|
|
+ _scnuaiStudentDeskIconInfo = U.MD.D.I.scnuaiStudentDeskIcon, //scnuai
|
|
|
+ _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //scnuai
|
|
|
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', '206c38d2-0cbe-11ee-91d8-005056b86db5', '2f30fe58-a94f-11ee-b534-005056b86db5', 'eaba9110-d1eb-11ee-b534-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', '54f09f1e-09f0-11ee-91d8-005056b86db5', '7b016f69-0f4f-11ee-91d8-005056b86db5', '1973f6c7-1561-11ee-91d8-005056b86db5', '2fa75e51-189a-11ee-91d8-005056b86db5', 'a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956', 'fbb00cc1-380b-4173-add4-59b3cf7682b5', '63060b4a-89dc-4f0c-bf04-a1de22d479ff', '777559d2-7239-11ee-b98c-005056b86db5', '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344'];
|
|
|
+ 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', '54f09f1e-09f0-11ee-91d8-005056b86db5', '7b016f69-0f4f-11ee-91d8-005056b86db5', '1973f6c7-1561-11ee-91d8-005056b86db5', '2fa75e51-189a-11ee-91d8-005056b86db5', 'a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956', 'fbb00cc1-380b-4173-add4-59b3cf7682b5', '63060b4a-89dc-4f0c-bf04-a1de22d479ff', '777559d2-7239-11ee-b98c-005056b86db5', '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344','884c5665-a453-46f3-b7b6-01d575290aa9'];
|
|
|
//清楚桌面图标
|
|
|
el.innerHTML = "";
|
|
|
if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
|
|
@@ -1663,6 +1728,23 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
$$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
|
|
|
$$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
|
|
|
}
|
|
|
+ } else if (_type == 2 && (_org == "884c5665-a453-46f3-b7b6-01d575290aa9")) {
|
|
|
+ for (i = 0; i < _scnuaiStudentDeskIconInfo.length; i++) {
|
|
|
+ _content = $$("div", {
|
|
|
+ className: "U_MD_D_KO",
|
|
|
+ "onmousedown": U.UF.C.closure(function (obj) {
|
|
|
+ //防止拖动图标即打开了桌面应用
|
|
|
+ U.MD.D.click(this, obj);
|
|
|
+ }, [_scnuaiStudentDeskIconInfo[i]]),
|
|
|
+ "onclick": U.UF.C.closure(function (obj) {
|
|
|
+ //防止拖动图标即打开了桌面应用
|
|
|
+ U.MD.D.click(this, obj);
|
|
|
+ }, [_scnuaiStudentDeskIconInfo[i]])
|
|
|
+ }, _frag); //
|
|
|
+ _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
|
|
|
+ $$("div", { className: "U_MD_D_KOS U_Img", "style": _scnuaiStudentDeskIconInfo[i].style }, _iconcontent);
|
|
|
+ $$("div", { className: "U_MD_D_KOX", "innerHTML": _scnuaiStudentDeskIconInfo[i].Name }, _iconcontent);
|
|
|
+ }
|
|
|
} else if (_type == 2 && (_org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344")) {
|
|
|
for (i = 0; i < _caleStudentDeskIconInfo.length; i++) {
|
|
|
_content = $$("div", {
|
|
@@ -1920,6 +2002,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
}
|
|
|
} else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
|
|
|
for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
|
|
|
+ if(_role === 0 && _wanketeacherDesktopIconInfo[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -1952,8 +2037,48 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
$$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
|
|
|
$$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
|
|
|
}
|
|
|
+ } else if ((_type == 1 || _type == 4) && _org == "884c5665-a453-46f3-b7b6-01d575290aa9" && _role == 0) {
|
|
|
+ for (i = 0; i < _scnuaiTeacherDeskIconInfo.length; i++) {
|
|
|
+ if(_role === 0 && _scnuaiTeacherDeskIconInfo[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
+ _content = $$("div", {
|
|
|
+ className: "U_MD_D_KO",
|
|
|
+ "onmousedown": U.UF.C.closure(function (obj) {
|
|
|
+ //防止拖动图标即打开了桌面应用
|
|
|
+ U.MD.D.click(this, obj);
|
|
|
+ }, [_scnuaiTeacherDeskIconInfo[i]]),
|
|
|
+ "onclick": U.UF.C.closure(function (obj) {
|
|
|
+ //防止拖动图标即打开了桌面应用
|
|
|
+ U.MD.D.click(this, obj);
|
|
|
+ }, [_scnuaiTeacherDeskIconInfo[i]])
|
|
|
+ }, _frag); //
|
|
|
+ _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
|
|
|
+ $$("div", { className: "U_MD_D_KOS U_Img", "style": _scnuaiTeacherDeskIconInfo[i].style }, _iconcontent);
|
|
|
+ $$("div", { className: "U_MD_D_KOX", "innerHTML": _scnuaiTeacherDeskIconInfo[i].Name }, _iconcontent);
|
|
|
+ }
|
|
|
+ } else if ((_type == 1 || _type == 4) && _org == "884c5665-a453-46f3-b7b6-01d575290aa9" && _role == 1) {
|
|
|
+ for (i = 0; i < _scnuaiAdminDeskIconInfo.length; i++) {
|
|
|
+ _content = $$("div", {
|
|
|
+ className: "U_MD_D_KO",
|
|
|
+ "onmousedown": U.UF.C.closure(function (obj) {
|
|
|
+ //防止拖动图标即打开了桌面应用
|
|
|
+ U.MD.D.click(this, obj);
|
|
|
+ }, [_scnuaiAdminDeskIconInfo[i]]),
|
|
|
+ "onclick": U.UF.C.closure(function (obj) {
|
|
|
+ //防止拖动图标即打开了桌面应用
|
|
|
+ U.MD.D.click(this, obj);
|
|
|
+ }, [_scnuaiAdminDeskIconInfo[i]])
|
|
|
+ }, _frag); //
|
|
|
+ _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
|
|
|
+ $$("div", { className: "U_MD_D_KOS U_Img", "style": _scnuaiAdminDeskIconInfo[i].style }, _iconcontent);
|
|
|
+ $$("div", { className: "U_MD_D_KOX", "innerHTML": _scnuaiAdminDeskIconInfo[i].Name }, _iconcontent);
|
|
|
+ }
|
|
|
} else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
|
|
|
for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
|
|
|
+ if(_role === 0 && _jccssylTeacherDeskIconInfo[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -1971,6 +2096,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
}
|
|
|
} else if ((_type == 1 || _type == 4) && _org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344") {
|
|
|
for (i = 0; i < _caleTeacherDeskIconInfo.length; i++) {
|
|
|
+ if(_role === 0 && _caleTeacherDeskIconInfo[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -2005,6 +2133,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
}
|
|
|
} else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
|
|
|
for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
|
|
|
+ if(_role === 0 && _tpcTeacherDeskIconInfo[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -2022,6 +2153,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
}
|
|
|
} else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
|
|
|
for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
|
|
|
+ if(_role === 0 && _teacherDesktopIconInfo2[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -2039,6 +2173,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
}
|
|
|
} else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
|
|
|
for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
|
|
|
+ if(_role === 0 && _thuioeTeacherDeskIconInfo[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -2056,6 +2193,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
}
|
|
|
} else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
|
|
|
for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
|
|
|
+ if(_role === 0 && _lotechTeacherDeskIconInfo[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -2073,6 +2213,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
}//
|
|
|
} else if ((_type == 1 || _type == 4) && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
|
|
|
for (i = 0; i < _lqwmsgzsTeacherDeskIconInfo.length; i++) {
|
|
|
+ if(_role === 0 && _lqwmsgzsTeacherDeskIconInfo[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -2090,6 +2233,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
}
|
|
|
} else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
|
|
|
for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
|
|
|
+ if(_role === 0 && _siesTeacherDeskIconInfo[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -2107,6 +2253,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
}
|
|
|
} else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
|
|
|
for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
|
|
|
+ if(_role === 0 && _longhuaTeacherDeskIconInfo[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -2124,6 +2273,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
}
|
|
|
} else if ((_type == 1 || _type == 4) && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
|
|
|
for (i = 0; i < _ytyTeacherDeskIconInfo.length; i++) {
|
|
|
+ if(_role === 0 && _ytyTeacherDeskIconInfo[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -2141,6 +2293,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
}
|
|
|
}else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
|
|
|
for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
|
|
|
+ if(_role === 0 && _yunhaiTeacherDeskIconInfo[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -2158,6 +2313,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
} //_hkStudentDeskIconInfo
|
|
|
} else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
|
|
|
for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
|
|
|
+ if(_role === 0 && _hkZJLSTeacherDeskIconInfo[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -2175,6 +2333,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
}
|
|
|
} else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
|
|
|
for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
|
|
|
+ if(_role === 0 && _hkTeacherDeskIconInfo[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -2192,6 +2353,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
}
|
|
|
} else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
|
|
|
for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
|
|
|
+ if(_role === 0 && _hkaceTeacherDeskIconInfo[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -2226,6 +2390,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
}
|
|
|
} else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
|
|
|
for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
|
|
|
+ if(_role === 0 && _gdjgTeacherDeskIconInfo[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -2243,6 +2410,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
}
|
|
|
} else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
|
|
|
for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
|
|
|
+ if(_role === 0 && _szherTeacherDeskIconInfo[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -2277,6 +2447,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
}
|
|
|
} else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
|
|
|
for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
|
|
|
+ if(_role === 0 && _heyuanTeacherDeskIconInfo[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -2311,6 +2484,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
}
|
|
|
} else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
|
|
|
for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
|
|
|
+ if(_role === 0 && _dseiTeacherDeskIconInfo[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -2345,6 +2521,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
}//
|
|
|
} else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
|
|
|
for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
|
|
|
+ if(_role === 0 && _chjyjTeacherDeskIconInfo[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -2379,6 +2558,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
}//
|
|
|
} else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
|
|
|
for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
|
|
|
+ if(_role === 0 && _szjkyTeacherDeskIconInfo[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -2413,6 +2595,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
}
|
|
|
} else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
|
|
|
for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
|
|
|
+ if(_role === 0 && _futianTeacherDeskIconInfo[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -2430,6 +2615,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
}
|
|
|
} else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
|
|
|
for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
|
|
|
+ if(_role === 0 && _MingdeTeacherDeskIcon[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -2464,6 +2652,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
}
|
|
|
} else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
|
|
|
for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
|
|
|
+ if(_role === 0 && _lhsteacherDesktopIconInfo[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -2481,6 +2672,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
}
|
|
|
} else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
|
|
|
for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
|
|
|
+ if(_role === 0 && _zhoujiateacherDesktopIconInfo[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -2498,6 +2692,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
}
|
|
|
} else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
|
|
|
for (i = 0; i < _hanDeskIcon.length; i++) {
|
|
|
+ if(_role === 0 && _hanDeskIcon[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -2515,6 +2712,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
}
|
|
|
} else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
|
|
|
for (i = 0; i < _orgStemDeskIcon.length; i++) {
|
|
|
+ if(_role === 0 && _orgStemDeskIcon[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -2532,6 +2732,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
}
|
|
|
} else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
|
|
|
for (i = 0; i < _szulsDeskIcon.length; i++) {
|
|
|
+ if(_role === 0 && _szulsDeskIcon[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -2549,6 +2752,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
}
|
|
|
} else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
|
|
|
for (i = 0; i < _orgDesktopIconInfo.length; i++) {
|
|
|
+ if(_role === 0 && _orgDesktopIconInfo[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -2566,6 +2772,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
}
|
|
|
} else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
|
|
|
for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
|
|
|
+ if(_role === 0 && _schoolDesktopIconInfo[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -2583,6 +2792,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
}
|
|
|
} else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
|
|
|
for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
|
|
|
+ if(_role === 0 && _GMteacherDesktopIconInfo[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -2600,6 +2812,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
}
|
|
|
} else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
|
|
|
for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
|
|
|
+ if(_role === 0 && _SONGteacherDesktopIconInfo[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -2634,6 +2849,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
}
|
|
|
} else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
|
|
|
for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
|
|
|
+ if(_role === 0 && _tcTeacherDeskIconInfo[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -2651,6 +2869,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
}
|
|
|
} else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
|
|
|
for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
|
|
|
+ if(_role === 0 && _tcOrganizerDeskIconInfo[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -2668,6 +2889,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
}
|
|
|
} else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
|
|
|
for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
|
|
|
+ if(_role === 0 && _szscTeacherDeskIconInfo[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -2685,6 +2909,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
}
|
|
|
} else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
|
|
|
for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
|
|
|
+ if(_role === 0 && _szscOrganizerDeskIconInfo[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -2702,6 +2929,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
}
|
|
|
} else {
|
|
|
for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
|
|
|
+ if(_role === 0 && _teacherDesktopIconInfo[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -6051,15 +6281,15 @@ U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
|
|
|
_iframe.contentWindow.document.body.appendChild(script4);
|
|
|
U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
|
|
|
};
|
|
|
- if (onloadListener) {
|
|
|
- try {
|
|
|
- _iframe.src += "?cocorobo="+new Date().getTime()
|
|
|
- _iframe.contentWindow.document.location.reload()
|
|
|
- } catch (error) {
|
|
|
- }
|
|
|
- } else {
|
|
|
- _iframe.contentDocument.location.reload()
|
|
|
- }
|
|
|
+ // if (onloadListener) {
|
|
|
+ // try {
|
|
|
+ // _iframe.src += "?cocorobo="+new Date().getTime()
|
|
|
+ // _iframe.contentWindow.document.location.reload()
|
|
|
+ // } catch (error) {
|
|
|
+ // }
|
|
|
+ // } else {
|
|
|
+ // _iframe.contentDocument.location.reload()
|
|
|
+ // }
|
|
|
} else {
|
|
|
_iframe.onload = () => {
|
|
|
_iframe.contentWindow.document.body.appendChild(script1);
|
|
@@ -6180,7 +6410,7 @@ U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
|
|
|
_lchild.appendChild(_lspan)
|
|
|
_lchild.style = "color: rgb(255, 255, 255);padding: 15px;background: rgba(0, 0, 0, 0.44);font-size: 18px;display: flex;align-items: center;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);"
|
|
|
_loading.appendChild(_lchild)
|
|
|
- var _box = $$('div', {
|
|
|
+ let _box = $$('div', {
|
|
|
"style": {
|
|
|
"position": "relative",
|
|
|
"width": "100%",
|
|
@@ -6513,15 +6743,15 @@ U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
|
|
|
_iframe.contentWindow.document.body.appendChild(script4);
|
|
|
U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
|
|
|
};
|
|
|
- if (onloadListener) {
|
|
|
- try {
|
|
|
- _iframe.src += "?cocorobo="+new Date().getTime()
|
|
|
- _iframe.contentWindow.document.location.reload()
|
|
|
- } catch (error) {
|
|
|
- }
|
|
|
- } else {
|
|
|
- _iframe.contentDocument.location.reload()
|
|
|
- }
|
|
|
+ // if (onloadListener) {
|
|
|
+ // try {
|
|
|
+ // _iframe.src += "?cocorobo="+new Date().getTime()
|
|
|
+ // _iframe.contentWindow.document.location.reload()
|
|
|
+ // } catch (error) {
|
|
|
+ // }
|
|
|
+ // } else {
|
|
|
+ // _iframe.contentDocument.location.reload()
|
|
|
+ // }
|
|
|
} else {
|
|
|
_iframe.onload = () => {
|
|
|
_iframe.contentWindow.document.body.appendChild(script1);
|
|
@@ -6975,15 +7205,15 @@ U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, stud
|
|
|
_iframe.contentWindow.document.body.appendChild(script4);
|
|
|
U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
|
|
|
};
|
|
|
- if (onloadListener) {
|
|
|
- try {
|
|
|
- _iframe.src += "?cocorobo="+new Date().getTime()
|
|
|
- _iframe.contentWindow.document.location.reload()
|
|
|
- } catch (error) {
|
|
|
- }
|
|
|
- } else {
|
|
|
- _iframe.contentDocument.location.reload()
|
|
|
- }
|
|
|
+ // if (onloadListener) {
|
|
|
+ // try {
|
|
|
+ // _iframe.src += "?cocorobo="+new Date().getTime()
|
|
|
+ // _iframe.contentWindow.document.location.reload()
|
|
|
+ // } catch (error) {
|
|
|
+ // }
|
|
|
+ // } else {
|
|
|
+ // _iframe.contentDocument.location.reload()
|
|
|
+ // }
|
|
|
} else {
|
|
|
_iframe.onload = () => {
|
|
|
_iframe.contentWindow.document.body.appendChild(script1);
|
|
@@ -7431,15 +7661,15 @@ U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, stu
|
|
|
_iframe.contentWindow.document.body.appendChild(script4);
|
|
|
U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
|
|
|
};
|
|
|
- if (onloadListener) {
|
|
|
- try {
|
|
|
- _iframe.src += "?cocorobo="+new Date().getTime()
|
|
|
- _iframe.contentWindow.document.location.reload()
|
|
|
- } catch (error) {
|
|
|
- }
|
|
|
- } else {
|
|
|
- _iframe.contentDocument.location.reload()
|
|
|
- }
|
|
|
+ // if (onloadListener) {
|
|
|
+ // try {
|
|
|
+ // _iframe.src += "?cocorobo="+new Date().getTime()
|
|
|
+ // _iframe.contentWindow.document.location.reload()
|
|
|
+ // } catch (error) {
|
|
|
+ // }
|
|
|
+ // } else {
|
|
|
+ // _iframe.contentDocument.location.reload()
|
|
|
+ // }
|
|
|
} else {
|
|
|
_iframe.onload = () => {
|
|
|
_iframe.contentWindow.document.body.appendChild(script1);
|
|
@@ -8427,15 +8657,15 @@ U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
|
|
|
let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
|
|
|
U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
|
|
|
})
|
|
|
- if (onloadListener) {
|
|
|
- try {
|
|
|
- _iframe.src += "?cocorobo="+new Date().getTime()
|
|
|
- _iframe.contentWindow.document.location.reload()
|
|
|
- } catch (error) {
|
|
|
- }
|
|
|
- } else {
|
|
|
- _iframe.contentDocument.location.reload()
|
|
|
- }
|
|
|
+ // if (onloadListener) {
|
|
|
+ // try {
|
|
|
+ // _iframe.src += "?cocorobo="+new Date().getTime()
|
|
|
+ // _iframe.contentWindow.document.location.reload()
|
|
|
+ // } catch (error) {
|
|
|
+ // }
|
|
|
+ // } else {
|
|
|
+ // _iframe.contentDocument.location.reload()
|
|
|
+ // }
|
|
|
} else if (str == 'CocoPi') {
|
|
|
_iframe = _formdiv.querySelector('iframe')
|
|
|
let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
|