12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360 |
-
- Namespace.register("U.MD.D.I");
- U.MD.D.I.IsDrag;
- U.MD.D.I.Ip;
- U.MD.D.I.teacherDeskIcon = [
- { "Name": "项目管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
- { "Name": "学习中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
- { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
- { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
- { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
- { "Name": "我的资料", "Url": "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体验", "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)" } },
- ];
- U.MD.D.I.studentDeskIcon = [
-
- { "Name": "学习中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
-
-
-
-
-
-
-
-
-
-
- { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } }
-
-
-
-
-
-
-
-
-
-
-
-
-
- ];
- U.MD.D.I.schoolDeskIcon = [
- { "Name": "项目管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
- { "Name": "学习中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
- { "Name": "学生评价", "Url": "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体验", "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)" } },
-
- ];
- U.MD.D.I.orgDeskIcon = [
- { "Name": "项目管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
- { "Name": "学习中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
- { "Name": "学生评价", "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)" } },
- ];
- U.MD.D.I.orgStemDeskIcon = [
- { "Name": "项目管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
- { "Name": "学习中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
- { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
- { "Name": "学生评价", "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)" } },
- ];
- U.MD.D.I.hanDeskIcon = [
- { "Name": "项目管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
- { "Name": "学习中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
- { "Name": "学生评价", "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": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
- { "Name": " 魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
- ];
- U.MD.D.I.init = function() {
- if ($("#U_MD_D_K")[0]) {
-
- U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0]);
-
-
-
-
-
-
-
-
-
- }
- }
- U.MD.D.I.hiddenTaskbar = function(el) {
-
- U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
-
-
- }
- U.MD.D.I.hiddenTaskbarout = function(el) {
-
- if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
-
- U.selectEl(el).css({ "bottom": "-60px" });
-
-
- }
- }
- U.MD.D.I.initDesktopIcons = function(el) {
- var i,
- _content,
- _iconcontent,
- _frag = $$("frag"),
- _type = US.userInfo.type,
- _org = US.userInfo.org,
- _oid = US.userInfo.organizeid;
- _teacherDesktopIconInfo = U.MD.D.I.teacherDeskIcon,
- _studentDesktopIconInfo = U.MD.D.I.studentDeskIcon,
- _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon,
- _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
- _hanDeskIcon = U.MD.D.I.hanDeskIcon,
- _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon;
-
- el.innerHTML = "";
-
- 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 == 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 == "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 < _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 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 == 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 {
- 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);
- }
- }
-
- U.MD.D.iconPostion($(_frag).Child());
-
- el.appendChild(_frag);
- }
- U.MD.D.I.displayTaskbar = function(el) {
-
- if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
-
- U.selectEl(el).css({ "bottom": "0px" });
-
-
- }
- }
- U.MD.D.iconPostion = function(childs, top, left) {
- var i;
- top = top || 15;
- left = left || 20;
-
- for (i = 0; i < childs.length; i++) {
-
- if (top + 95 > US.height - 10) {
-
- if ((left + 180) > US.width) {
- top -= 110;
- left -= 90;
- }
-
- else {
- left += 90;
- top = 15;
- };
- }
-
- U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
- if (i < childs.length - 1) {
-
- top += 95;
- }
- }
-
- return [top, left];
- }
- U.MD.D.click = function(el, obj) {
- var _buttonnumber = event.button;
- var _userinfo = US.userInfo;
- U.UF.EV.stopBubble();
-
- if (_buttonnumber < 2) {
-
- if (event.type == "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 });
- }
- }
- }
-
- else {
-
- 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.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) {
-
- _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) {
-
- _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
- _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
- }
-
- do {
- _positioninfo = U.MD.D.iconPostion([el], _top, _left);
- _top = _positioninfo[0] + 95;
- _left = _positioninfo[1];
- } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
- }
- 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];
- }
- }
- }
- window.addEventListener('message', function(e) {
-
- if (e.data.screenType && e.data.screenType == "2") {
- U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 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.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 == "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");
-
-
-
-
-
- U.UF.F.topWindow(_formel);
- } else if (e.data.allScreen && e.data.allScreen == "4") {
- var _formel = document.getElementById("studyDetail");
-
-
-
-
-
- U.UF.F.topWindow(_formel);
- } else if (e.data.allScreen && e.data.allScreen == "5") {
- var _formel = document.getElementById("studentStudy");
-
-
-
-
- U.UF.F.topWindow(_formel);
- } else if (e.data.tools && e.data.tools == "1") {
-
- 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.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.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.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.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 == "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 == "39") {
- U.MD.D.I.openApplication("studentEvaluate")
- }
- });
- U.MD.D.I.selectUser = function() {
- U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function(res) {
- 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,
- _oid = _userinfo.organizeid,
- _type = US.userInfo.type,
- _org = US.userInfo.org,
- _classId = US.userInfo.classid;
- if (_type == 4) {
- tType = 4
- }
- switch (str) {
- 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 *","webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/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": "学习中心", "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,
- _formdiv,
- _userinfo = US.userInfo,
- _userid = obj.userid || US.userInfo.userid,
- _oid = obj.organizeid || _userinfo.organizeid,
- _type = US.userInfo.type,
- _org = US.userInfo.org,
- _classId = US.userInfo.classid,
- _TscreenType = 1
- _screenType = 2,
- _SscreenType = 3;
- 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": "https://pbl.cocorobo.cn/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": "https://pbl.cocorobo.cn/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": "https://pbl.cocorobo.cn/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": "https://pbl.cocorobo.cn/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": "https://pbl.cocorobo.cn/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": "https://pbl.cocorobo.cn/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 "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" }), {
- "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":
-
- _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;
-
-
-
- _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(
- "学习中心",
- $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), {
- "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": "学习中心", "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": "https://pbl.cocorobo.cn/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": "https://pbl.cocorobo.cn/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": "https://pbl.cocorobo.cn/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": "https://pbl.cocorobo.cn/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": "https://pbl.cocorobo.cn/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": "https://pbl.cocorobo.cn/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": "https://pbl.cocorobo.cn/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": "https://pbl.cocorobo.cn/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 "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" }), {
- "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":
-
- _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(
- "学习中心",
- $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), {
- "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": "学习中心", "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": "https://pbl.cocorobo.cn/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": "https://pbl.cocorobo.cn/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 == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
-
- switch (str) {
- case "project":
- _formdiv = new U.UF.UI.form(
- "项目管理",
- $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/course?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
- "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": "项目管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
- break;
- case "student":
- _formdiv = new U.UF.UI.form(
- "学生管理",
- $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/student?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org }), {
- "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": "学生管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
- break;
- case "evaluate":
- _formdiv = new U.UF.UI.form(
- "学生评价",
- $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/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": "学生评价", "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": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
- "id": "sys",
- "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/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": "https://pbl.cocorobo.cn/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 "my":
- _formdiv = new U.UF.UI.form(
- "我的资料",
- $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/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": "https://pbl.cocorobo.cn/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": "https://pbl.cocorobo.cn/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": "https://pbl.cocorobo.cn/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": "https://pbl.cocorobo.cn/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 "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" }), {
- "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":
-
- _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(
- "学习中心",
- $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType }), {
- "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": "学习中心", "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": "https://pbl.cocorobo.cn/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": "https://pbl.cocorobo.cn/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(
- "项目管理",
- $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/course?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
- "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": "项目管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
- break;
- case "evaluate":
- _formdiv = new U.UF.UI.form(
- "学生评价",
- $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/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": "学生评价", "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": "https://pbl.cocorobo.cn/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": "https://pbl.cocorobo.cn/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": "https://pbl.cocorobo.cn/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" }), {
- "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":
-
- _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(
- "学习中心",
- $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType }), {
- "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": "学习中心", "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": "https://pbl.cocorobo.cn/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": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
- "id": "sys",
- "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/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) {
- 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": "https://pbl.cocorobo.cn/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) {
-
-
-
- case "AIprogram2":
- _formdiv = new U.UF.UI.form(
- "AI体验",
- $$("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体验", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
- break;
- case "Pythonprogram":
- _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":
- _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 "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":
- _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":
- _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":
- _formdiv = new U.UF.UI.form(
- "GeoGebra",
- $$("iframe", { "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":
- _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": "https://pbl.cocorobo.cn/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": "//test-school.hanzigon.cn/?appid=886404803430338&appsecret=jhg75c7vphfljtkndumc2g4ern947j#/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": "//test-school.hanzigon.cn/?appid=886404803430338&appsecret=jhg75c7vphfljtkndumc2g4ern947j#/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": "//test-school.hanzigon.cn/?appid=886404803430338&appsecret=jhg75c7vphfljtkndumc2g4ern947j#/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": "//test-school.hanzigon.cn/?appid=886404803430338&appsecret=jhg75c7vphfljtkndumc2g4ern947j#/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": "//test-school.hanzigon.cn/?appid=886404803430338&appsecret=jhg75c7vphfljtkndumc2g4ern947j#/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;
- }
-
-
- if (_taskbar) {
- U.MD.D.T.taskbar(_taskbar);
- }
- }
- U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
- var _taskbar,
- _formdiv,
- _userinfo = US.userInfo,
- _userid = US.userInfo.userid
- let _iframe;
- 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 _loading = document.createElement('div')
- _loading.style = "width:100%;height:100%;background:#0000008f;position:absolute;top:0;left:0;z-index:99999999999999;display: none;justify-content: center;align-items: center;"
-
- let _lchild = document.createElement('div')
- let _limg = document.createElement('img')
- _limg.src = 'https://pbl.cocorobo.cn/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: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;display:flex;align-items:center;"
- _loading.appendChild(_lchild)
- var _box = $$('div', {
- "style": {
- "position": "relative",
- "width": "100%",
- "height": "100%",
- },
- })
- _box.appendChild(_loading)
- _box.id = str + '_loadLi'
- switch (str) {
- case "whiteboard":
- _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",
- "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":
- _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, {
- "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 "MindMap":
- _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, {
- "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":
- _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",
- "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 "mindNetwork":
- _iframe = $$("iframe", {
- "webkitallowfullscreen": "",
- "mozallowfullscreen": "",
- "allowfullscreen": "",
- "frameborder": "no",
- "border": "0",
- "scrolling ": "no",
- "style": {
- "cssText": "border:0; width:100%; height:100%;"
- },
- "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/Grid?userid=" + _userid
- })
- _box.appendChild(_iframe);
- _box.appendChild(_jie);
- _formdiv = new U.UF.UI.form(
- "思维网格",
- _box, {
- "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 "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",
- "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 =
- "https://pbl.cocorobo.cn/pbl-student-table/dist/js/jquery-3.6.0.min.js";
- const script2 = document.createElement("script");
- script2.type = "text/javascript";
- script2.src =
- "https://pbl.cocorobo.cn/pbl-student-table/dist/js/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 = "https://pbl.cocorobo.cn/pbl-student-table/dist/js/jietu2.js";
- if (_iframe) {
- if (str == 'doc') {
- 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 == 'courseDesign') {
- U.UF.DL.iframeLoad(_iframe, function() {
-
-
- _iframe.contentWindow.document.body.appendChild(script2);
- _iframe.contentWindow.document.body.appendChild(script4);
- })
- } else {
- _iframe.onload = () => {
- _iframe.contentWindow.document.body.appendChild(script1);
- _iframe.contentWindow.document.body.appendChild(script2);
-
- _iframe.contentWindow.document.body.appendChild(script4);
- };
- }
- _jie.onclick = () => {
- _loading.style.display = 'flex'
- console.log(_loading);
- var _ajs = _iframe.contentWindow.document.createElement("script");
- _ajs.type = "text/javascript";
- _ajs.innerHTML =
-
- '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<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
- " html2canvas(document.body,{allowTaint: true,useCORS: true}).then(canvas => {\n" +
- ' var base64Url = canvas.toDataURL("image/png");\n' +
- 'var base64 = "<img src=" + base64Url + " />"\n' +
- 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
- "beforeUpload_shishi(file," +
- "'" +
- _userid +
- "'" +
- ", " +
- "'" +
- cid +
- "'" +
- ", " +
- "'" +
- stage +
- "'" +
- ", " +
- "'" +
- task +
- "'" +
- ", " +
- "'" +
- tool +
- "'" +
- ", " +
- "'" +
- str + '_loadLi' +
- "'" +
- ")\n" +
- " });\n" +
- "}\n" +
- "document.head.appendChild(_js);\n";
- _iframe.contentWindow.document.head.appendChild(_ajs);
- }
- }
-
-
- if (_taskbar) {
- U.MD.D.T.taskbar(_taskbar);
- }
- }
|