|
@@ -665,8 +665,9 @@ U.MD.D.I.siesteacherDeskIcon = [
|
|
|
{ "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
|
|
|
{ "Name": "評測看板", "Url": "dataBoardTest", "style": { "cssText": "background-image:url(/img/icon/databoardTest.png)" } },
|
|
|
{ "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
|
|
|
- { "Name": "教師管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
|
|
|
- { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
|
|
|
+ { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
|
|
|
+ { "Name": "教师管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
|
|
|
+ { "Name": "教师中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
|
|
|
];
|
|
|
|
|
|
//教科院實小教師桌面圖標的全局變量
|
|
@@ -676,6 +677,33 @@ U.MD.D.I.siesStudentDeskIcon = [
|
|
|
{ "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
|
|
|
{ "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.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)" } },
|
|
|
+];
|
|
|
+
|
|
|
+//中山小学教师桌面图标的全局变量
|
|
|
+U.MD.D.I.guzmsteacherDeskIcon = [
|
|
|
+ { "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": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
|
|
|
+ { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
|
|
|
+ // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
|
|
|
+ // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
|
|
|
+ { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
|
|
|
+ { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
|
|
|
+ { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
|
|
|
+ { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
|
|
|
+];
|
|
|
+
|
|
|
+//中山小学学生桌面图标的全局变量
|
|
|
+U.MD.D.I.guzmsStudentDeskIcon = [
|
|
|
+ { "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)" } },
|
|
|
+ // { "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)" } },
|
|
|
];
|
|
|
|
|
|
//福田
|
|
@@ -1305,6 +1333,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
|
|
|
|
|
@@ -1440,7 +1530,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
_longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龍華中心
|
|
|
_siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
|
|
|
_siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
|
|
|
- _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //騰訊學生
|
|
|
+ _guzmsTeacherDeskIconInfo = U.MD.D.I.guzmsteacherDeskIcon, //guzms
|
|
|
+ _guzmsStudentDeskIconInfo = U.MD.D.I.guzmsStudentDeskIcon, //guzms
|
|
|
+ _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
|
|
|
_hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
|
|
|
_hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
|
|
|
_hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
|
|
@@ -1459,14 +1551,17 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
_caleTeacherDeskIconInfo = U.MD.D.I.caleTeacherDeskIcon, // jccssyl
|
|
|
_lqwmsgzsStudentDeskIconInfo = U.MD.D.I.lqwmsgzsStudentDeskIcon, // lqwmsgzs
|
|
|
_lqwmsgzsTeacherDeskIconInfo = U.MD.D.I.lqwmsgzsTeacherDeskIcon, // lqwmsgzs
|
|
|
- _ytyStudentDeskIconInfo = U.MD.D.I.ytyStudentDeskIcon, // 鹽田幼兒園
|
|
|
- _ytyTeacherDeskIconInfo = U.MD.D.I.ytyTeacherDeskIcon, // 鹽田幼兒園
|
|
|
- _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', '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'];
|
|
|
- //清楚桌面圖標
|
|
|
+ _ytyStudentDeskIconInfo = U.MD.D.I.ytyStudentDeskIcon, // 盐田幼儿园
|
|
|
+ _ytyTeacherDeskIconInfo = U.MD.D.I.ytyTeacherDeskIcon, // 盐田幼儿园
|
|
|
+ _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
|
|
|
+ _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
|
|
|
+ _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','c7df0bd4-6e75-401a-a137-4e163aa62263'];
|
|
|
+ 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") {
|
|
|
_teacherDesktopIconInfo.push(
|
|
@@ -1475,7 +1570,7 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
)
|
|
|
_easyDesktopIconInfo.push({ "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
|
|
|
}
|
|
|
- if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
|
|
|
+ if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5' || _org == '0fec3a8a-ad04-11ed-b13d-005056b86db5') {
|
|
|
_teacherDesktopIconInfo.push(
|
|
|
// { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
|
|
|
{ "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
|
|
@@ -1516,10 +1611,12 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
|
|
|
if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
|
|
|
_teacherDesktopIconInfo.push(
|
|
|
- { "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": "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)" } },
|
|
|
)
|
|
|
_studentDesktopIconInfo.push(
|
|
|
)
|
|
@@ -1533,7 +1630,17 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
_studentDesktopIconInfo.push(
|
|
|
)
|
|
|
}
|
|
|
- //麒麟二中 和 民新小學
|
|
|
+
|
|
|
+ //010606 组织
|
|
|
+ if (_oid == 'f297fbdc-f0a0-11ee-b534-005056b86db5') {
|
|
|
+ _teacherDesktopIconInfo.push(
|
|
|
+ { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
|
|
|
+ )
|
|
|
+ _studentDesktopIconInfo.push(
|
|
|
+ )
|
|
|
+ }
|
|
|
+
|
|
|
+ //麒麟二中 和 民新小学
|
|
|
if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
|
|
|
_teacherDesktopIconInfo.push(
|
|
|
)
|
|
@@ -1663,6 +1770,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", {
|
|
@@ -1799,6 +1923,23 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
$$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
|
|
|
$$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
|
|
|
}
|
|
|
+ } else if (_type == 2 && (_oid == "c7df0bd4-6e75-401a-a137-4e163aa62263")) {
|
|
|
+ for (i = 0; i < _guzmsStudentDeskIconInfo.length; i++) {
|
|
|
+ _content = $$("div", {
|
|
|
+ className: "U_MD_D_KO",
|
|
|
+ "onmousedown": U.UF.C.closure(function (obj) {
|
|
|
+ //防止拖动图标即打开了桌面应用
|
|
|
+ U.MD.D.click(this, obj);
|
|
|
+ }, [_guzmsStudentDeskIconInfo[i]]),
|
|
|
+ "onclick": U.UF.C.closure(function (obj) {
|
|
|
+ //防止拖动图标即打开了桌面应用
|
|
|
+ U.MD.D.click(this, obj);
|
|
|
+ }, [_guzmsStudentDeskIconInfo[i]])
|
|
|
+ }, _frag); //
|
|
|
+ _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
|
|
|
+ $$("div", { className: "U_MD_D_KOS U_Img", "style": _guzmsStudentDeskIconInfo[i].style }, _iconcontent);
|
|
|
+ $$("div", { className: "U_MD_D_KOX", "innerHTML": _guzmsStudentDeskIconInfo[i].Name }, _iconcontent);
|
|
|
+ }
|
|
|
} else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
|
|
|
for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
|
|
|
_content = $$("div", {
|
|
@@ -1920,6 +2061,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 +2096,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 +2155,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 +2192,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 +2212,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 +2232,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 +2252,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 +2272,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 +2292,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) {
|
|
@@ -2105,8 +2310,31 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
$$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
|
|
|
$$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
|
|
|
}
|
|
|
+ } else if ((_type == 1 || _type == 4) && (_oid == "c7df0bd4-6e75-401a-a137-4e163aa62263")) {
|
|
|
+ for (i = 0; i < _guzmsTeacherDeskIconInfo.length; i++) {
|
|
|
+ if(_role === 0 && _guzmsTeacherDeskIconInfo[i].Url == 'testTeacher'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
+ _content = $$("div", {
|
|
|
+ className: "U_MD_D_KO",
|
|
|
+ "onmousedown": U.UF.C.closure(function (obj) {
|
|
|
+ //防止拖动图标即打开了桌面应用
|
|
|
+ U.MD.D.click(this, obj);
|
|
|
+ }, [_guzmsTeacherDeskIconInfo[i]]),
|
|
|
+ "onclick": U.UF.C.closure(function (obj) {
|
|
|
+ //防止拖动图标即打开了桌面应用
|
|
|
+ U.MD.D.click(this, obj);
|
|
|
+ }, [_guzmsTeacherDeskIconInfo[i]])
|
|
|
+ }, _frag); //
|
|
|
+ _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
|
|
|
+ $$("div", { className: "U_MD_D_KOS U_Img", "style": _guzmsTeacherDeskIconInfo[i].style }, _iconcontent);
|
|
|
+ $$("div", { className: "U_MD_D_KOX", "innerHTML": _guzmsTeacherDeskIconInfo[i].Name }, _iconcontent);
|
|
|
+ }
|
|
|
} 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 +2352,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 +2372,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 +2392,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 +2412,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 +2432,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 +2469,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 +2489,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 +2526,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 +2563,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 +2600,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 +2637,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 +2674,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 +2694,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 +2731,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 +2751,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 +2771,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 +2791,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 +2811,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 +2831,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 +2851,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 +2871,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 +2891,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 +2928,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 +2948,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 +2968,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 +2988,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 +3008,9 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
}
|
|
|
} else {
|
|
|
for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
|
|
|
+ if(_role === 0 && _teacherDesktopIconInfo[i].Url == 'testTeacher' && _oid != '45facc0a-1211-11ec-80ad-005056b86db5'){
|
|
|
+ continue
|
|
|
+ }
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
@@ -3220,10 +3529,14 @@ window.addEventListener('message', function (e) { // 監聽 message 事件
|
|
|
U.MD.D.I.openInApplication("loginSz")
|
|
|
}else if (e.data.tools && e.data.tools == "classroom_observation_board"){
|
|
|
if($('#classroom_observation_board')[0]){
|
|
|
- // U.UF.F.closeWindow($('#classroom_observation_board'))
|
|
|
$('#classroom_observation_board iframe')[0].contentDocument.location.reload()
|
|
|
}
|
|
|
U.MD.D.I.openInApplication("classroom_observation_board", e.data.type)
|
|
|
+ }else if (e.data.tools && e.data.tools == "classroom_observation_ob_comment"){
|
|
|
+ if($('#classroom_observation_ob_comment')[0]){
|
|
|
+ $('#classroom_observation_ob_comment iframe')[0].contentDocument.location.reload()
|
|
|
+ }
|
|
|
+ U.MD.D.I.openInApplication("classroom_observation_ob_comment", e.data.type)
|
|
|
}
|
|
|
|
|
|
|
|
@@ -3605,6 +3918,23 @@ U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
|
|
|
}, { "style": { "height": "36px" } }).form; //創建窗體
|
|
|
break;
|
|
|
}
|
|
|
+ case "classroom_observation_ob_comment":
|
|
|
+ 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": "https://beta.cloud.cocorobo.cn/aigpt/#/classroom_observation_ob_comment?tid="+data }), {
|
|
|
+ "id": "classroom_observation_ob_comment",
|
|
|
+ "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) {
|
|
@@ -5499,8 +5829,8 @@ U.MD.D.I.openApplication = function (str, obj, info) {
|
|
|
break;
|
|
|
case "pblCourse":
|
|
|
_formdiv = new U.UF.UI.form(
|
|
|
- "學生PBL",
|
|
|
- $$("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/#/pblCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
|
|
|
+ "学生PBL",
|
|
|
+ $$("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/#/guide?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
|
|
|
"id": "pblCourse",
|
|
|
"style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
|
"onresize": function () { }
|
|
@@ -6051,11 +6381,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) {
|
|
|
- _iframe.contentDocument.location.reload()
|
|
|
- } 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);
|
|
@@ -6176,7 +6510,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%",
|
|
@@ -6509,11 +6843,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) {
|
|
|
- _iframe.contentDocument.location.reload()
|
|
|
- } 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);
|
|
@@ -6967,11 +7305,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) {
|
|
|
- _iframe.contentDocument.location.reload()
|
|
|
- } 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);
|
|
@@ -7419,11 +7761,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) {
|
|
|
- _iframe.contentDocument.location.reload()
|
|
|
- } 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);
|
|
@@ -8412,11 +8758,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) {
|
|
|
- _iframe.contentDocument.location.reload()
|
|
|
- } 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 () {
|