/* 此处为桌面系统启动应用区域 */ Namespace.register("U.MD.D.I"); //桌面应用处理 //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的 U.MD.D.I.IsDrag; U.MD.D.I.Ip; //教师桌面图标的全局变量 U.MD.D.I.teacherDeskIcon = [ { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } }, { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } }, { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } }, // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } }, // { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, { "Name": "AI Chat+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } }, { "Name": "Teacher Management", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } }, { "Name": "Teacher Center", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } }, ]; //极简模式 U.MD.D.I.easyDeskIcon = [ { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } }, { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } }, { "Name": "Students Management", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } }, // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } }, ]; //获取教师测试英语组织图标 U.MD.D.I.hkTeacherEnglishDeskIcon = [ { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } }, { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } }, { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } }, { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } }, { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; //获取学生测试英语组织图标 U.MD.D.I.hkStudentEnglishDeskIcon = [ { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, ]; //教师桌面图标的全局变量 U.MD.D.I.teacherDeskIcon2 = [ { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } }, { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, // { "Name": "Project Planning", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Teachers Management", "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": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } }, { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } }, { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } }, { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } }, { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } }, { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } }, // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } }, { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } }, { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } }, { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } }, // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } }, { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } }, { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } }, { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } }, { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } }, { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } }, { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } }, { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } }, { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } }, { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } }, { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } }, // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } }, // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } }, { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } }, { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } }, { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } }, { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } }, // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } }, // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } }, // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } }, // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } }, { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; U.MD.D.I.studentDeskIcon = [ { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } }, // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } }, // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } }, // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } }, // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } }, // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } }, // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } }, // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } }, // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } }, // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } }, // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } }, // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } }, // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } }, // { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } }, // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } }, // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } }, // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } }, // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } }, // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } }, // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } }, // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } }, // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } }, // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } }, // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } }, // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } }, // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; U.MD.D.I.studentDeskIcon2 = [ // { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } }, { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } }, // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ] U.MD.D.I.studentDeskIcon3 = [ { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } }, { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ] U.MD.D.I.schoolDeskIcon = [ { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } }, { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } }, { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } }, { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } }, { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } }, { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } }, { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } }, { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } }, { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } }, { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } }, { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } }, { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } }, { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } }, { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } }, { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } }, { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } }, { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } }, // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } }, // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; U.MD.D.I.orgDeskIcon = [ { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } }, { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } }, { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } }, { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } }, { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; U.MD.D.I.orgStemDeskIcon = [ { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } }, { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } }, { "Name": "Teachers Management", "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": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } }, { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } }, { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } }, { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } }, { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } }, { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } }, { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.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": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } }, ]; U.MD.D.I.szulsDeskIcon = [ { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } }, { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } }, { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } }, { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } }, { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } }, { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } }, { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } }, { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } }, // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; U.MD.D.I.hanDeskIcon = [ { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } }, { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } }, { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } }, { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } }, { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } }, { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } }, { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } }, // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } }, // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } }, // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; U.MD.D.I.GMteacherDeskIcon = [ { "Name": "Course Planning", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } }, { "Name": "Course Library", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } }, { "Name": "Students Management", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } }, { "Name": "Course Assessment", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } }, { "Name": "Teachers Management", "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": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } }, { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } }, { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } }, { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } }, { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } }, // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; U.MD.D.I.GMstudentDeskIcon = [ { "Name": "Course Library", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } }, { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } }, { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } }, { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } }, // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; //北师大 U.MD.D.I.BSDNSteacherDeskIcon = [ { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } }, { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, { "Name": "Teachers Management", "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": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } }, { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } }, { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } }, { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } }, { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } }, { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } }, { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } }, { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } }, { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } }, // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } }, { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } }, { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } }, { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } }, { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } }, { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } }, { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } }, { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } }, { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } }, { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } }, { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } }, // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } }, // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } }, { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } }, { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } }, { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } }, // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } }, // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } }, // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } }, { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } }, { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; //松山湖 U.MD.D.I.SONGteacherDeskIcon = [ { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } }, { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.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": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } }, { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } }, { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } }, { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } }, { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } }, { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } }, { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } }, { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } }, { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } }, // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } }, { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } }, { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } }, { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } }, { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } }, { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } }, { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } }, { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } }, { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } }, { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } }, { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } }, // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } }, // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } }, { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } }, { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } }, { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } }, { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } }, // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } }, // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } }, // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; U.MD.D.I.tcStudentDeskIcon = [ { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } }, { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } }, // { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; U.MD.D.I.tcTeacherDeskIcon = [ // { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, // { "Name": "Teachers Management", "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": "Students Management", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } }, { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } }, { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } }, // { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; U.MD.D.I.tcOrganizerDeskIcon = [ // { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } }, { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } }, { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } }, // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } }, { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } }, { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } }, { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } }, // { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; U.MD.D.I.szscStudentDeskIcon = [ { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } }, { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } }, { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; U.MD.D.I.szscTeacherDeskIcon = [ // { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } }, { "Name": "Teachers Management", "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": "Students Management", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } }, { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } }, { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; U.MD.D.I.szscOrganizerDeskIcon = [ { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } }, // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } }, { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } }, { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } }, { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } }, { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5 { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } }, { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } }, { "Name": "Teachers Management", "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": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } }, { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } }, { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } }, { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.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": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } } ]; U.MD.D.I.wankeAdminDeskIcon = [ { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } }, { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } }, { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } }, { "Name": "Teachers Management", "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": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } }, { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } }, { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } }, { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } }, { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } } ]; U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学 { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } }, { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } }, { "Name": "Teachers Management", "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": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } }, { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } }, { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } }, { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } }, { "Name": "Teachers Management", "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": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } }, { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } }, { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; //明德教师桌面图标的全局变量 U.MD.D.I.MingdeTeacherDeskIcon = [ { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } }, { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } }, { "Name": "Teachers Management", "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": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } }, // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } }, // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } }, // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } }, // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } }, // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } }, { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } }, { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } }, // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } }, // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } }, // { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } }, // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } }, // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } }, // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } }, // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } }, // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } }, // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } }, // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } }, // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } }, { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } }, { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; //97c4ee8b-d010-4042-986d-e9d3c217264f //教师桌面图标的全局变量 U.MD.D.I.zhoujiaTeacherDeskIcon = [ { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } }, // { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "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": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; //福田 U.MD.D.I.futianTeacherDeskIcon = [ { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "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": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } }, // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } }, { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; //福田 U.MD.D.I.futianAdminDeskIcon = [ { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "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)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; //lotech U.MD.D.I.lotechTeacherDeskIcon = [ { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } }, { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "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": "Teachers Management", "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": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.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": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; //龙华中心小学教师桌面图标的全局变量 U.MD.D.I.longhuateacherDeskIcon = [ { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } }, { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } }, { "Name": "Teachers Management", "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": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } }, { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } }, { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; //教科院实小教师桌面图标的全局变量 U.MD.D.I.siesteacherDeskIcon = [ { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } }, { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } }, { "Name": "Teachers Management", "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": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } }, { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } }, { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.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": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.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": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } }, ]; //教科院实小教师桌面图标的全局变量 U.MD.D.I.siesStudentDeskIcon = [ { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; //福田 U.MD.D.I.gdjgTeacherDeskIcon = [ { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "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": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } }, // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } }, { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; //gdjg U.MD.D.I.gdjgAdminDeskIcon = [ { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "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)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; //hk U.MD.D.I.hkteacherDeskIcon = [ { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } }, { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "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": "Teachers Management", "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": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } }, { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.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": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } }, ]; //hk U.MD.D.I.hkStudentDeskIcon = [ { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.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": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; //香海正覺蓮社佛教正覺中學 U.MD.D.I.hkZJLSteacherDeskIcon = [ { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } }, { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "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": "Teachers Management", "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": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } }, { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } }, { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; //香海正覺蓮社佛教正覺中學 U.MD.D.I.hkZJLSStudentDeskIcon = [ { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; //云海 U.MD.D.I.yunhaiTeacherDeskIcon = [ { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } }, { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } }, { "Name": "Teachers Management", "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": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } }, { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } }, { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } }, { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } }, { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } }, { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } }, { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; //福田 U.MD.D.I.heyuanTeacherDeskIcon = [ { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "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": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } }, // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } }, { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; //福田 U.MD.D.I.heyuanAdminDeskIcon = [ { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "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)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5 U.MD.D.I.szherTeacherDeskIcon = [ { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "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": "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": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; //dsei U.MD.D.I.dseiTeacherDeskIcon = [ { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } }, { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "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": "Teachers Management", "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": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } }, { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } }, { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } }, { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } }, { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } }, { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } }, { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } }, { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } }, { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } }, { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } }, { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } }, { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } }, { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } }, { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } }, { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } }, { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } }, { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } }, { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } }, { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } }, { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } }, { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } }, { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } }, { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } }, { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } }, { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } }, { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.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": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, ]; //dsei U.MD.D.I.dseiAdminDeskIcon = [ { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } }, { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "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": "Teachers Management", "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": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } }, { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } }, { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } }, { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } }, { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } }, { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } }, { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } }, { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } }, { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } }, { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } }, { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } }, { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } }, { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } }, { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } }, { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } }, { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } }, { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } }, { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } }, { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } }, { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } }, { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } }, { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } }, { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } }, { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } }, { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } }, { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.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": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, ]; //dsei U.MD.D.I.dseiStudentDeskIcon = [ { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.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": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; //未来教育基地 U.MD.D.I.szjkyTeacherDeskIcon = [ { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "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": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } }, { "Name": "Course Assessment", "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": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, ]; //未来教育基地 U.MD.D.I.szjkyAdminDeskIcon = [ { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "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": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } }, { "Name": "Course Assessment", "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": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, ]; //未来教育基地 U.MD.D.I.szjkyStudentDeskIcon = [ { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; //成华教育局 U.MD.D.I.chjyjTeacherDeskIcon = [ { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "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": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } }, { "Name": "Course Assessment", "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": "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": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; //成华教育局chjyj U.MD.D.I.chjyjAdminDeskIcon = [ { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "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": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } }, { "Name": "Course Assessment", "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": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; //成华教育局chjyj U.MD.D.I.chjyjStudentDeskIcon = [ { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; //tpc U.MD.D.I.tpcStudentDeskIcon = [ { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; //tpc U.MD.D.I.tpcTeacherDeskIcon = [ { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, ]; //tpc U.MD.D.I.tpcAdminDeskIcon = [ { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, ]; //THU-IOE U.MD.D.I.thuioeTeacherDeskIcon = [ { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } }, { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } }, { "Name": "Teachers Management", "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": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } }, { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } }, { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } }, { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } }, { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } }, { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } }, { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } }, { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } }, { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } }, { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } }, { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } }, { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } }, { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } }, { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } }, { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } }, { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } }, { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } }, { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } }, { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } }, { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } }, { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } }, { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } }, { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } }, { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } }, { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.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": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, ]; //THU-IOE U.MD.D.I.thuioeStudentDeskIcon = [ { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; //jccssyl U.MD.D.I.jccssylTeacherDeskIcon = [ { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } }, { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } }, { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "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": "Teachers Management", "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": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } }, { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.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": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } }, ]; //jccssyl U.MD.D.I.jccssylStudentDeskIcon = [ { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } }, { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } }, { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ]; //#region 桌面初始化a /** * 初始化桌面的起始函数 * */ U.MD.D.I.init = function() { if ($("#U_MD_D_K")[0]) { //初始化桌面图标 U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1); // var clickUrl = ':12588/requestIp.php'; // U.MD.D.I.Mysqlrequest(clickUrl,function(data){ // U.MD.D.I.Ip = data; // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip; // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){ // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px"); // }) // //初始化任务栏,因为是静态的,所以直接改变样式即可. // }) } } /** * 模式切换 * */ U.MD.D.I.ModeCheck = function(type) { if (US.Config.type == type) { return } US.Config.type = type $('.U_PBL_Check .active')[0].className = '' if (type == 1) { $('.U_PBL_Check div')[0].className = 'active' $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background } else { $('.U_PBL_Check div')[1].className = 'active' $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")' } //初始化桌面图标 U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type); if (type == 2) { U.MD.D.I.openApplication("project") } } /** * 隐藏任务栏 * * @param {element} 桌面元素 */ U.MD.D.I.hiddenTaskbar = function(el) { //任务栏位置变小 U.selectEl(el).parentElement(3).css({ "bottom": "-60px" }); //桌面的位置变大 // U.selectEl("#U_MD_D_K").css({ "left": "5px" }); } /** * 隐藏任务栏 * * @param {element} 桌面元素 */ U.MD.D.I.hiddenTaskbarout = function(el) { //任务栏位置变小 if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) { //任务栏位置变化 U.selectEl(el).css({ "bottom": "-60px" }); //桌面的位置变大 // U.selectEl("#U_MD_D_K").css({ "left": "5px" }); } } /** * 初始化打印桌面图标 * * @param {element} 桌面元素 */ U.MD.D.I.initDesktopIcons = function(el, type) { var i, //用于循环 _content, //桌面图标元素 _iconcontent, //桌面图标元素 _frag = $$("frag"), //定义一个碎片元素 _type = US.userInfo.type, _org = US.userInfo.org, _oid = US.userInfo.organizeid, _role = US.userInfo.role, _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标 _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标 _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标 _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标 _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标 _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标 _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标 _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon, _szulsDeskIcon = U.MD.D.I.szulsDeskIcon, _hanDeskIcon = U.MD.D.I.hanDeskIcon, _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标 _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大 _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室 _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖 _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语 _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语 _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语 _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学 _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学 _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标 _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标 _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生 _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生 _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田 _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田 _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地 _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地 _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地 _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局 _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局 _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局 _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田 _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田 _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher _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, //sies _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生 _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海 _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon, _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon, _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon, _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营 _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营 _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon, //网络夏令营 _hkTeacherEnglishDeskIcon = U.MD.D.I.hkTeacherEnglishDeskIcon, //教师测试英语组织 _hkStudentEnglishDeskIcon = U.MD.D.I.hkStudentEnglishDeskIcon; //学生测试英语组织 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']; 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']; //清楚桌面图标 el.innerHTML = ""; if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") { _teacherDesktopIconInfo.push( // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } }, { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } }, { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.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)" } }, ) _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') { _teacherDesktopIconInfo.push( // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } }, { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.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": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.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": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.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": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } }, ) } if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') { _teacherDesktopIconInfo.push({ "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)" } }, ) } if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') { _teacherDesktopIconInfo.push() } if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') { _teacherDesktopIconInfo.push({ "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, ) _studentDesktopIconInfo.push() } //麒麟二中 和 民新小学 if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") { _teacherDesktopIconInfo.push() } // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校 if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") { _teacherDesktopIconInfo.push({ "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, ) } //麒麟二中 if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') { _studentDesktopIconInfo.push({ "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, ) } //万科双语 if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') { _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => { if (el.Name == 'Project Planning') { el.Name = 'PBL项目' } return el }) _studentDesktopIconInfo3.push({ "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, ) } if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') { _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => { return el.Name != '魔盒识字' && el.Name != '24点' }) } if ((_oid == '45facc0a-1211-11ec-80ad-005056b86db5' || _org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") && _type == 2) { _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, { "Name": "Course Assessment", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, ) } //循环创建桌面图标 if (type == 1) { if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') { for (i = 0; i < _studentDesktopIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_studentDesktopIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_studentDesktopIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("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 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) { for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_hkZJLSStudentDeskIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_hkZJLSStudentDeskIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent); } // } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) { for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_jccssylStudentDeskIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_jccssylStudentDeskIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("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 == "777559d2-7239-11ee-b98c-005056b86db5")) { for (i = 0; i < _hkStudentEnglishDeskIcon.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_hkStudentEnglishDeskIcon[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_hkStudentEnglishDeskIcon[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentEnglishDeskIcon[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentEnglishDeskIcon[i].Name }, _iconcontent); } } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) { for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_thuioeStudentDeskIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_thuioeStudentDeskIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent); } } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) { for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_tpcStudentDeskIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_tpcStudentDeskIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent); } // } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) { for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_chjyjStudentDeskIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_chjyjStudentDeskIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent); } } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) { for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_szjkyStudentDeskIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_szjkyStudentDeskIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent); } } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) { for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_dseiStudentDeskIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_dseiStudentDeskIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent); } } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) { for (i = 0; i < _siesStudentDeskIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_siesStudentDeskIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_siesStudentDeskIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("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 && (_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", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_studentDesktopIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_studentDesktopIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("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 == "150e3120-9195-11ed-b13d-005056b86db5") { for (i = 0; i < _tcStudentDeskIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_tcStudentDeskIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_tcStudentDeskIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent); } } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") { for (i = 0; i < _szscStudentDeskIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_szscStudentDeskIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_szscStudentDeskIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent); } } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) { for (i = 0; i < _studentDesktopIconInfo3.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_studentDesktopIconInfo3[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_studentDesktopIconInfo3[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent); } } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) { for (i = 0; i < _studentDesktopIconInfo2.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_studentDesktopIconInfo2[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_studentDesktopIconInfo2[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent); } } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) { for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_wanketeacherDesktopIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_wanketeacherDesktopIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent); } } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) { for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_wankeAdminDesktopIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_wankeAdminDesktopIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("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 == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") { for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_jccssylTeacherDeskIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_jccssylTeacherDeskIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent); } } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) { for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_tpcOrganizerDeskIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_tpcOrganizerDeskIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent); } } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) { for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_tpcTeacherDeskIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_tpcTeacherDeskIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent); } } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) { for (i = 0; i < _teacherDesktopIconInfo2.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_teacherDesktopIconInfo2[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_teacherDesktopIconInfo2[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent); } } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) { for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_thuioeTeacherDeskIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_thuioeTeacherDeskIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent); } } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) { for (i = 0; i < _hkTeacherEnglishDeskIcon.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_hkTeacherEnglishDeskIcon[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_hkTeacherEnglishDeskIcon[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherEnglishDeskIcon[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherEnglishDeskIcon[i].Name }, _iconcontent); } } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) { for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_lotechTeacherDeskIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_lotechTeacherDeskIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent); } // } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) { for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_siesTeacherDeskIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_siesTeacherDeskIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("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 == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) { for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_longhuaTeacherDeskIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_longhuaTeacherDeskIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent); } } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) { for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_yunhaiTeacherDeskIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_yunhaiTeacherDeskIconInfo[i]]) }, _frag); // _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) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) { for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_hkZJLSTeacherDeskIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_hkZJLSTeacherDeskIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent); } } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) { for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_hkTeacherDeskIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_hkTeacherDeskIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent); } } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) { for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_gdjgAdminDeskIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_gdjgAdminDeskIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent); } } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) { for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_gdjgTeacherDeskIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_gdjgTeacherDeskIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("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 == "54f09f1e-09f0-11ee-91d8-005056b86db5")) { for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_szherTeacherDeskIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_szherTeacherDeskIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[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 == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) { for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_dseiAdminDeskIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_dseiAdminDeskIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent); } } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) { for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_dseiTeacherDeskIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_dseiTeacherDeskIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent); } // } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) { for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_chjyjAdminDeskIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_chjyjAdminDeskIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent); } // } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) { for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_chjyjTeacherDeskIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_chjyjTeacherDeskIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent); } } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) { for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_szjkyAdminDeskIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_szjkyAdminDeskIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent); } // } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) { for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_szjkyTeacherDeskIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_szjkyTeacherDeskIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[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", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_futianAdminDeskIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_futianAdminDeskIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent); } } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) { for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_futianTeacherDeskIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_futianTeacherDeskIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent); } } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) { for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_MingdeTeacherDeskIcon[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_MingdeTeacherDeskIcon[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent); } } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) { for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_lhsAdminDesktopIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_lhsAdminDesktopIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent); } } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) { for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_lhsteacherDesktopIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_lhsteacherDesktopIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent); } } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) { for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_zhoujiateacherDesktopIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_zhoujiateacherDesktopIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent); } } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") { for (i = 0; i < _hanDeskIcon.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_hanDeskIcon[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_hanDeskIcon[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent); } } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") { for (i = 0; i < _orgStemDeskIcon.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_orgStemDeskIcon[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_orgStemDeskIcon[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent); } } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") { for (i = 0; i < _szulsDeskIcon.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_szulsDeskIcon[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_szulsDeskIcon[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent); } } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") { for (i = 0; i < _orgDesktopIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_orgDesktopIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_orgDesktopIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent); } } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") { for (i = 0; i < _schoolDesktopIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_schoolDesktopIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_schoolDesktopIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent); } } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") { for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_GMteacherDesktopIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_GMteacherDesktopIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent); } } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") { for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_SONGteacherDesktopIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_SONGteacherDesktopIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent); } } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") { for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_GMstudentDesktopIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_GMstudentDesktopIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent); } } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) { for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_tcTeacherDeskIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_tcTeacherDeskIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent); } } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) { for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_tcOrganizerDeskIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_tcOrganizerDeskIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent); } } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) { for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_szscTeacherDeskIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_szscTeacherDeskIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent); } } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) { for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_szscOrganizerDeskIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_szscOrganizerDeskIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent); } } else { for (i = 0; i < _teacherDesktopIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_teacherDesktopIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_teacherDesktopIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent); } } } else { for (i = 0; i < _easyDesktopIconInfo.length; i++) { _content = $$("div", { className: "U_MD_D_KO", style: { 'width': '124px', 'height': '145px' }, "onmousedown": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_easyDesktopIconInfo[i]]), "onclick": U.UF.C.closure(function(obj) { //防止拖动图标即打开了桌面应用 U.MD.D.click(this, obj); }, [_easyDesktopIconInfo[i]]) }, _frag); // _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content); $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent); $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent); } } if (type == 1) { //加载好后给图标定位 U.MD.D.iconPostion($(_frag).Child()); } else { //加载好后给图标定位 U.MD.D.iconPostion2($(_frag).Child()); } //把图标加载到页面 el.appendChild(_frag); } /** * 显示任务栏 * * @param {element} 桌面元素 */ U.MD.D.I.displayTaskbar = function(el) { //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤 if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") { //任务栏位置变化 U.selectEl(el).css({ "bottom": "0px" }); //桌面位置变话 // U.selectEl("#U_MD_D_K").css({ "left": "70px" }); } } //#region 桌面图标拖动逻辑 /** * 桌面排列图标 * * @param {element} 桌面元素 * @param {object} 上下相距的距离 * @param {object} 左右相距的距离 * @return {object} 命名空间 */ U.MD.D.iconPostion = function(childs, top, left) { var i; //用于循环处理 top = top || 15; //如果没有设置元素的间距处理默认上间距为15 left = left || 20; //如果没有设置元素的间距处理默认左间距为15 //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式 for (i = 0; i < childs.length; i++) { //如果竖排top超过了范围处理 if (top + 95 > US.height - 10) { //left超过了页面范围处理,则向上重叠打印处理 if ((left + 180) > US.width) { top -= 110; left -= 90; } //没有超过范围,那么left+90添加到下一个竖排打印 else { left += 90; top = 15; }; } //给图标的位置赋值 U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" }); if (i < childs.length - 1) { //页面图标每次向下加95 top += 95; } } //返回最后调用的图标的位置 return [top, left]; } /** * 桌面排列图标 * * @param {element} 桌面元素 * @param {object} 上下相距的距离 * @param {object} 左右相距的距离 * @return {object} 命名空间 */ U.MD.D.iconPostion2 = function(childs, top, left) { var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理 top = top || 70; //如果没有设置元素的间距处理默认上间距为15 left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15 //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式 for (i = 0; i < childs.length; i++) { //如果竖排top超过了范围处理 if (left + 150 > US.width - 10) { //left超过了页面范围处理,则向上重叠打印处理 if ((top + 180) > US.Height) { top -= 150; left -= 150; } //没有超过范围,那么left+90添加到下一个竖排打印 else { top += 150; left = ol; }; } //给图标的位置赋值 U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' }); if (i < childs.length - 1) { //页面图标每次向下加95 left += 150; } } //返回最后调用的图标的位置 return [top, left]; } /** * 桌面点击事件逻辑 * * @param {element} 桌面元素 * @param {object} 上下相距的距离 * @param {object} 左右相距的距离 * @return {object} 命名空间 */ U.MD.D.click = function(el, obj) { var _buttonnumber = event.button; //点击的按钮的事件值 var _userinfo = US.userInfo; U.UF.EV.stopBubble(); //阻止向上冒泡 //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理 if (_buttonnumber < 2) { //如果是click事件的处理 if (event.type == "click") { //如果元素在mousemove事件中没有移动则出发click事件 if (!U.MD.D.I.IsDrag) { if (!_userinfo || Object.keys(_userinfo).length === 0) { U.alert("请先登录您的账号!"); setTimeout(() => { U.MD.U.L.login(); }, 2000); } else { //打开应用处理 U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID }); } } } //如果是mouse事件的处理 else { if (US.Config.type == '1') { //拖动处理,添加拖动和拖动结束事件 U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp); } } U.MD.D.I.IsDrag = false; } } /** * 拖动的处理 * */ U.MD.D.iconMove = function() { //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true U.MD.D.I.IsDrag = true; } /** * 拖动结束后,这里是定位处理,以网状的形式定位 * * @param {element} 拖动的元素 * @return {object} 命名空间 */ U.MD.D.iconUp = function(el) { var _top = 15, _left = 20, _margin, _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标 _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置 if (_positioninfo["OT"] > 15) { //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位 _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0; _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15; } if (_positioninfo["OL"] > 20) { //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位 _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0; _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20 } //while循环判断么一个重叠的元素 do { _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位 _top = _positioninfo[0] + 95; //得到定位后的top _left = _positioninfo[1]; //得到定位后的left } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo)) } /** * 判断拖动后图标是否重叠 * * @param {element} 拖动的元素 * @param {element} 桌面所有的元素 * @param {array} 拖动元素的位置 ----------[0] 上 top ----------[1] 左 left * @return {object} 命名空间 */ U.MD.D.isOverlap = function(el, childs, postionarray) { //循环所有的图标 for (var i = 0; i < childs.length; i++) { //判断有没有和该图标诶子重叠的元素 if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) { return childs[i]; //如果有返回 } } } //#endregion //#endregion //#region 桌面应用 /** * 打开应用 * * @param {string} 类型 -----------------Disk 网盘系统 -----------------PDisk 学习系统网盘 -----------------Poto 图片 -----------------Video 视频 -----------------Music 音乐 -----------------Word word -----------------Excel excel -----------------Txt 记事本 -----------------PB 学习系统 -----------------Blog 朋友圈系统 -----------------FTP ftp系统 -----------------Group 好友群 -----------------SY 首页系统 -----------------Set 个人设置 -----------------XSet 系统设置 -----------------App 我们所有的app -----------------BC c.1473.cn 平台 -----------------CWeb d.1473.cn 变成平台 -----------------其他的外联系统 我们统一用iframe打开 * @param {array} 类型 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""} 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。 如果第一个参数为"blog"或者"PDisk"。建议删除。 如果第一个参数为其他,则无第二个参数 * @returns {array} */ window.addEventListener('message', function(e) { // 监听 message 事件 // alert(e.data.type); if (e.data.screenType && e.data.screenType == "2") { //课程管理传入 U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4) //3是展示全部阶段 2学生 1老师 4专家 } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入 U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4) //3是展示全部阶段 2学生 1老师 4专家 } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入 U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4) //3是展示全部阶段 2学生 1老师 4专家 } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入 U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1) } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入 U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1) } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入 U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1) } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入 U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1) } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入 U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5) } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入 U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4) //3是展示全部阶段 2学生 1老师 4专家 } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入 U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1) } else if (e.data.close && e.data.close == "1") { //更新用户信息 U.MD.D.I.selectUser(); } else if (e.data.allScreen && e.data.allScreen == "1") { var _formel = document.getElementById("study"); U.UF.F.windowZooming(_formel); } else if (e.data.allScreen && e.data.allScreen == "2") { var _formel = document.getElementById("studyDetail"); U.UF.F.windowZooming(_formel); } else if (e.data.allScreen && e.data.allScreen == "2gm") { var _formel = document.getElementById("studyDetail"); U.UF.F.windowZooming(_formel); } else if (e.data.allScreen && e.data.allScreen == "3") { var _formel = document.getElementById("studentStudy"); U.UF.F.windowZooming(_formel); } else if (e.data.allScreen && e.data.allScreen == "6") { // var _formel = document.getElementById("study"); //如果最大化了,那么就把他缩小 // if (_formel.ismaximize) { // return; // } // U.UF.F.windowZooming(_formel); // U.UF.F.topWindow(_formel); } else if (e.data.allScreen && e.data.allScreen == "4") { // var _formel = document.getElementById("studyDetail"); //如果最大化了,那么就把他缩小 // if (_formel.ismaximize) { // return; // } // U.UF.F.windowZooming(_formel); // U.UF.F.topWindow(_formel); } else if (e.data.allScreen && e.data.allScreen == "5") { // var _formel = document.getElementById("studentStudy"); // if (_formel.ismaximize) { // return; // } // U.UF.F.windowZooming(_formel); // U.UF.F.topWindow(_formel); } else if (e.data.allScreen && e.data.allScreen == "5gm") { var _formel = document.getElementById("study"); // if (_formel.ismaximize) { // return; // } // U.UF.F.windowZooming(_formel); U.UF.F.topWindow(_formel); } else if (e.data.allScreen && e.data.allScreen == "1s") { var _formel = document.getElementById("studentIndex"); U.UF.F.windowZooming(_formel); } else if (e.data.allScreen && e.data.allScreen == "2s") { var _formel = document.getElementById("studyDetailS"); U.UF.F.windowZooming(_formel); } else if (e.data.allScreen && e.data.allScreen == "1studio") { var _formel = document.getElementById("studioIndex"); U.UF.F.windowZooming(_formel); } else if (e.data.allScreen && e.data.allScreen == "2studio") { var _formel = document.getElementById("studyDetailStudio"); U.UF.F.windowZooming(_formel); } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") { var _formel = document.getElementById("studyDetailStudio"); U.UF.F.windowZooming(_formel); } else if (e.data.allScreen && e.data.allScreen == "2NT") { var _formel = document.getElementById("studyDetailNT"); U.UF.F.windowZooming(_formel); } else if (e.data.allScreen && e.data.allScreen == "2ss") { var _formel = document.getElementById("studyDetailS"); U.UF.F.windowZooming(_formel); } else if (e.data.allScreen && e.data.allScreen == "4s") { var _formel = document.getElementById("studyDetailS"); U.UF.F.topWindow(_formel); } else if (e.data.tools && e.data.tools == "1") { // U.MD.D.I.openApplication("whiteboard") U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool) } else if (e.data.tools && e.data.tools == "2") { U.MD.D.I.openApplication("note") } else if (e.data.tools && e.data.tools == "3") { // U.MD.D.I.openApplication("mind") U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool) } else if (e.data.tools && e.data.tools == "4") { U.MD.D.I.openApplication("investigation") } else if (e.data.tools && e.data.tools == "6") { // U.MD.D.I.openApplication("doc") U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool) } else if (e.data.tools && e.data.tools == "7") { // U.MD.D.I.openApplication("mindNetwork") U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool) } else if (e.data.tools && e.data.tools == "8") { U.MD.D.I.openApplication("library") } else if (e.data.tools && e.data.tools == "17") { U.MD.D.I.openApplication("stuLibrary") } else if (e.data.tools && e.data.tools == "18") { U.MD.D.I.openApplication("train") } else if (e.data.tools && e.data.tools == "21") { U.MD.D.I.openApplication("program") } else if (e.data.tools && e.data.tools == "22") { U.MD.D.I.openApplication("AIprogram2") } else if (e.data.tools && e.data.tools == "23") { U.MD.D.I.openApplication("Pythonprogram") } else if (e.data.tools && e.data.tools == "24") { U.MD.D.I.openApplication("AIprogram") } else if (e.data.tools && e.data.tools == "25") { U.MD.D.I.openApplication("sys") } else if (e.data.tools && e.data.tools == "26") { // U.MD.D.I.openApplication("courseDesign") U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool) } else if (e.data.tools && e.data.tools == "31") { U.MD.D.I.openApplication("netWorkPanel") } else if (e.data.tools && e.data.tools == "32") { U.MD.D.I.openApplication("codeEdit") } else if (e.data.tools && e.data.tools == "57") { U.MD.D.I.openApplication("CocoPi") } else if (e.data.tools && e.data.tools == "63") { U.MD.D.I.openApplication("Wood") } else if (e.data.tools && e.data.tools == "58") { U.MD.D.I.openApplication("car") } else if (e.data.tools && e.data.tools == "59") { U.MD.D.I.openApplication("lineSearch") } else if (e.data.tools && e.data.tools == "60") { U.MD.D.I.openApplication("deepLearning") } else if (e.data.tools && e.data.tools == "61") { U.MD.D.I.openApplication("allHistory") } else if (e.data.tools && e.data.tools == "28") { U.MD.D.I.openApplication("translation") } else if (e.data.tools && e.data.tools == "37") { U.MD.D.I.openApplication("mohe") } else if (e.data.tools && e.data.tools == "38") { U.MD.D.I.openApplication("24game") } else if (e.data.tools && e.data.tools == "39") { U.MD.D.I.openApplication("GeoGebra") } else if (e.data.tools && e.data.tools == "43") { U.MD.D.I.openApplication("studentEvaluate") } else if (e.data.tools && e.data.tools == "44") { U.MD.D.I.openInApplication("hanUrl", '', '', '') } else if (e.data.tools && e.data.tools == "46") { U.MD.D.I.openApplication("project") } else if (e.data.tools && e.data.tools == "1s") { U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool) } else if (e.data.tools && e.data.tools == "3s") { U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool) } else if (e.data.tools && e.data.tools == "6s") { U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool) } else if (e.data.tools && e.data.tools == "1studio") { U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool) } else if (e.data.tools && e.data.tools == "3studio") { U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool) } else if (e.data.tools && e.data.tools == "6studio") { U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool) } else if (e.data.tools && e.data.tools == "3y") { U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool) } else if (e.data.tools && e.data.tools == "1y") { U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool) } else if (e.data.tools && e.data.tools == "inviteLogin") { U.MD.D.getuser2(e.data.userid, e.data.courseId) } else if (e.data.tools && e.data.tools == "AIAnalyse") { U.MD.D.I.openApplication("AIAnalyse") } else if (e.data.tools && e.data.tools == "1teacher") { U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student) } else if (e.data.tools && e.data.tools == "3teacher") { U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student) } else if (e.data.tools && e.data.tools == "7teacher") { U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student) } else if (e.data.tools && e.data.tools == "1teacherE") { U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student) } else if (e.data.tools && e.data.tools == "3teacherE") { U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student) } else if (e.data.tools && e.data.tools == "1E") { U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool) } else if (e.data.tools && e.data.tools == "3E") { U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool) } else if (e.data.tools && e.data.tools == "57y") { U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool) } else if (e.data.tools && e.data.tools == "57u") { U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool) } else if (e.data.tools && e.data.tools == "57teacher") { U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student) } else if (e.data.tools && e.data.tools == "64") { U.MD.D.I.openApplication("AIChat") } else if (e.data.tools && e.data.tools == "66") { U.MD.D.I.openApplication("formulaEdi") } else if (e.data.tools && e.data.tools == "67") { U.MD.D.I.openApplication("molStr") } else if (e.data.tools && e.data.tools == "68") { U.MD.D.I.openApplication("timeAxis") } else if (e.data.tools && e.data.tools == "openCourse") { let _data = { typea: e.data.typea || '', typeb: e.data.typeb || '', typed: e.data.typed || '', } U.MD.D.I.openInApplication("index", _data) } else if (e.data.tools && e.data.tools == "openDataClass") { let _data = { classid: e.data.classid || '', } U.MD.D.I.openInApplication("dataClass", _data) } else if (e.data.tools && e.data.tools == "opencCscl") { let _data = { cid: e.data.cid || '', gid: e.data.gid || '', } U.MD.D.I.openInApplication("opencCscl", _data) } }); U.MD.D.I.selectUser = function() { U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function(res) { //US.userInfo.userid if (res.value[0].length > 0) { US.userInfo = res.value[0][0]; $(".userName")[0].innerHTML = US.userInfo.username; } }, [], { "type": "GET", "withCredentials": true }); } U.MD.D.I.openInApplication = function(str, data, screenType, tType) { var _userinfo = US.userInfo, //登录用户信息 _userid = US.userInfo.userid, //登录用户id _oid = _userinfo.organizeid, _type = US.userInfo.type, _org = US.userInfo.org, _role = US.userInfo.role, _classId = US.userInfo.classid; if (_type == 4) { tType = 4 } switch (str) { case "studyDetailNT": //无终端模式 if (!_userinfo || Object.keys(_userinfo).length === 0) { setTimeout(() => { U.MD.U.L.login(); }, 2000); } else { _formdiv = new U.UF.UI.form( "课程详情", $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-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() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; } case "studyDetail": if (!_userinfo || Object.keys(_userinfo).length === 0) { setTimeout(() => { U.MD.U.L.login(); }, 2000); } else { _formdiv = new U.UF.UI.form( "课程详情", $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-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() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; } case "studyDetailS": if (!_userinfo || Object.keys(_userinfo).length === 0) { setTimeout(() => { U.MD.U.L.login(); }, 2000); } else { _formdiv = new U.UF.UI.form( "项目详情", $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-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() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; } case "studyDetailStudio": if (!_userinfo || Object.keys(_userinfo).length === 0) { setTimeout(() => { U.MD.U.L.login(); }, 2000); } else { _formdiv = new U.UF.UI.form( "工作详情", $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-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() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioCourse.png)" }, "name": "工作详情", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; } case "studyDetailS5": if (!_userinfo || Object.keys(_userinfo).length === 0) { setTimeout(() => { U.MD.U.L.login(); }, 2000); } else { _formdiv = new U.UF.UI.form( "项目详情", $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-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() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; } case "studyDetailGM": if (!_userinfo || Object.keys(_userinfo).length === 0) { setTimeout(() => { U.MD.U.L.login(); }, 2000); } else { _formdiv = new U.UF.UI.form( "课程详情", $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-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() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; } case "hanUrl": 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": "//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() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; } case "index": if (!_userinfo || Object.keys(_userinfo).length === 0) { setTimeout(() => { U.MD.U.L.login(); }, 2000); } else { _formdiv = new U.UF.UI.form( "Course Library", $$("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=2" + "&typea=" + data.typea + "&typeb=" + data.typeb + "&typed=" + data.typed }), { "id": "study", "style": { "width": "100%", "height": "100%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; } case "dataClass": if (!_userinfo || Object.keys(_userinfo).length === 0) { setTimeout(() => { U.MD.U.L.login(); }, 2000); } else { _formdiv = new U.UF.UI.form( "数据报告", $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&cid=" + _classId + "&checkid=" + data.classid }), { "id": "dataClass", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "数据报告", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; } case "opencCscl": if (!_userinfo || Object.keys(_userinfo).length === 0) { setTimeout(() => { U.MD.U.L.login(); }, 2000); } else { _formdiv = new U.UF.UI.form( "CocoNote", $$("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://cscl.cocorobo.com?cid=" + data.cid + "&gid=" + data.gid }), { "id": "futureClass", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() { $("iframe", _formdiv)[0].contentWindow.loginout(); } }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/futureClass.png)" }, "name": "CocoNote", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; } } } U.MD.D.I.openApplication = function(str, obj, info) { obj = obj || {}; var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字 _formdiv, //创建任务栏时同时弹出的窗体元素。 _userinfo = US.userInfo, //登录用户信息 _userid = obj.userid || US.userInfo.userid, //登录用户id _oid = obj.organizeid || _userinfo.organizeid, _type = US.userInfo.type, _org = US.userInfo.org, _role = US.userInfo.role, _classId = US.userInfo.classid, _TscreenType = 1 _screenType = 2, _SscreenType = 3; if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) { return; } if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") { switch (str) { case "studnetProject": //好友打开 _formdiv = new U.UF.UI.form( "我的项目", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/project?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), { "id": "studnetProject", "style": { "width": "70%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "studentEvaluate": //好友打开 _formdiv = new U.UF.UI.form( "我的评价", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), { "id": "studentEvaluate", "style": { "width": "70%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "my": _formdiv = new U.UF.UI.form( "我的资料", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), { "id": "my", "style": { "width": "42%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "program": _formdiv = new U.UF.UI.form( "编程平台", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), { "id": "program", "style": { "width": "70%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "library": _formdiv = new U.UF.UI.form( "素材库", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), { "id": "library", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "whiteboard": _formdiv = new U.UF.UI.form( "电子白板", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), { "id": "whiteboard", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "investigation": _formdiv = new U.UF.UI.form( "问卷调查", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), { "id": "investigation", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "note": _formdiv = new U.UF.UI.form( "便签分类", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), { "id": "note", "style": { "width": "20%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; // case "score": // _formdiv = new U.UF.UI.form( // "量规评分", // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), { // "id": "score", // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, // "onresize": function() {} // }, { // closecallback: function() {} // }, { "style": { "height": "36px" } }).form; //创建窗体 // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } // break; case "mind": _formdiv = new U.UF.UI.form( "思维导图", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html" "id": "mind", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "doc": // U.MD.D.I.isRoom(); _formdiv = new U.UF.UI.form( "协同文档", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm" "id": "doc", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () { // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(); // }) _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/doc.png)" }, "name": "协同文档", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "studentStudy": _formdiv = new U.UF.UI.form( "Course Library", $$("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() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "train": //好友打开 _formdiv = new U.UF.UI.form( "训练平台", $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), { "id": "train", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "mindNetwork": //好友打开 _formdiv = new U.UF.UI.form( "思维网格", $$("iframe", { "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/#/Grid?userid=" + _userid + "&org=" + _org }), { "id": "mindNetwork", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "studentClassRoom": //好友打开 _formdiv = new U.UF.UI.form( "实时课堂", $$("iframe", { "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/#/liveRoom?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), { "id": "studentClassRoom", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } setTimeout(() => { U.UF.F.windowZooming(_formdiv) }, 0); break; } } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") { switch (str) { case "studnetProject": //好友打开 _formdiv = new U.UF.UI.form( "我的项目", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/project?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), { "id": "studnetProject", "style": { "width": "70%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "studentEvaluate": //好友打开 _formdiv = new U.UF.UI.form( "我的评价", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), { "id": "studentEvaluate", "style": { "width": "70%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "my": _formdiv = new U.UF.UI.form( "我的资料", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), { "id": "my", "style": { "width": "42%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "program": _formdiv = new U.UF.UI.form( "编程平台", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), { "id": "program", "style": { "width": "70%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "library": _formdiv = new U.UF.UI.form( "素材库", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), { "id": "library", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "whiteboard": _formdiv = new U.UF.UI.form( "电子白板", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), { "id": "whiteboard", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "investigation": _formdiv = new U.UF.UI.form( "问卷调查", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), { "id": "investigation", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "note": _formdiv = new U.UF.UI.form( "便签分类", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), { "id": "note", "style": { "width": "20%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; // case "score": // _formdiv = new U.UF.UI.form( // "量规评分", // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), { // "id": "score", // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, // "onresize": function() {} // }, { // closecallback: function() {} // }, { "style": { "height": "36px" } }).form; //创建窗体 // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } // break; case "mind": _formdiv = new U.UF.UI.form( "思维导图", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html" "id": "mind", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "doc": // U.MD.D.I.isRoom(); _formdiv = new U.UF.UI.form( "协同文档", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { "id": "doc", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() { $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(); }) _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/doc.png)" }, "name": "协同文档", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "train": //好友打开 _formdiv = new U.UF.UI.form( "训练平台", $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), { "id": "train", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "studentStudy": _formdiv = new U.UF.UI.form( "Course Library", $$("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() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "mindNetwork": //好友打开 _formdiv = new U.UF.UI.form( "思维网格", $$("iframe", { "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/#/Grid?userid=" + _userid + "&org=" + _org }), { "id": "mindNetwork", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "studentClassRoom": //好友打开 _formdiv = new U.UF.UI.form( "实时课堂", $$("iframe", { "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/#/liveRoom?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), { "id": "studentClassRoom", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } setTimeout(() => { U.UF.F.windowZooming(_formdiv) }, 0); break; } } else if (_type == 2 && _org == "777559d2-7239-11ee-b98c-005056b86db5") { switch (str) { case "studentStudy": _formdiv = new U.UF.UI.form( "Course Library", $$("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() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; } } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") { //选择应用处理 switch (str) { case "project": //好友打开 _formdiv = new U.UF.UI.form( _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "Course Planning", $$("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() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "Course Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "student": _formdiv = new U.UF.UI.form( "Students Management", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/student?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org + "&role=" + _role }), { "id": "student", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "Students Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "evaluate": _formdiv = new U.UF.UI.form( "Course Assessment", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), { "id": "evaluate", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "Course Assessment", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "sys": _formdiv = new U.UF.UI.form( "目标管理", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), { "id": "sys", "style": { "width": "100%", "height": "100%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "courseDesign": _formdiv = new U.UF.UI.form( "项目设计", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), { "id": "courseDesign", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "program": _formdiv = new U.UF.UI.form( "编程平台", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), { "id": "program", "style": { "width": "70%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "class": _formdiv = new U.UF.UI.form( "班级管理", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/class?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), { "id": "class", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "Grade": _formdiv = new U.UF.UI.form( "年级管理", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/grade?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), { "id": "Grade", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Grade.png)" }, "name": "年级管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "teacherOffice": _formdiv = new U.UF.UI.form( "Teachers Management", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacherOffice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), { "id": "teacherOffice", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacherOffice.png)" }, "name": "Teachers Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "my": _formdiv = new U.UF.UI.form( "我的资料", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), { "id": "my", "style": { "width": "42%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "notice": _formdiv = new U.UF.UI.form( "通知公告", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), { "id": "notice", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "library": _formdiv = new U.UF.UI.form( "素材库", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), { "id": "library", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "whiteboard": _formdiv = new U.UF.UI.form( "电子白板", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), { "id": "whiteboard", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "investigation": _formdiv = new U.UF.UI.form( "问卷调查", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), { "id": "investigation", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "note": _formdiv = new U.UF.UI.form( "便签分类", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), { "id": "note", "style": { "width": "20%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; // case "score": // _formdiv = new U.UF.UI.form( // "量规评分", // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), { // "id": "score", // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, // "onresize": function() {} // }, { // closecallback: function() {} // }, { "style": { "height": "36px" } }).form; //创建窗体 // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } // break; case "mind": _formdiv = new U.UF.UI.form( "思维导图", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html" "id": "mind", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "doc": // U.MD.D.I.isRoom(); _formdiv = new U.UF.UI.form( "协同文档", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { "id": "doc", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() { $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(); }) _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/doc.png)" }, "name": "协同文档", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "study": _formdiv = new U.UF.UI.form( "Course Library", $$("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() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "mindNetwork": //好友打开 _formdiv = new U.UF.UI.form( "思维网格", $$("iframe", { "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/#/Grid?userid=" + _userid + "&org=" + _org }), { "id": "mindNetwork", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "train": //好友打开 _formdiv = new U.UF.UI.form( "训练平台", $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), { "id": "mindNetwork", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "teacherClassRoom": //好友打开 _formdiv = new U.UF.UI.form( "实时课堂", $$("iframe", { "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/#/classRoom?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), { "id": "teacherClassRoom", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } setTimeout(() => { U.UF.F.windowZooming(_formdiv) }, 0); break; } } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") { switch (str) { case "project": //好友打开 _formdiv = new U.UF.UI.form( "Course Planning", $$("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() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "Course Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "evaluate": _formdiv = new U.UF.UI.form( "Course Assessment", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), { "id": "evaluate", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "Course Assessment", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "notice": _formdiv = new U.UF.UI.form( "通知公告", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), { "id": "notice", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "stuLibrary": _formdiv = new U.UF.UI.form( "学习资料", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studyLibrary?userid=" + _userid + "&org=" + _org }), { "id": "stuLibrary", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/stuLibrary.png)" }, "name": "学习资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "program": _formdiv = new U.UF.UI.form( "编程平台", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), { "id": "program", "style": { "width": "70%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "whiteboard": _formdiv = new U.UF.UI.form( "电子白板", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), { "id": "whiteboard", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "investigation": _formdiv = new U.UF.UI.form( "问卷调查", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), { "id": "investigation", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "mind": _formdiv = new U.UF.UI.form( "思维导图", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html" "id": "mind", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "doc": // U.MD.D.I.isRoom(); _formdiv = new U.UF.UI.form( "协同文档", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { "id": "doc", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() { $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(); }) _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/doc.png)" }, "name": "协同文档", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "study": _formdiv = new U.UF.UI.form( "Course Library", $$("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() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "mindNetwork": //好友打开 _formdiv = new U.UF.UI.form( "思维网格", $$("iframe", { "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/#/Grid?userid=" + _userid + "&org=" + _org }), { "id": "mindNetwork", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "train": //好友打开 _formdiv = new U.UF.UI.form( "训练平台", $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), { "id": "train", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "sys": _formdiv = new U.UF.UI.form( "目标管理", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), { "id": "sys", "style": { "width": "100%", "height": "100%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "courseDesign": _formdiv = new U.UF.UI.form( "项目设计", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), { "id": "courseDesign", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; } } else if ((_type == 1 || _type == 4) && _org == "777559d2-7239-11ee-b98c-005056b86db5") { switch (str) { case "project": //好友打开 _formdiv = new U.UF.UI.form( "Course Planning", $$("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() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "Course Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "study": _formdiv = new U.UF.UI.form( "Course Library", $$("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() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "student": _formdiv = new U.UF.UI.form( "Students Management", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/student?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org + "&role=" + _role }), { "id": "student", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "Students Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "evaluate": _formdiv = new U.UF.UI.form( "Course Assessment", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), { "id": "evaluate", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "Course Assessment", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "studentCourseS": //Project Planning 老师 _formdiv = new U.UF.UI.form( "Project Planning", $$("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/#/scourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), { "id": "studentCourseS", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Project Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "studentIndex": //Project Library _formdiv = new U.UF.UI.form( "Project Library", $$("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() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentIndex.png)" }, "name": "Project Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "teacherOffice": _formdiv = new U.UF.UI.form( "Teachers Management", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacherOffice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), { "id": "teacherOffice", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacherOffice.png)" }, "name": "Teachers Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "learnAna": //好友打开 _formdiv = new U.UF.UI.form( "Learning Analytics", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/learnAna?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), { "id": "learnAna", "style": { "width": "100%", "height": "100%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/learnAna.png)" }, "name": "Learning Analytics", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "AIprogram2": //AI Chat _formdiv = new U.UF.UI.form( "AI Chat", $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), { "id": "AIprogram2", "style": { "width": "70%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI Chat", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; } } else if (!_type) { switch (str) { case "my": _formdiv = new U.UF.UI.form( "我的资料", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), { "id": "my", "style": { "width": "42%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; } } switch (str) { // AIprogram2 AI Chat aihub.cocorobo.cn // Pythonprogram Python编程 python-blockly.cocorobo.cn // AIprogram AI编程 ai-blockly.cocorobo.cn case "formulaEdi": //公式编辑 _formdiv = new U.UF.UI.form( "公式编辑", $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), { "id": "formulaEdi", "style": { "width": "70%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/formulaEdi.png)" }, "name": "公式编辑", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "molStr": //分子结构 _formdiv = new U.UF.UI.form( "分子结构", $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), { "id": "molStr", "style": { "width": "70%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "timeAxis": //时间轴 _formdiv = new U.UF.UI.form( "时间轴", $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), { "id": "timeAxis", "style": { "width": "70%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "AIprogram2": //AI Chat _formdiv = new U.UF.UI.form( "AI Chat", $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), { "id": "AIprogram2", "style": { "width": "70%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI Chat", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "Pythonprogram": //python编程 _formdiv = new U.UF.UI.form( "Python编程", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), { "id": "Pythonprogram", "style": { "width": "70%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Pythonprogram.png)" }, "name": "Python编程", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "AIprogram": //ai编程 _formdiv = new U.UF.UI.form( "AI编程平台", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), { "id": "AIprogram", "style": { "width": "70%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram.png)" }, "name": "AI编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "CocoPi": //CocoPi _formdiv = new U.UF.UI.form( "CocoPi", $$("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.cn" }), { "id": "CocoPi", "style": { "width": "70%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/cocopi.png)" }, "name": "CocoPi", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "Wood": //Wood _formdiv = new U.UF.UI.form( "海龟编程", $$("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() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Wood.png)" }, "name": "海龟编程", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "car": //模拟驾驶 _formdiv = new U.UF.UI.form( "模拟驾驶", $$("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() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/car.png)" }, "name": "模拟驾驶", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "lineSearch": //路径搜索 _formdiv = new U.UF.UI.form( "路径搜索", $$("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() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/lineSearch.png)" }, "name": "路径搜索", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "deepLearning": //深度学习 _formdiv = new U.UF.UI.form( "深度学习", $$("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() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/deepLearning.png)" }, "name": "深度学习", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "allHistory": //深度学习 _formdiv = new U.UF.UI.form( "全历史", $$("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() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/allHistory.png)" }, "name": "全历史", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "chatPDF": //ai编程 _formdiv = new U.UF.UI.form( "chatPDF", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), { "id": "chatPDF", "style": { "width": "70%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/chatPDF.png)" }, "name": "chatPDF", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "resources": //国家教育 _formdiv = new U.UF.UI.form( "国家教育", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), { "id": "resources", "style": { "width": "80%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/resources.png)" }, "name": "国家教育", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "codeEdit": //源码编辑 _formdiv = new U.UF.UI.form( "源码编辑", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), { "id": "codeEdit", "style": { "width": "80%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/code.png)" }, "name": "源码编辑", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; // case "MindMap": //MindMap _formdiv = new U.UF.UI.form( "MindMap", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), { "id": "MindMap", "style": { "width": "80%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/MIndMap.png)" }, "name": "MindMap", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "netWorkPanel": //netWorkPanel _formdiv = new U.UF.UI.form( "netWorkPanel", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), { "id": "netWorkPanel", "style": { "width": "80%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/netWorkPanel.png)" }, "name": "netWorkPanel", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "GeoGebra": //GeoGebra _formdiv = new U.UF.UI.form( "GeoGebra", $$("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() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/GeoGebra.png)" }, "name": "GeoGebra", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "translation": //翻译 _formdiv = new U.UF.UI.form( "翻译", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), { "id": "translation", "style": { "width": "80%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/translation.png)" }, "name": "翻译", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "mohe": //魔盒 _formdiv = new U.UF.UI.form( "魔盒识字", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), { "id": "mohe", "style": { "width": "375px", "height": "667px", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mohe.png)" }, "name": "魔盒识字", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "24game": //24点 _formdiv = new U.UF.UI.form( "24点", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), { "id": "24game", "style": { "width": "375px", "height": "667px", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/24game.png)" }, "name": "24点", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "case": _formdiv = new U.UF.UI.form( "课程进展", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesign?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), { "id": "case", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "snf": _formdiv = new U.UF.UI.form( "赛诺梵", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//try.cynovan.com/standard/?trial=true&data=%7B%22username%22%3A%22cynovanDemo%22%2C%22password%22%3A%22cynovanDemo%22%7D&redirect_uri=http://janus.cynovan.com/#/app/workflow/menu/1/r/6343ce2ac00fa32609d1f91b" }), { "id": "snf", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/snf.png)" }, "name": "赛诺梵", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "hanFamily": _formdiv = new U.UF.UI.form( "汉字家族", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), { "id": "hanFamily", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "hanClassics": _formdiv = new U.UF.UI.form( "国学经典", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), { "id": "hanClassics", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClassics.png)" }, "name": "国学经典", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "hanTraining": _formdiv = new U.UF.UI.form( "笔画训练", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), { "id": "hanTraining", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanTraining.png)" }, "name": "笔画训练", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "hanClass": _formdiv = new U.UF.UI.form( "书法课堂", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), { "id": "hanClass", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "书法课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "han": _formdiv = new U.UF.UI.form( "汉字宫", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), { "id": "han", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/han.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "projectGM": //Course Planning _formdiv = new U.UF.UI.form( "Course Planning", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/courseGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), { "id": "projectGM", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/courseMange.png)" }, "name": "Course Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "studyGM": //Course Library _formdiv = new U.UF.UI.form( "Course Library", $$("iframe", { "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/#/indexGM?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() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; // studentGM case "studentGM": //Students Management _formdiv = new U.UF.UI.form( "Students Management", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studentGM?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org }), { "id": "studentGM", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/student.png)" }, "name": "Students Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "evaluateGM": //Course Assessment _formdiv = new U.UF.UI.form( "Course Assessment", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), { "id": "evaluateGM", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "Course Assessment", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; // classGM case "classGM": //班级管理 _formdiv = new U.UF.UI.form( "班级管理", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/classGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), { "id": "classGM", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; // dataGM case "dataGM": _formdiv = new U.UF.UI.form( "我的资料", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataGM?userid=" + _userid + "&org=" + _org }), { "id": "dataGM", "style": { "width": "42%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/data.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; // caseGM case "caseGM": //课程进展 _formdiv = new U.UF.UI.form( "课程进展", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), { "id": "caseGM", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; // meterialGM case "meterialGM": //素材库 _formdiv = new U.UF.UI.form( "素材库", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/libraryGM?userid=" + _userid + "&org=" + _org }), { "id": "meterialGM", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/material.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; // evaluateSGM case "evaluateSGM": //我的评价 _formdiv = new U.UF.UI.form( "我的评价", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), { "id": "evaluateSGM", "style": { "width": "70%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "jupyter": //jupyter _formdiv = new U.UF.UI.form( "jupyter", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), { "id": "jupyter", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/jupyter.png)" }, "name": "jupyter", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "number": //数字实验室 _formdiv = new U.UF.UI.form( "数字实验室", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), { "id": "number", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/number.png)" }, "name": "数字实验室", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "studentCourse": //Project Planning 学生 _formdiv = new U.UF.UI.form( (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "Project Planning", $$("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/#/studentCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), { "id": "studentCourse", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Project Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "studentCourseS": //Project Planning 老师 _formdiv = new U.UF.UI.form( (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "Project Planning", $$("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/#/scourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), { "id": "studentCourseS", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Project Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "studentIndex": //Project Library _formdiv = new U.UF.UI.form( "Project Library", $$("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() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentIndex.png)" }, "name": "Project Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "CaseDesignS": _formdiv = new U.UF.UI.form( "项目进展", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), { "id": "case", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/CaseDesignS.png)" }, "name": "项目进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "tcStudent": //腾讯学生管理 _formdiv = new U.UF.UI.form( "Students Management", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcStudent?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), { "id": "tcStudent", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "Students Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "tcSchool": //腾讯学校管理 _formdiv = new U.UF.UI.form( "学校管理", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcSchool?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), { "id": "tcSchool", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/school.png)" }, "name": "学校管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "tcTeacher": //腾讯学校管理 _formdiv = new U.UF.UI.form( "教师管理", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcTeacher?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), { "id": "tcTeacher", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacher.png)" }, "name": "教师管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "tcData": //腾讯我的资料 _formdiv = new U.UF.UI.form( "我的资料", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcData?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), { "id": "tcData", "style": { "width": "42%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "tcNotice": //腾讯消息通知 _formdiv = new U.UF.UI.form( "消息通知", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcNotice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), { "id": "tcNotice", "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "消息通知", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "myReport": //好友打开 _formdiv = new U.UF.UI.form( "我的评价", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/myReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId }), { "id": "myReport", "style": { "width": "100%", "height": "100%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "learnAna": //好友打开 _formdiv = new U.UF.UI.form( "Learning Analytics", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/learnAna?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), { "id": "learnAna", "style": { "width": "100%", "height": "100%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/learnAna.png)" }, "name": "Learning Analytics", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "AIChat": //AI共创 _formdiv = new U.UF.UI.form( "AI共创", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), { "id": "AIChat", "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' }, "onresize": function() {} }, { istop: true, closecallback: function() { $("#aichat_icon").remove(); }, narrowcallback: function() { if (!$("#aichat_icon")[0]) { $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function() { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0]) } }, }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI共创", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "ainew": //AI共创 _formdiv = new U.UF.UI.form( "AI协同", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), { "id": "ainew", "style": { "width": "100%", "height": "100%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI协同", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "futureClass": //AI共创 _formdiv = new U.UF.UI.form( "CocoNote", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), { //https://cscl.cocorobo.com "id": "synergyCourse", "style": { "width": "100%", "height": "100%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() { $("iframe", _formdiv)[0].contentWindow.loginout(); } }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/futureClass.png)" }, "name": "CocoNote", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "aiagent": //ai agent _formdiv = new U.UF.UI.form( "AI Agent", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://metagpt.cocorobo.cn/dist/index.html" }), { "id": "AIAgent", "style": { "width": "100%", "height": "100%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI Agent", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "aigpt": //gpt4 _formdiv = new U.UF.UI.form( "AI助手+", $$("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://cloud.cocorobo.com/aigpt/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), { "id": "aigpt", "style": { "width": "100%", "height": "100%", "overflow": 'hidden' }, "onresize": function () { } }, { closecallback: function () { $("iframe", _formdiv)[0].contentWindow.app.log_out(); } }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aigpt.png)" }, "name": "AI助手+", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } } U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () { $("iframe", _formdiv)[0].contentWindow.app.log_in(); }) break; case "dataBoard": //数据看板 _formdiv = new U.UF.UI.form( "数据看板", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoard?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), { "id": "dataBoard", "style": { "width": "100%", "height": "100%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoard.png)" }, "name": "数据看板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "dataBoardSies": //数据融合 _formdiv = new U.UF.UI.form( "数据融合", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoardSies?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), { "id": "dataBoardSies", "style": { "width": "100%", "height": "100%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardSies.png)" }, "name": "数据融合", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "dataBoardNew": //数据看板 _formdiv = new U.UF.UI.form( "综合看板", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoardNew?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), { "id": "dataBoardNew", "style": { "width": "100%", "height": "100%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardNew.png)" }, "name": "综合看板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "AIAnalyse": //AI共创 _formdiv = new U.UF.UI.form( "AI分析", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), { "id": "AIAnalyse", "style": { "width": "100%", "height": "100%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI分析", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "studioCourse": //AI共创 _formdiv = new U.UF.UI.form( "工作管理", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studioCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), { "id": "studioCourse", "style": { "width": "100%", "height": "100%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioCourse.png)" }, "name": "工作管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "studioIndex": //AI共创 _formdiv = new U.UF.UI.form( "工作中心", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/studioIndex?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType + "&role=" + _role }), { "id": "studioIndex", "style": { "width": "100%", "height": "100%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioIndex.png)" }, "name": "工作中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "source": _formdiv = new U.UF.UI.form( "教学资源", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacherSource?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), { "id": "source", "style": { "width": "80%", "height": "80%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/source.png)" }, "name": "教学资源", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "testTeacher": _formdiv = new U.UF.UI.form( "评测管理", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/test?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), { "id": "testTeacher", "style": { "width": "80%", "height": "80%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testTeacher.png)" }, "name": "评测管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "testStudent": _formdiv = new U.UF.UI.form( "评测中心", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/testStudent?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId + "&role=" + _role }), { "id": "testStudent", "style": { "width": "80%", "height": "80%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testStudent.png)" }, "name": "评测管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "testTeacherSies": _formdiv = new U.UF.UI.form( "Teacher Management", $$("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/#/test?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), { "id": "testTeacherSies", "style": { "width": "80%", "height": "80%", "overflow": 'hidden' }, "onresize": function () { } }, { closecallback: function () { } }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testTeacher.png)" }, "name": "Teacher Management", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } } break; case "testStudentSies": _formdiv = new U.UF.UI.form( "Teacher Center", $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/testPerson?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId + "&role=" + _role }), { "id": "testStudentSies", "style": { "width": "80%", "height": "80%", "overflow": 'hidden' }, "onresize": function () { } }, { closecallback: function () { } }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testStudent.png)" }, "name": "Teacher Center", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } } break; } //U.MD.D.I.openClick(str); //如果有任务栏信息 if (_taskbar) { U.MD.D.T.taskbar(_taskbar); //创建任务处理 } } // U.MD.D.I.openClick = function(str){ // var click = ''; // switch(str){ // case 'friend': // click = '我的好友'; // break; // case 'domain': // click = '域名管理'; // break; // case 'disk': // click = '我的云盘'; // break; // case 'word': // click = 'Word'; // break; // case 'excel': // click = 'Execl'; // break; // case 'txt': // click = '文本文件'; // break; // case 'lookupFriend': // click = '查找好友'; // break; // case 'ftp': // click = 'FTP'; // break; // case 'group': // click = '群组'; // break; // case 'set': // click = '我的设置'; // break; // case 'systemSet': // click = '系统设置'; // break; // case 'boomYun': // click = '互联办公'; // break; // case 'xz': // click = '云端下载'; // break; // case 'client': // click = '有思浏览器'; // break; // case 'backEndProgramming': // click = '在线后台编程'; // break; // case 'frontEndProgramming': // click = '在线前端编程'; // break; // default: break; // } // if(U.MD.D.I.Ip && click){ // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip; // U.MD.D.I.Mysqlrequest(clickUrl,function(data){ // }) // } // } /** *函数作用:ajax简易函数,使用post格式 *@param url {data} 后台地址 *@param data {data} 参数json *@param fn {data} 回调函数 * */ // U.MD.D.I.Mysqlrequest = function(url,fn){ // var xhr = new XMLHttpRequest(); // xhr.open("GET",url,true); // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); // xhr.onreadystatechange = function(){ // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){ // fn.call(this,xhr.responseText); // } // }; // xhr.send(); // } /*判断是否是内网IP*/ // U.MD.D.I.isInnerIPFn = function(str){ // var curPageUrl = str; // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀 // curPageUrl =curPageUrl.replace(reg1,''); // // console.log('curPageUrl-1 '+curPageUrl); // var reg2 = /\:+/g;//替换冒号为一点 // curPageUrl =curPageUrl.replace(reg2,'.'); // // console.log('curPageUrl-2 '+curPageUrl); // curPageUrl = curPageUrl.split('.');//通过一点来划分数组 // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3]; // if(curPageUrl[2] != '16'){ // return ipAddress; // }else{ // return false; // } // } // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs // //compatibility for firefox and chrome // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection; // var pc = new myPeerConnection({ // iceServers: [] // }), // noop = function() {}, // localIPs = {}, // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g, // key; // function iterateIP(ip) { // if (!localIPs[ip]) onNewIP(ip); // localIPs[ip] = true; // } // //create a bogus data channel // pc.createDataChannel(""); // // create offer and set local description // pc.createOffer().then(function(sdp) { // sdp.sdp.split('\n').forEach(function(line) { // if (line.indexOf('candidate') < 0) return; // line.match(ipRegex).forEach(iterateIP); // }); // pc.setLocalDescription(sdp, noop, noop); // }).catch(function(reason) { // // An error occurred, so handle the failure to connect // }); // //sten for candidate events // pc.onicecandidate = function(ice) { // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return; // ice.candidate.candidate.match(ipRegex).forEach(iterateIP); // }; // } // U.MD.D.I.getUserIpBool = function(callback){ // U.MD.D.I.getUserIP(function(ip){ // alert("Got IP! :" + ip); // }); //} //#endregion U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) { var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字 _formdiv, //创建任务栏时同时弹出的窗体元素。 _userinfo = US.userInfo, //登录用户信息 _userid = US.userInfo.userid //登录用户id let _iframe; let _cid = cid, _stage = stage, _task = task, _tool = tool; var _jie = $$("div", { "style": { "position": "absolute", "bottom": "50px", "right": "50px", "zIndex": "9999", "backgroundColor": "#2268bc", "color": "#fff", "padding": "12px 20px", "cursor": "pointer", "borderRadius": "4px", }, "innerHTML": "提交作业" }) let aTool = '' let _loading = document.createElement('div') _loading.style = "width:100%;height:100%;background:#00000000;position:absolute;top:0;left:0;z-index:99999999999999;display: none;justify-content: center;align-items: center;" // _loading.id = ""; let _lchild = document.createElement('div') let _limg = document.createElement('img') _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif' _limg.style = "width: 26px;margin-right: 10px;" _lchild.appendChild(_limg) let _lspan = document.createElement('span') _lspan.innerHTML = "上传中..." _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', { "style": { "position": "relative", "width": "100%", "height": "100%", }, }) _box.appendChild(_loading) _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid switch (str) { case "whiteboard": aTool = 1; _iframe = $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }) _box.appendChild(_iframe); _box.appendChild(_jie); _formdiv = new U.UF.UI.form( "电子白板", _box, { "id": "whiteboard" + cid + stage + task + tool, "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "mind": aTool = 3; _iframe = $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }) _box.appendChild(_iframe); _box.appendChild(_jie); _formdiv = new U.UF.UI.form( "思维导图", _box, { //"/jsmind/example/demo.html" "id": "mind" + cid + stage + task + tool, "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "MindMap": aTool = 3; _iframe = $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }) _box.appendChild(_iframe); _box.appendChild(_jie); _formdiv = new U.UF.UI.form( "思维导图", _box, { //"/jsmind/example/demo.html" "id": "mind" + cid + stage + task + tool, "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "doc": aTool = 6; _iframe = $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }) _box.appendChild(_iframe); _box.appendChild(_jie); _formdiv = new U.UF.UI.form( "协同文档", _box, { "id": "doc" + cid + stage + task + tool, "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() { $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool); }) _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/doc.png)" }, "name": "协同文档", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "mindNetwork": //好友打开 aTool = 7; _iframe = $$("iframe", { "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/#/Grid?userid=" + _userid }) _box.appendChild(_iframe); _box.appendChild(_jie); _formdiv = new U.UF.UI.form( "思维网格", _box, { "id": "mindNetwork" + cid + stage + task + tool, "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "courseDesign": _iframe = $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "/course-design-vue" }) _box.appendChild(_iframe); _box.appendChild(_jie); _formdiv = new U.UF.UI.form( "项目设计", _box, { "id": "courseDesign" + cid + stage + task + tool, "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; } const script1 = document.createElement("script"); script1.type = "text/javascript"; // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js"; script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js"; const script2 = document.createElement("script"); script2.type = "text/javascript"; // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js"; script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js"; const script3 = document.createElement("script"); script3.type = "text/javascript"; script3.charset = "UTF-8"; script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js"; const script4 = document.createElement("script"); script4.type = "text/javascript"; // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js"; script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js"; if (_iframe) { if (str == 'doc') { _iframe = _formdiv.querySelector('iframe') let onloadListener = U.UF.DL.iframeLoad(_iframe, function() { _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool); _iframe.contentWindow.document.body.appendChild(script1); _iframe.contentWindow.document.body.appendChild(script2); // _iframe.contentWindow.document.body.appendChild(script3); _iframe.contentWindow.document.body.appendChild(script4); }) if (onloadListener) { _iframe.contentDocument.location.reload() } else { _iframe.contentDocument.location.reload() } } else if (str == 'courseDesign') { U.UF.DL.iframeLoad(_iframe, function() { // _iframe.contentWindow.U.MD.O.W.load(); // _iframe.contentWindow.document.body.appendChild(script1); _iframe.contentWindow.document.body.appendChild(script2); _iframe.contentWindow.document.body.appendChild(script4); }) } else if (str == 'mind') { _iframe = _formdiv.querySelector('iframe') let onloadListener = U.UF.DL.iframeLoad(_iframe, function() { // _iframe.contentWindow.document.body.appendChild(script1); _iframe.contentWindow.document.body.appendChild(script2); _iframe.contentWindow.document.body.appendChild(script4); U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe) }) if (onloadListener) { _iframe.contentDocument.location.reload() } else { _iframe.contentDocument.location.reload() } } else if (str == 'whiteboard') { _iframe = _formdiv.querySelector('iframe') let onloadListener = _iframe.onload = () => { _iframe.contentWindow.document.body.appendChild(script1); _iframe.contentWindow.document.body.appendChild(script2); _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() } } else { _iframe.onload = () => { _iframe.contentWindow.document.body.appendChild(script1); _iframe.contentWindow.document.body.appendChild(script2); // _iframe.contentWindow.document.body.appendChild(script3); _iframe.contentWindow.document.body.appendChild(script4); }; } _jie.onclick = async() => { let text = '' if (aTool == 1) { text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements) } else if (aTool == 6) { text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes() } else if (aTool == 3) { text = await U.MD.D.I.getEditorContent(_iframe); } _loading.style.display = 'flex' console.log(_loading); var _ajs = _iframe.contentWindow.document.createElement("script"); _ajs.type = "text/javascript"; _ajs.innerHTML = // 'console.log(' + _loading + ');\n' + 'var _js = document.createElement("script");\n' + '_js.type="text/javascript";\n' + '_js.charset="UTF-8";\n' + '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' + "_js.onload = function(){\n" + ' var a = document.getElementsByTagName("img")\n' + ' for(var i = 0;i {\n" + '  var base64Url = canvas.toDataURL("image/png");\n' + 'var base64 = ""\n' + 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' + "beforeUpload_shishi(file," + "'" + _userid + "'" + ", " + "'" + _cid + "'" + ", " + "'" + _stage + "'" + ", " + "'" + _task + "'" + ", " + "'" + _tool + "'" + ", " + "'" + (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) + "'" + ", " + "'" + aTool + "'" + ", " + "`" + text + "`" + ")\n" + " });\n" + "}\n" + "document.head.appendChild(_js);\n"; _iframe.contentWindow.document.head.appendChild(_ajs); } } //U.MD.D.I.openClick(str); //如果有任务栏信息 // if (_taskbar) { // U.MD.D.T.taskbar(_taskbar); //创建任务处理 // } } U.MD.D.I.openApplicationJieE = function(str, cid, stage, task, tool) { var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字 _formdiv, //创建任务栏时同时弹出的窗体元素。 _userinfo = US.userInfo, //登录用户信息 _userid = US.userInfo.userid //登录用户id let _iframe; let _cid = cid, _stage = stage, _task = task, _tool = tool; var _jie = $$("div", { "style": { "position": "absolute", "bottom": "50px", "right": "50px", "zIndex": "9999", "backgroundColor": "#2268bc", "color": "#fff", "padding": "12px 20px", "cursor": "pointer", "borderRadius": "4px", }, "innerHTML": "提交作业" }) let aTool = '' let _loading = document.createElement('div') _loading.style = "width:100%;height:100%;background:#00000000;position:absolute;top:0;left:0;z-index:99999999999999;display: none;justify-content: center;align-items: center;" // _loading.id = ""; let _lchild = document.createElement('div') let _limg = document.createElement('img') _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif' _limg.style = "width: 26px;margin-right: 10px;" _lchild.appendChild(_limg) let _lspan = document.createElement('span') _lspan.innerHTML = "上传中..." _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', { "style": { "position": "relative", "width": "100%", "height": "100%", }, }) _box.appendChild(_loading) _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid switch (str) { case "whiteboard": aTool = 1; _iframe = $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }) _box.appendChild(_iframe); _box.appendChild(_jie); _formdiv = new U.UF.UI.form( "电子白板", _box, { "id": "whiteboard" + cid + stage + task + tool, "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "mind": aTool = 3; _iframe = $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }) _box.appendChild(_iframe); _box.appendChild(_jie); _formdiv = new U.UF.UI.form( "思维导图", _box, { //"/jsmind/example/demo.html" "id": "mind" + cid + stage + task + tool, "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "MindMap": aTool = 3; _iframe = $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }) _box.appendChild(_iframe); _box.appendChild(_jie); _formdiv = new U.UF.UI.form( "思维导图", _box, { //"/jsmind/example/demo.html" "id": "mind" + cid + stage + task + tool, "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "doc": aTool = 6; _iframe = $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }) _box.appendChild(_iframe); _box.appendChild(_jie); _formdiv = new U.UF.UI.form( "协同文档", _box, { "id": "doc" + cid + stage + task + tool, "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() { $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool); }) _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/doc.png)" }, "name": "协同文档", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "mindNetwork": //好友打开 aTool = 7; _iframe = $$("iframe", { "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/#/Grid?userid=" + _userid }) _box.appendChild(_iframe); _box.appendChild(_jie); _formdiv = new U.UF.UI.form( "思维网格", _box, { "id": "mindNetwork" + cid + stage + task + tool, "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "courseDesign": _iframe = $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "/course-design-vue" }) _box.appendChild(_iframe); _box.appendChild(_jie); _formdiv = new U.UF.UI.form( "项目设计", _box, { "id": "courseDesign" + cid + stage + task + tool, "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; } const script1 = document.createElement("script"); script1.type = "text/javascript"; // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js"; script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js"; const script2 = document.createElement("script"); script2.type = "text/javascript"; // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js"; script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js"; const script3 = document.createElement("script"); script3.type = "text/javascript"; script3.charset = "UTF-8"; script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js"; const script4 = document.createElement("script"); script4.type = "text/javascript"; // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js"; script4.src = window.origin + "/js/Common/jietu2E.js"; if (_iframe) { if (str == 'doc') { _iframe = _formdiv.querySelector('iframe') let onloadListener = U.UF.DL.iframeLoad(_iframe, function() { _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool); _iframe.contentWindow.document.body.appendChild(script1); _iframe.contentWindow.document.body.appendChild(script2); // _iframe.contentWindow.document.body.appendChild(script3); _iframe.contentWindow.document.body.appendChild(script4); }) if (onloadListener) { _iframe.contentDocument.location.reload() } else { _iframe.contentDocument.location.reload() } } else if (str == 'courseDesign') { U.UF.DL.iframeLoad(_iframe, function() { // _iframe.contentWindow.U.MD.O.W.load(); // _iframe.contentWindow.document.body.appendChild(script1); _iframe.contentWindow.document.body.appendChild(script2); _iframe.contentWindow.document.body.appendChild(script4); }) } else if (str == 'mind') { _iframe = _formdiv.querySelector('iframe') let onloadListener = U.UF.DL.iframeLoad(_iframe, function() { // _iframe.contentWindow.document.body.appendChild(script1); _iframe.contentWindow.document.body.appendChild(script2); _iframe.contentWindow.document.body.appendChild(script4); U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe) }) if (onloadListener) { _iframe.contentDocument.location.reload() } else { _iframe.contentDocument.location.reload() } } else if (str == 'whiteboard') { _iframe = _formdiv.querySelector('iframe') let onloadListener = _iframe.onload = () => { _iframe.contentWindow.document.body.appendChild(script1); _iframe.contentWindow.document.body.appendChild(script2); _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() } } else { _iframe.onload = () => { _iframe.contentWindow.document.body.appendChild(script1); _iframe.contentWindow.document.body.appendChild(script2); // _iframe.contentWindow.document.body.appendChild(script3); _iframe.contentWindow.document.body.appendChild(script4); }; } _jie.onclick = async() => { let text = '' if (aTool == 1) { text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements) } else if (aTool == 6) { text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes() } else if (aTool == 3) { text = await U.MD.D.I.getEditorContent(_iframe); } _loading.style.display = 'flex' console.log(_loading); var _ajs = _iframe.contentWindow.document.createElement("script"); _ajs.type = "text/javascript"; _ajs.innerHTML = // 'console.log(' + _loading + ');\n' + 'var _js = document.createElement("script");\n' + '_js.type="text/javascript";\n' + '_js.charset="UTF-8";\n' + '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' + "_js.onload = function(){\n" + ' var a = document.getElementsByTagName("img")\n' + ' for(var i = 0;i {\n" + '  var base64Url = canvas.toDataURL("image/png");\n' + 'var base64 = ""\n' + 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' + "beforeUpload_shishi(file," + "'" + _userid + "'" + ", " + "'" + _cid + "'" + ", " + "'" + _stage + "'" + ", " + "'" + _task + "'" + ", " + "'" + _tool + "'" + ", " + "'" + (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) + "'" + ", " + "'" + aTool + "'" + ", " + "`" + text + "`" + ")\n" + " });\n" + "}\n" + "document.head.appendChild(_js);\n"; _iframe.contentWindow.document.head.appendChild(_ajs); } } //U.MD.D.I.openClick(str); //如果有任务栏信息 // if (_taskbar) { // U.MD.D.T.taskbar(_taskbar); //创建任务处理 // } } U.MD.D.I.openApplicationJieTeacher = function(str, cid, stage, task, tool, student) { var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字 _formdiv, //创建任务栏时同时弹出的窗体元素。 _userid = student.userid, //登录用户id _username = student.student //用户名字 let _iframe; let _cid = cid, _stage = stage, _task = task, _tool = tool; var _jie = $$("div", { "style": { "position": "absolute", "bottom": "50px", "right": "50px", "zIndex": "9999", "backgroundColor": "#2268bc", "color": "#fff", "padding": "12px 20px", "cursor": "pointer", "borderRadius": "4px", }, "innerHTML": "提交作业" }) let aTool = '' let _loading = document.createElement('div') _loading.style = "width:100%;height:100%;background:#00000000;position:absolute;top:0;left:0;z-index:99999999999999;display: none;justify-content: center;align-items: center;" // _loading.id = ""; let _lchild = document.createElement('div') let _limg = document.createElement('img') _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif' _limg.style = "width: 26px;margin-right: 10px;" _lchild.appendChild(_limg) let _lspan = document.createElement('span') _lspan.innerHTML = "上传中..." _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', { "style": { "position": "relative", "width": "100%", "height": "100%", }, }) _box.appendChild(_loading) _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid switch (str) { case "whiteboard": aTool = 1; _iframe = $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }) _box.appendChild(_iframe); _box.appendChild(_jie); _formdiv = new U.UF.UI.form( "电子白板-" + _username, _box, { "id": "whiteboard" + cid + stage + task + tool + _userid, "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "mind": aTool = 3; _iframe = $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }) _box.appendChild(_iframe); _box.appendChild(_jie); _formdiv = new U.UF.UI.form( "思维导图-" + _username, _box, { //"/jsmind/example/demo.html" "id": "mind" + cid + stage + task + tool + _userid, "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "MindMap": aTool = 3; _iframe = $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }) _box.appendChild(_iframe); _box.appendChild(_jie); _formdiv = new U.UF.UI.form( "思维导图-" + _username, _box, { //"/jsmind/example/demo.html" "id": "mind" + cid + stage + task + tool + _userid, "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "doc": aTool = 6; _iframe = $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }) _box.appendChild(_iframe); _box.appendChild(_jie); _formdiv = new U.UF.UI.form( "协同文档-" + _username, _box, { "id": "doc" + cid + stage + task + tool + _userid, "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() { $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool); }) _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/doc.png)" }, "name": "协同文档", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "mindNetwork": //好友打开 aTool = 7; _iframe = $$("iframe", { "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/#/Grid?userid=" + _userid }) _box.appendChild(_iframe); _box.appendChild(_jie); _formdiv = new U.UF.UI.form( "思维网格-" + _username, _box, { "id": "mindNetwork" + cid + stage + task + tool + _userid, "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "courseDesign": _iframe = $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "/course-design-vue" }) _box.appendChild(_iframe); _box.appendChild(_jie); _formdiv = new U.UF.UI.form( "项目设计-" + _username, _box, { "id": "courseDesign" + cid + stage + task + tool + _userid, "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; } const script1 = document.createElement("script"); script1.type = "text/javascript"; // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js"; script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js"; const script2 = document.createElement("script"); script2.type = "text/javascript"; // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js"; script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js"; const script3 = document.createElement("script"); script3.type = "text/javascript"; script3.charset = "UTF-8"; script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js"; const script4 = document.createElement("script"); script4.type = "text/javascript"; // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js"; script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js"; if (_iframe) { if (str == 'doc') { _iframe = _formdiv.querySelector('iframe') let onloadListener = U.UF.DL.iframeLoad(_iframe, function() { _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool); _iframe.contentWindow.document.body.appendChild(script1); _iframe.contentWindow.document.body.appendChild(script2); // _iframe.contentWindow.document.body.appendChild(script3); _iframe.contentWindow.document.body.appendChild(script4); }) if (onloadListener) { _iframe.contentDocument.location.reload() } else { _iframe.contentDocument.location.reload() } } else if (str == 'courseDesign') { U.UF.DL.iframeLoad(_iframe, function() { // _iframe.contentWindow.U.MD.O.W.load(); // _iframe.contentWindow.document.body.appendChild(script1); _iframe.contentWindow.document.body.appendChild(script2); _iframe.contentWindow.document.body.appendChild(script4); }) } else if (str == 'mind') { _iframe = _formdiv.querySelector('iframe') let onloadListener = U.UF.DL.iframeLoad(_iframe, function() { // _iframe.contentWindow.document.body.appendChild(script1); _iframe.contentWindow.document.body.appendChild(script2); _iframe.contentWindow.document.body.appendChild(script4); U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe) }) if (onloadListener) { _iframe.contentDocument.location.reload() } else { _iframe.contentDocument.location.reload() } } else if (str == 'whiteboard') { _iframe = _formdiv.querySelector('iframe') let onloadListener = _iframe.onload = () => { _iframe.contentWindow.document.body.appendChild(script1); _iframe.contentWindow.document.body.appendChild(script2); _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() } } else { _iframe.onload = () => { _iframe.contentWindow.document.body.appendChild(script1); _iframe.contentWindow.document.body.appendChild(script2); // _iframe.contentWindow.document.body.appendChild(script3); _iframe.contentWindow.document.body.appendChild(script4); }; } _jie.onclick = async() => { let text = '' if (aTool == 1) { text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements) } else if (aTool == 6) { text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes() } else if (aTool == 3) { text = await U.MD.D.I.getEditorContent(_iframe); } _loading.style.display = 'flex' console.log(_loading); var _ajs = _iframe.contentWindow.document.createElement("script"); _ajs.type = "text/javascript"; _ajs.innerHTML = // 'console.log(' + _loading + ');\n' + 'var _js = document.createElement("script");\n' + '_js.type="text/javascript";\n' + '_js.charset="UTF-8";\n' + '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' + "_js.onload = function(){\n" + ' var a = document.getElementsByTagName("img")\n' + ' for(var i = 0;i {\n" + '  var base64Url = canvas.toDataURL("image/png");\n' + 'var base64 = ""\n' + 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' + "beforeUpload_shishi(file," + "'" + _userid + "'" + ", " + "'" + _cid + "'" + ", " + "'" + _stage + "'" + ", " + "'" + _task + "'" + ", " + "'" + _tool + "'" + ", " + "'" + (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) + "'" + ", " + "'" + aTool + "'" + ", " + "`" + text + "`" + ")\n" + " });\n" + "}\n" + "document.head.appendChild(_js);\n"; _iframe.contentWindow.document.head.appendChild(_ajs); } } } U.MD.D.I.openApplicationJieTeacherE = function(str, cid, stage, task, tool, student) { var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字 _formdiv, //创建任务栏时同时弹出的窗体元素。 _userid = student.userid, //登录用户id _username = student.student //用户名字 let _iframe; let _cid = cid, _stage = stage, _task = task, _tool = tool; var _jie = $$("div", { "style": { "position": "absolute", "bottom": "50px", "right": "50px", "zIndex": "9999", "backgroundColor": "#2268bc", "color": "#fff", "padding": "12px 20px", "cursor": "pointer", "borderRadius": "4px", }, "innerHTML": "提交作业" }) let aTool = '' let _loading = document.createElement('div') _loading.style = "width:100%;height:100%;background:#00000000;position:absolute;top:0;left:0;z-index:99999999999999;display: none;justify-content: center;align-items: center;" // _loading.id = ""; let _lchild = document.createElement('div') let _limg = document.createElement('img') _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif' _limg.style = "width: 26px;margin-right: 10px;" _lchild.appendChild(_limg) let _lspan = document.createElement('span') _lspan.innerHTML = "上传中..." _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', { "style": { "position": "relative", "width": "100%", "height": "100%", }, }) _box.appendChild(_loading) _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid switch (str) { case "whiteboard": aTool = 1; _iframe = $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }) _box.appendChild(_iframe); _box.appendChild(_jie); _formdiv = new U.UF.UI.form( "电子白板-" + _username, _box, { "id": "whiteboard" + cid + stage + task + tool + _userid, "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "mind": aTool = 3; _iframe = $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }) _box.appendChild(_iframe); _box.appendChild(_jie); _formdiv = new U.UF.UI.form( "思维导图-" + _username, _box, { //"/jsmind/example/demo.html" "id": "mind" + cid + stage + task + tool + _userid, "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "MindMap": aTool = 3; _iframe = $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }) _box.appendChild(_iframe); _box.appendChild(_jie); _formdiv = new U.UF.UI.form( "思维导图-" + _username, _box, { //"/jsmind/example/demo.html" "id": "mind" + cid + stage + task + tool + _userid, "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "doc": aTool = 6; _iframe = $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }) _box.appendChild(_iframe); _box.appendChild(_jie); _formdiv = new U.UF.UI.form( "协同文档-" + _username, _box, { "id": "doc" + cid + stage + task + tool + _userid, "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() { $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool); }) _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/doc.png)" }, "name": "协同文档", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "mindNetwork": //好友打开 aTool = 7; _iframe = $$("iframe", { "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/#/Grid?userid=" + _userid }) _box.appendChild(_iframe); _box.appendChild(_jie); _formdiv = new U.UF.UI.form( "思维网格-" + _username, _box, { "id": "mindNetwork" + cid + stage + task + tool + _userid, "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "courseDesign": _iframe = $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "/course-design-vue" }) _box.appendChild(_iframe); _box.appendChild(_jie); _formdiv = new U.UF.UI.form( "项目设计-" + _username, _box, { "id": "courseDesign" + cid + stage + task + tool + _userid, "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; } const script1 = document.createElement("script"); script1.type = "text/javascript"; // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js"; script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js"; const script2 = document.createElement("script"); script2.type = "text/javascript"; // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js"; script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js"; const script3 = document.createElement("script"); script3.type = "text/javascript"; script3.charset = "UTF-8"; script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js"; const script4 = document.createElement("script"); script4.type = "text/javascript"; // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js"; script4.src = window.origin + "/js/Common/jietu2E.js"; if (_iframe) { if (str == 'doc') { _iframe = _formdiv.querySelector('iframe') let onloadListener = U.UF.DL.iframeLoad(_iframe, function() { _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool); _iframe.contentWindow.document.body.appendChild(script1); _iframe.contentWindow.document.body.appendChild(script2); // _iframe.contentWindow.document.body.appendChild(script3); _iframe.contentWindow.document.body.appendChild(script4); }) if (onloadListener) { _iframe.contentDocument.location.reload() } else { _iframe.contentDocument.location.reload() } } else if (str == 'courseDesign') { U.UF.DL.iframeLoad(_iframe, function() { // _iframe.contentWindow.U.MD.O.W.load(); // _iframe.contentWindow.document.body.appendChild(script1); _iframe.contentWindow.document.body.appendChild(script2); _iframe.contentWindow.document.body.appendChild(script4); }) } else if (str == 'mind') { _iframe = _formdiv.querySelector('iframe') let onloadListener = U.UF.DL.iframeLoad(_iframe, function() { // _iframe.contentWindow.document.body.appendChild(script1); _iframe.contentWindow.document.body.appendChild(script2); _iframe.contentWindow.document.body.appendChild(script4); U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe) }) if (onloadListener) { _iframe.contentDocument.location.reload() } else { _iframe.contentDocument.location.reload() } } else if (str == 'whiteboard') { _iframe = _formdiv.querySelector('iframe') let onloadListener = _iframe.onload = () => { _iframe.contentWindow.document.body.appendChild(script1); _iframe.contentWindow.document.body.appendChild(script2); _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() } } else { _iframe.onload = () => { _iframe.contentWindow.document.body.appendChild(script1); _iframe.contentWindow.document.body.appendChild(script2); // _iframe.contentWindow.document.body.appendChild(script3); _iframe.contentWindow.document.body.appendChild(script4); }; } _jie.onclick = async() => { let text = '' if (aTool == 1) { text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements) } else if (aTool == 6) { text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes() } else if (aTool == 3) { text = await U.MD.D.I.getEditorContent(_iframe); } _loading.style.display = 'flex' console.log(_loading); var _ajs = _iframe.contentWindow.document.createElement("script"); _ajs.type = "text/javascript"; _ajs.innerHTML = // 'console.log(' + _loading + ');\n' + 'var _js = document.createElement("script");\n' + '_js.type="text/javascript";\n' + '_js.charset="UTF-8";\n' + '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' + "_js.onload = function(){\n" + ' var a = document.getElementsByTagName("img")\n' + ' for(var i = 0;i {\n" + '  var base64Url = canvas.toDataURL("image/png");\n' + 'var base64 = ""\n' + 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' + "beforeUpload_shishi(file," + "'" + _userid + "'" + ", " + "'" + _cid + "'" + ", " + "'" + _stage + "'" + ", " + "'" + _task + "'" + ", " + "'" + _tool + "'" + ", " + "'" + (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) + "'" + ", " + "'" + aTool + "'" + ", " + "`" + text + "`" + ")\n" + " });\n" + "}\n" + "document.head.appendChild(_js);\n"; _iframe.contentWindow.document.head.appendChild(_ajs); } } } U.MD.D.I.getEditorContent = function(iframe) { return new Promise((resolve, reject) => { iframe.contentWindow.editor.minder.exportData('json').then(function(content) { console.log(content); resolve(content) }); }); } U.MD.D.I.getContent = function(cid, s, task, t, uid, type, iframe) { // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) { // if (res.value[0].length > 0) { // // resolve(res.value[0][0].text); // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) { // $(fileInput).val(''); // }); // } // }, [], { "type": "GET", "withCredentials": true }); var xmlhttp; var Mac, Sn, DeviceId if (window.XMLHttpRequest) { // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码 xmlhttp = new XMLHttpRequest(); } else { // IE6, IE5 浏览器执行代码 xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange = function() { if (xmlhttp.readyState == 4 && xmlhttp.status == 200) { if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) { // resolve(res.value[0][0].text); if (type == '2') { iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text) } else if (type == '3') { iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) }) } } else { U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe) } } } xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true); xmlhttp.send(); } U.MD.D.I.openApplicationJieS = function(str, cid, stage, task, tool) { var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字 _formdiv, //创建任务栏时同时弹出的窗体元素。 _userinfo = US.userInfo, //登录用户信息 _userid = US.userInfo.userid //登录用户id let _iframe; let _cid = cid, _stage = stage, _task = task, _tool = tool; var _jie = $$("div", { "style": { "position": "absolute", "bottom": "50px", "right": "50px", "zIndex": "9999", "backgroundColor": "#2268bc", "color": "#fff", "padding": "12px 20px", "cursor": "pointer", "borderRadius": "4px", }, "innerHTML": "确认并提交" }) let aTool = '' let _loading = document.createElement('div') _loading.style = "width:100%;height:100%;background:#00000000;position:absolute;top:0;left:0;z-index:99999999999999;display: none;justify-content: center;align-items: center;" // _loading.id = ""; let _lchild = document.createElement('div') let _limg = document.createElement('img') _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif' _limg.style = "width: 26px;margin-right: 10px;" _lchild.appendChild(_limg) let _lspan = document.createElement('span') _lspan.innerHTML = "上传中..." _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', { "style": { "position": "relative", "width": "100%", "height": "100%", }, }) _box.appendChild(_loading) _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid switch (str) { case "whiteboard": aTool = 1; _iframe = $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }) _box.appendChild(_iframe); _box.appendChild(_jie); _formdiv = new U.UF.UI.form( "电子白板", _box, { "id": "whiteboards" + cid + stage + task + tool, "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "mind": aTool = 3; _iframe = $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }); _box.appendChild(_iframe); _box.appendChild(_jie); _formdiv = new U.UF.UI.form( "思维导图", _box, { //"/jsmind/example/demo.html" "id": "minds" + cid + stage + task + tool, "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "doc": aTool = 6; _iframe = $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }) _box.appendChild(_iframe); _box.appendChild(_jie); _formdiv = new U.UF.UI.form( "协同文档", _box, { "id": "docs" + cid + stage + task + tool, "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() { $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2'); }) _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/doc.png)" }, "name": "协同文档", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; } const script1 = document.createElement("script"); script1.type = "text/javascript"; // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js"; script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js"; const script2 = document.createElement("script"); script2.type = "text/javascript"; // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js"; script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js"; const script3 = document.createElement("script"); script3.type = "text/javascript"; script3.charset = "UTF-8"; script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js"; const script4 = document.createElement("script"); script4.type = "text/javascript"; // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js"; script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js"; if (_iframe) { if (str == 'doc') { _iframe = _formdiv.querySelector('iframe') let onloadListener = U.UF.DL.iframeLoad(_iframe, function() { _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2'); _iframe.contentWindow.document.body.appendChild(script1); _iframe.contentWindow.document.body.appendChild(script2); // _iframe.contentWindow.document.body.appendChild(script3); _iframe.contentWindow.document.body.appendChild(script4); }) if (onloadListener) { _iframe.contentDocument.location.reload() } else { _iframe.contentDocument.location.reload() } } else if (str == 'mind') { _iframe = _formdiv.querySelector('iframe') let onloadListener = U.UF.DL.iframeLoad(_iframe, function() { _iframe.contentWindow.document.body.appendChild(script1); _iframe.contentWindow.document.body.appendChild(script2); _iframe.contentWindow.document.body.appendChild(script4); U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe) }) if (onloadListener) { _iframe.contentDocument.location.reload() } else { _iframe.contentDocument.location.reload() } } else { _iframe.onload = () => { _iframe.contentWindow.document.body.appendChild(script1); _iframe.contentWindow.document.body.appendChild(script2); // _iframe.contentWindow.document.body.appendChild(script3); _iframe.contentWindow.document.body.appendChild(script4); }; } _jie.onclick = async() => { let text = '' if (aTool == 6) { text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes() } else if (aTool == 3) { text = await U.MD.D.I.getEditorContent(_iframe); } _loading.style.display = 'flex' console.log(_loading); var _ajs = _iframe.contentWindow.document.createElement("script"); _ajs.type = "text/javascript"; _ajs.innerHTML = // 'console.log(' + _loading + ');\n' + 'var _js = document.createElement("script");\n' + '_js.type="text/javascript";\n' + '_js.charset="UTF-8";\n' + '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' + "_js.onload = function(){\n" + ' var a = document.getElementsByTagName("img")\n' + ' for(var i = 0;i {\n" + '  var base64Url = canvas.toDataURL("image/png");\n' + 'var base64 = ""\n' + 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' + "beforeUpload_shishi(file," + "'" + _userid + "'" + ", " + "'" + _cid + "'" + ", " + "'" + _stage + "'" + ", " + "'" + _task + "'" + ", " + "'" + _tool + "'" + ", " + "'" + (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) + "'" + ", " + "'" + aTool + "'" + ", " + "`" + text + "`" + ")\n" + " });\n" + "}\n" + "document.head.appendChild(_js);\n"; _iframe.contentWindow.document.head.appendChild(_ajs); } } //U.MD.D.I.openClick(str); //如果有任务栏信息 // if (_taskbar) { // U.MD.D.T.taskbar(_taskbar); //创建任务处理 // } } U.MD.D.I.openApplicationJieStudio = function(str, cid, stage, task, tool) { var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字 _formdiv, //创建任务栏时同时弹出的窗体元素。 _userinfo = US.userInfo, //登录用户信息 _userid = US.userInfo.userid //登录用户id let _iframe; let _cid = cid, _stage = stage, _task = task, _tool = tool; var _jie = $$("div", { "style": { "position": "absolute", "bottom": "50px", "right": "50px", "zIndex": "9999", "backgroundColor": "#2268bc", "color": "#fff", "padding": "12px 20px", "cursor": "pointer", "borderRadius": "4px", }, "innerHTML": "确认并提交" }) let aTool = '' let _loading = document.createElement('div') _loading.style = "width:100%;height:100%;background:#00000000;position:absolute;top:0;left:0;z-index:99999999999999;display: none;justify-content: center;align-items: center;" // _loading.id = ""; let _lchild = document.createElement('div') let _limg = document.createElement('img') _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif' _limg.style = "width: 26px;margin-right: 10px;" _lchild.appendChild(_limg) let _lspan = document.createElement('span') _lspan.innerHTML = "上传中..." _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', { "style": { "position": "relative", "width": "100%", "height": "100%", }, }) _box.appendChild(_loading) _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid switch (str) { case "whiteboard": aTool = 1; _iframe = $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }) _box.appendChild(_iframe); _box.appendChild(_jie); _formdiv = new U.UF.UI.form( "电子白板", _box, { "id": "whiteboards" + cid + stage + task + tool, "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "mind": aTool = 3; _iframe = $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }); _box.appendChild(_iframe); _box.appendChild(_jie); _formdiv = new U.UF.UI.form( "思维导图", _box, { //"/jsmind/example/demo.html" "id": "minds" + cid + stage + task + tool, "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "doc": aTool = 6; _iframe = $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }) _box.appendChild(_iframe); _box.appendChild(_jie); _formdiv = new U.UF.UI.form( "协同文档", _box, { "id": "docs" + cid + stage + task + tool, "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() { $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2'); }) _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/doc.png)" }, "name": "协同文档", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; } const script1 = document.createElement("script"); script1.type = "text/javascript"; // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js"; script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js"; const script2 = document.createElement("script"); script2.type = "text/javascript"; // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js"; script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js"; const script3 = document.createElement("script"); script3.type = "text/javascript"; script3.charset = "UTF-8"; script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js"; const script4 = document.createElement("script"); script4.type = "text/javascript"; // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js"; script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js"; if (_iframe) { if (str == 'doc') { _iframe = _formdiv.querySelector('iframe') let onloadListener = U.UF.DL.iframeLoad(_iframe, function() { _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2'); _iframe.contentWindow.document.body.appendChild(script1); _iframe.contentWindow.document.body.appendChild(script2); // _iframe.contentWindow.document.body.appendChild(script3); _iframe.contentWindow.document.body.appendChild(script4); }) if (onloadListener) { _iframe.contentDocument.location.reload() } else { _iframe.contentDocument.location.reload() } } else if (str == 'mind') { _iframe = _formdiv.querySelector('iframe') let onloadListener = U.UF.DL.iframeLoad(_iframe, function() { _iframe.contentWindow.document.body.appendChild(script1); _iframe.contentWindow.document.body.appendChild(script2); _iframe.contentWindow.document.body.appendChild(script4); U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe) }) if (onloadListener) { _iframe.contentDocument.location.reload() } else { _iframe.contentDocument.location.reload() } } else { _iframe.onload = () => { _iframe.contentWindow.document.body.appendChild(script1); _iframe.contentWindow.document.body.appendChild(script2); // _iframe.contentWindow.document.body.appendChild(script3); _iframe.contentWindow.document.body.appendChild(script4); }; } _jie.onclick = async() => { let text = '' if (aTool == 6) { text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes() } else if (aTool == 3) { text = await U.MD.D.I.getEditorContent(_iframe); } _loading.style.display = 'flex' console.log(_loading); var _ajs = _iframe.contentWindow.document.createElement("script"); _ajs.type = "text/javascript"; _ajs.innerHTML = // 'console.log(' + _loading + ');\n' + 'var _js = document.createElement("script");\n' + '_js.type="text/javascript";\n' + '_js.charset="UTF-8";\n' + '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' + "_js.onload = function(){\n" + ' var a = document.getElementsByTagName("img")\n' + ' for(var i = 0;i {\n" + '  var base64Url = canvas.toDataURL("image/png");\n' + 'var base64 = ""\n' + 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' + "beforeUpload_shishi(file," + "'" + _userid + "'" + ", " + "'" + _cid + "'" + ", " + "'" + _stage + "'" + ", " + "'" + _task + "'" + ", " + "'" + _tool + "'" + ", " + "'" + (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) + "'" + ", " + "'" + aTool + "'" + ", " + "`" + text + "`" + ")\n" + " });\n" + "}\n" + "document.head.appendChild(_js);\n"; _iframe.contentWindow.document.head.appendChild(_ajs); } } //U.MD.D.I.openClick(str); //如果有任务栏信息 // if (_taskbar) { // U.MD.D.T.taskbar(_taskbar); //创建任务处理 // } } U.MD.D.I.openApplicationYu = function(str, cid, stage, task, tool) { var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字 _formdiv, //创建任务栏时同时弹出的窗体元素。 _userinfo = US.userInfo, //登录用户信息 _userid = US.userInfo.userid //登录用户id let _iframe; let _cid = cid, _stage = stage, _task = task, _tool = tool; var _jie = $$("div", { "style": { "position": "absolute", "bottom": "50px", "right": "50px", "zIndex": "9999", "backgroundColor": "#2268bc", "color": "#fff", "padding": "12px 20px", "cursor": "pointer", "borderRadius": "4px", }, "innerHTML": "上传模板" }) let aTool = '' let _loading = document.createElement('div') _loading.style = "width:100%;height:100%;background:#00000000;position:absolute;top:0;left:0;z-index:99999999999999;display: none;justify-content: center;align-items: center;" // _loading.id = ""; let _lchild = document.createElement('div') let _limg = document.createElement('img') _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif' _limg.style = "width: 26px;margin-right: 10px;" _lchild.appendChild(_limg) let _lspan = document.createElement('span') _lspan.innerHTML = "上传中..." _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', { "style": { "position": "relative", "width": "100%", "height": "100%", }, }) _box.appendChild(_loading) _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid switch (str) { case "whiteboard": aTool = 1; _iframe = $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }) _box.appendChild(_iframe); _box.appendChild(_jie); _formdiv = new U.UF.UI.form( "电子白板", _box, { "id": "whiteboards_Yu" + cid + stage + task + tool, "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "mind": aTool = 3; _iframe = $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }); _box.appendChild(_iframe); _box.appendChild(_jie); _formdiv = new U.UF.UI.form( "思维导图", _box, { //"/jsmind/example/demo.html" "id": "minds_Yu" + cid + stage + task + tool, "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "doc": aTool = 6; _iframe = $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }) _box.appendChild(_iframe); _box.appendChild(_jie); _formdiv = new U.UF.UI.form( "协同文档", _box, { "id": "docs_Yu" + cid + stage + task + tool, "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() { $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2'); }) _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/doc.png)" }, "name": "协同文档", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; case "CocoPi": aTool = 57; _iframe = $$("iframe", { "allowpaymentrequest": "allowpaymentrequest", "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pi.cocorobo.cn/" }) _box.appendChild(_iframe); _box.appendChild(_jie); _formdiv = new U.UF.UI.form( "CocoPi", _box, { "id": "CocoPi_Yu" + cid + stage + task + tool, "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/cocopi.png)" }, "name": "CocoPi", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; } if (_iframe) { if (str == 'doc') { _iframe = _formdiv.querySelector('iframe') let onloadListener = U.UF.DL.iframeLoad(_iframe, function() { _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2'); }) if (onloadListener) { _iframe.contentDocument.location.reload() } else { _iframe.contentDocument.location.reload() } } else if (str == 'mind') { _iframe = _formdiv.querySelector('iframe') let onloadListener = U.UF.DL.iframeLoad(_iframe, function() { U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe) }) if (onloadListener) { _iframe.contentDocument.location.reload() } else { _iframe.contentDocument.location.reload() } } else if (str == 'whiteboard') { _iframe = _formdiv.querySelector('iframe') 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() } } else if (str == 'CocoPi') { _iframe = _formdiv.querySelector('iframe') let onloadListener = U.UF.DL.iframeLoad(_iframe, function() { U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe) }) if (onloadListener) { _iframe.contentDocument.location.reload() } else { _iframe.contentDocument.location.reload() } } else { _iframe.onload = () => {}; } _jie.onclick = async() => { let text = '' let type = '2' if (aTool == 1) { text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements) type = '3' } else if (aTool == 6) { text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes() type = '1' } else if (aTool == 3) { text = await U.MD.D.I.getEditorContent(_iframe); type = '2' } else if (aTool == 57) { text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr()) type = '4' } _loading.style.display = 'flex' U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan) } } //U.MD.D.I.openClick(str); //如果有任务栏信息 // if (_taskbar) { // U.MD.D.T.taskbar(_taskbar); //创建任务处理 // } } U.MD.D.I.getContents = function(cid, s, task, t, uid, type, iframe) { var xmlhttp; var Mac, Sn, DeviceId if (window.XMLHttpRequest) { // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码 xmlhttp = new XMLHttpRequest(); } else { // IE6, IE5 浏览器执行代码 xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange = function() { if (xmlhttp.readyState == 4 && xmlhttp.status == 200) { if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) { // resolve(res.value[0][0].text); iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text) } } } xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true); xmlhttp.send(); } U.MD.D.I.getContents2 = function(cid, s, task, t, uid, type, iframe) { var xmlhttp; var Mac, Sn, DeviceId if (window.XMLHttpRequest) { // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码 xmlhttp = new XMLHttpRequest(); } else { // IE6, IE5 浏览器执行代码 xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange = function() { if (xmlhttp.readyState == 4 && xmlhttp.status == 200) { if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) { // resolve(res.value[0][0].text); if (type == '2') { iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text) } else if (type == '3') { iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) }) } else if (type == '4') { iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text) } } else { if (type == '2') { iframe.contentWindow.editor.minder.importData('json', '') } else if (type == '3') { iframe.contentWindow.h.app.updateScene({ elements: [] }) } else if (type == '4') { iframe.contentWindow.window.blockpy.components.editor.blockly.clear(); } } } } xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true); xmlhttp.send(); } U.MD.D.I.setContents = function(cid, s, task, t, uid, type, text, loading, span) { var xmlhttp; var Mac, Sn, DeviceId if (window.XMLHttpRequest) { // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码 xmlhttp = new XMLHttpRequest(); } else { // IE6, IE5 浏览器执行代码 xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange = function() { if (xmlhttp.readyState == 4 && xmlhttp.status == 200) { if (xmlhttp.response) { // resolve(res.value[0][0].text); // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) { // $(fileInput).val(''); // }); span.innerHTML = '上传成功' setTimeout(() => { loading.style.display = 'none' }, 1000); } } } // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true); xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true); // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true); xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); // 设置请求头,表示请求体的编码格式 xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type); // 设置请求体,使用url-encoded格式的数据 } U.MD.D.I.openApplicationUpload = function(str, cid, stage, task, tool) { var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字 _formdiv, //创建任务栏时同时弹出的窗体元素。 _userinfo = US.userInfo, //登录用户信息 _userid = US.userInfo.userid //登录用户id let _iframe; let _cid = cid, _stage = stage, _task = task, _tool = tool; var _jie = $$("div", { "style": { "position": "absolute", "bottom": "50px", "right": "50px", "zIndex": "9999", "backgroundColor": "#2268bc", "color": "#fff", "padding": "12px 20px", "cursor": "pointer", "borderRadius": "4px", }, "innerHTML": "提交作业" }) let aTool = '' let _loading = document.createElement('div') _loading.style = "width:100%;height:100%;background:#00000000;position:absolute;top:0;left:0;z-index:99999999999999;display: none;justify-content: center;align-items: center;" // _loading.id = ""; let _lchild = document.createElement('div') let _limg = document.createElement('img') _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif' _limg.style = "width: 26px;margin-right: 10px;" _lchild.appendChild(_limg) let _lspan = document.createElement('span') _lspan.innerHTML = "上传中..." _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', { "style": { "position": "relative", "width": "100%", "height": "100%", }, }) _box.appendChild(_loading) _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid switch (str) { case "CocoPi": aTool = 57; _iframe = $$("iframe", { "allowpaymentrequest": "allowpaymentrequest", "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pi.cocorobo.cn/" }) _box.appendChild(_iframe); _box.appendChild(_jie); _formdiv = new U.UF.UI.form( "CocoPi", _box, { "id": "CocoPi_Upload" + cid + stage + task + tool, "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/cocopi.png)" }, "name": "CocoPi", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; } if (_iframe) { if (str == 'CocoPi') { _iframe = _formdiv.querySelector('iframe') let onloadListener = U.UF.DL.iframeLoad(_iframe, function() { U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe) }) if (onloadListener) { _iframe.contentDocument.location.reload() } else { _iframe.contentDocument.location.reload() } } _jie.onclick = async() => { let text = '' if (aTool == 57) { text = _iframe.contentWindow.getLoadXmlStr() } _loading.style.display = 'flex' console.log(_loading); U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) { _loading.style.display = 'none' let _div = document.createElement('div') _div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;" let _inner = document.createElement('div') _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;" _inner.innerHTML = "上传成功" _div.appendChild(_inner) _iframe.contentWindow.window.document.body.appendChild(_div) _div.onclick = () => { _iframe.contentWindow.window.document.body.removeChild(_div) } setTimeout(() => { _iframe.contentWindow.window.document.body.removeChild(_div) }, 1000); }, [], { "type": "POST", "withCredentials": true }); } } } U.MD.D.I.openApplicationTeacherUpload = function(str, cid, stage, task, tool, student) { var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字 _formdiv, //创建任务栏时同时弹出的窗体元素。 _userid = student.userid, //登录用户id _username = student.student //用户名字 let _iframe; let _cid = cid, _stage = stage, _task = task, _tool = tool; var _jie = $$("div", { "style": { "position": "absolute", "bottom": "50px", "right": "50px", "zIndex": "9999", "backgroundColor": "#2268bc", "color": "#fff", "padding": "12px 20px", "cursor": "pointer", "borderRadius": "4px", }, "innerHTML": "提交作业" }) let aTool = '' let _loading = document.createElement('div') _loading.style = "width:100%;height:100%;background:#00000000;position:absolute;top:0;left:0;z-index:99999999999999;display: none;justify-content: center;align-items: center;" // _loading.id = ""; let _lchild = document.createElement('div') let _limg = document.createElement('img') _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif' _limg.style = "width: 26px;margin-right: 10px;" _lchild.appendChild(_limg) let _lspan = document.createElement('span') _lspan.innerHTML = "上传中..." _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', { "style": { "position": "relative", "width": "100%", "height": "100%", }, }) _box.appendChild(_loading) _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid switch (str) { case "CocoPi": aTool = 57; _iframe = $$("iframe", { "allowpaymentrequest": "allowpaymentrequest", "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pi.cocorobo.cn/" }) _box.appendChild(_iframe); _box.appendChild(_jie); _formdiv = new U.UF.UI.form( "CocoPi-" + _username, _box, { "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid, "style": { "width": "90%", "height": "90%", "overflow": 'hidden' }, "onresize": function() {} }, { closecallback: function() {} }, { "style": { "height": "36px" } }).form; //创建窗体 _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/cocopi.png)" }, "name": "CocoPi", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } } break; } if (_iframe) { if (str == 'CocoPi') { _iframe = _formdiv.querySelector('iframe') let onloadListener = U.UF.DL.iframeLoad(_iframe, function() { U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe) }) if (onloadListener) { _iframe.contentDocument.location.reload() } else { _iframe.contentDocument.location.reload() } } _jie.onclick = async() => { let text = '' if (aTool == 57) { text = _iframe.contentWindow.getLoadXmlStr() } _loading.style.display = 'flex' console.log(_loading); U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) { _loading.style.display = 'none' let _div = document.createElement('div') _div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;" let _inner = document.createElement('div') _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;" _inner.innerHTML = "上传成功" _div.appendChild(_inner) _iframe.contentWindow.window.document.body.appendChild(_div) _div.onclick = () => { _iframe.contentWindow.window.document.body.removeChild(_div) } setTimeout(() => { _iframe.contentWindow.window.document.body.removeChild(_div) }, 1000); }, [], { "type": "POST", "withCredentials": true }); } } } U.MD.D.I.getUploadContent = function(cid, s, task, t, uid, atool, type, iframe) { U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function(res) { if (res.value[0].length > 0) { if (atool == 57) { iframe.contentWindow.loadingXml(res.value[0][0].content) } } else { if (atool == 57) { U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe) // iframe.contentWindow.window.blockpy.components.editor.blockly.clear(); } } }, [], { "type": "POST", "withCredentials": true }); }