DeskTop.js 493 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  18. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  19. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  20. ];
  21. //极简模式
  22. U.MD.D.I.easyDeskIcon = [
  23. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  24. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  25. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  26. { "Name": "Students Management", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  27. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  28. ];
  29. //获取教师测试英语组织图标
  30. U.MD.D.I.hkTeacherEnglishDeskIcon = [
  31. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  32. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  33. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  34. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  35. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  36. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  37. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  38. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  39. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  40. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  41. ];
  42. //获取学生测试英语组织图标
  43. U.MD.D.I.hkStudentEnglishDeskIcon = [
  44. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  45. ];
  46. //教师桌面图标的全局变量
  47. U.MD.D.I.teacherDeskIcon2 = [
  48. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  49. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  50. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  51. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  52. // { "Name": "Project Planning", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  53. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  54. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  55. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  56. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  57. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  58. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  59. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  60. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  61. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  62. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  63. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  64. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  65. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  66. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  67. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  68. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  69. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  70. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  71. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  72. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  73. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  74. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  75. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  76. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  77. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  78. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  79. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  80. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  81. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  82. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  83. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  84. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  85. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  86. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  87. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  88. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  89. ];
  90. U.MD.D.I.studentDeskIcon = [
  91. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  92. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  93. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  94. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  95. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  96. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  97. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  98. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  99. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  100. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  101. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  102. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  103. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  104. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  105. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  106. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  107. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  108. // { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  109. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  110. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  111. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  112. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  113. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  114. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  115. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  116. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  117. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  118. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  119. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  120. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  121. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  122. ];
  123. U.MD.D.I.studentDeskIcon2 = [
  124. // { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  125. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  126. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  127. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  128. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  129. ]
  130. U.MD.D.I.studentDeskIcon3 = [
  131. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  132. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  133. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  134. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  135. ]
  136. U.MD.D.I.schoolDeskIcon = [
  137. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  138. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  139. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  140. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  141. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  142. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  143. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  144. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  145. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  146. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  147. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  148. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  149. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  150. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  151. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  152. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  153. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  154. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  155. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  156. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  157. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  158. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  159. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  160. ];
  161. U.MD.D.I.orgDeskIcon = [
  162. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  163. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  164. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  165. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  166. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  167. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  168. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  169. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  170. ];
  171. U.MD.D.I.orgStemDeskIcon = [
  172. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  173. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  174. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  175. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  176. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  177. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  178. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  179. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  180. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  181. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  182. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  183. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  184. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  185. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  186. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  187. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  188. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  189. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  190. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  191. ];
  192. U.MD.D.I.szulsDeskIcon = [
  193. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  194. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  195. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  196. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  197. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  198. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  199. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  200. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  201. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  202. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  203. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  204. ];
  205. U.MD.D.I.hanDeskIcon = [
  206. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  207. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  208. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  209. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  210. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  211. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  212. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  213. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  214. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  215. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  216. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  217. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  218. ];
  219. U.MD.D.I.GMteacherDeskIcon = [
  220. { "Name": "Course Planning", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  221. { "Name": "Course Library", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  222. { "Name": "Students Management", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  223. { "Name": "Course Assessment", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  224. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  225. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  226. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  227. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  228. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  229. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  230. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  231. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  232. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  233. ];
  234. U.MD.D.I.GMstudentDeskIcon = [
  235. { "Name": "Course Library", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  236. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  237. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  238. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  239. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  240. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  241. ];
  242. //北师大
  243. U.MD.D.I.BSDNSteacherDeskIcon = [
  244. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  245. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  246. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  247. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  248. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  249. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  250. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  251. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  252. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  253. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  254. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  255. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  256. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  257. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  258. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  259. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  260. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  261. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  262. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  263. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  264. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  265. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  266. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  267. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  268. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  269. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  270. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  271. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  272. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  273. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  274. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  275. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  276. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  277. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  278. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  279. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  280. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  281. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  282. ];
  283. //松山湖
  284. U.MD.D.I.SONGteacherDeskIcon = [
  285. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  286. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  287. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  288. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  289. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  290. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  291. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  292. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  293. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  294. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  295. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  296. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  297. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  298. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  299. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  300. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  301. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  302. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  303. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  304. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  305. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  306. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  307. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  308. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  309. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  310. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  311. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  312. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  313. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  314. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  315. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  316. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  317. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  318. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  319. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  320. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  321. ];
  322. U.MD.D.I.tcStudentDeskIcon = [
  323. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  324. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  325. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  326. // { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  327. ];
  328. U.MD.D.I.tcTeacherDeskIcon = [
  329. // { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  330. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  331. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  332. // { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  333. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  334. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  335. { "Name": "Students Management", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  336. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  337. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  338. // { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  339. ];
  340. U.MD.D.I.tcOrganizerDeskIcon = [
  341. // { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  342. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  343. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  344. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  345. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  346. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  347. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  348. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  349. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  350. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  351. // { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  352. ];
  353. U.MD.D.I.szscStudentDeskIcon = [
  354. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  355. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  356. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  357. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  358. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  359. ];
  360. U.MD.D.I.szscTeacherDeskIcon = [
  361. // { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  362. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  363. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  364. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  365. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  366. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  367. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  368. { "Name": "Students Management", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  369. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  370. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  371. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  372. ];
  373. U.MD.D.I.szscOrganizerDeskIcon = [
  374. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  375. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  376. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  377. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  378. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  379. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  380. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  381. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  382. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  383. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  384. ];
  385. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  386. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  387. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  388. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  389. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  390. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  391. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  392. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  393. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  394. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  395. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  396. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  397. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  398. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  399. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  400. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  401. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  402. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  403. ];
  404. U.MD.D.I.wankeAdminDeskIcon = [
  405. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  406. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  407. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  408. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  409. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  410. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  411. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  412. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  413. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  414. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  415. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  416. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  417. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  418. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  419. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  420. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  421. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  422. ];
  423. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  424. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  425. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  426. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  427. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  428. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  429. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  430. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  431. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  432. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  433. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  434. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  435. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  436. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  437. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  438. ];
  439. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  440. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  441. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  442. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  443. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  444. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  445. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  446. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  447. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  448. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  449. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  450. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  451. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  452. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  453. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  454. ];
  455. //明德教师桌面图标的全局变量
  456. U.MD.D.I.MingdeTeacherDeskIcon = [
  457. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  458. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  459. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  460. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  461. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  462. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  463. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  464. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  465. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  466. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  467. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  468. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  469. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  470. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  471. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  472. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  473. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  474. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  475. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  476. // { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  477. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  478. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  479. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  480. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  481. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  482. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  483. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  484. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  485. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  486. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  487. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  488. ];
  489. //97c4ee8b-d010-4042-986d-e9d3c217264f
  490. //教师桌面图标的全局变量
  491. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  492. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  493. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  494. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  495. // { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  496. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  497. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  498. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  499. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  500. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  501. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  502. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  503. ];
  504. //福田
  505. U.MD.D.I.futianTeacherDeskIcon = [
  506. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  507. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  508. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  509. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  510. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  511. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  512. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  513. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  514. // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  515. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  516. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  517. ];
  518. //福田
  519. U.MD.D.I.futianAdminDeskIcon = [
  520. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  521. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  522. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  523. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  524. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  525. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  526. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  527. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  528. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  529. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  530. ];
  531. //lotech
  532. U.MD.D.I.lotechTeacherDeskIcon = [
  533. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  534. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  535. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  536. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  537. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  538. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  539. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  540. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  541. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  542. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  543. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  544. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  545. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  546. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  547. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  548. ];
  549. //龙华中心小学教师桌面图标的全局变量
  550. U.MD.D.I.longhuateacherDeskIcon = [
  551. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  552. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  553. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  554. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  555. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  556. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  557. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  558. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  559. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  560. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  561. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  562. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  563. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  564. ];
  565. //教科院实小教师桌面图标的全局变量
  566. U.MD.D.I.siesteacherDeskIcon = [
  567. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  568. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  569. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  570. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  571. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  572. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  573. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  574. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  575. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  576. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  577. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  578. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  579. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  580. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  581. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  582. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  583. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  584. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  585. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  586. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  587. ];
  588. //教科院实小教师桌面图标的全局变量
  589. U.MD.D.I.siesStudentDeskIcon = [
  590. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  591. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  592. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  593. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  594. ];
  595. //福田
  596. U.MD.D.I.gdjgTeacherDeskIcon = [
  597. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  598. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  599. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  600. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  601. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  602. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  603. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  604. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  605. // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  606. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  607. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  608. ];
  609. //gdjg
  610. U.MD.D.I.gdjgAdminDeskIcon = [
  611. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  612. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  613. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  614. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  615. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  616. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  617. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  618. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  619. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  620. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  621. ];
  622. //hk
  623. U.MD.D.I.hkteacherDeskIcon = [
  624. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  625. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  626. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  627. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  628. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  629. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  630. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  631. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  632. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  633. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  634. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  635. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  636. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  637. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  638. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  639. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  640. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  641. ];
  642. //hk
  643. U.MD.D.I.hkStudentDeskIcon = [
  644. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  645. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  646. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  647. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  648. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  649. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  650. ];
  651. //香海正覺蓮社佛教正覺中學
  652. U.MD.D.I.hkZJLSteacherDeskIcon = [
  653. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  654. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  655. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  656. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  657. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  658. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  659. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  660. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  661. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  662. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  663. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  664. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  665. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  666. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  667. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  668. ];
  669. //香海正覺蓮社佛教正覺中學
  670. U.MD.D.I.hkZJLSStudentDeskIcon = [
  671. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  672. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  673. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  674. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  675. ];
  676. //云海
  677. U.MD.D.I.yunhaiTeacherDeskIcon = [
  678. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  679. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  680. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  681. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  682. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  683. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  684. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  685. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  686. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  687. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  688. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  689. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  690. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  691. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  692. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  693. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  694. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  695. ];
  696. //福田
  697. U.MD.D.I.heyuanTeacherDeskIcon = [
  698. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  699. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  700. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  701. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  702. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  703. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  704. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  705. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  706. // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  707. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  708. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  709. ];
  710. //福田
  711. U.MD.D.I.heyuanAdminDeskIcon = [
  712. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  713. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  714. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  715. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  716. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  717. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  718. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  719. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  720. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  721. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  722. ];
  723. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  724. U.MD.D.I.szherTeacherDeskIcon = [
  725. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  726. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  727. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  728. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  729. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  730. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  731. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  732. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  733. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  734. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  735. ];
  736. //dsei
  737. U.MD.D.I.dseiTeacherDeskIcon = [
  738. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  739. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  740. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  741. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  742. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  743. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  744. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  745. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  746. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  747. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  748. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  749. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  750. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  751. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  752. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  753. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  754. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  755. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  756. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  757. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  758. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  759. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  760. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  761. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  762. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  763. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  764. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  765. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  766. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  767. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  768. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  769. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  770. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  771. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  772. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  773. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  774. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  775. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  776. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  777. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  778. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  779. ];
  780. //dsei
  781. U.MD.D.I.dseiAdminDeskIcon = [
  782. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  783. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  784. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  785. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  786. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  787. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  788. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  789. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  790. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  791. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  792. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  793. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  794. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  795. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  796. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  797. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  798. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  799. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  800. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  801. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  802. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  803. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  804. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  805. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  806. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  807. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  808. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  809. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  810. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  811. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  812. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  813. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  814. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  815. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  816. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  817. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  818. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  819. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  820. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  821. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  822. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  823. ];
  824. //dsei
  825. U.MD.D.I.dseiStudentDeskIcon = [
  826. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  827. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  828. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  829. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  830. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  831. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  832. ];
  833. //未来教育基地
  834. U.MD.D.I.szjkyTeacherDeskIcon = [
  835. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  836. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  837. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  838. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  839. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  840. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  841. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  842. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  843. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  844. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  845. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  846. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  847. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  848. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  849. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  850. ];
  851. //未来教育基地
  852. U.MD.D.I.szjkyAdminDeskIcon = [
  853. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  854. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  855. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  856. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  857. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  858. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  859. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  860. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  861. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  862. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  863. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  864. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  865. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  866. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  867. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  868. ];
  869. //未来教育基地
  870. U.MD.D.I.szjkyStudentDeskIcon = [
  871. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  872. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  873. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  874. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  875. ];
  876. //成华教育局
  877. U.MD.D.I.chjyjTeacherDeskIcon = [
  878. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  879. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  880. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  881. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  882. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  883. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  884. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  885. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  886. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  887. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  888. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  889. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  890. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  891. ];
  892. //成华教育局chjyj
  893. U.MD.D.I.chjyjAdminDeskIcon = [
  894. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  895. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  896. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  897. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  898. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  899. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  900. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  901. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  902. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  903. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  904. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  905. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  906. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  907. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  908. ];
  909. //成华教育局chjyj
  910. U.MD.D.I.chjyjStudentDeskIcon = [
  911. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  912. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  913. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  914. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  915. ];
  916. //tpc
  917. U.MD.D.I.tpcStudentDeskIcon = [
  918. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  919. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  920. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  921. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  922. ];
  923. //tpc
  924. U.MD.D.I.tpcTeacherDeskIcon = [
  925. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  926. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  927. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  928. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  929. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  930. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  931. ];
  932. //tpc
  933. U.MD.D.I.tpcAdminDeskIcon = [
  934. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  935. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  936. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  937. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  938. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  939. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  940. ];
  941. //THU-IOE
  942. U.MD.D.I.thuioeTeacherDeskIcon = [
  943. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  944. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  945. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  946. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  947. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  948. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  949. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  950. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  951. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  952. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  953. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  954. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  955. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  956. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  957. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  958. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  959. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  960. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  961. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  962. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  963. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  964. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  965. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  966. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  967. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  968. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  969. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  970. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  971. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  972. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  973. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  974. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  975. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  976. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  977. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  978. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  979. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  980. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  981. ];
  982. //THU-IOE
  983. U.MD.D.I.thuioeStudentDeskIcon = [
  984. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  985. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  986. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  987. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  988. ];
  989. //jccssyl
  990. U.MD.D.I.jccssylTeacherDeskIcon = [
  991. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  992. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  993. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  994. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  995. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  996. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  997. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  998. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  999. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1000. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1001. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1002. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1003. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1004. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1005. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1006. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1007. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1008. ];
  1009. //jccssyl
  1010. U.MD.D.I.jccssylStudentDeskIcon = [
  1011. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1012. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1013. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1014. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1015. ];
  1016. //#region 桌面初始化a
  1017. /**
  1018. * 初始化桌面的起始函数
  1019. *
  1020. */
  1021. U.MD.D.I.init = function() {
  1022. if ($("#U_MD_D_K")[0]) {
  1023. //初始化桌面图标
  1024. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1025. // var clickUrl = ':12588/requestIp.php';
  1026. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1027. // U.MD.D.I.Ip = data;
  1028. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1029. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1030. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1031. // })
  1032. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1033. // })
  1034. }
  1035. }
  1036. /**
  1037. * 模式切换
  1038. *
  1039. */
  1040. U.MD.D.I.ModeCheck = function(type) {
  1041. if (US.Config.type == type) {
  1042. return
  1043. }
  1044. US.Config.type = type
  1045. $('.U_PBL_Check .active')[0].className = ''
  1046. if (type == 1) {
  1047. $('.U_PBL_Check div')[0].className = 'active'
  1048. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1049. } else {
  1050. $('.U_PBL_Check div')[1].className = 'active'
  1051. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1052. }
  1053. //初始化桌面图标
  1054. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1055. if (type == 2) {
  1056. U.MD.D.I.openApplication("project")
  1057. }
  1058. }
  1059. /**
  1060. * 隐藏任务栏
  1061. *
  1062. * @param {element} 桌面元素
  1063. */
  1064. U.MD.D.I.hiddenTaskbar = function(el) {
  1065. //任务栏位置变小
  1066. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1067. //桌面的位置变大
  1068. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1069. }
  1070. /**
  1071. * 隐藏任务栏
  1072. *
  1073. * @param {element} 桌面元素
  1074. */
  1075. U.MD.D.I.hiddenTaskbarout = function(el) {
  1076. //任务栏位置变小
  1077. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1078. //任务栏位置变化
  1079. U.selectEl(el).css({ "bottom": "-60px" });
  1080. //桌面的位置变大
  1081. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1082. }
  1083. }
  1084. /**
  1085. * 初始化打印桌面图标
  1086. *
  1087. * @param {element} 桌面元素
  1088. */
  1089. U.MD.D.I.initDesktopIcons = function(el, type) {
  1090. var i, //用于循环
  1091. _content, //桌面图标元素
  1092. _iconcontent, //桌面图标元素
  1093. _frag = $$("frag"), //定义一个碎片元素
  1094. _type = US.userInfo.type,
  1095. _org = US.userInfo.org,
  1096. _oid = US.userInfo.organizeid,
  1097. _role = US.userInfo.role,
  1098. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1099. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1100. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1101. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1102. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1103. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1104. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1105. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1106. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1107. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1108. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1109. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1110. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1111. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1112. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1113. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1114. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1115. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1116. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1117. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1118. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1119. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1120. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1121. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1122. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1123. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1124. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1125. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1126. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1127. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1128. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1129. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1130. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1131. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1132. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1133. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1134. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1135. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1136. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1137. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1138. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1139. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1140. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1141. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1142. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1143. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1144. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1145. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1146. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1147. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1148. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1149. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1150. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1151. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1152. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1153. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1154. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1155. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1156. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon, //网络夏令营
  1157. _hkTeacherEnglishDeskIcon = U.MD.D.I.hkTeacherEnglishDeskIcon, //教师测试英语组织
  1158. _hkStudentEnglishDeskIcon = U.MD.D.I.hkStudentEnglishDeskIcon; //学生测试英语组织
  1159. var _oidA = ['69893dca-1d47-11ed-8c78-005056b86db5', "91305d49-01ba-11ed-8c78-005056b86db5", "d9db3320-503a-11ed-8c78-005056b86db5", "05b62310-8cda-11ed-b13d-005056b86db5", '1c3b9def-8fbe-11ed-b13d-005056b86db5', '91305d49-01ba-11ed-8c78-005056b86db4', 'ea2a8c65-f38c-11ed-91d8-005056b86db5', '4c686762-1d0a-11ed-8c78-005056b86db5', 'b1095a3c-1d06-4ac8-854f-7c0d97f4ab41', '206c38d2-0cbe-11ee-91d8-005056b86db5'];
  1160. var _orgA = ["7ada499f-4ec7-11ed-8c78-005056b86db5", "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d", "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b", "150e3120-9195-11ed-b13d-005056b86db5", "ee40e8e3-e36c-4872-8105-cf395481012s", '97c4ee8b-d010-4042-986d-e9d3c217264f', 'ec0af97a-7c10-4259-a7eb-db9cc8174cdc', '4df1b570-f6ac-48fc-8d50-d0b157dae776', 'e632b86c-f89d-11ed-91d8-005056b86db5', 'b50cf65a-001c-11ee-91d8-005056b86db5', '578de748-05d2-11ee-91d8-005056b86db5', '54f09f1e-09f0-11ee-91d8-005056b86db5', '7b016f69-0f4f-11ee-91d8-005056b86db5', '1973f6c7-1561-11ee-91d8-005056b86db5', '2fa75e51-189a-11ee-91d8-005056b86db5', 'a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956', 'fbb00cc1-380b-4173-add4-59b3cf7682b5', '63060b4a-89dc-4f0c-bf04-a1de22d479ff', '777559d2-7239-11ee-b98c-005056b86db5'];
  1161. //清楚桌面图标
  1162. el.innerHTML = "";
  1163. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1164. _teacherDesktopIconInfo.push(
  1165. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1166. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } }, { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } }, { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1167. )
  1168. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1169. }
  1170. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1171. _teacherDesktopIconInfo.push(
  1172. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1173. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } }, { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } }, { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } }, { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } }, { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } }, { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } }, { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1174. )
  1175. }
  1176. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1177. _teacherDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, )
  1178. }
  1179. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1180. _teacherDesktopIconInfo.push()
  1181. }
  1182. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1183. _teacherDesktopIconInfo.push({ "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, )
  1184. _studentDesktopIconInfo.push()
  1185. }
  1186. //麒麟二中 和 民新小学
  1187. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1188. _teacherDesktopIconInfo.push()
  1189. }
  1190. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1191. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1192. _teacherDesktopIconInfo.push({ "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, )
  1193. }
  1194. //麒麟二中
  1195. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1196. _studentDesktopIconInfo.push({ "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, )
  1197. }
  1198. //万科双语
  1199. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1200. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1201. if (el.Name == 'Project Planning') {
  1202. el.Name = 'PBL项目'
  1203. }
  1204. return el
  1205. })
  1206. _studentDesktopIconInfo3.push({ "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, )
  1207. }
  1208. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1209. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1210. return el.Name != '魔盒识字' && el.Name != '24点'
  1211. })
  1212. }
  1213. if ((_oid == '45facc0a-1211-11ec-80ad-005056b86db5' || _org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") && _type == 2) {
  1214. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, { "Name": "Course Assessment", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, )
  1215. }
  1216. //循环创建桌面图标
  1217. if (type == 1) {
  1218. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1219. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1220. _content = $$("div", {
  1221. className: "U_MD_D_KO",
  1222. "onmousedown": U.UF.C.closure(function(obj) {
  1223. //防止拖动图标即打开了桌面应用
  1224. U.MD.D.click(this, obj);
  1225. }, [_studentDesktopIconInfo[i]]),
  1226. "onclick": U.UF.C.closure(function(obj) {
  1227. //防止拖动图标即打开了桌面应用
  1228. U.MD.D.click(this, obj);
  1229. }, [_studentDesktopIconInfo[i]])
  1230. }, _frag); //
  1231. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1232. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1233. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1234. }
  1235. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1236. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1237. _content = $$("div", {
  1238. className: "U_MD_D_KO",
  1239. "onmousedown": U.UF.C.closure(function(obj) {
  1240. //防止拖动图标即打开了桌面应用
  1241. U.MD.D.click(this, obj);
  1242. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1243. "onclick": U.UF.C.closure(function(obj) {
  1244. //防止拖动图标即打开了桌面应用
  1245. U.MD.D.click(this, obj);
  1246. }, [_hkZJLSStudentDeskIconInfo[i]])
  1247. }, _frag); //
  1248. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1249. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1250. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1251. } //
  1252. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1253. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1254. _content = $$("div", {
  1255. className: "U_MD_D_KO",
  1256. "onmousedown": U.UF.C.closure(function(obj) {
  1257. //防止拖动图标即打开了桌面应用
  1258. U.MD.D.click(this, obj);
  1259. }, [_jccssylStudentDeskIconInfo[i]]),
  1260. "onclick": U.UF.C.closure(function(obj) {
  1261. //防止拖动图标即打开了桌面应用
  1262. U.MD.D.click(this, obj);
  1263. }, [_jccssylStudentDeskIconInfo[i]])
  1264. }, _frag); //
  1265. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1266. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1267. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1268. }
  1269. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1270. for (i = 0; i < _hkStudentEnglishDeskIcon.length; i++) {
  1271. _content = $$("div", {
  1272. className: "U_MD_D_KO",
  1273. "onmousedown": U.UF.C.closure(function(obj) {
  1274. //防止拖动图标即打开了桌面应用
  1275. U.MD.D.click(this, obj);
  1276. }, [_hkStudentEnglishDeskIcon[i]]),
  1277. "onclick": U.UF.C.closure(function(obj) {
  1278. //防止拖动图标即打开了桌面应用
  1279. U.MD.D.click(this, obj);
  1280. }, [_hkStudentEnglishDeskIcon[i]])
  1281. }, _frag); //
  1282. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1283. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentEnglishDeskIcon[i].style }, _iconcontent);
  1284. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentEnglishDeskIcon[i].Name }, _iconcontent);
  1285. }
  1286. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1287. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1288. _content = $$("div", {
  1289. className: "U_MD_D_KO",
  1290. "onmousedown": U.UF.C.closure(function(obj) {
  1291. //防止拖动图标即打开了桌面应用
  1292. U.MD.D.click(this, obj);
  1293. }, [_thuioeStudentDeskIconInfo[i]]),
  1294. "onclick": U.UF.C.closure(function(obj) {
  1295. //防止拖动图标即打开了桌面应用
  1296. U.MD.D.click(this, obj);
  1297. }, [_thuioeStudentDeskIconInfo[i]])
  1298. }, _frag); //
  1299. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1300. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1301. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1302. }
  1303. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1304. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1305. _content = $$("div", {
  1306. className: "U_MD_D_KO",
  1307. "onmousedown": U.UF.C.closure(function(obj) {
  1308. //防止拖动图标即打开了桌面应用
  1309. U.MD.D.click(this, obj);
  1310. }, [_tpcStudentDeskIconInfo[i]]),
  1311. "onclick": U.UF.C.closure(function(obj) {
  1312. //防止拖动图标即打开了桌面应用
  1313. U.MD.D.click(this, obj);
  1314. }, [_tpcStudentDeskIconInfo[i]])
  1315. }, _frag); //
  1316. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1317. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1318. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1319. } //
  1320. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1321. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1322. _content = $$("div", {
  1323. className: "U_MD_D_KO",
  1324. "onmousedown": U.UF.C.closure(function(obj) {
  1325. //防止拖动图标即打开了桌面应用
  1326. U.MD.D.click(this, obj);
  1327. }, [_chjyjStudentDeskIconInfo[i]]),
  1328. "onclick": U.UF.C.closure(function(obj) {
  1329. //防止拖动图标即打开了桌面应用
  1330. U.MD.D.click(this, obj);
  1331. }, [_chjyjStudentDeskIconInfo[i]])
  1332. }, _frag); //
  1333. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1334. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1335. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1336. }
  1337. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1338. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1339. _content = $$("div", {
  1340. className: "U_MD_D_KO",
  1341. "onmousedown": U.UF.C.closure(function(obj) {
  1342. //防止拖动图标即打开了桌面应用
  1343. U.MD.D.click(this, obj);
  1344. }, [_szjkyStudentDeskIconInfo[i]]),
  1345. "onclick": U.UF.C.closure(function(obj) {
  1346. //防止拖动图标即打开了桌面应用
  1347. U.MD.D.click(this, obj);
  1348. }, [_szjkyStudentDeskIconInfo[i]])
  1349. }, _frag); //
  1350. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1351. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1352. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1353. }
  1354. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1355. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1356. _content = $$("div", {
  1357. className: "U_MD_D_KO",
  1358. "onmousedown": U.UF.C.closure(function(obj) {
  1359. //防止拖动图标即打开了桌面应用
  1360. U.MD.D.click(this, obj);
  1361. }, [_dseiStudentDeskIconInfo[i]]),
  1362. "onclick": U.UF.C.closure(function(obj) {
  1363. //防止拖动图标即打开了桌面应用
  1364. U.MD.D.click(this, obj);
  1365. }, [_dseiStudentDeskIconInfo[i]])
  1366. }, _frag); //
  1367. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1368. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1369. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1370. }
  1371. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1372. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1373. _content = $$("div", {
  1374. className: "U_MD_D_KO",
  1375. "onmousedown": U.UF.C.closure(function(obj) {
  1376. //防止拖动图标即打开了桌面应用
  1377. U.MD.D.click(this, obj);
  1378. }, [_siesStudentDeskIconInfo[i]]),
  1379. "onclick": U.UF.C.closure(function(obj) {
  1380. //防止拖动图标即打开了桌面应用
  1381. U.MD.D.click(this, obj);
  1382. }, [_siesStudentDeskIconInfo[i]])
  1383. }, _frag); //
  1384. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1385. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1386. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1387. }
  1388. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1389. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1390. _content = $$("div", {
  1391. className: "U_MD_D_KO",
  1392. "onmousedown": U.UF.C.closure(function(obj) {
  1393. //防止拖动图标即打开了桌面应用
  1394. U.MD.D.click(this, obj);
  1395. }, [_hkStudentDeskIconInfo[i]]),
  1396. "onclick": U.UF.C.closure(function(obj) {
  1397. //防止拖动图标即打开了桌面应用
  1398. U.MD.D.click(this, obj);
  1399. }, [_hkStudentDeskIconInfo[i]])
  1400. }, _frag); //
  1401. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1402. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1403. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1404. }
  1405. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1406. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1407. _content = $$("div", {
  1408. className: "U_MD_D_KO",
  1409. "onmousedown": U.UF.C.closure(function(obj) {
  1410. //防止拖动图标即打开了桌面应用
  1411. U.MD.D.click(this, obj);
  1412. }, [_studentDesktopIconInfo[i]]),
  1413. "onclick": U.UF.C.closure(function(obj) {
  1414. //防止拖动图标即打开了桌面应用
  1415. U.MD.D.click(this, obj);
  1416. }, [_studentDesktopIconInfo[i]])
  1417. }, _frag); //
  1418. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1419. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1420. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1421. }
  1422. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1423. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1424. _content = $$("div", {
  1425. className: "U_MD_D_KO",
  1426. "onmousedown": U.UF.C.closure(function(obj) {
  1427. //防止拖动图标即打开了桌面应用
  1428. U.MD.D.click(this, obj);
  1429. }, [_tcStudentDeskIconInfo[i]]),
  1430. "onclick": U.UF.C.closure(function(obj) {
  1431. //防止拖动图标即打开了桌面应用
  1432. U.MD.D.click(this, obj);
  1433. }, [_tcStudentDeskIconInfo[i]])
  1434. }, _frag); //
  1435. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1436. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1437. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1438. }
  1439. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1440. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1441. _content = $$("div", {
  1442. className: "U_MD_D_KO",
  1443. "onmousedown": U.UF.C.closure(function(obj) {
  1444. //防止拖动图标即打开了桌面应用
  1445. U.MD.D.click(this, obj);
  1446. }, [_szscStudentDeskIconInfo[i]]),
  1447. "onclick": U.UF.C.closure(function(obj) {
  1448. //防止拖动图标即打开了桌面应用
  1449. U.MD.D.click(this, obj);
  1450. }, [_szscStudentDeskIconInfo[i]])
  1451. }, _frag); //
  1452. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1453. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1454. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1455. }
  1456. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1457. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1458. _content = $$("div", {
  1459. className: "U_MD_D_KO",
  1460. "onmousedown": U.UF.C.closure(function(obj) {
  1461. //防止拖动图标即打开了桌面应用
  1462. U.MD.D.click(this, obj);
  1463. }, [_studentDesktopIconInfo3[i]]),
  1464. "onclick": U.UF.C.closure(function(obj) {
  1465. //防止拖动图标即打开了桌面应用
  1466. U.MD.D.click(this, obj);
  1467. }, [_studentDesktopIconInfo3[i]])
  1468. }, _frag); //
  1469. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1470. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1471. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1472. }
  1473. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1474. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1475. _content = $$("div", {
  1476. className: "U_MD_D_KO",
  1477. "onmousedown": U.UF.C.closure(function(obj) {
  1478. //防止拖动图标即打开了桌面应用
  1479. U.MD.D.click(this, obj);
  1480. }, [_studentDesktopIconInfo2[i]]),
  1481. "onclick": U.UF.C.closure(function(obj) {
  1482. //防止拖动图标即打开了桌面应用
  1483. U.MD.D.click(this, obj);
  1484. }, [_studentDesktopIconInfo2[i]])
  1485. }, _frag); //
  1486. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1487. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1488. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1489. }
  1490. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1491. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1492. _content = $$("div", {
  1493. className: "U_MD_D_KO",
  1494. "onmousedown": U.UF.C.closure(function(obj) {
  1495. //防止拖动图标即打开了桌面应用
  1496. U.MD.D.click(this, obj);
  1497. }, [_wanketeacherDesktopIconInfo[i]]),
  1498. "onclick": U.UF.C.closure(function(obj) {
  1499. //防止拖动图标即打开了桌面应用
  1500. U.MD.D.click(this, obj);
  1501. }, [_wanketeacherDesktopIconInfo[i]])
  1502. }, _frag); //
  1503. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1504. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1505. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1506. }
  1507. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1508. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1509. _content = $$("div", {
  1510. className: "U_MD_D_KO",
  1511. "onmousedown": U.UF.C.closure(function(obj) {
  1512. //防止拖动图标即打开了桌面应用
  1513. U.MD.D.click(this, obj);
  1514. }, [_wankeAdminDesktopIconInfo[i]]),
  1515. "onclick": U.UF.C.closure(function(obj) {
  1516. //防止拖动图标即打开了桌面应用
  1517. U.MD.D.click(this, obj);
  1518. }, [_wankeAdminDesktopIconInfo[i]])
  1519. }, _frag); //
  1520. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1521. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1522. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1523. }
  1524. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1525. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1526. _content = $$("div", {
  1527. className: "U_MD_D_KO",
  1528. "onmousedown": U.UF.C.closure(function(obj) {
  1529. //防止拖动图标即打开了桌面应用
  1530. U.MD.D.click(this, obj);
  1531. }, [_jccssylTeacherDeskIconInfo[i]]),
  1532. "onclick": U.UF.C.closure(function(obj) {
  1533. //防止拖动图标即打开了桌面应用
  1534. U.MD.D.click(this, obj);
  1535. }, [_jccssylTeacherDeskIconInfo[i]])
  1536. }, _frag); //
  1537. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1538. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1539. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1540. }
  1541. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1542. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1543. _content = $$("div", {
  1544. className: "U_MD_D_KO",
  1545. "onmousedown": U.UF.C.closure(function(obj) {
  1546. //防止拖动图标即打开了桌面应用
  1547. U.MD.D.click(this, obj);
  1548. }, [_tpcOrganizerDeskIconInfo[i]]),
  1549. "onclick": U.UF.C.closure(function(obj) {
  1550. //防止拖动图标即打开了桌面应用
  1551. U.MD.D.click(this, obj);
  1552. }, [_tpcOrganizerDeskIconInfo[i]])
  1553. }, _frag); //
  1554. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1555. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1556. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1557. }
  1558. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1559. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1560. _content = $$("div", {
  1561. className: "U_MD_D_KO",
  1562. "onmousedown": U.UF.C.closure(function(obj) {
  1563. //防止拖动图标即打开了桌面应用
  1564. U.MD.D.click(this, obj);
  1565. }, [_tpcTeacherDeskIconInfo[i]]),
  1566. "onclick": U.UF.C.closure(function(obj) {
  1567. //防止拖动图标即打开了桌面应用
  1568. U.MD.D.click(this, obj);
  1569. }, [_tpcTeacherDeskIconInfo[i]])
  1570. }, _frag); //
  1571. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1572. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1573. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1574. }
  1575. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1576. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1577. _content = $$("div", {
  1578. className: "U_MD_D_KO",
  1579. "onmousedown": U.UF.C.closure(function(obj) {
  1580. //防止拖动图标即打开了桌面应用
  1581. U.MD.D.click(this, obj);
  1582. }, [_teacherDesktopIconInfo2[i]]),
  1583. "onclick": U.UF.C.closure(function(obj) {
  1584. //防止拖动图标即打开了桌面应用
  1585. U.MD.D.click(this, obj);
  1586. }, [_teacherDesktopIconInfo2[i]])
  1587. }, _frag); //
  1588. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1589. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1590. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1591. }
  1592. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1593. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1594. _content = $$("div", {
  1595. className: "U_MD_D_KO",
  1596. "onmousedown": U.UF.C.closure(function(obj) {
  1597. //防止拖动图标即打开了桌面应用
  1598. U.MD.D.click(this, obj);
  1599. }, [_thuioeTeacherDeskIconInfo[i]]),
  1600. "onclick": U.UF.C.closure(function(obj) {
  1601. //防止拖动图标即打开了桌面应用
  1602. U.MD.D.click(this, obj);
  1603. }, [_thuioeTeacherDeskIconInfo[i]])
  1604. }, _frag); //
  1605. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1606. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1607. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1608. }
  1609. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1610. for (i = 0; i < _hkTeacherEnglishDeskIcon.length; i++) {
  1611. _content = $$("div", {
  1612. className: "U_MD_D_KO",
  1613. "onmousedown": U.UF.C.closure(function(obj) {
  1614. //防止拖动图标即打开了桌面应用
  1615. U.MD.D.click(this, obj);
  1616. }, [_hkTeacherEnglishDeskIcon[i]]),
  1617. "onclick": U.UF.C.closure(function(obj) {
  1618. //防止拖动图标即打开了桌面应用
  1619. U.MD.D.click(this, obj);
  1620. }, [_hkTeacherEnglishDeskIcon[i]])
  1621. }, _frag); //
  1622. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1623. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherEnglishDeskIcon[i].style }, _iconcontent);
  1624. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherEnglishDeskIcon[i].Name }, _iconcontent);
  1625. }
  1626. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1627. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1628. _content = $$("div", {
  1629. className: "U_MD_D_KO",
  1630. "onmousedown": U.UF.C.closure(function(obj) {
  1631. //防止拖动图标即打开了桌面应用
  1632. U.MD.D.click(this, obj);
  1633. }, [_lotechTeacherDeskIconInfo[i]]),
  1634. "onclick": U.UF.C.closure(function(obj) {
  1635. //防止拖动图标即打开了桌面应用
  1636. U.MD.D.click(this, obj);
  1637. }, [_lotechTeacherDeskIconInfo[i]])
  1638. }, _frag); //
  1639. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1640. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1641. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1642. } //
  1643. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1644. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1645. _content = $$("div", {
  1646. className: "U_MD_D_KO",
  1647. "onmousedown": U.UF.C.closure(function(obj) {
  1648. //防止拖动图标即打开了桌面应用
  1649. U.MD.D.click(this, obj);
  1650. }, [_siesTeacherDeskIconInfo[i]]),
  1651. "onclick": U.UF.C.closure(function(obj) {
  1652. //防止拖动图标即打开了桌面应用
  1653. U.MD.D.click(this, obj);
  1654. }, [_siesTeacherDeskIconInfo[i]])
  1655. }, _frag); //
  1656. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1657. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1658. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1659. }
  1660. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1661. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1662. _content = $$("div", {
  1663. className: "U_MD_D_KO",
  1664. "onmousedown": U.UF.C.closure(function(obj) {
  1665. //防止拖动图标即打开了桌面应用
  1666. U.MD.D.click(this, obj);
  1667. }, [_longhuaTeacherDeskIconInfo[i]]),
  1668. "onclick": U.UF.C.closure(function(obj) {
  1669. //防止拖动图标即打开了桌面应用
  1670. U.MD.D.click(this, obj);
  1671. }, [_longhuaTeacherDeskIconInfo[i]])
  1672. }, _frag); //
  1673. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1674. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1675. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1676. }
  1677. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1678. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1679. _content = $$("div", {
  1680. className: "U_MD_D_KO",
  1681. "onmousedown": U.UF.C.closure(function(obj) {
  1682. //防止拖动图标即打开了桌面应用
  1683. U.MD.D.click(this, obj);
  1684. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1685. "onclick": U.UF.C.closure(function(obj) {
  1686. //防止拖动图标即打开了桌面应用
  1687. U.MD.D.click(this, obj);
  1688. }, [_yunhaiTeacherDeskIconInfo[i]])
  1689. }, _frag); //
  1690. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1691. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1692. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1693. } //_hkStudentDeskIconInfo
  1694. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1695. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1696. _content = $$("div", {
  1697. className: "U_MD_D_KO",
  1698. "onmousedown": U.UF.C.closure(function(obj) {
  1699. //防止拖动图标即打开了桌面应用
  1700. U.MD.D.click(this, obj);
  1701. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1702. "onclick": U.UF.C.closure(function(obj) {
  1703. //防止拖动图标即打开了桌面应用
  1704. U.MD.D.click(this, obj);
  1705. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1706. }, _frag); //
  1707. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1708. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1709. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1710. }
  1711. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1712. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1713. _content = $$("div", {
  1714. className: "U_MD_D_KO",
  1715. "onmousedown": U.UF.C.closure(function(obj) {
  1716. //防止拖动图标即打开了桌面应用
  1717. U.MD.D.click(this, obj);
  1718. }, [_hkTeacherDeskIconInfo[i]]),
  1719. "onclick": U.UF.C.closure(function(obj) {
  1720. //防止拖动图标即打开了桌面应用
  1721. U.MD.D.click(this, obj);
  1722. }, [_hkTeacherDeskIconInfo[i]])
  1723. }, _frag); //
  1724. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1725. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1726. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1727. }
  1728. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1729. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1730. _content = $$("div", {
  1731. className: "U_MD_D_KO",
  1732. "onmousedown": U.UF.C.closure(function(obj) {
  1733. //防止拖动图标即打开了桌面应用
  1734. U.MD.D.click(this, obj);
  1735. }, [_gdjgAdminDeskIconInfo[i]]),
  1736. "onclick": U.UF.C.closure(function(obj) {
  1737. //防止拖动图标即打开了桌面应用
  1738. U.MD.D.click(this, obj);
  1739. }, [_gdjgAdminDeskIconInfo[i]])
  1740. }, _frag); //
  1741. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1742. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1743. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1744. }
  1745. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1746. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1747. _content = $$("div", {
  1748. className: "U_MD_D_KO",
  1749. "onmousedown": U.UF.C.closure(function(obj) {
  1750. //防止拖动图标即打开了桌面应用
  1751. U.MD.D.click(this, obj);
  1752. }, [_gdjgTeacherDeskIconInfo[i]]),
  1753. "onclick": U.UF.C.closure(function(obj) {
  1754. //防止拖动图标即打开了桌面应用
  1755. U.MD.D.click(this, obj);
  1756. }, [_gdjgTeacherDeskIconInfo[i]])
  1757. }, _frag); //
  1758. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1759. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1760. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1761. }
  1762. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1763. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1764. _content = $$("div", {
  1765. className: "U_MD_D_KO",
  1766. "onmousedown": U.UF.C.closure(function(obj) {
  1767. //防止拖动图标即打开了桌面应用
  1768. U.MD.D.click(this, obj);
  1769. }, [_szherTeacherDeskIconInfo[i]]),
  1770. "onclick": U.UF.C.closure(function(obj) {
  1771. //防止拖动图标即打开了桌面应用
  1772. U.MD.D.click(this, obj);
  1773. }, [_szherTeacherDeskIconInfo[i]])
  1774. }, _frag); //
  1775. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1776. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1777. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1778. }
  1779. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1780. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1781. _content = $$("div", {
  1782. className: "U_MD_D_KO",
  1783. "onmousedown": U.UF.C.closure(function(obj) {
  1784. //防止拖动图标即打开了桌面应用
  1785. U.MD.D.click(this, obj);
  1786. }, [_heyuannAdminDeskIconInfo[i]]),
  1787. "onclick": U.UF.C.closure(function(obj) {
  1788. //防止拖动图标即打开了桌面应用
  1789. U.MD.D.click(this, obj);
  1790. }, [_heyuannAdminDeskIconInfo[i]])
  1791. }, _frag); //
  1792. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1793. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1794. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1795. }
  1796. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1797. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1798. _content = $$("div", {
  1799. className: "U_MD_D_KO",
  1800. "onmousedown": U.UF.C.closure(function(obj) {
  1801. //防止拖动图标即打开了桌面应用
  1802. U.MD.D.click(this, obj);
  1803. }, [_heyuanTeacherDeskIconInfo[i]]),
  1804. "onclick": U.UF.C.closure(function(obj) {
  1805. //防止拖动图标即打开了桌面应用
  1806. U.MD.D.click(this, obj);
  1807. }, [_heyuanTeacherDeskIconInfo[i]])
  1808. }, _frag); //
  1809. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1810. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1811. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1812. } //
  1813. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1814. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1815. _content = $$("div", {
  1816. className: "U_MD_D_KO",
  1817. "onmousedown": U.UF.C.closure(function(obj) {
  1818. //防止拖动图标即打开了桌面应用
  1819. U.MD.D.click(this, obj);
  1820. }, [_dseiAdminDeskIconInfo[i]]),
  1821. "onclick": U.UF.C.closure(function(obj) {
  1822. //防止拖动图标即打开了桌面应用
  1823. U.MD.D.click(this, obj);
  1824. }, [_dseiAdminDeskIconInfo[i]])
  1825. }, _frag); //
  1826. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1827. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1828. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1829. }
  1830. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1831. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1832. _content = $$("div", {
  1833. className: "U_MD_D_KO",
  1834. "onmousedown": U.UF.C.closure(function(obj) {
  1835. //防止拖动图标即打开了桌面应用
  1836. U.MD.D.click(this, obj);
  1837. }, [_dseiTeacherDeskIconInfo[i]]),
  1838. "onclick": U.UF.C.closure(function(obj) {
  1839. //防止拖动图标即打开了桌面应用
  1840. U.MD.D.click(this, obj);
  1841. }, [_dseiTeacherDeskIconInfo[i]])
  1842. }, _frag); //
  1843. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1844. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1845. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1846. } //
  1847. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1848. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1849. _content = $$("div", {
  1850. className: "U_MD_D_KO",
  1851. "onmousedown": U.UF.C.closure(function(obj) {
  1852. //防止拖动图标即打开了桌面应用
  1853. U.MD.D.click(this, obj);
  1854. }, [_chjyjAdminDeskIconInfo[i]]),
  1855. "onclick": U.UF.C.closure(function(obj) {
  1856. //防止拖动图标即打开了桌面应用
  1857. U.MD.D.click(this, obj);
  1858. }, [_chjyjAdminDeskIconInfo[i]])
  1859. }, _frag); //
  1860. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1861. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1862. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1863. } //
  1864. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1865. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1866. _content = $$("div", {
  1867. className: "U_MD_D_KO",
  1868. "onmousedown": U.UF.C.closure(function(obj) {
  1869. //防止拖动图标即打开了桌面应用
  1870. U.MD.D.click(this, obj);
  1871. }, [_chjyjTeacherDeskIconInfo[i]]),
  1872. "onclick": U.UF.C.closure(function(obj) {
  1873. //防止拖动图标即打开了桌面应用
  1874. U.MD.D.click(this, obj);
  1875. }, [_chjyjTeacherDeskIconInfo[i]])
  1876. }, _frag); //
  1877. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1878. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1879. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1880. }
  1881. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1882. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1883. _content = $$("div", {
  1884. className: "U_MD_D_KO",
  1885. "onmousedown": U.UF.C.closure(function(obj) {
  1886. //防止拖动图标即打开了桌面应用
  1887. U.MD.D.click(this, obj);
  1888. }, [_szjkyAdminDeskIconInfo[i]]),
  1889. "onclick": U.UF.C.closure(function(obj) {
  1890. //防止拖动图标即打开了桌面应用
  1891. U.MD.D.click(this, obj);
  1892. }, [_szjkyAdminDeskIconInfo[i]])
  1893. }, _frag); //
  1894. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1895. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1896. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1897. } //
  1898. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1899. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1900. _content = $$("div", {
  1901. className: "U_MD_D_KO",
  1902. "onmousedown": U.UF.C.closure(function(obj) {
  1903. //防止拖动图标即打开了桌面应用
  1904. U.MD.D.click(this, obj);
  1905. }, [_szjkyTeacherDeskIconInfo[i]]),
  1906. "onclick": U.UF.C.closure(function(obj) {
  1907. //防止拖动图标即打开了桌面应用
  1908. U.MD.D.click(this, obj);
  1909. }, [_szjkyTeacherDeskIconInfo[i]])
  1910. }, _frag); //
  1911. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1912. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1913. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1914. }
  1915. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1916. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1917. _content = $$("div", {
  1918. className: "U_MD_D_KO",
  1919. "onmousedown": U.UF.C.closure(function(obj) {
  1920. //防止拖动图标即打开了桌面应用
  1921. U.MD.D.click(this, obj);
  1922. }, [_futianAdminDeskIconInfo[i]]),
  1923. "onclick": U.UF.C.closure(function(obj) {
  1924. //防止拖动图标即打开了桌面应用
  1925. U.MD.D.click(this, obj);
  1926. }, [_futianAdminDeskIconInfo[i]])
  1927. }, _frag); //
  1928. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1929. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1930. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1931. }
  1932. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1933. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1934. _content = $$("div", {
  1935. className: "U_MD_D_KO",
  1936. "onmousedown": U.UF.C.closure(function(obj) {
  1937. //防止拖动图标即打开了桌面应用
  1938. U.MD.D.click(this, obj);
  1939. }, [_futianTeacherDeskIconInfo[i]]),
  1940. "onclick": U.UF.C.closure(function(obj) {
  1941. //防止拖动图标即打开了桌面应用
  1942. U.MD.D.click(this, obj);
  1943. }, [_futianTeacherDeskIconInfo[i]])
  1944. }, _frag); //
  1945. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1946. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1947. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1948. }
  1949. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1950. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1951. _content = $$("div", {
  1952. className: "U_MD_D_KO",
  1953. "onmousedown": U.UF.C.closure(function(obj) {
  1954. //防止拖动图标即打开了桌面应用
  1955. U.MD.D.click(this, obj);
  1956. }, [_MingdeTeacherDeskIcon[i]]),
  1957. "onclick": U.UF.C.closure(function(obj) {
  1958. //防止拖动图标即打开了桌面应用
  1959. U.MD.D.click(this, obj);
  1960. }, [_MingdeTeacherDeskIcon[i]])
  1961. }, _frag); //
  1962. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1963. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1964. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1965. }
  1966. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1967. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1968. _content = $$("div", {
  1969. className: "U_MD_D_KO",
  1970. "onmousedown": U.UF.C.closure(function(obj) {
  1971. //防止拖动图标即打开了桌面应用
  1972. U.MD.D.click(this, obj);
  1973. }, [_lhsAdminDesktopIconInfo[i]]),
  1974. "onclick": U.UF.C.closure(function(obj) {
  1975. //防止拖动图标即打开了桌面应用
  1976. U.MD.D.click(this, obj);
  1977. }, [_lhsAdminDesktopIconInfo[i]])
  1978. }, _frag); //
  1979. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1980. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1981. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1982. }
  1983. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1984. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1985. _content = $$("div", {
  1986. className: "U_MD_D_KO",
  1987. "onmousedown": U.UF.C.closure(function(obj) {
  1988. //防止拖动图标即打开了桌面应用
  1989. U.MD.D.click(this, obj);
  1990. }, [_lhsteacherDesktopIconInfo[i]]),
  1991. "onclick": U.UF.C.closure(function(obj) {
  1992. //防止拖动图标即打开了桌面应用
  1993. U.MD.D.click(this, obj);
  1994. }, [_lhsteacherDesktopIconInfo[i]])
  1995. }, _frag); //
  1996. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1997. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1998. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1999. }
  2000. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2001. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2002. _content = $$("div", {
  2003. className: "U_MD_D_KO",
  2004. "onmousedown": U.UF.C.closure(function(obj) {
  2005. //防止拖动图标即打开了桌面应用
  2006. U.MD.D.click(this, obj);
  2007. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2008. "onclick": U.UF.C.closure(function(obj) {
  2009. //防止拖动图标即打开了桌面应用
  2010. U.MD.D.click(this, obj);
  2011. }, [_zhoujiateacherDesktopIconInfo[i]])
  2012. }, _frag); //
  2013. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2014. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2015. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2016. }
  2017. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2018. for (i = 0; i < _hanDeskIcon.length; i++) {
  2019. _content = $$("div", {
  2020. className: "U_MD_D_KO",
  2021. "onmousedown": U.UF.C.closure(function(obj) {
  2022. //防止拖动图标即打开了桌面应用
  2023. U.MD.D.click(this, obj);
  2024. }, [_hanDeskIcon[i]]),
  2025. "onclick": U.UF.C.closure(function(obj) {
  2026. //防止拖动图标即打开了桌面应用
  2027. U.MD.D.click(this, obj);
  2028. }, [_hanDeskIcon[i]])
  2029. }, _frag); //
  2030. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2031. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2032. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2033. }
  2034. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2035. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2036. _content = $$("div", {
  2037. className: "U_MD_D_KO",
  2038. "onmousedown": U.UF.C.closure(function(obj) {
  2039. //防止拖动图标即打开了桌面应用
  2040. U.MD.D.click(this, obj);
  2041. }, [_orgStemDeskIcon[i]]),
  2042. "onclick": U.UF.C.closure(function(obj) {
  2043. //防止拖动图标即打开了桌面应用
  2044. U.MD.D.click(this, obj);
  2045. }, [_orgStemDeskIcon[i]])
  2046. }, _frag); //
  2047. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2048. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2049. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2050. }
  2051. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2052. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2053. _content = $$("div", {
  2054. className: "U_MD_D_KO",
  2055. "onmousedown": U.UF.C.closure(function(obj) {
  2056. //防止拖动图标即打开了桌面应用
  2057. U.MD.D.click(this, obj);
  2058. }, [_szulsDeskIcon[i]]),
  2059. "onclick": U.UF.C.closure(function(obj) {
  2060. //防止拖动图标即打开了桌面应用
  2061. U.MD.D.click(this, obj);
  2062. }, [_szulsDeskIcon[i]])
  2063. }, _frag); //
  2064. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2065. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2066. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2067. }
  2068. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2069. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2070. _content = $$("div", {
  2071. className: "U_MD_D_KO",
  2072. "onmousedown": U.UF.C.closure(function(obj) {
  2073. //防止拖动图标即打开了桌面应用
  2074. U.MD.D.click(this, obj);
  2075. }, [_orgDesktopIconInfo[i]]),
  2076. "onclick": U.UF.C.closure(function(obj) {
  2077. //防止拖动图标即打开了桌面应用
  2078. U.MD.D.click(this, obj);
  2079. }, [_orgDesktopIconInfo[i]])
  2080. }, _frag); //
  2081. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2082. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2083. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2084. }
  2085. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2086. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2087. _content = $$("div", {
  2088. className: "U_MD_D_KO",
  2089. "onmousedown": U.UF.C.closure(function(obj) {
  2090. //防止拖动图标即打开了桌面应用
  2091. U.MD.D.click(this, obj);
  2092. }, [_schoolDesktopIconInfo[i]]),
  2093. "onclick": U.UF.C.closure(function(obj) {
  2094. //防止拖动图标即打开了桌面应用
  2095. U.MD.D.click(this, obj);
  2096. }, [_schoolDesktopIconInfo[i]])
  2097. }, _frag); //
  2098. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2099. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2100. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2101. }
  2102. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2103. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2104. _content = $$("div", {
  2105. className: "U_MD_D_KO",
  2106. "onmousedown": U.UF.C.closure(function(obj) {
  2107. //防止拖动图标即打开了桌面应用
  2108. U.MD.D.click(this, obj);
  2109. }, [_GMteacherDesktopIconInfo[i]]),
  2110. "onclick": U.UF.C.closure(function(obj) {
  2111. //防止拖动图标即打开了桌面应用
  2112. U.MD.D.click(this, obj);
  2113. }, [_GMteacherDesktopIconInfo[i]])
  2114. }, _frag); //
  2115. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2116. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2117. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2118. }
  2119. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2120. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2121. _content = $$("div", {
  2122. className: "U_MD_D_KO",
  2123. "onmousedown": U.UF.C.closure(function(obj) {
  2124. //防止拖动图标即打开了桌面应用
  2125. U.MD.D.click(this, obj);
  2126. }, [_SONGteacherDesktopIconInfo[i]]),
  2127. "onclick": U.UF.C.closure(function(obj) {
  2128. //防止拖动图标即打开了桌面应用
  2129. U.MD.D.click(this, obj);
  2130. }, [_SONGteacherDesktopIconInfo[i]])
  2131. }, _frag); //
  2132. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2133. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2134. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2135. }
  2136. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2137. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2138. _content = $$("div", {
  2139. className: "U_MD_D_KO",
  2140. "onmousedown": U.UF.C.closure(function(obj) {
  2141. //防止拖动图标即打开了桌面应用
  2142. U.MD.D.click(this, obj);
  2143. }, [_GMstudentDesktopIconInfo[i]]),
  2144. "onclick": U.UF.C.closure(function(obj) {
  2145. //防止拖动图标即打开了桌面应用
  2146. U.MD.D.click(this, obj);
  2147. }, [_GMstudentDesktopIconInfo[i]])
  2148. }, _frag); //
  2149. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2150. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2151. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2152. }
  2153. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2154. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2155. _content = $$("div", {
  2156. className: "U_MD_D_KO",
  2157. "onmousedown": U.UF.C.closure(function(obj) {
  2158. //防止拖动图标即打开了桌面应用
  2159. U.MD.D.click(this, obj);
  2160. }, [_tcTeacherDeskIconInfo[i]]),
  2161. "onclick": U.UF.C.closure(function(obj) {
  2162. //防止拖动图标即打开了桌面应用
  2163. U.MD.D.click(this, obj);
  2164. }, [_tcTeacherDeskIconInfo[i]])
  2165. }, _frag); //
  2166. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2167. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2168. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2169. }
  2170. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2171. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2172. _content = $$("div", {
  2173. className: "U_MD_D_KO",
  2174. "onmousedown": U.UF.C.closure(function(obj) {
  2175. //防止拖动图标即打开了桌面应用
  2176. U.MD.D.click(this, obj);
  2177. }, [_tcOrganizerDeskIconInfo[i]]),
  2178. "onclick": U.UF.C.closure(function(obj) {
  2179. //防止拖动图标即打开了桌面应用
  2180. U.MD.D.click(this, obj);
  2181. }, [_tcOrganizerDeskIconInfo[i]])
  2182. }, _frag); //
  2183. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2184. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2185. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2186. }
  2187. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2188. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2189. _content = $$("div", {
  2190. className: "U_MD_D_KO",
  2191. "onmousedown": U.UF.C.closure(function(obj) {
  2192. //防止拖动图标即打开了桌面应用
  2193. U.MD.D.click(this, obj);
  2194. }, [_szscTeacherDeskIconInfo[i]]),
  2195. "onclick": U.UF.C.closure(function(obj) {
  2196. //防止拖动图标即打开了桌面应用
  2197. U.MD.D.click(this, obj);
  2198. }, [_szscTeacherDeskIconInfo[i]])
  2199. }, _frag); //
  2200. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2201. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2202. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2203. }
  2204. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2205. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2206. _content = $$("div", {
  2207. className: "U_MD_D_KO",
  2208. "onmousedown": U.UF.C.closure(function(obj) {
  2209. //防止拖动图标即打开了桌面应用
  2210. U.MD.D.click(this, obj);
  2211. }, [_szscOrganizerDeskIconInfo[i]]),
  2212. "onclick": U.UF.C.closure(function(obj) {
  2213. //防止拖动图标即打开了桌面应用
  2214. U.MD.D.click(this, obj);
  2215. }, [_szscOrganizerDeskIconInfo[i]])
  2216. }, _frag); //
  2217. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2218. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2219. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2220. }
  2221. } else {
  2222. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2223. _content = $$("div", {
  2224. className: "U_MD_D_KO",
  2225. "onmousedown": U.UF.C.closure(function(obj) {
  2226. //防止拖动图标即打开了桌面应用
  2227. U.MD.D.click(this, obj);
  2228. }, [_teacherDesktopIconInfo[i]]),
  2229. "onclick": U.UF.C.closure(function(obj) {
  2230. //防止拖动图标即打开了桌面应用
  2231. U.MD.D.click(this, obj);
  2232. }, [_teacherDesktopIconInfo[i]])
  2233. }, _frag); //
  2234. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2235. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2236. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2237. }
  2238. }
  2239. } else {
  2240. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2241. _content = $$("div", {
  2242. className: "U_MD_D_KO",
  2243. style: { 'width': '124px', 'height': '145px' },
  2244. "onmousedown": U.UF.C.closure(function(obj) {
  2245. //防止拖动图标即打开了桌面应用
  2246. U.MD.D.click(this, obj);
  2247. }, [_easyDesktopIconInfo[i]]),
  2248. "onclick": U.UF.C.closure(function(obj) {
  2249. //防止拖动图标即打开了桌面应用
  2250. U.MD.D.click(this, obj);
  2251. }, [_easyDesktopIconInfo[i]])
  2252. }, _frag); //
  2253. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2254. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2255. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2256. }
  2257. }
  2258. if (type == 1) {
  2259. //加载好后给图标定位
  2260. U.MD.D.iconPostion($(_frag).Child());
  2261. } else {
  2262. //加载好后给图标定位
  2263. U.MD.D.iconPostion2($(_frag).Child());
  2264. }
  2265. //把图标加载到页面
  2266. el.appendChild(_frag);
  2267. }
  2268. /**
  2269. * 显示任务栏
  2270. *
  2271. * @param {element} 桌面元素
  2272. */
  2273. U.MD.D.I.displayTaskbar = function(el) {
  2274. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2275. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2276. //任务栏位置变化
  2277. U.selectEl(el).css({ "bottom": "0px" });
  2278. //桌面位置变话
  2279. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2280. }
  2281. }
  2282. //#region 桌面图标拖动逻辑
  2283. /**
  2284. * 桌面排列图标
  2285. *
  2286. * @param {element} 桌面元素
  2287. * @param {object} 上下相距的距离
  2288. * @param {object} 左右相距的距离
  2289. * @return {object} 命名空间
  2290. */
  2291. U.MD.D.iconPostion = function(childs, top, left) {
  2292. var i; //用于循环处理
  2293. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2294. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2295. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2296. for (i = 0; i < childs.length; i++) {
  2297. //如果竖排top超过了范围处理
  2298. if (top + 95 > US.height - 10) {
  2299. //left超过了页面范围处理,则向上重叠打印处理
  2300. if ((left + 180) > US.width) {
  2301. top -= 110;
  2302. left -= 90;
  2303. }
  2304. //没有超过范围,那么left+90添加到下一个竖排打印
  2305. else {
  2306. left += 90;
  2307. top = 15;
  2308. };
  2309. }
  2310. //给图标的位置赋值
  2311. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2312. if (i < childs.length - 1) {
  2313. //页面图标每次向下加95
  2314. top += 95;
  2315. }
  2316. }
  2317. //返回最后调用的图标的位置
  2318. return [top, left];
  2319. }
  2320. /**
  2321. * 桌面排列图标
  2322. *
  2323. * @param {element} 桌面元素
  2324. * @param {object} 上下相距的距离
  2325. * @param {object} 左右相距的距离
  2326. * @return {object} 命名空间
  2327. */
  2328. U.MD.D.iconPostion2 = function(childs, top, left) {
  2329. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2330. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2331. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2332. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2333. for (i = 0; i < childs.length; i++) {
  2334. //如果竖排top超过了范围处理
  2335. if (left + 150 > US.width - 10) {
  2336. //left超过了页面范围处理,则向上重叠打印处理
  2337. if ((top + 180) > US.Height) {
  2338. top -= 150;
  2339. left -= 150;
  2340. }
  2341. //没有超过范围,那么left+90添加到下一个竖排打印
  2342. else {
  2343. top += 150;
  2344. left = ol;
  2345. };
  2346. }
  2347. //给图标的位置赋值
  2348. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2349. if (i < childs.length - 1) {
  2350. //页面图标每次向下加95
  2351. left += 150;
  2352. }
  2353. }
  2354. //返回最后调用的图标的位置
  2355. return [top, left];
  2356. }
  2357. /**
  2358. * 桌面点击事件逻辑
  2359. *
  2360. * @param {element} 桌面元素
  2361. * @param {object} 上下相距的距离
  2362. * @param {object} 左右相距的距离
  2363. * @return {object} 命名空间
  2364. */
  2365. U.MD.D.click = function(el, obj) {
  2366. var _buttonnumber = event.button; //点击的按钮的事件值
  2367. var _userinfo = US.userInfo;
  2368. U.UF.EV.stopBubble(); //阻止向上冒泡
  2369. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2370. if (_buttonnumber < 2) {
  2371. //如果是click事件的处理
  2372. if (event.type == "click") {
  2373. //如果元素在mousemove事件中没有移动则出发click事件
  2374. if (!U.MD.D.I.IsDrag) {
  2375. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2376. U.alert("请先登录您的账号!");
  2377. setTimeout(() => {
  2378. U.MD.U.L.login();
  2379. }, 2000);
  2380. } else {
  2381. //打开应用处理
  2382. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2383. }
  2384. }
  2385. }
  2386. //如果是mouse事件的处理
  2387. else {
  2388. if (US.Config.type == '1') {
  2389. //拖动处理,添加拖动和拖动结束事件
  2390. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2391. }
  2392. }
  2393. U.MD.D.I.IsDrag = false;
  2394. }
  2395. }
  2396. /**
  2397. * 拖动的处理
  2398. *
  2399. */
  2400. U.MD.D.iconMove = function() {
  2401. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2402. U.MD.D.I.IsDrag = true;
  2403. }
  2404. /**
  2405. * 拖动结束后,这里是定位处理,以网状的形式定位
  2406. *
  2407. * @param {element} 拖动的元素
  2408. * @return {object} 命名空间
  2409. */
  2410. U.MD.D.iconUp = function(el) {
  2411. var _top = 15,
  2412. _left = 20,
  2413. _margin,
  2414. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2415. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2416. if (_positioninfo["OT"] > 15) {
  2417. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2418. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2419. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2420. }
  2421. if (_positioninfo["OL"] > 20) {
  2422. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2423. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2424. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2425. }
  2426. //while循环判断么一个重叠的元素
  2427. do {
  2428. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2429. _top = _positioninfo[0] + 95; //得到定位后的top
  2430. _left = _positioninfo[1]; //得到定位后的left
  2431. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2432. }
  2433. /**
  2434. * 判断拖动后图标是否重叠
  2435. *
  2436. * @param {element} 拖动的元素
  2437. * @param {element} 桌面所有的元素
  2438. * @param {array} 拖动元素的位置
  2439. ----------[0] 上 top
  2440. ----------[1] 左 left
  2441. * @return {object} 命名空间
  2442. */
  2443. U.MD.D.isOverlap = function(el, childs, postionarray) {
  2444. //循环所有的图标
  2445. for (var i = 0; i < childs.length; i++) {
  2446. //判断有没有和该图标诶子重叠的元素
  2447. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2448. return childs[i]; //如果有返回
  2449. }
  2450. }
  2451. }
  2452. //#endregion
  2453. //#endregion
  2454. //#region 桌面应用
  2455. /**
  2456. * 打开应用
  2457. *
  2458. * @param {string} 类型
  2459. -----------------Disk 网盘系统
  2460. -----------------PDisk 学习系统网盘
  2461. -----------------Poto 图片
  2462. -----------------Video 视频
  2463. -----------------Music 音乐
  2464. -----------------Word word
  2465. -----------------Excel excel
  2466. -----------------Txt 记事本
  2467. -----------------PB 学习系统
  2468. -----------------Blog 朋友圈系统
  2469. -----------------FTP ftp系统
  2470. -----------------Group 好友群
  2471. -----------------SY 首页系统
  2472. -----------------Set 个人设置
  2473. -----------------XSet 系统设置
  2474. -----------------App 我们所有的app
  2475. -----------------BC c.1473.cn 平台
  2476. -----------------CWeb d.1473.cn 变成平台
  2477. -----------------其他的外联系统 我们统一用iframe打开
  2478. * @param {array} 类型
  2479. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2480. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2481. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2482. 如果第一个参数为其他,则无第二个参数
  2483. * @returns {array}
  2484. */
  2485. window.addEventListener('message', function(e) { // 监听 message 事件
  2486. // alert(e.data.type);
  2487. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2488. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2489. //3是展示全部阶段 2学生 1老师 4专家
  2490. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2491. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2492. //3是展示全部阶段 2学生 1老师 4专家
  2493. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2494. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2495. //3是展示全部阶段 2学生 1老师 4专家
  2496. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2497. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2498. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2499. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2500. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2501. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2502. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2503. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2504. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2505. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2506. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2507. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2508. //3是展示全部阶段 2学生 1老师 4专家
  2509. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2510. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2511. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2512. U.MD.D.I.selectUser();
  2513. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2514. var _formel = document.getElementById("study");
  2515. U.UF.F.windowZooming(_formel);
  2516. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2517. var _formel = document.getElementById("studyDetail");
  2518. U.UF.F.windowZooming(_formel);
  2519. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2520. var _formel = document.getElementById("studyDetail");
  2521. U.UF.F.windowZooming(_formel);
  2522. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2523. var _formel = document.getElementById("studentStudy");
  2524. U.UF.F.windowZooming(_formel);
  2525. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2526. // var _formel = document.getElementById("study");
  2527. //如果最大化了,那么就把他缩小
  2528. // if (_formel.ismaximize) {
  2529. // return;
  2530. // }
  2531. // U.UF.F.windowZooming(_formel);
  2532. // U.UF.F.topWindow(_formel);
  2533. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2534. // var _formel = document.getElementById("studyDetail");
  2535. //如果最大化了,那么就把他缩小
  2536. // if (_formel.ismaximize) {
  2537. // return;
  2538. // }
  2539. // U.UF.F.windowZooming(_formel);
  2540. // U.UF.F.topWindow(_formel);
  2541. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2542. // var _formel = document.getElementById("studentStudy");
  2543. // if (_formel.ismaximize) {
  2544. // return;
  2545. // }
  2546. // U.UF.F.windowZooming(_formel);
  2547. // U.UF.F.topWindow(_formel);
  2548. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2549. var _formel = document.getElementById("study");
  2550. // if (_formel.ismaximize) {
  2551. // return;
  2552. // }
  2553. // U.UF.F.windowZooming(_formel);
  2554. U.UF.F.topWindow(_formel);
  2555. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2556. var _formel = document.getElementById("studentIndex");
  2557. U.UF.F.windowZooming(_formel);
  2558. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2559. var _formel = document.getElementById("studyDetailS");
  2560. U.UF.F.windowZooming(_formel);
  2561. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2562. var _formel = document.getElementById("studioIndex");
  2563. U.UF.F.windowZooming(_formel);
  2564. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2565. var _formel = document.getElementById("studyDetailStudio");
  2566. U.UF.F.windowZooming(_formel);
  2567. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2568. var _formel = document.getElementById("studyDetailStudio");
  2569. U.UF.F.windowZooming(_formel);
  2570. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2571. var _formel = document.getElementById("studyDetailNT");
  2572. U.UF.F.windowZooming(_formel);
  2573. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2574. var _formel = document.getElementById("studyDetailS");
  2575. U.UF.F.windowZooming(_formel);
  2576. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2577. var _formel = document.getElementById("studyDetailS");
  2578. U.UF.F.topWindow(_formel);
  2579. } else if (e.data.tools && e.data.tools == "1") {
  2580. // U.MD.D.I.openApplication("whiteboard")
  2581. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2582. } else if (e.data.tools && e.data.tools == "2") {
  2583. U.MD.D.I.openApplication("note")
  2584. } else if (e.data.tools && e.data.tools == "3") {
  2585. // U.MD.D.I.openApplication("mind")
  2586. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2587. } else if (e.data.tools && e.data.tools == "4") {
  2588. U.MD.D.I.openApplication("investigation")
  2589. } else if (e.data.tools && e.data.tools == "6") {
  2590. // U.MD.D.I.openApplication("doc")
  2591. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2592. } else if (e.data.tools && e.data.tools == "7") {
  2593. // U.MD.D.I.openApplication("mindNetwork")
  2594. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2595. } else if (e.data.tools && e.data.tools == "8") {
  2596. U.MD.D.I.openApplication("library")
  2597. } else if (e.data.tools && e.data.tools == "17") {
  2598. U.MD.D.I.openApplication("stuLibrary")
  2599. } else if (e.data.tools && e.data.tools == "18") {
  2600. U.MD.D.I.openApplication("train")
  2601. } else if (e.data.tools && e.data.tools == "21") {
  2602. U.MD.D.I.openApplication("program")
  2603. } else if (e.data.tools && e.data.tools == "22") {
  2604. U.MD.D.I.openApplication("AIprogram2")
  2605. } else if (e.data.tools && e.data.tools == "23") {
  2606. U.MD.D.I.openApplication("Pythonprogram")
  2607. } else if (e.data.tools && e.data.tools == "24") {
  2608. U.MD.D.I.openApplication("AIprogram")
  2609. } else if (e.data.tools && e.data.tools == "25") {
  2610. U.MD.D.I.openApplication("sys")
  2611. } else if (e.data.tools && e.data.tools == "26") {
  2612. // U.MD.D.I.openApplication("courseDesign")
  2613. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2614. } else if (e.data.tools && e.data.tools == "31") {
  2615. U.MD.D.I.openApplication("netWorkPanel")
  2616. } else if (e.data.tools && e.data.tools == "32") {
  2617. U.MD.D.I.openApplication("codeEdit")
  2618. } else if (e.data.tools && e.data.tools == "57") {
  2619. U.MD.D.I.openApplication("CocoPi")
  2620. } else if (e.data.tools && e.data.tools == "63") {
  2621. U.MD.D.I.openApplication("Wood")
  2622. } else if (e.data.tools && e.data.tools == "58") {
  2623. U.MD.D.I.openApplication("car")
  2624. } else if (e.data.tools && e.data.tools == "59") {
  2625. U.MD.D.I.openApplication("lineSearch")
  2626. } else if (e.data.tools && e.data.tools == "60") {
  2627. U.MD.D.I.openApplication("deepLearning")
  2628. } else if (e.data.tools && e.data.tools == "61") {
  2629. U.MD.D.I.openApplication("allHistory")
  2630. } else if (e.data.tools && e.data.tools == "28") {
  2631. U.MD.D.I.openApplication("translation")
  2632. } else if (e.data.tools && e.data.tools == "37") {
  2633. U.MD.D.I.openApplication("mohe")
  2634. } else if (e.data.tools && e.data.tools == "38") {
  2635. U.MD.D.I.openApplication("24game")
  2636. } else if (e.data.tools && e.data.tools == "39") {
  2637. U.MD.D.I.openApplication("GeoGebra")
  2638. } else if (e.data.tools && e.data.tools == "43") {
  2639. U.MD.D.I.openApplication("studentEvaluate")
  2640. } else if (e.data.tools && e.data.tools == "44") {
  2641. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2642. } else if (e.data.tools && e.data.tools == "46") {
  2643. U.MD.D.I.openApplication("project")
  2644. } else if (e.data.tools && e.data.tools == "1s") {
  2645. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2646. } else if (e.data.tools && e.data.tools == "3s") {
  2647. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2648. } else if (e.data.tools && e.data.tools == "6s") {
  2649. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2650. } else if (e.data.tools && e.data.tools == "1studio") {
  2651. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2652. } else if (e.data.tools && e.data.tools == "3studio") {
  2653. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2654. } else if (e.data.tools && e.data.tools == "6studio") {
  2655. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2656. } else if (e.data.tools && e.data.tools == "3y") {
  2657. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2658. } else if (e.data.tools && e.data.tools == "1y") {
  2659. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2660. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2661. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2662. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2663. U.MD.D.I.openApplication("AIAnalyse")
  2664. } else if (e.data.tools && e.data.tools == "1teacher") {
  2665. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2666. } else if (e.data.tools && e.data.tools == "3teacher") {
  2667. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2668. } else if (e.data.tools && e.data.tools == "7teacher") {
  2669. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2670. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2671. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2672. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2673. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2674. } else if (e.data.tools && e.data.tools == "1E") {
  2675. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2676. } else if (e.data.tools && e.data.tools == "3E") {
  2677. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2678. } else if (e.data.tools && e.data.tools == "57y") {
  2679. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2680. } else if (e.data.tools && e.data.tools == "57u") {
  2681. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2682. } else if (e.data.tools && e.data.tools == "57teacher") {
  2683. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2684. } else if (e.data.tools && e.data.tools == "64") {
  2685. U.MD.D.I.openApplication("AIChat")
  2686. } else if (e.data.tools && e.data.tools == "66") {
  2687. U.MD.D.I.openApplication("formulaEdi")
  2688. } else if (e.data.tools && e.data.tools == "67") {
  2689. U.MD.D.I.openApplication("molStr")
  2690. } else if (e.data.tools && e.data.tools == "68") {
  2691. U.MD.D.I.openApplication("timeAxis")
  2692. } else if (e.data.tools && e.data.tools == "openCourse") {
  2693. let _data = {
  2694. typea: e.data.typea || '',
  2695. typeb: e.data.typeb || '',
  2696. typed: e.data.typed || '',
  2697. }
  2698. U.MD.D.I.openInApplication("index", _data)
  2699. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2700. let _data = {
  2701. classid: e.data.classid || '',
  2702. }
  2703. U.MD.D.I.openInApplication("dataClass", _data)
  2704. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2705. let _data = {
  2706. cid: e.data.cid || '',
  2707. gid: e.data.gid || '',
  2708. }
  2709. U.MD.D.I.openInApplication("opencCscl", _data)
  2710. }
  2711. });
  2712. U.MD.D.I.selectUser = function() {
  2713. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function(res) { //US.userInfo.userid
  2714. if (res.value[0].length > 0) {
  2715. US.userInfo = res.value[0][0];
  2716. $(".userName")[0].innerHTML = US.userInfo.username;
  2717. }
  2718. }, [], { "type": "GET", "withCredentials": true });
  2719. }
  2720. U.MD.D.I.openInApplication = function(str, data, screenType, tType) {
  2721. var _userinfo = US.userInfo, //登录用户信息
  2722. _userid = US.userInfo.userid, //登录用户id
  2723. _oid = _userinfo.organizeid,
  2724. _type = US.userInfo.type,
  2725. _org = US.userInfo.org,
  2726. _role = US.userInfo.role,
  2727. _classId = US.userInfo.classid;
  2728. if (_type == 4) {
  2729. tType = 4
  2730. }
  2731. switch (str) {
  2732. case "studyDetailNT": //无终端模式
  2733. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2734. setTimeout(() => {
  2735. U.MD.U.L.login();
  2736. }, 2000);
  2737. } else {
  2738. _formdiv = new U.UF.UI.form(
  2739. "课程详情",
  2740. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailNT?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2741. "id": "studyDetailNT",
  2742. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2743. "onresize": function() {}
  2744. }, {
  2745. closecallback: function() {}
  2746. }, { "style": { "height": "36px" } }).form; //创建窗体
  2747. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2748. break;
  2749. }
  2750. case "studyDetail":
  2751. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2752. setTimeout(() => {
  2753. U.MD.U.L.login();
  2754. }, 2000);
  2755. } else {
  2756. _formdiv = new U.UF.UI.form(
  2757. "课程详情",
  2758. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetail?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2759. "id": "studyDetail",
  2760. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2761. "onresize": function() {}
  2762. }, {
  2763. closecallback: function() {}
  2764. }, { "style": { "height": "36px" } }).form; //创建窗体
  2765. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2766. break;
  2767. }
  2768. case "studyDetailS":
  2769. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2770. setTimeout(() => {
  2771. U.MD.U.L.login();
  2772. }, 2000);
  2773. } else {
  2774. _formdiv = new U.UF.UI.form(
  2775. "项目详情",
  2776. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2777. "id": "studyDetailS",
  2778. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2779. "onresize": function() {}
  2780. }, {
  2781. closecallback: function() {}
  2782. }, { "style": { "height": "36px" } }).form; //创建窗体
  2783. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2784. break;
  2785. }
  2786. case "studyDetailStudio":
  2787. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2788. setTimeout(() => {
  2789. U.MD.U.L.login();
  2790. }, 2000);
  2791. } else {
  2792. _formdiv = new U.UF.UI.form(
  2793. "工作详情",
  2794. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailStudio?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2795. "id": "studyDetailStudio",
  2796. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2797. "onresize": function() {}
  2798. }, {
  2799. closecallback: function() {}
  2800. }, { "style": { "height": "36px" } }).form; //创建窗体
  2801. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioCourse.png)" }, "name": "工作详情", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2802. break;
  2803. }
  2804. case "studyDetailS5":
  2805. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2806. setTimeout(() => {
  2807. U.MD.U.L.login();
  2808. }, 2000);
  2809. } else {
  2810. _formdiv = new U.UF.UI.form(
  2811. "项目详情",
  2812. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/studyStudentS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2813. "id": "studyDetailS",
  2814. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2815. "onresize": function() {}
  2816. }, {
  2817. closecallback: function() {}
  2818. }, { "style": { "height": "36px" } }).form; //创建窗体
  2819. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2820. break;
  2821. }
  2822. case "studyDetailGM":
  2823. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2824. setTimeout(() => {
  2825. U.MD.U.L.login();
  2826. }, 2000);
  2827. } else {
  2828. _formdiv = new U.UF.UI.form(
  2829. "课程详情",
  2830. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2831. "id": "studyDetail",
  2832. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2833. "onresize": function() {}
  2834. }, {
  2835. closecallback: function() {}
  2836. }, { "style": { "height": "36px" } }).form; //创建窗体
  2837. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2838. break;
  2839. }
  2840. case "hanUrl":
  2841. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2842. setTimeout(() => {
  2843. U.MD.U.L.login();
  2844. }, 2000);
  2845. } else {
  2846. _formdiv = new U.UF.UI.form(
  2847. "汉字宫",
  2848. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//school.hanzigon.cn/?appid=734714090237947#/material/video?grade_id=62&lesson_code=621&id=2432" }), {
  2849. "id": "hanUrl",
  2850. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2851. "onresize": function() {}
  2852. }, {
  2853. closecallback: function() {}
  2854. }, { "style": { "height": "36px" } }).form; //创建窗体
  2855. _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); } }
  2856. break;
  2857. }
  2858. case "index":
  2859. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2860. setTimeout(() => {
  2861. U.MD.U.L.login();
  2862. }, 2000);
  2863. } else {
  2864. _formdiv = new U.UF.UI.form(
  2865. "Course Library",
  2866. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=2" + "&typea=" + data.typea + "&typeb=" + data.typeb + "&typed=" + data.typed }), {
  2867. "id": "study",
  2868. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2869. "onresize": function() {}
  2870. }, {
  2871. closecallback: function() {}
  2872. }, { "style": { "height": "36px" } }).form; //创建窗体
  2873. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2874. break;
  2875. }
  2876. case "dataClass":
  2877. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2878. setTimeout(() => {
  2879. U.MD.U.L.login();
  2880. }, 2000);
  2881. } else {
  2882. _formdiv = new U.UF.UI.form(
  2883. "数据报告",
  2884. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&cid=" + _classId + "&checkid=" + data.classid }), {
  2885. "id": "dataClass",
  2886. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2887. "onresize": function() {}
  2888. }, {
  2889. closecallback: function() {}
  2890. }, { "style": { "height": "36px" } }).form; //创建窗体
  2891. _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); } }
  2892. break;
  2893. }
  2894. case "opencCscl":
  2895. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2896. setTimeout(() => {
  2897. U.MD.U.L.login();
  2898. }, 2000);
  2899. } else {
  2900. _formdiv = new U.UF.UI.form(
  2901. "CocoNote",
  2902. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.com?cid=" + data.cid + "&gid=" + data.gid }), {
  2903. "id": "futureClass",
  2904. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2905. "onresize": function() {}
  2906. }, {
  2907. closecallback: function() { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  2908. }, { "style": { "height": "36px" } }).form; //创建窗体
  2909. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/futureClass.png)" }, "name": "CocoNote", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2910. break;
  2911. }
  2912. }
  2913. }
  2914. U.MD.D.I.openApplication = function(str, obj, info) {
  2915. obj = obj || {};
  2916. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2917. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2918. _userinfo = US.userInfo, //登录用户信息
  2919. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2920. _oid = obj.organizeid || _userinfo.organizeid,
  2921. _type = US.userInfo.type,
  2922. _org = US.userInfo.org,
  2923. _role = US.userInfo.role,
  2924. _classId = US.userInfo.classid,
  2925. _TscreenType = 1
  2926. _screenType = 2,
  2927. _SscreenType = 3;
  2928. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2929. return;
  2930. }
  2931. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2932. switch (str) {
  2933. case "studnetProject": //好友打开
  2934. _formdiv = new U.UF.UI.form(
  2935. "我的项目",
  2936. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/project?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), {
  2937. "id": "studnetProject",
  2938. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2939. "onresize": function() {}
  2940. }, {
  2941. closecallback: function() {}
  2942. }, { "style": { "height": "36px" } }).form; //创建窗体
  2943. _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); } }
  2944. break;
  2945. case "studentEvaluate": //好友打开
  2946. _formdiv = new U.UF.UI.form(
  2947. "我的评价",
  2948. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  2949. "id": "studentEvaluate",
  2950. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2951. "onresize": function() {}
  2952. }, {
  2953. closecallback: function() {}
  2954. }, { "style": { "height": "36px" } }).form; //创建窗体
  2955. _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); } }
  2956. break;
  2957. case "my":
  2958. _formdiv = new U.UF.UI.form(
  2959. "我的资料",
  2960. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  2961. "id": "my",
  2962. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2963. "onresize": function() {}
  2964. }, {
  2965. closecallback: function() {}
  2966. }, { "style": { "height": "36px" } }).form; //创建窗体
  2967. _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); } }
  2968. break;
  2969. case "program":
  2970. _formdiv = new U.UF.UI.form(
  2971. "编程平台",
  2972. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2973. "id": "program",
  2974. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2975. "onresize": function() {}
  2976. }, {
  2977. closecallback: function() {}
  2978. }, { "style": { "height": "36px" } }).form; //创建窗体
  2979. _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); } }
  2980. break;
  2981. case "library":
  2982. _formdiv = new U.UF.UI.form(
  2983. "素材库",
  2984. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  2985. "id": "library",
  2986. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2987. "onresize": function() {}
  2988. }, {
  2989. closecallback: function() {}
  2990. }, { "style": { "height": "36px" } }).form; //创建窗体
  2991. _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); } }
  2992. break;
  2993. case "whiteboard":
  2994. _formdiv = new U.UF.UI.form(
  2995. "电子白板",
  2996. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2997. "id": "whiteboard",
  2998. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2999. "onresize": function() {}
  3000. }, {
  3001. closecallback: function() {}
  3002. }, { "style": { "height": "36px" } }).form; //创建窗体
  3003. _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); } }
  3004. break;
  3005. case "investigation":
  3006. _formdiv = new U.UF.UI.form(
  3007. "问卷调查",
  3008. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3009. "id": "investigation",
  3010. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3011. "onresize": function() {}
  3012. }, {
  3013. closecallback: function() {}
  3014. }, { "style": { "height": "36px" } }).form; //创建窗体
  3015. _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); } }
  3016. break;
  3017. case "note":
  3018. _formdiv = new U.UF.UI.form(
  3019. "便签分类",
  3020. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3021. "id": "note",
  3022. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3023. "onresize": function() {}
  3024. }, {
  3025. closecallback: function() {}
  3026. }, { "style": { "height": "36px" } }).form; //创建窗体
  3027. _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); } }
  3028. break;
  3029. // case "score":
  3030. // _formdiv = new U.UF.UI.form(
  3031. // "量规评分",
  3032. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3033. // "id": "score",
  3034. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3035. // "onresize": function() {}
  3036. // }, {
  3037. // closecallback: function() {}
  3038. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3039. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3040. // break;
  3041. case "mind":
  3042. _formdiv = new U.UF.UI.form(
  3043. "思维导图",
  3044. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3045. "id": "mind",
  3046. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3047. "onresize": function() {}
  3048. }, {
  3049. closecallback: function() {}
  3050. }, { "style": { "height": "36px" } }).form; //创建窗体
  3051. _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); } }
  3052. break;
  3053. case "doc":
  3054. // U.MD.D.I.isRoom();
  3055. _formdiv = new U.UF.UI.form(
  3056. "协同文档",
  3057. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3058. "id": "doc",
  3059. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3060. "onresize": function() {}
  3061. }, {
  3062. closecallback: function() {}
  3063. }, { "style": { "height": "36px" } }).form; //创建窗体
  3064. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3065. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3066. // })
  3067. _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); } }
  3068. break;
  3069. case "studentStudy":
  3070. _formdiv = new U.UF.UI.form(
  3071. "Course Library",
  3072. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), { //https://beta.pbl.cocorobo.cn/pbl-student-table/dist/#/index
  3073. "id": "studentStudy",
  3074. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3075. "onresize": function() {}
  3076. }, {
  3077. closecallback: function() {}
  3078. }, { "style": { "height": "36px" } }).form; //创建窗体
  3079. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3080. break;
  3081. case "train": //好友打开
  3082. _formdiv = new U.UF.UI.form(
  3083. "训练平台",
  3084. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3085. "id": "train",
  3086. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3087. "onresize": function() {}
  3088. }, {
  3089. closecallback: function() {}
  3090. }, { "style": { "height": "36px" } }).form; //创建窗体
  3091. _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); } }
  3092. break;
  3093. case "mindNetwork": //好友打开
  3094. _formdiv = new U.UF.UI.form(
  3095. "思维网格",
  3096. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid + "&org=" + _org }), {
  3097. "id": "mindNetwork",
  3098. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3099. "onresize": function() {}
  3100. }, {
  3101. closecallback: function() {}
  3102. }, { "style": { "height": "36px" } }).form; //创建窗体
  3103. _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); } }
  3104. break;
  3105. case "studentClassRoom": //好友打开
  3106. _formdiv = new U.UF.UI.form(
  3107. "实时课堂",
  3108. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/liveRoom?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3109. "id": "studentClassRoom",
  3110. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3111. "onresize": function() {}
  3112. }, {
  3113. closecallback: function() {}
  3114. }, { "style": { "height": "36px" } }).form; //创建窗体
  3115. _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); } }
  3116. setTimeout(() => {
  3117. U.UF.F.windowZooming(_formdiv)
  3118. }, 0);
  3119. break;
  3120. }
  3121. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3122. switch (str) {
  3123. case "studnetProject": //好友打开
  3124. _formdiv = new U.UF.UI.form(
  3125. "我的项目",
  3126. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/project?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), {
  3127. "id": "studnetProject",
  3128. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3129. "onresize": function() {}
  3130. }, {
  3131. closecallback: function() {}
  3132. }, { "style": { "height": "36px" } }).form; //创建窗体
  3133. _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); } }
  3134. break;
  3135. case "studentEvaluate": //好友打开
  3136. _formdiv = new U.UF.UI.form(
  3137. "我的评价",
  3138. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3139. "id": "studentEvaluate",
  3140. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3141. "onresize": function() {}
  3142. }, {
  3143. closecallback: function() {}
  3144. }, { "style": { "height": "36px" } }).form; //创建窗体
  3145. _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); } }
  3146. break;
  3147. case "my":
  3148. _formdiv = new U.UF.UI.form(
  3149. "我的资料",
  3150. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3151. "id": "my",
  3152. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3153. "onresize": function() {}
  3154. }, {
  3155. closecallback: function() {}
  3156. }, { "style": { "height": "36px" } }).form; //创建窗体
  3157. _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); } }
  3158. break;
  3159. case "program":
  3160. _formdiv = new U.UF.UI.form(
  3161. "编程平台",
  3162. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3163. "id": "program",
  3164. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3165. "onresize": function() {}
  3166. }, {
  3167. closecallback: function() {}
  3168. }, { "style": { "height": "36px" } }).form; //创建窗体
  3169. _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); } }
  3170. break;
  3171. case "library":
  3172. _formdiv = new U.UF.UI.form(
  3173. "素材库",
  3174. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  3175. "id": "library",
  3176. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3177. "onresize": function() {}
  3178. }, {
  3179. closecallback: function() {}
  3180. }, { "style": { "height": "36px" } }).form; //创建窗体
  3181. _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); } }
  3182. break;
  3183. case "whiteboard":
  3184. _formdiv = new U.UF.UI.form(
  3185. "电子白板",
  3186. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3187. "id": "whiteboard",
  3188. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3189. "onresize": function() {}
  3190. }, {
  3191. closecallback: function() {}
  3192. }, { "style": { "height": "36px" } }).form; //创建窗体
  3193. _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); } }
  3194. break;
  3195. case "investigation":
  3196. _formdiv = new U.UF.UI.form(
  3197. "问卷调查",
  3198. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3199. "id": "investigation",
  3200. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3201. "onresize": function() {}
  3202. }, {
  3203. closecallback: function() {}
  3204. }, { "style": { "height": "36px" } }).form; //创建窗体
  3205. _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); } }
  3206. break;
  3207. case "note":
  3208. _formdiv = new U.UF.UI.form(
  3209. "便签分类",
  3210. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3211. "id": "note",
  3212. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3213. "onresize": function() {}
  3214. }, {
  3215. closecallback: function() {}
  3216. }, { "style": { "height": "36px" } }).form; //创建窗体
  3217. _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); } }
  3218. break;
  3219. // case "score":
  3220. // _formdiv = new U.UF.UI.form(
  3221. // "量规评分",
  3222. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3223. // "id": "score",
  3224. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3225. // "onresize": function() {}
  3226. // }, {
  3227. // closecallback: function() {}
  3228. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3229. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3230. // break;
  3231. case "mind":
  3232. _formdiv = new U.UF.UI.form(
  3233. "思维导图",
  3234. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3235. "id": "mind",
  3236. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3237. "onresize": function() {}
  3238. }, {
  3239. closecallback: function() {}
  3240. }, { "style": { "height": "36px" } }).form; //创建窗体
  3241. _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); } }
  3242. break;
  3243. case "doc":
  3244. // U.MD.D.I.isRoom();
  3245. _formdiv = new U.UF.UI.form(
  3246. "协同文档",
  3247. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3248. "id": "doc",
  3249. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3250. "onresize": function() {}
  3251. }, {
  3252. closecallback: function() {}
  3253. }, { "style": { "height": "36px" } }).form; //创建窗体
  3254. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3255. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3256. })
  3257. _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); } }
  3258. break;
  3259. case "train": //好友打开
  3260. _formdiv = new U.UF.UI.form(
  3261. "训练平台",
  3262. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3263. "id": "train",
  3264. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3265. "onresize": function() {}
  3266. }, {
  3267. closecallback: function() {}
  3268. }, { "style": { "height": "36px" } }).form; //创建窗体
  3269. _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); } }
  3270. break;
  3271. case "studentStudy":
  3272. _formdiv = new U.UF.UI.form(
  3273. "Course Library",
  3274. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), { //https://beta.pbl.cocorobo.cn/pbl-student-table/dist/#/index
  3275. "id": "studentStudy",
  3276. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3277. "onresize": function() {}
  3278. }, {
  3279. closecallback: function() {}
  3280. }, { "style": { "height": "36px" } }).form; //创建窗体
  3281. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3282. break;
  3283. case "mindNetwork": //好友打开
  3284. _formdiv = new U.UF.UI.form(
  3285. "思维网格",
  3286. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid + "&org=" + _org }), {
  3287. "id": "mindNetwork",
  3288. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3289. "onresize": function() {}
  3290. }, {
  3291. closecallback: function() {}
  3292. }, { "style": { "height": "36px" } }).form; //创建窗体
  3293. _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); } }
  3294. break;
  3295. case "studentClassRoom": //好友打开
  3296. _formdiv = new U.UF.UI.form(
  3297. "实时课堂",
  3298. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/liveRoom?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3299. "id": "studentClassRoom",
  3300. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3301. "onresize": function() {}
  3302. }, {
  3303. closecallback: function() {}
  3304. }, { "style": { "height": "36px" } }).form; //创建窗体
  3305. _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); } }
  3306. setTimeout(() => {
  3307. U.UF.F.windowZooming(_formdiv)
  3308. }, 0);
  3309. break;
  3310. }
  3311. } else if (_type == 2 && _org == "777559d2-7239-11ee-b98c-005056b86db5") {
  3312. switch (str) {
  3313. case "studentStudy":
  3314. _formdiv = new U.UF.UI.form(
  3315. "Course Library",
  3316. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), { //https://beta.pbl.cocorobo.cn/pbl-student-table/dist/#/index
  3317. "id": "studentStudy",
  3318. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3319. "onresize": function() {}
  3320. }, {
  3321. closecallback: function() {}
  3322. }, { "style": { "height": "36px" } }).form; //创建窗体
  3323. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3324. break;
  3325. }
  3326. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3327. //选择应用处理
  3328. switch (str) {
  3329. case "project": //好友打开
  3330. _formdiv = new U.UF.UI.form(
  3331. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "Course Planning",
  3332. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;clipboard-write;clipboard-read", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/course?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3333. "id": "project",
  3334. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3335. "onresize": function() {}
  3336. }, {
  3337. closecallback: function() {}
  3338. }, { "style": { "height": "36px" } }).form; //创建窗体
  3339. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "Course Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3340. break;
  3341. case "student":
  3342. _formdiv = new U.UF.UI.form(
  3343. "Students Management",
  3344. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/student?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org + "&role=" + _role }), {
  3345. "id": "student",
  3346. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3347. "onresize": function() {}
  3348. }, {
  3349. closecallback: function() {}
  3350. }, { "style": { "height": "36px" } }).form; //创建窗体
  3351. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "Students Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3352. break;
  3353. case "evaluate":
  3354. _formdiv = new U.UF.UI.form(
  3355. "Course Assessment",
  3356. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3357. "id": "evaluate",
  3358. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3359. "onresize": function() {}
  3360. }, {
  3361. closecallback: function() {}
  3362. }, { "style": { "height": "36px" } }).form; //创建窗体
  3363. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "Course Assessment", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3364. break;
  3365. case "sys":
  3366. _formdiv = new U.UF.UI.form(
  3367. "目标管理",
  3368. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3369. "id": "sys",
  3370. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3371. "onresize": function() {}
  3372. }, {
  3373. closecallback: function() {}
  3374. }, { "style": { "height": "36px" } }).form; //创建窗体
  3375. _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); } }
  3376. break;
  3377. case "courseDesign":
  3378. _formdiv = new U.UF.UI.form(
  3379. "项目设计",
  3380. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3381. "id": "courseDesign",
  3382. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3383. "onresize": function() {}
  3384. }, {
  3385. closecallback: function() {}
  3386. }, { "style": { "height": "36px" } }).form; //创建窗体
  3387. _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); } }
  3388. break;
  3389. case "program":
  3390. _formdiv = new U.UF.UI.form(
  3391. "编程平台",
  3392. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3393. "id": "program",
  3394. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3395. "onresize": function() {}
  3396. }, {
  3397. closecallback: function() {}
  3398. }, { "style": { "height": "36px" } }).form; //创建窗体
  3399. _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); } }
  3400. break;
  3401. case "class":
  3402. _formdiv = new U.UF.UI.form(
  3403. "班级管理",
  3404. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/class?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3405. "id": "class",
  3406. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3407. "onresize": function() {}
  3408. }, {
  3409. closecallback: function() {}
  3410. }, { "style": { "height": "36px" } }).form; //创建窗体
  3411. _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); } }
  3412. break;
  3413. case "Grade":
  3414. _formdiv = new U.UF.UI.form(
  3415. "年级管理",
  3416. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/grade?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3417. "id": "Grade",
  3418. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3419. "onresize": function() {}
  3420. }, {
  3421. closecallback: function() {}
  3422. }, { "style": { "height": "36px" } }).form; //创建窗体
  3423. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Grade.png)" }, "name": "年级管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3424. break;
  3425. case "teacherOffice":
  3426. _formdiv = new U.UF.UI.form(
  3427. "Teachers Management",
  3428. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacherOffice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3429. "id": "teacherOffice",
  3430. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3431. "onresize": function() {}
  3432. }, {
  3433. closecallback: function() {}
  3434. }, { "style": { "height": "36px" } }).form; //创建窗体
  3435. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacherOffice.png)" }, "name": "Teachers Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3436. break;
  3437. case "my":
  3438. _formdiv = new U.UF.UI.form(
  3439. "我的资料",
  3440. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3441. "id": "my",
  3442. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3443. "onresize": function() {}
  3444. }, {
  3445. closecallback: function() {}
  3446. }, { "style": { "height": "36px" } }).form; //创建窗体
  3447. _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); } }
  3448. break;
  3449. case "notice":
  3450. _formdiv = new U.UF.UI.form(
  3451. "通知公告",
  3452. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  3453. "id": "notice",
  3454. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3455. "onresize": function() {}
  3456. }, {
  3457. closecallback: function() {}
  3458. }, { "style": { "height": "36px" } }).form; //创建窗体
  3459. _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); } }
  3460. break;
  3461. case "library":
  3462. _formdiv = new U.UF.UI.form(
  3463. "素材库",
  3464. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  3465. "id": "library",
  3466. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3467. "onresize": function() {}
  3468. }, {
  3469. closecallback: function() {}
  3470. }, { "style": { "height": "36px" } }).form; //创建窗体
  3471. _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); } }
  3472. break;
  3473. case "whiteboard":
  3474. _formdiv = new U.UF.UI.form(
  3475. "电子白板",
  3476. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3477. "id": "whiteboard",
  3478. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3479. "onresize": function() {}
  3480. }, {
  3481. closecallback: function() {}
  3482. }, { "style": { "height": "36px" } }).form; //创建窗体
  3483. _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); } }
  3484. break;
  3485. case "investigation":
  3486. _formdiv = new U.UF.UI.form(
  3487. "问卷调查",
  3488. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3489. "id": "investigation",
  3490. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3491. "onresize": function() {}
  3492. }, {
  3493. closecallback: function() {}
  3494. }, { "style": { "height": "36px" } }).form; //创建窗体
  3495. _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); } }
  3496. break;
  3497. case "note":
  3498. _formdiv = new U.UF.UI.form(
  3499. "便签分类",
  3500. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3501. "id": "note",
  3502. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3503. "onresize": function() {}
  3504. }, {
  3505. closecallback: function() {}
  3506. }, { "style": { "height": "36px" } }).form; //创建窗体
  3507. _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); } }
  3508. break;
  3509. // case "score":
  3510. // _formdiv = new U.UF.UI.form(
  3511. // "量规评分",
  3512. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3513. // "id": "score",
  3514. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3515. // "onresize": function() {}
  3516. // }, {
  3517. // closecallback: function() {}
  3518. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3519. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3520. // break;
  3521. case "mind":
  3522. _formdiv = new U.UF.UI.form(
  3523. "思维导图",
  3524. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3525. "id": "mind",
  3526. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3527. "onresize": function() {}
  3528. }, {
  3529. closecallback: function() {}
  3530. }, { "style": { "height": "36px" } }).form; //创建窗体
  3531. _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); } }
  3532. break;
  3533. case "doc":
  3534. // U.MD.D.I.isRoom();
  3535. _formdiv = new U.UF.UI.form(
  3536. "协同文档",
  3537. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3538. "id": "doc",
  3539. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3540. "onresize": function() {}
  3541. }, {
  3542. closecallback: function() {}
  3543. }, { "style": { "height": "36px" } }).form; //创建窗体
  3544. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3545. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3546. })
  3547. _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); } }
  3548. break;
  3549. case "study":
  3550. _formdiv = new U.UF.UI.form(
  3551. "Course Library",
  3552. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType }), { //https://beta.pbl.cocorobo.cn/pbl-student-table/dist/#/index
  3553. "id": "study",
  3554. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3555. "onresize": function() {}
  3556. }, {
  3557. closecallback: function() {}
  3558. }, { "style": { "height": "36px" } }).form; //创建窗体
  3559. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3560. break;
  3561. case "mindNetwork": //好友打开
  3562. _formdiv = new U.UF.UI.form(
  3563. "思维网格",
  3564. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid + "&org=" + _org }), {
  3565. "id": "mindNetwork",
  3566. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3567. "onresize": function() {}
  3568. }, {
  3569. closecallback: function() {}
  3570. }, { "style": { "height": "36px" } }).form; //创建窗体
  3571. _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); } }
  3572. break;
  3573. case "train": //好友打开
  3574. _formdiv = new U.UF.UI.form(
  3575. "训练平台",
  3576. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3577. "id": "mindNetwork",
  3578. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3579. "onresize": function() {}
  3580. }, {
  3581. closecallback: function() {}
  3582. }, { "style": { "height": "36px" } }).form; //创建窗体
  3583. _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); } }
  3584. break;
  3585. case "teacherClassRoom": //好友打开
  3586. _formdiv = new U.UF.UI.form(
  3587. "实时课堂",
  3588. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/classRoom?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3589. "id": "teacherClassRoom",
  3590. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3591. "onresize": function() {}
  3592. }, {
  3593. closecallback: function() {}
  3594. }, { "style": { "height": "36px" } }).form; //创建窗体
  3595. _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); } }
  3596. setTimeout(() => {
  3597. U.UF.F.windowZooming(_formdiv)
  3598. }, 0);
  3599. break;
  3600. }
  3601. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3602. switch (str) {
  3603. case "project": //好友打开
  3604. _formdiv = new U.UF.UI.form(
  3605. "Course Planning",
  3606. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;clipboard-write;clipboard-read", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/course?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3607. "id": "project",
  3608. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3609. "onresize": function() {}
  3610. }, {
  3611. closecallback: function() {}
  3612. }, { "style": { "height": "36px" } }).form; //创建窗体
  3613. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "Course Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3614. break;
  3615. case "evaluate":
  3616. _formdiv = new U.UF.UI.form(
  3617. "Course Assessment",
  3618. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3619. "id": "evaluate",
  3620. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3621. "onresize": function() {}
  3622. }, {
  3623. closecallback: function() {}
  3624. }, { "style": { "height": "36px" } }).form; //创建窗体
  3625. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "Course Assessment", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3626. break;
  3627. case "notice":
  3628. _formdiv = new U.UF.UI.form(
  3629. "通知公告",
  3630. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  3631. "id": "notice",
  3632. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3633. "onresize": function() {}
  3634. }, {
  3635. closecallback: function() {}
  3636. }, { "style": { "height": "36px" } }).form; //创建窗体
  3637. _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); } }
  3638. break;
  3639. case "stuLibrary":
  3640. _formdiv = new U.UF.UI.form(
  3641. "学习资料",
  3642. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studyLibrary?userid=" + _userid + "&org=" + _org }), {
  3643. "id": "stuLibrary",
  3644. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3645. "onresize": function() {}
  3646. }, {
  3647. closecallback: function() {}
  3648. }, { "style": { "height": "36px" } }).form; //创建窗体
  3649. _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); } }
  3650. break;
  3651. case "program":
  3652. _formdiv = new U.UF.UI.form(
  3653. "编程平台",
  3654. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3655. "id": "program",
  3656. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3657. "onresize": function() {}
  3658. }, {
  3659. closecallback: function() {}
  3660. }, { "style": { "height": "36px" } }).form; //创建窗体
  3661. _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); } }
  3662. break;
  3663. case "whiteboard":
  3664. _formdiv = new U.UF.UI.form(
  3665. "电子白板",
  3666. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3667. "id": "whiteboard",
  3668. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3669. "onresize": function() {}
  3670. }, {
  3671. closecallback: function() {}
  3672. }, { "style": { "height": "36px" } }).form; //创建窗体
  3673. _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); } }
  3674. break;
  3675. case "investigation":
  3676. _formdiv = new U.UF.UI.form(
  3677. "问卷调查",
  3678. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3679. "id": "investigation",
  3680. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3681. "onresize": function() {}
  3682. }, {
  3683. closecallback: function() {}
  3684. }, { "style": { "height": "36px" } }).form; //创建窗体
  3685. _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); } }
  3686. break;
  3687. case "mind":
  3688. _formdiv = new U.UF.UI.form(
  3689. "思维导图",
  3690. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3691. "id": "mind",
  3692. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3693. "onresize": function() {}
  3694. }, {
  3695. closecallback: function() {}
  3696. }, { "style": { "height": "36px" } }).form; //创建窗体
  3697. _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); } }
  3698. break;
  3699. case "doc":
  3700. // U.MD.D.I.isRoom();
  3701. _formdiv = new U.UF.UI.form(
  3702. "协同文档",
  3703. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3704. "id": "doc",
  3705. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3706. "onresize": function() {}
  3707. }, {
  3708. closecallback: function() {}
  3709. }, { "style": { "height": "36px" } }).form; //创建窗体
  3710. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3711. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3712. })
  3713. _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); } }
  3714. break;
  3715. case "study":
  3716. _formdiv = new U.UF.UI.form(
  3717. "Course Library",
  3718. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType }), { //https://beta.pbl.cocorobo.cn/pbl-student-table/dist/#/index
  3719. "id": "study",
  3720. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3721. "onresize": function() {}
  3722. }, {
  3723. closecallback: function() {}
  3724. }, { "style": { "height": "36px" } }).form; //创建窗体
  3725. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3726. break;
  3727. case "mindNetwork": //好友打开
  3728. _formdiv = new U.UF.UI.form(
  3729. "思维网格",
  3730. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid + "&org=" + _org }), {
  3731. "id": "mindNetwork",
  3732. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3733. "onresize": function() {}
  3734. }, {
  3735. closecallback: function() {}
  3736. }, { "style": { "height": "36px" } }).form; //创建窗体
  3737. _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); } }
  3738. break;
  3739. case "train": //好友打开
  3740. _formdiv = new U.UF.UI.form(
  3741. "训练平台",
  3742. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3743. "id": "train",
  3744. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3745. "onresize": function() {}
  3746. }, {
  3747. closecallback: function() {}
  3748. }, { "style": { "height": "36px" } }).form; //创建窗体
  3749. _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); } }
  3750. break;
  3751. case "sys":
  3752. _formdiv = new U.UF.UI.form(
  3753. "目标管理",
  3754. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3755. "id": "sys",
  3756. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3757. "onresize": function() {}
  3758. }, {
  3759. closecallback: function() {}
  3760. }, { "style": { "height": "36px" } }).form; //创建窗体
  3761. _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); } }
  3762. break;
  3763. case "courseDesign":
  3764. _formdiv = new U.UF.UI.form(
  3765. "项目设计",
  3766. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3767. "id": "courseDesign",
  3768. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3769. "onresize": function() {}
  3770. }, {
  3771. closecallback: function() {}
  3772. }, { "style": { "height": "36px" } }).form; //创建窗体
  3773. _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); } }
  3774. break;
  3775. }
  3776. } else if ((_type == 1 || _type == 4) && _org == "777559d2-7239-11ee-b98c-005056b86db5") {
  3777. switch (str) {
  3778. case "project": //好友打开
  3779. _formdiv = new U.UF.UI.form(
  3780. "Course Planning",
  3781. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;clipboard-write;clipboard-read", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/course?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3782. "id": "project",
  3783. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3784. "onresize": function() {}
  3785. }, {
  3786. closecallback: function() {}
  3787. }, { "style": { "height": "36px" } }).form; //创建窗体
  3788. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "Course Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3789. break;
  3790. case "study":
  3791. _formdiv = new U.UF.UI.form(
  3792. "Course Library",
  3793. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType }), { //https://beta.pbl.cocorobo.cn/pbl-student-table/dist/#/index
  3794. "id": "study",
  3795. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3796. "onresize": function() {}
  3797. }, {
  3798. closecallback: function() {}
  3799. }, { "style": { "height": "36px" } }).form; //创建窗体
  3800. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3801. break;
  3802. case "student":
  3803. _formdiv = new U.UF.UI.form(
  3804. "Students Management",
  3805. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/student?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org + "&role=" + _role }), {
  3806. "id": "student",
  3807. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3808. "onresize": function() {}
  3809. }, {
  3810. closecallback: function() {}
  3811. }, { "style": { "height": "36px" } }).form; //创建窗体
  3812. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "Students Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3813. break;
  3814. case "evaluate":
  3815. _formdiv = new U.UF.UI.form(
  3816. "Course Assessment",
  3817. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3818. "id": "evaluate",
  3819. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3820. "onresize": function() {}
  3821. }, {
  3822. closecallback: function() {}
  3823. }, { "style": { "height": "36px" } }).form; //创建窗体
  3824. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "Course Assessment", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3825. break;
  3826. case "studentCourseS": //Project Planning 老师
  3827. _formdiv = new U.UF.UI.form(
  3828. "Project Planning",
  3829. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;clipboard-write;clipboard-read;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/scourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3830. "id": "studentCourseS",
  3831. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3832. "onresize": function() {}
  3833. }, {
  3834. closecallback: function() {}
  3835. }, { "style": { "height": "36px" } }).form; //创建窗体
  3836. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Project Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3837. break;
  3838. case "studentIndex": //Project Library
  3839. _formdiv = new U.UF.UI.form(
  3840. "Project Library",
  3841. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/studentIndex?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType + "&role=" + _role }), {
  3842. "id": "studentIndex",
  3843. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3844. "onresize": function() {}
  3845. }, {
  3846. closecallback: function() {}
  3847. }, { "style": { "height": "36px" } }).form; //创建窗体
  3848. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentIndex.png)" }, "name": "Project Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3849. break;
  3850. case "teacherOffice":
  3851. _formdiv = new U.UF.UI.form(
  3852. "Teachers Management",
  3853. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacherOffice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3854. "id": "teacherOffice",
  3855. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3856. "onresize": function() {}
  3857. }, {
  3858. closecallback: function() {}
  3859. }, { "style": { "height": "36px" } }).form; //创建窗体
  3860. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacherOffice.png)" }, "name": "Teachers Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3861. break;
  3862. case "learnAna": //好友打开
  3863. _formdiv = new U.UF.UI.form(
  3864. "Learning Analytics",
  3865. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/learnAna?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3866. "id": "learnAna",
  3867. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3868. "onresize": function() {}
  3869. }, {
  3870. closecallback: function() {}
  3871. }, { "style": { "height": "36px" } }).form; //创建窗体
  3872. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/learnAna.png)" }, "name": "Learning Analytics", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3873. break;
  3874. case "AIprogram2": //AI Chat
  3875. _formdiv = new U.UF.UI.form(
  3876. "AI Chat",
  3877. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3878. "id": "AIprogram2",
  3879. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3880. "onresize": function() {}
  3881. }, {
  3882. closecallback: function() {}
  3883. }, { "style": { "height": "36px" } }).form; //创建窗体
  3884. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI Chat", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3885. break;
  3886. }
  3887. } else if (!_type) {
  3888. switch (str) {
  3889. case "my":
  3890. _formdiv = new U.UF.UI.form(
  3891. "我的资料",
  3892. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3893. "id": "my",
  3894. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3895. "onresize": function() {}
  3896. }, {
  3897. closecallback: function() {}
  3898. }, { "style": { "height": "36px" } }).form; //创建窗体
  3899. _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); } }
  3900. break;
  3901. }
  3902. }
  3903. switch (str) {
  3904. // AIprogram2 AI Chat aihub.cocorobo.cn
  3905. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3906. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3907. case "formulaEdi": //公式编辑
  3908. _formdiv = new U.UF.UI.form(
  3909. "公式编辑",
  3910. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3911. "id": "formulaEdi",
  3912. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3913. "onresize": function() {}
  3914. }, {
  3915. closecallback: function() {}
  3916. }, { "style": { "height": "36px" } }).form; //创建窗体
  3917. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/formulaEdi.png)" }, "name": "公式编辑", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3918. break;
  3919. case "molStr": //分子结构
  3920. _formdiv = new U.UF.UI.form(
  3921. "分子结构",
  3922. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3923. "id": "molStr",
  3924. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3925. "onresize": function() {}
  3926. }, {
  3927. closecallback: function() {}
  3928. }, { "style": { "height": "36px" } }).form; //创建窗体
  3929. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3930. break;
  3931. case "timeAxis": //时间轴
  3932. _formdiv = new U.UF.UI.form(
  3933. "时间轴",
  3934. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3935. "id": "timeAxis",
  3936. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3937. "onresize": function() {}
  3938. }, {
  3939. closecallback: function() {}
  3940. }, { "style": { "height": "36px" } }).form; //创建窗体
  3941. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3942. break;
  3943. case "AIprogram2": //AI Chat
  3944. _formdiv = new U.UF.UI.form(
  3945. "AI Chat",
  3946. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3947. "id": "AIprogram2",
  3948. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3949. "onresize": function() {}
  3950. }, {
  3951. closecallback: function() {}
  3952. }, { "style": { "height": "36px" } }).form; //创建窗体
  3953. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI Chat", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3954. break;
  3955. case "Pythonprogram": //python编程
  3956. _formdiv = new U.UF.UI.form(
  3957. "Python编程",
  3958. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3959. "id": "Pythonprogram",
  3960. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3961. "onresize": function() {}
  3962. }, {
  3963. closecallback: function() {}
  3964. }, { "style": { "height": "36px" } }).form; //创建窗体
  3965. _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); } }
  3966. break;
  3967. case "AIprogram": //ai编程
  3968. _formdiv = new U.UF.UI.form(
  3969. "AI编程平台",
  3970. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3971. "id": "AIprogram",
  3972. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3973. "onresize": function() {}
  3974. }, {
  3975. closecallback: function() {}
  3976. }, { "style": { "height": "36px" } }).form; //创建窗体
  3977. _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); } }
  3978. break;
  3979. case "CocoPi": //CocoPi
  3980. _formdiv = new U.UF.UI.form(
  3981. "CocoPi",
  3982. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pi.cocorobo.cn" }), {
  3983. "id": "CocoPi",
  3984. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3985. "onresize": function() {}
  3986. }, {
  3987. closecallback: function() {}
  3988. }, { "style": { "height": "36px" } }).form; //创建窗体
  3989. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/cocopi.png)" }, "name": "CocoPi", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3990. break;
  3991. case "Wood": //Wood
  3992. _formdiv = new U.UF.UI.form(
  3993. "海龟编程",
  3994. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://wood.codemao.cn/" }), {
  3995. "id": "Wood",
  3996. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3997. "onresize": function() {}
  3998. }, {
  3999. closecallback: function() {}
  4000. }, { "style": { "height": "36px" } }).form; //创建窗体
  4001. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Wood.png)" }, "name": "海龟编程", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4002. break;
  4003. case "car": //模拟驾驶
  4004. _formdiv = new U.UF.UI.form(
  4005. "模拟驾驶",
  4006. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://slowroads.io/" }), {
  4007. "id": "car",
  4008. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4009. "onresize": function() {}
  4010. }, {
  4011. closecallback: function() {}
  4012. }, { "style": { "height": "36px" } }).form; //创建窗体
  4013. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/car.png)" }, "name": "模拟驾驶", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4014. break;
  4015. case "lineSearch": //路径搜索
  4016. _formdiv = new U.UF.UI.form(
  4017. "路径搜索",
  4018. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://qiao.github.io/PathFinding.js/visual/" }), {
  4019. "id": "lineSearch",
  4020. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4021. "onresize": function() {}
  4022. }, {
  4023. closecallback: function() {}
  4024. }, { "style": { "height": "36px" } }).form; //创建窗体
  4025. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/lineSearch.png)" }, "name": "路径搜索", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4026. break;
  4027. case "deepLearning": //深度学习
  4028. _formdiv = new U.UF.UI.form(
  4029. "深度学习",
  4030. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-demos.cocorobo.cn/teachable-machine/public/#" }), {
  4031. "id": "deepLearning",
  4032. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4033. "onresize": function() {}
  4034. }, {
  4035. closecallback: function() {}
  4036. }, { "style": { "height": "36px" } }).form; //创建窗体
  4037. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/deepLearning.png)" }, "name": "深度学习", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4038. break;
  4039. case "allHistory": //深度学习
  4040. _formdiv = new U.UF.UI.form(
  4041. "全历史",
  4042. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.allhistory.com/" }), {
  4043. "id": "allHistory",
  4044. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4045. "onresize": function() {}
  4046. }, {
  4047. closecallback: function() {}
  4048. }, { "style": { "height": "36px" } }).form; //创建窗体
  4049. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/allHistory.png)" }, "name": "全历史", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4050. break;
  4051. case "chatPDF": //ai编程
  4052. _formdiv = new U.UF.UI.form(
  4053. "chatPDF",
  4054. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4055. "id": "chatPDF",
  4056. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4057. "onresize": function() {}
  4058. }, {
  4059. closecallback: function() {}
  4060. }, { "style": { "height": "36px" } }).form; //创建窗体
  4061. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/chatPDF.png)" }, "name": "chatPDF", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4062. break;
  4063. case "resources": //国家教育
  4064. _formdiv = new U.UF.UI.form(
  4065. "国家教育",
  4066. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4067. "id": "resources",
  4068. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4069. "onresize": function() {}
  4070. }, {
  4071. closecallback: function() {}
  4072. }, { "style": { "height": "36px" } }).form; //创建窗体
  4073. _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); } }
  4074. break;
  4075. case "codeEdit": //源码编辑
  4076. _formdiv = new U.UF.UI.form(
  4077. "源码编辑",
  4078. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4079. "id": "codeEdit",
  4080. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4081. "onresize": function() {}
  4082. }, {
  4083. closecallback: function() {}
  4084. }, { "style": { "height": "36px" } }).form; //创建窗体
  4085. _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); } }
  4086. break; //
  4087. case "MindMap": //MindMap
  4088. _formdiv = new U.UF.UI.form(
  4089. "MindMap",
  4090. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4091. "id": "MindMap",
  4092. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4093. "onresize": function() {}
  4094. }, {
  4095. closecallback: function() {}
  4096. }, { "style": { "height": "36px" } }).form; //创建窗体
  4097. _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); } }
  4098. break;
  4099. case "netWorkPanel": //netWorkPanel
  4100. _formdiv = new U.UF.UI.form(
  4101. "netWorkPanel",
  4102. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4103. "id": "netWorkPanel",
  4104. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4105. "onresize": function() {}
  4106. }, {
  4107. closecallback: function() {}
  4108. }, { "style": { "height": "36px" } }).form; //创建窗体
  4109. _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); } }
  4110. break;
  4111. case "GeoGebra": //GeoGebra
  4112. _formdiv = new U.UF.UI.form(
  4113. "GeoGebra",
  4114. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.geogebra.org/calculator" }), {
  4115. "id": "GeoGebra",
  4116. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4117. "onresize": function() {}
  4118. }, {
  4119. closecallback: function() {}
  4120. }, { "style": { "height": "36px" } }).form; //创建窗体
  4121. _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); } }
  4122. break;
  4123. case "translation": //翻译
  4124. _formdiv = new U.UF.UI.form(
  4125. "翻译",
  4126. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4127. "id": "translation",
  4128. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4129. "onresize": function() {}
  4130. }, {
  4131. closecallback: function() {}
  4132. }, { "style": { "height": "36px" } }).form; //创建窗体
  4133. _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); } }
  4134. break;
  4135. case "mohe": //魔盒
  4136. _formdiv = new U.UF.UI.form(
  4137. "魔盒识字",
  4138. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4139. "id": "mohe",
  4140. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4141. "onresize": function() {}
  4142. }, {
  4143. closecallback: function() {}
  4144. }, { "style": { "height": "36px" } }).form; //创建窗体
  4145. _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); } }
  4146. break;
  4147. case "24game": //24点
  4148. _formdiv = new U.UF.UI.form(
  4149. "24点",
  4150. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4151. "id": "24game",
  4152. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4153. "onresize": function() {}
  4154. }, {
  4155. closecallback: function() {}
  4156. }, { "style": { "height": "36px" } }).form; //创建窗体
  4157. _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); } }
  4158. break;
  4159. case "case":
  4160. _formdiv = new U.UF.UI.form(
  4161. "课程进展",
  4162. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesign?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4163. "id": "case",
  4164. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4165. "onresize": function() {}
  4166. }, {
  4167. closecallback: function() {}
  4168. }, { "style": { "height": "36px" } }).form; //创建窗体
  4169. _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); } }
  4170. break;
  4171. case "snf":
  4172. _formdiv = new U.UF.UI.form(
  4173. "赛诺梵",
  4174. $$("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" }), {
  4175. "id": "snf",
  4176. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4177. "onresize": function() {}
  4178. }, {
  4179. closecallback: function() {}
  4180. }, { "style": { "height": "36px" } }).form; //创建窗体
  4181. _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); } }
  4182. break;
  4183. case "hanFamily":
  4184. _formdiv = new U.UF.UI.form(
  4185. "汉字家族",
  4186. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4187. "id": "hanFamily",
  4188. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4189. "onresize": function() {}
  4190. }, {
  4191. closecallback: function() {}
  4192. }, { "style": { "height": "36px" } }).form; //创建窗体
  4193. _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); } }
  4194. break;
  4195. case "hanClassics":
  4196. _formdiv = new U.UF.UI.form(
  4197. "国学经典",
  4198. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4199. "id": "hanClassics",
  4200. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4201. "onresize": function() {}
  4202. }, {
  4203. closecallback: function() {}
  4204. }, { "style": { "height": "36px" } }).form; //创建窗体
  4205. _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); } }
  4206. break;
  4207. case "hanTraining":
  4208. _formdiv = new U.UF.UI.form(
  4209. "笔画训练",
  4210. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4211. "id": "hanTraining",
  4212. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4213. "onresize": function() {}
  4214. }, {
  4215. closecallback: function() {}
  4216. }, { "style": { "height": "36px" } }).form; //创建窗体
  4217. _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); } }
  4218. break;
  4219. case "hanClass":
  4220. _formdiv = new U.UF.UI.form(
  4221. "书法课堂",
  4222. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4223. "id": "hanClass",
  4224. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4225. "onresize": function() {}
  4226. }, {
  4227. closecallback: function() {}
  4228. }, { "style": { "height": "36px" } }).form; //创建窗体
  4229. _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); } }
  4230. break;
  4231. case "han":
  4232. _formdiv = new U.UF.UI.form(
  4233. "汉字宫",
  4234. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4235. "id": "han",
  4236. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4237. "onresize": function() {}
  4238. }, {
  4239. closecallback: function() {}
  4240. }, { "style": { "height": "36px" } }).form; //创建窗体
  4241. _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); } }
  4242. break;
  4243. case "projectGM": //Course Planning
  4244. _formdiv = new U.UF.UI.form(
  4245. "Course Planning",
  4246. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/courseGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4247. "id": "projectGM",
  4248. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4249. "onresize": function() {}
  4250. }, {
  4251. closecallback: function() {}
  4252. }, { "style": { "height": "36px" } }).form; //创建窗体
  4253. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/courseMange.png)" }, "name": "Course Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4254. break;
  4255. case "studyGM": //Course Library
  4256. _formdiv = new U.UF.UI.form(
  4257. "Course Library",
  4258. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/indexGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType }), { //https://beta.pbl.cocorobo.cn/pbl-student-table/dist/#/index
  4259. "id": "study",
  4260. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4261. "onresize": function() {}
  4262. }, {
  4263. closecallback: function() {}
  4264. }, { "style": { "height": "36px" } }).form; //创建窗体
  4265. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4266. break;
  4267. // studentGM
  4268. case "studentGM": //Students Management
  4269. _formdiv = new U.UF.UI.form(
  4270. "Students Management",
  4271. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studentGM?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org }), {
  4272. "id": "studentGM",
  4273. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4274. "onresize": function() {}
  4275. }, {
  4276. closecallback: function() {}
  4277. }, { "style": { "height": "36px" } }).form; //创建窗体
  4278. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/student.png)" }, "name": "Students Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4279. break;
  4280. case "evaluateGM": //Course Assessment
  4281. _formdiv = new U.UF.UI.form(
  4282. "Course Assessment",
  4283. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4284. "id": "evaluateGM",
  4285. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4286. "onresize": function() {}
  4287. }, {
  4288. closecallback: function() {}
  4289. }, { "style": { "height": "36px" } }).form; //创建窗体
  4290. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "Course Assessment", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4291. break;
  4292. // classGM
  4293. case "classGM": //班级管理
  4294. _formdiv = new U.UF.UI.form(
  4295. "班级管理",
  4296. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/classGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4297. "id": "classGM",
  4298. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4299. "onresize": function() {}
  4300. }, {
  4301. closecallback: function() {}
  4302. }, { "style": { "height": "36px" } }).form; //创建窗体
  4303. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4304. break;
  4305. // dataGM
  4306. case "dataGM":
  4307. _formdiv = new U.UF.UI.form(
  4308. "我的资料",
  4309. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataGM?userid=" + _userid + "&org=" + _org }), {
  4310. "id": "dataGM",
  4311. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4312. "onresize": function() {}
  4313. }, {
  4314. closecallback: function() {}
  4315. }, { "style": { "height": "36px" } }).form; //创建窗体
  4316. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/data.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4317. break;
  4318. // caseGM
  4319. case "caseGM": //课程进展
  4320. _formdiv = new U.UF.UI.form(
  4321. "课程进展",
  4322. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4323. "id": "caseGM",
  4324. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4325. "onresize": function() {}
  4326. }, {
  4327. closecallback: function() {}
  4328. }, { "style": { "height": "36px" } }).form; //创建窗体
  4329. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4330. break;
  4331. // meterialGM
  4332. case "meterialGM": //素材库
  4333. _formdiv = new U.UF.UI.form(
  4334. "素材库",
  4335. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/libraryGM?userid=" + _userid + "&org=" + _org }), {
  4336. "id": "meterialGM",
  4337. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4338. "onresize": function() {}
  4339. }, {
  4340. closecallback: function() {}
  4341. }, { "style": { "height": "36px" } }).form; //创建窗体
  4342. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/material.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4343. break;
  4344. // evaluateSGM
  4345. case "evaluateSGM": //我的评价
  4346. _formdiv = new U.UF.UI.form(
  4347. "我的评价",
  4348. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4349. "id": "evaluateSGM",
  4350. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4351. "onresize": function() {}
  4352. }, {
  4353. closecallback: function() {}
  4354. }, { "style": { "height": "36px" } }).form; //创建窗体
  4355. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4356. break;
  4357. case "jupyter": //jupyter
  4358. _formdiv = new U.UF.UI.form(
  4359. "jupyter",
  4360. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4361. "id": "jupyter",
  4362. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4363. "onresize": function() {}
  4364. }, {
  4365. closecallback: function() {}
  4366. }, { "style": { "height": "36px" } }).form; //创建窗体
  4367. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/jupyter.png)" }, "name": "jupyter", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4368. break;
  4369. case "number": //数字实验室
  4370. _formdiv = new U.UF.UI.form(
  4371. "数字实验室",
  4372. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4373. "id": "number",
  4374. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4375. "onresize": function() {}
  4376. }, {
  4377. closecallback: function() {}
  4378. }, { "style": { "height": "36px" } }).form; //创建窗体
  4379. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/number.png)" }, "name": "数字实验室", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4380. break;
  4381. case "studentCourse": //Project Planning 学生
  4382. _formdiv = new U.UF.UI.form(
  4383. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "Project Planning",
  4384. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;clipboard-write;clipboard-read;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studentCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4385. "id": "studentCourse",
  4386. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4387. "onresize": function() {}
  4388. }, {
  4389. closecallback: function() {}
  4390. }, { "style": { "height": "36px" } }).form; //创建窗体
  4391. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Project Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4392. break;
  4393. case "studentCourseS": //Project Planning 老师
  4394. _formdiv = new U.UF.UI.form(
  4395. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "Project Planning",
  4396. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;clipboard-write;clipboard-read;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/scourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4397. "id": "studentCourseS",
  4398. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4399. "onresize": function() {}
  4400. }, {
  4401. closecallback: function() {}
  4402. }, { "style": { "height": "36px" } }).form; //创建窗体
  4403. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Project Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4404. break;
  4405. case "studentIndex": //Project Library
  4406. _formdiv = new U.UF.UI.form(
  4407. "Project Library",
  4408. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/studentIndex?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType + "&role=" + _role }), {
  4409. "id": "studentIndex",
  4410. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4411. "onresize": function() {}
  4412. }, {
  4413. closecallback: function() {}
  4414. }, { "style": { "height": "36px" } }).form; //创建窗体
  4415. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentIndex.png)" }, "name": "Project Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4416. break;
  4417. case "CaseDesignS":
  4418. _formdiv = new U.UF.UI.form(
  4419. "项目进展",
  4420. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4421. "id": "case",
  4422. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4423. "onresize": function() {}
  4424. }, {
  4425. closecallback: function() {}
  4426. }, { "style": { "height": "36px" } }).form; //创建窗体
  4427. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/CaseDesignS.png)" }, "name": "项目进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4428. break;
  4429. case "tcStudent": //腾讯学生管理
  4430. _formdiv = new U.UF.UI.form(
  4431. "Students Management",
  4432. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcStudent?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4433. "id": "tcStudent",
  4434. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4435. "onresize": function() {}
  4436. }, {
  4437. closecallback: function() {}
  4438. }, { "style": { "height": "36px" } }).form; //创建窗体
  4439. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "Students Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4440. break;
  4441. case "tcSchool": //腾讯学校管理
  4442. _formdiv = new U.UF.UI.form(
  4443. "学校管理",
  4444. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcSchool?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4445. "id": "tcSchool",
  4446. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4447. "onresize": function() {}
  4448. }, {
  4449. closecallback: function() {}
  4450. }, { "style": { "height": "36px" } }).form; //创建窗体
  4451. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/school.png)" }, "name": "学校管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4452. break;
  4453. case "tcTeacher": //腾讯学校管理
  4454. _formdiv = new U.UF.UI.form(
  4455. "教师管理",
  4456. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcTeacher?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4457. "id": "tcTeacher",
  4458. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4459. "onresize": function() {}
  4460. }, {
  4461. closecallback: function() {}
  4462. }, { "style": { "height": "36px" } }).form; //创建窗体
  4463. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacher.png)" }, "name": "教师管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4464. break;
  4465. case "tcData": //腾讯我的资料
  4466. _formdiv = new U.UF.UI.form(
  4467. "我的资料",
  4468. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcData?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4469. "id": "tcData",
  4470. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4471. "onresize": function() {}
  4472. }, {
  4473. closecallback: function() {}
  4474. }, { "style": { "height": "36px" } }).form; //创建窗体
  4475. _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); } }
  4476. break;
  4477. case "tcNotice": //腾讯消息通知
  4478. _formdiv = new U.UF.UI.form(
  4479. "消息通知",
  4480. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcNotice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4481. "id": "tcNotice",
  4482. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4483. "onresize": function() {}
  4484. }, {
  4485. closecallback: function() {}
  4486. }, { "style": { "height": "36px" } }).form; //创建窗体
  4487. _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); } }
  4488. break;
  4489. case "myReport": //好友打开
  4490. _formdiv = new U.UF.UI.form(
  4491. "我的评价",
  4492. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/myReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId }), {
  4493. "id": "myReport",
  4494. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4495. "onresize": function() {}
  4496. }, {
  4497. closecallback: function() {}
  4498. }, { "style": { "height": "36px" } }).form; //创建窗体
  4499. _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); } }
  4500. break;
  4501. case "learnAna": //好友打开
  4502. _formdiv = new U.UF.UI.form(
  4503. "Learning Analytics",
  4504. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/learnAna?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4505. "id": "learnAna",
  4506. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4507. "onresize": function() {}
  4508. }, {
  4509. closecallback: function() {}
  4510. }, { "style": { "height": "36px" } }).form; //创建窗体
  4511. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/learnAna.png)" }, "name": "Learning Analytics", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4512. break;
  4513. case "AIChat": //AI共创
  4514. _formdiv = new U.UF.UI.form(
  4515. "AI共创",
  4516. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4517. "id": "AIChat",
  4518. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4519. "onresize": function() {}
  4520. }, {
  4521. istop: true,
  4522. closecallback: function() { $("#aichat_icon").remove(); },
  4523. narrowcallback: function() {
  4524. if (!$("#aichat_icon")[0]) {
  4525. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function() { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4526. }
  4527. },
  4528. }, { "style": { "height": "36px" } }).form; //创建窗体
  4529. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI共创", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4530. break;
  4531. case "ainew": //AI共创
  4532. _formdiv = new U.UF.UI.form(
  4533. "AI协同",
  4534. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4535. "id": "ainew",
  4536. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4537. "onresize": function() {}
  4538. }, {
  4539. closecallback: function() {}
  4540. }, { "style": { "height": "36px" } }).form; //创建窗体
  4541. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI协同", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4542. break;
  4543. case "futureClass": //AI共创
  4544. _formdiv = new U.UF.UI.form(
  4545. "CocoNote",
  4546. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), { //https://cscl.cocorobo.com
  4547. "id": "synergyCourse",
  4548. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4549. "onresize": function() {}
  4550. }, {
  4551. closecallback: function() {
  4552. $("iframe", _formdiv)[0].contentWindow.loginout();
  4553. }
  4554. }, { "style": { "height": "36px" } }).form; //创建窗体
  4555. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/futureClass.png)" }, "name": "CocoNote", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4556. break;
  4557. case "aiagent": //ai agent
  4558. _formdiv = new U.UF.UI.form(
  4559. "AI Agent",
  4560. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://metagpt.cocorobo.cn/dist/index.html" }), {
  4561. "id": "AIAgent",
  4562. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4563. "onresize": function() {}
  4564. }, {
  4565. closecallback: function() {}
  4566. }, { "style": { "height": "36px" } }).form; //创建窗体
  4567. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI Agent", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4568. break;
  4569. case "dataBoard": //数据看板
  4570. _formdiv = new U.UF.UI.form(
  4571. "数据看板",
  4572. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoard?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4573. "id": "dataBoard",
  4574. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4575. "onresize": function() {}
  4576. }, {
  4577. closecallback: function() {}
  4578. }, { "style": { "height": "36px" } }).form; //创建窗体
  4579. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoard.png)" }, "name": "数据看板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4580. break;
  4581. case "dataBoardSies": //数据融合
  4582. _formdiv = new U.UF.UI.form(
  4583. "数据融合",
  4584. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoardSies?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4585. "id": "dataBoardSies",
  4586. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4587. "onresize": function() {}
  4588. }, {
  4589. closecallback: function() {}
  4590. }, { "style": { "height": "36px" } }).form; //创建窗体
  4591. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardSies.png)" }, "name": "数据融合", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4592. break;
  4593. case "dataBoardNew": //数据看板
  4594. _formdiv = new U.UF.UI.form(
  4595. "综合看板",
  4596. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoardNew?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4597. "id": "dataBoardNew",
  4598. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4599. "onresize": function() {}
  4600. }, {
  4601. closecallback: function() {}
  4602. }, { "style": { "height": "36px" } }).form; //创建窗体
  4603. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardNew.png)" }, "name": "综合看板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4604. break;
  4605. case "AIAnalyse": //AI共创
  4606. _formdiv = new U.UF.UI.form(
  4607. "AI分析",
  4608. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4609. "id": "AIAnalyse",
  4610. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4611. "onresize": function() {}
  4612. }, {
  4613. closecallback: function() {}
  4614. }, { "style": { "height": "36px" } }).form; //创建窗体
  4615. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI分析", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4616. break;
  4617. case "studioCourse": //AI共创
  4618. _formdiv = new U.UF.UI.form(
  4619. "工作管理",
  4620. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studioCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4621. "id": "studioCourse",
  4622. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4623. "onresize": function() {}
  4624. }, {
  4625. closecallback: function() {}
  4626. }, { "style": { "height": "36px" } }).form; //创建窗体
  4627. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioCourse.png)" }, "name": "工作管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4628. break;
  4629. case "studioIndex": //AI共创
  4630. _formdiv = new U.UF.UI.form(
  4631. "工作中心",
  4632. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/studioIndex?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType + "&role=" + _role }), {
  4633. "id": "studioIndex",
  4634. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4635. "onresize": function() {}
  4636. }, {
  4637. closecallback: function() {}
  4638. }, { "style": { "height": "36px" } }).form; //创建窗体
  4639. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioIndex.png)" }, "name": "工作中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4640. break;
  4641. case "source":
  4642. _formdiv = new U.UF.UI.form(
  4643. "教学资源",
  4644. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacherSource?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4645. "id": "source",
  4646. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4647. "onresize": function() {}
  4648. }, {
  4649. closecallback: function() {}
  4650. }, { "style": { "height": "36px" } }).form; //创建窗体
  4651. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/source.png)" }, "name": "教学资源", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4652. break;
  4653. case "testTeacher":
  4654. _formdiv = new U.UF.UI.form(
  4655. "评测管理",
  4656. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/test?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4657. "id": "testTeacher",
  4658. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4659. "onresize": function() {}
  4660. }, {
  4661. closecallback: function() {}
  4662. }, { "style": { "height": "36px" } }).form; //创建窗体
  4663. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testTeacher.png)" }, "name": "评测管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4664. break;
  4665. case "testStudent":
  4666. _formdiv = new U.UF.UI.form(
  4667. "评测中心",
  4668. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/testStudent?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId + "&role=" + _role }), {
  4669. "id": "testStudent",
  4670. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4671. "onresize": function() {}
  4672. }, {
  4673. closecallback: function() {}
  4674. }, { "style": { "height": "36px" } }).form; //创建窗体
  4675. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testStudent.png)" }, "name": "评测管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4676. break;
  4677. }
  4678. //U.MD.D.I.openClick(str);
  4679. //如果有任务栏信息
  4680. if (_taskbar) {
  4681. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4682. }
  4683. }
  4684. // U.MD.D.I.openClick = function(str){
  4685. // var click = '';
  4686. // switch(str){
  4687. // case 'friend':
  4688. // click = '我的好友';
  4689. // break;
  4690. // case 'domain':
  4691. // click = '域名管理';
  4692. // break;
  4693. // case 'disk':
  4694. // click = '我的云盘';
  4695. // break;
  4696. // case 'word':
  4697. // click = 'Word';
  4698. // break;
  4699. // case 'excel':
  4700. // click = 'Execl';
  4701. // break;
  4702. // case 'txt':
  4703. // click = '文本文件';
  4704. // break;
  4705. // case 'lookupFriend':
  4706. // click = '查找好友';
  4707. // break;
  4708. // case 'ftp':
  4709. // click = 'FTP';
  4710. // break;
  4711. // case 'group':
  4712. // click = '群组';
  4713. // break;
  4714. // case 'set':
  4715. // click = '我的设置';
  4716. // break;
  4717. // case 'systemSet':
  4718. // click = '系统设置';
  4719. // break;
  4720. // case 'boomYun':
  4721. // click = '互联办公';
  4722. // break;
  4723. // case 'xz':
  4724. // click = '云端下载';
  4725. // break;
  4726. // case 'client':
  4727. // click = '有思浏览器';
  4728. // break;
  4729. // case 'backEndProgramming':
  4730. // click = '在线后台编程';
  4731. // break;
  4732. // case 'frontEndProgramming':
  4733. // click = '在线前端编程';
  4734. // break;
  4735. // default: break;
  4736. // }
  4737. // if(U.MD.D.I.Ip && click){
  4738. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4739. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4740. // })
  4741. // }
  4742. // }
  4743. /**
  4744. *函数作用:ajax简易函数,使用post格式
  4745. *@param url {data} 后台地址
  4746. *@param data {data} 参数json
  4747. *@param fn {data} 回调函数
  4748. *
  4749. */
  4750. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4751. // var xhr = new XMLHttpRequest();
  4752. // xhr.open("GET",url,true);
  4753. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4754. // xhr.onreadystatechange = function(){
  4755. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4756. // fn.call(this,xhr.responseText);
  4757. // }
  4758. // };
  4759. // xhr.send();
  4760. // }
  4761. /*判断是否是内网IP*/
  4762. // U.MD.D.I.isInnerIPFn = function(str){
  4763. // var curPageUrl = str;
  4764. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4765. // curPageUrl =curPageUrl.replace(reg1,'');
  4766. // // console.log('curPageUrl-1 '+curPageUrl);
  4767. // var reg2 = /\:+/g;//替换冒号为一点
  4768. // curPageUrl =curPageUrl.replace(reg2,'.');
  4769. // // console.log('curPageUrl-2 '+curPageUrl);
  4770. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4771. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4772. // if(curPageUrl[2] != '16'){
  4773. // return ipAddress;
  4774. // }else{
  4775. // return false;
  4776. // }
  4777. // }
  4778. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4779. // //compatibility for firefox and chrome
  4780. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4781. // var pc = new myPeerConnection({
  4782. // iceServers: []
  4783. // }),
  4784. // noop = function() {},
  4785. // localIPs = {},
  4786. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4787. // key;
  4788. // function iterateIP(ip) {
  4789. // if (!localIPs[ip]) onNewIP(ip);
  4790. // localIPs[ip] = true;
  4791. // }
  4792. // //create a bogus data channel
  4793. // pc.createDataChannel("");
  4794. // // create offer and set local description
  4795. // pc.createOffer().then(function(sdp) {
  4796. // sdp.sdp.split('\n').forEach(function(line) {
  4797. // if (line.indexOf('candidate') < 0) return;
  4798. // line.match(ipRegex).forEach(iterateIP);
  4799. // });
  4800. // pc.setLocalDescription(sdp, noop, noop);
  4801. // }).catch(function(reason) {
  4802. // // An error occurred, so handle the failure to connect
  4803. // });
  4804. // //sten for candidate events
  4805. // pc.onicecandidate = function(ice) {
  4806. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4807. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4808. // };
  4809. // }
  4810. // U.MD.D.I.getUserIpBool = function(callback){
  4811. // U.MD.D.I.getUserIP(function(ip){
  4812. // alert("Got IP! :" + ip);
  4813. // });
  4814. //}
  4815. //#endregion
  4816. U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
  4817. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4818. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4819. _userinfo = US.userInfo, //登录用户信息
  4820. _userid = US.userInfo.userid //登录用户id
  4821. let _iframe;
  4822. let _cid = cid,
  4823. _stage = stage,
  4824. _task = task,
  4825. _tool = tool;
  4826. var _jie = $$("div", {
  4827. "style": {
  4828. "position": "absolute",
  4829. "bottom": "50px",
  4830. "right": "50px",
  4831. "zIndex": "9999",
  4832. "backgroundColor": "#2268bc",
  4833. "color": "#fff",
  4834. "padding": "12px 20px",
  4835. "cursor": "pointer",
  4836. "borderRadius": "4px",
  4837. },
  4838. "innerHTML": "提交作业"
  4839. })
  4840. let aTool = ''
  4841. let _loading = document.createElement('div')
  4842. _loading.style = "width:100%;height:100%;background:#00000000;position:absolute;top:0;left:0;z-index:99999999999999;display: none;justify-content: center;align-items: center;"
  4843. // _loading.id = "";
  4844. let _lchild = document.createElement('div')
  4845. let _limg = document.createElement('img')
  4846. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4847. _limg.style = "width: 26px;margin-right: 10px;"
  4848. _lchild.appendChild(_limg)
  4849. let _lspan = document.createElement('span')
  4850. _lspan.innerHTML = "上传中..."
  4851. _lchild.appendChild(_lspan)
  4852. _lchild.style = "color: rgb(255, 255, 255);padding: 15px;background: rgba(0, 0, 0, 0.44);font-size: 18px;display: flex;align-items: center;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);"
  4853. _loading.appendChild(_lchild)
  4854. var _box = $$('div', {
  4855. "style": {
  4856. "position": "relative",
  4857. "width": "100%",
  4858. "height": "100%",
  4859. },
  4860. })
  4861. _box.appendChild(_loading)
  4862. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4863. switch (str) {
  4864. case "whiteboard":
  4865. aTool = 1;
  4866. _iframe = $$("iframe", {
  4867. "frameborder": "no",
  4868. "border": "0",
  4869. "scrolling ": "no",
  4870. "style": {
  4871. "cssText": "border:0;width:100%;height:100%"
  4872. },
  4873. "src": "https://iwb.cocorobo.cn/"
  4874. })
  4875. _box.appendChild(_iframe);
  4876. _box.appendChild(_jie);
  4877. _formdiv = new U.UF.UI.form(
  4878. "电子白板",
  4879. _box, {
  4880. "id": "whiteboard" + cid + stage + task + tool,
  4881. "style": {
  4882. "width": "90%",
  4883. "height": "90%",
  4884. "overflow": 'hidden'
  4885. },
  4886. "onresize": function() {}
  4887. }, {
  4888. closecallback: function() {}
  4889. }, {
  4890. "style": {
  4891. "height": "36px"
  4892. }
  4893. }).form; //创建窗体
  4894. _taskbar = {
  4895. "id": str + _formdiv.id,
  4896. "style": {
  4897. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4898. },
  4899. "name": "电子白板",
  4900. "forms": _formdiv,
  4901. "click": function() {
  4902. U.MD.D.I.openApplication(str, obj, info);
  4903. }
  4904. }
  4905. break;
  4906. case "mind":
  4907. aTool = 3;
  4908. _iframe = $$("iframe", {
  4909. "frameborder": "no",
  4910. "border": "0",
  4911. "scrolling ": "no",
  4912. "style": {
  4913. "cssText": "border:0;width:100%;height:100%"
  4914. },
  4915. "src": "/kityminder-editor/dist/index.html"
  4916. })
  4917. _box.appendChild(_iframe);
  4918. _box.appendChild(_jie);
  4919. _formdiv = new U.UF.UI.form(
  4920. "思维导图",
  4921. _box, { //"/jsmind/example/demo.html"
  4922. "id": "mind" + cid + stage + task + tool,
  4923. "style": {
  4924. "width": "90%",
  4925. "height": "90%",
  4926. "overflow": 'hidden'
  4927. },
  4928. "onresize": function() {}
  4929. }, {
  4930. closecallback: function() {}
  4931. }, {
  4932. "style": {
  4933. "height": "36px"
  4934. }
  4935. }).form; //创建窗体
  4936. _taskbar = {
  4937. "id": str + _formdiv.id,
  4938. "style": {
  4939. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4940. },
  4941. "name": "思维导图",
  4942. "forms": _formdiv,
  4943. "click": function() {
  4944. U.MD.D.I.openApplication(str, obj, info);
  4945. }
  4946. }
  4947. break;
  4948. case "MindMap":
  4949. aTool = 3;
  4950. _iframe = $$("iframe", {
  4951. "frameborder": "no",
  4952. "border": "0",
  4953. "scrolling ": "no",
  4954. "style": {
  4955. "cssText": "border:0;width:100%;height:100%"
  4956. },
  4957. "src": "//cloud.cocorobo.cn/mind/"
  4958. })
  4959. _box.appendChild(_iframe);
  4960. _box.appendChild(_jie);
  4961. _formdiv = new U.UF.UI.form(
  4962. "思维导图",
  4963. _box, { //"/jsmind/example/demo.html"
  4964. "id": "mind" + cid + stage + task + tool,
  4965. "style": {
  4966. "width": "90%",
  4967. "height": "90%",
  4968. "overflow": 'hidden'
  4969. },
  4970. "onresize": function() {}
  4971. }, {
  4972. closecallback: function() {}
  4973. }, {
  4974. "style": {
  4975. "height": "36px"
  4976. }
  4977. }).form; //创建窗体
  4978. _taskbar = {
  4979. "id": str + _formdiv.id,
  4980. "style": {
  4981. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4982. },
  4983. "name": "思维导图",
  4984. "forms": _formdiv,
  4985. "click": function() {
  4986. U.MD.D.I.openApplication(str, obj, info);
  4987. }
  4988. }
  4989. break;
  4990. case "doc":
  4991. aTool = 6;
  4992. _iframe = $$("iframe", {
  4993. "frameborder": "no",
  4994. "border": "0",
  4995. "scrolling ": "no",
  4996. "style": {
  4997. "cssText": "border:0;width:100%;height:100%"
  4998. },
  4999. "src": "/Office/Word/WordEditArea.htm"
  5000. })
  5001. _box.appendChild(_iframe);
  5002. _box.appendChild(_jie);
  5003. _formdiv = new U.UF.UI.form(
  5004. "协同文档",
  5005. _box, {
  5006. "id": "doc" + cid + stage + task + tool,
  5007. "style": {
  5008. "width": "90%",
  5009. "height": "90%",
  5010. "overflow": 'hidden'
  5011. },
  5012. "onresize": function() {}
  5013. }, {
  5014. closecallback: function() {}
  5015. }, {
  5016. "style": {
  5017. "height": "36px"
  5018. }
  5019. }).form; //创建窗体
  5020. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5021. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5022. })
  5023. _taskbar = {
  5024. "id": str + _formdiv.id,
  5025. "style": {
  5026. "backgroundImage": "url(/img/icon/doc.png)"
  5027. },
  5028. "name": "协同文档",
  5029. "forms": _formdiv,
  5030. "click": function() {
  5031. U.MD.D.I.openApplication(str, obj, info);
  5032. }
  5033. }
  5034. break;
  5035. case "mindNetwork": //好友打开
  5036. aTool = 7;
  5037. _iframe = $$("iframe", {
  5038. "webkitallowfullscreen": "",
  5039. "mozallowfullscreen": "",
  5040. "allowfullscreen": "",
  5041. "frameborder": "no",
  5042. "border": "0",
  5043. "scrolling ": "no",
  5044. "style": {
  5045. "cssText": "border:0; width:100%; height:100%;"
  5046. },
  5047. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5048. })
  5049. _box.appendChild(_iframe);
  5050. _box.appendChild(_jie);
  5051. _formdiv = new U.UF.UI.form(
  5052. "思维网格",
  5053. _box, {
  5054. "id": "mindNetwork" + cid + stage + task + tool,
  5055. "style": {
  5056. "width": "90%",
  5057. "height": "90%",
  5058. "overflow": 'hidden'
  5059. },
  5060. "onresize": function() {}
  5061. }, {
  5062. closecallback: function() {}
  5063. }, {
  5064. "style": {
  5065. "height": "36px"
  5066. }
  5067. }).form; //创建窗体
  5068. _taskbar = {
  5069. "id": str + _formdiv.id,
  5070. "style": {
  5071. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5072. },
  5073. "name": "思维网格",
  5074. "forms": _formdiv,
  5075. "click": function() {
  5076. U.MD.D.I.openApplication(str, obj, info);
  5077. }
  5078. }
  5079. break;
  5080. case "courseDesign":
  5081. _iframe = $$("iframe", {
  5082. "webkitallowfullscreen": "",
  5083. "mozallowfullscreen": "",
  5084. "allowfullscreen": "",
  5085. "frameborder": "no",
  5086. "border": "0",
  5087. "scrolling ": "no",
  5088. "style": {
  5089. "cssText": "border:0; width:100%; height:100%;"
  5090. },
  5091. "src": "/course-design-vue"
  5092. })
  5093. _box.appendChild(_iframe);
  5094. _box.appendChild(_jie);
  5095. _formdiv = new U.UF.UI.form(
  5096. "项目设计",
  5097. _box, {
  5098. "id": "courseDesign" + cid + stage + task + tool,
  5099. "style": {
  5100. "width": "90%",
  5101. "height": "90%",
  5102. "overflow": 'hidden'
  5103. },
  5104. "onresize": function() {}
  5105. }, {
  5106. closecallback: function() {}
  5107. }, {
  5108. "style": {
  5109. "height": "36px"
  5110. }
  5111. }).form; //创建窗体
  5112. _taskbar = {
  5113. "id": str + _formdiv.id,
  5114. "style": {
  5115. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5116. },
  5117. "name": "项目设计",
  5118. "forms": _formdiv,
  5119. "click": function() {
  5120. U.MD.D.I.openApplication(str, obj, info);
  5121. }
  5122. }
  5123. break;
  5124. }
  5125. const script1 = document.createElement("script");
  5126. script1.type = "text/javascript";
  5127. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5128. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5129. const script2 = document.createElement("script");
  5130. script2.type = "text/javascript";
  5131. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5132. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5133. const script3 = document.createElement("script");
  5134. script3.type = "text/javascript";
  5135. script3.charset = "UTF-8";
  5136. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5137. const script4 = document.createElement("script");
  5138. script4.type = "text/javascript";
  5139. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5140. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5141. if (_iframe) {
  5142. if (str == 'doc') {
  5143. _iframe = _formdiv.querySelector('iframe')
  5144. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5145. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5146. _iframe.contentWindow.document.body.appendChild(script1);
  5147. _iframe.contentWindow.document.body.appendChild(script2);
  5148. // _iframe.contentWindow.document.body.appendChild(script3);
  5149. _iframe.contentWindow.document.body.appendChild(script4);
  5150. })
  5151. if (onloadListener) {
  5152. _iframe.contentDocument.location.reload()
  5153. } else {
  5154. _iframe.contentDocument.location.reload()
  5155. }
  5156. } else if (str == 'courseDesign') {
  5157. U.UF.DL.iframeLoad(_iframe, function() {
  5158. // _iframe.contentWindow.U.MD.O.W.load();
  5159. // _iframe.contentWindow.document.body.appendChild(script1);
  5160. _iframe.contentWindow.document.body.appendChild(script2);
  5161. _iframe.contentWindow.document.body.appendChild(script4);
  5162. })
  5163. } else if (str == 'mind') {
  5164. _iframe = _formdiv.querySelector('iframe')
  5165. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5166. //
  5167. _iframe.contentWindow.document.body.appendChild(script1);
  5168. _iframe.contentWindow.document.body.appendChild(script2);
  5169. _iframe.contentWindow.document.body.appendChild(script4);
  5170. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5171. })
  5172. if (onloadListener) {
  5173. _iframe.contentDocument.location.reload()
  5174. } else {
  5175. _iframe.contentDocument.location.reload()
  5176. }
  5177. } else if (str == 'whiteboard') {
  5178. _iframe = _formdiv.querySelector('iframe')
  5179. let onloadListener = _iframe.onload = () => {
  5180. _iframe.contentWindow.document.body.appendChild(script1);
  5181. _iframe.contentWindow.document.body.appendChild(script2);
  5182. _iframe.contentWindow.document.body.appendChild(script4);
  5183. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5184. };
  5185. if (onloadListener) {
  5186. _iframe.contentDocument.location.reload()
  5187. } else {
  5188. _iframe.contentDocument.location.reload()
  5189. }
  5190. } else {
  5191. _iframe.onload = () => {
  5192. _iframe.contentWindow.document.body.appendChild(script1);
  5193. _iframe.contentWindow.document.body.appendChild(script2);
  5194. // _iframe.contentWindow.document.body.appendChild(script3);
  5195. _iframe.contentWindow.document.body.appendChild(script4);
  5196. };
  5197. }
  5198. _jie.onclick = async() => {
  5199. let text = ''
  5200. if (aTool == 1) {
  5201. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5202. } else if (aTool == 6) {
  5203. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5204. } else if (aTool == 3) {
  5205. text = await U.MD.D.I.getEditorContent(_iframe);
  5206. }
  5207. _loading.style.display = 'flex'
  5208. console.log(_loading);
  5209. var _ajs = _iframe.contentWindow.document.createElement("script");
  5210. _ajs.type = "text/javascript";
  5211. _ajs.innerHTML =
  5212. // 'console.log(' + _loading + ');\n' +
  5213. 'var _js = document.createElement("script");\n' +
  5214. '_js.type="text/javascript";\n' +
  5215. '_js.charset="UTF-8";\n' +
  5216. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5217. "_js.onload = function(){\n" +
  5218. ' var a = document.getElementsByTagName("img")\n' +
  5219. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5220. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5221. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5222. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5223. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5224. "beforeUpload_shishi(file," +
  5225. "'" +
  5226. _userid +
  5227. "'" +
  5228. ", " +
  5229. "'" +
  5230. _cid +
  5231. "'" +
  5232. ", " +
  5233. "'" +
  5234. _stage +
  5235. "'" +
  5236. ", " +
  5237. "'" +
  5238. _task +
  5239. "'" +
  5240. ", " +
  5241. "'" +
  5242. _tool +
  5243. "'" +
  5244. ", " +
  5245. "'" +
  5246. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5247. "'" +
  5248. ", " +
  5249. "'" +
  5250. aTool +
  5251. "'" +
  5252. ", " +
  5253. "`" +
  5254. text +
  5255. "`" +
  5256. ")\n" +
  5257. " });\n" +
  5258. "}\n" +
  5259. "document.head.appendChild(_js);\n";
  5260. _iframe.contentWindow.document.head.appendChild(_ajs);
  5261. }
  5262. }
  5263. //U.MD.D.I.openClick(str);
  5264. //如果有任务栏信息
  5265. // if (_taskbar) {
  5266. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5267. // }
  5268. }
  5269. U.MD.D.I.openApplicationJieE = function(str, cid, stage, task, tool) {
  5270. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5271. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5272. _userinfo = US.userInfo, //登录用户信息
  5273. _userid = US.userInfo.userid //登录用户id
  5274. let _iframe;
  5275. let _cid = cid,
  5276. _stage = stage,
  5277. _task = task,
  5278. _tool = tool;
  5279. var _jie = $$("div", {
  5280. "style": {
  5281. "position": "absolute",
  5282. "bottom": "50px",
  5283. "right": "50px",
  5284. "zIndex": "9999",
  5285. "backgroundColor": "#2268bc",
  5286. "color": "#fff",
  5287. "padding": "12px 20px",
  5288. "cursor": "pointer",
  5289. "borderRadius": "4px",
  5290. },
  5291. "innerHTML": "提交作业"
  5292. })
  5293. let aTool = ''
  5294. let _loading = document.createElement('div')
  5295. _loading.style = "width:100%;height:100%;background:#00000000;position:absolute;top:0;left:0;z-index:99999999999999;display: none;justify-content: center;align-items: center;"
  5296. // _loading.id = "";
  5297. let _lchild = document.createElement('div')
  5298. let _limg = document.createElement('img')
  5299. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5300. _limg.style = "width: 26px;margin-right: 10px;"
  5301. _lchild.appendChild(_limg)
  5302. let _lspan = document.createElement('span')
  5303. _lspan.innerHTML = "上传中..."
  5304. _lchild.appendChild(_lspan)
  5305. _lchild.style = "color: rgb(255, 255, 255);padding: 15px;background: rgba(0, 0, 0, 0.44);font-size: 18px;display: flex;align-items: center;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);"
  5306. _loading.appendChild(_lchild)
  5307. var _box = $$('div', {
  5308. "style": {
  5309. "position": "relative",
  5310. "width": "100%",
  5311. "height": "100%",
  5312. },
  5313. })
  5314. _box.appendChild(_loading)
  5315. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5316. switch (str) {
  5317. case "whiteboard":
  5318. aTool = 1;
  5319. _iframe = $$("iframe", {
  5320. "frameborder": "no",
  5321. "border": "0",
  5322. "scrolling ": "no",
  5323. "style": {
  5324. "cssText": "border:0;width:100%;height:100%"
  5325. },
  5326. "src": "https://iwb.cocorobo.cn/"
  5327. })
  5328. _box.appendChild(_iframe);
  5329. _box.appendChild(_jie);
  5330. _formdiv = new U.UF.UI.form(
  5331. "电子白板",
  5332. _box, {
  5333. "id": "whiteboard" + cid + stage + task + tool,
  5334. "style": {
  5335. "width": "90%",
  5336. "height": "90%",
  5337. "overflow": 'hidden'
  5338. },
  5339. "onresize": function() {}
  5340. }, {
  5341. closecallback: function() {}
  5342. }, {
  5343. "style": {
  5344. "height": "36px"
  5345. }
  5346. }).form; //创建窗体
  5347. _taskbar = {
  5348. "id": str + _formdiv.id,
  5349. "style": {
  5350. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5351. },
  5352. "name": "电子白板",
  5353. "forms": _formdiv,
  5354. "click": function() {
  5355. U.MD.D.I.openApplication(str, obj, info);
  5356. }
  5357. }
  5358. break;
  5359. case "mind":
  5360. aTool = 3;
  5361. _iframe = $$("iframe", {
  5362. "frameborder": "no",
  5363. "border": "0",
  5364. "scrolling ": "no",
  5365. "style": {
  5366. "cssText": "border:0;width:100%;height:100%"
  5367. },
  5368. "src": "/kityminder-editor/dist/index.html"
  5369. })
  5370. _box.appendChild(_iframe);
  5371. _box.appendChild(_jie);
  5372. _formdiv = new U.UF.UI.form(
  5373. "思维导图",
  5374. _box, { //"/jsmind/example/demo.html"
  5375. "id": "mind" + cid + stage + task + tool,
  5376. "style": {
  5377. "width": "90%",
  5378. "height": "90%",
  5379. "overflow": 'hidden'
  5380. },
  5381. "onresize": function() {}
  5382. }, {
  5383. closecallback: function() {}
  5384. }, {
  5385. "style": {
  5386. "height": "36px"
  5387. }
  5388. }).form; //创建窗体
  5389. _taskbar = {
  5390. "id": str + _formdiv.id,
  5391. "style": {
  5392. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5393. },
  5394. "name": "思维导图",
  5395. "forms": _formdiv,
  5396. "click": function() {
  5397. U.MD.D.I.openApplication(str, obj, info);
  5398. }
  5399. }
  5400. break;
  5401. case "MindMap":
  5402. aTool = 3;
  5403. _iframe = $$("iframe", {
  5404. "frameborder": "no",
  5405. "border": "0",
  5406. "scrolling ": "no",
  5407. "style": {
  5408. "cssText": "border:0;width:100%;height:100%"
  5409. },
  5410. "src": "//cloud.cocorobo.cn/mind/"
  5411. })
  5412. _box.appendChild(_iframe);
  5413. _box.appendChild(_jie);
  5414. _formdiv = new U.UF.UI.form(
  5415. "思维导图",
  5416. _box, { //"/jsmind/example/demo.html"
  5417. "id": "mind" + cid + stage + task + tool,
  5418. "style": {
  5419. "width": "90%",
  5420. "height": "90%",
  5421. "overflow": 'hidden'
  5422. },
  5423. "onresize": function() {}
  5424. }, {
  5425. closecallback: function() {}
  5426. }, {
  5427. "style": {
  5428. "height": "36px"
  5429. }
  5430. }).form; //创建窗体
  5431. _taskbar = {
  5432. "id": str + _formdiv.id,
  5433. "style": {
  5434. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5435. },
  5436. "name": "思维导图",
  5437. "forms": _formdiv,
  5438. "click": function() {
  5439. U.MD.D.I.openApplication(str, obj, info);
  5440. }
  5441. }
  5442. break;
  5443. case "doc":
  5444. aTool = 6;
  5445. _iframe = $$("iframe", {
  5446. "frameborder": "no",
  5447. "border": "0",
  5448. "scrolling ": "no",
  5449. "style": {
  5450. "cssText": "border:0;width:100%;height:100%"
  5451. },
  5452. "src": "/Office/Word/WordEditArea.htm"
  5453. })
  5454. _box.appendChild(_iframe);
  5455. _box.appendChild(_jie);
  5456. _formdiv = new U.UF.UI.form(
  5457. "协同文档",
  5458. _box, {
  5459. "id": "doc" + cid + stage + task + tool,
  5460. "style": {
  5461. "width": "90%",
  5462. "height": "90%",
  5463. "overflow": 'hidden'
  5464. },
  5465. "onresize": function() {}
  5466. }, {
  5467. closecallback: function() {}
  5468. }, {
  5469. "style": {
  5470. "height": "36px"
  5471. }
  5472. }).form; //创建窗体
  5473. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5474. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5475. })
  5476. _taskbar = {
  5477. "id": str + _formdiv.id,
  5478. "style": {
  5479. "backgroundImage": "url(/img/icon/doc.png)"
  5480. },
  5481. "name": "协同文档",
  5482. "forms": _formdiv,
  5483. "click": function() {
  5484. U.MD.D.I.openApplication(str, obj, info);
  5485. }
  5486. }
  5487. break;
  5488. case "mindNetwork": //好友打开
  5489. aTool = 7;
  5490. _iframe = $$("iframe", {
  5491. "webkitallowfullscreen": "",
  5492. "mozallowfullscreen": "",
  5493. "allowfullscreen": "",
  5494. "frameborder": "no",
  5495. "border": "0",
  5496. "scrolling ": "no",
  5497. "style": {
  5498. "cssText": "border:0; width:100%; height:100%;"
  5499. },
  5500. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5501. })
  5502. _box.appendChild(_iframe);
  5503. _box.appendChild(_jie);
  5504. _formdiv = new U.UF.UI.form(
  5505. "思维网格",
  5506. _box, {
  5507. "id": "mindNetwork" + cid + stage + task + tool,
  5508. "style": {
  5509. "width": "90%",
  5510. "height": "90%",
  5511. "overflow": 'hidden'
  5512. },
  5513. "onresize": function() {}
  5514. }, {
  5515. closecallback: function() {}
  5516. }, {
  5517. "style": {
  5518. "height": "36px"
  5519. }
  5520. }).form; //创建窗体
  5521. _taskbar = {
  5522. "id": str + _formdiv.id,
  5523. "style": {
  5524. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5525. },
  5526. "name": "思维网格",
  5527. "forms": _formdiv,
  5528. "click": function() {
  5529. U.MD.D.I.openApplication(str, obj, info);
  5530. }
  5531. }
  5532. break;
  5533. case "courseDesign":
  5534. _iframe = $$("iframe", {
  5535. "webkitallowfullscreen": "",
  5536. "mozallowfullscreen": "",
  5537. "allowfullscreen": "",
  5538. "frameborder": "no",
  5539. "border": "0",
  5540. "scrolling ": "no",
  5541. "style": {
  5542. "cssText": "border:0; width:100%; height:100%;"
  5543. },
  5544. "src": "/course-design-vue"
  5545. })
  5546. _box.appendChild(_iframe);
  5547. _box.appendChild(_jie);
  5548. _formdiv = new U.UF.UI.form(
  5549. "项目设计",
  5550. _box, {
  5551. "id": "courseDesign" + cid + stage + task + tool,
  5552. "style": {
  5553. "width": "90%",
  5554. "height": "90%",
  5555. "overflow": 'hidden'
  5556. },
  5557. "onresize": function() {}
  5558. }, {
  5559. closecallback: function() {}
  5560. }, {
  5561. "style": {
  5562. "height": "36px"
  5563. }
  5564. }).form; //创建窗体
  5565. _taskbar = {
  5566. "id": str + _formdiv.id,
  5567. "style": {
  5568. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5569. },
  5570. "name": "项目设计",
  5571. "forms": _formdiv,
  5572. "click": function() {
  5573. U.MD.D.I.openApplication(str, obj, info);
  5574. }
  5575. }
  5576. break;
  5577. }
  5578. const script1 = document.createElement("script");
  5579. script1.type = "text/javascript";
  5580. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5581. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5582. const script2 = document.createElement("script");
  5583. script2.type = "text/javascript";
  5584. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5585. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5586. const script3 = document.createElement("script");
  5587. script3.type = "text/javascript";
  5588. script3.charset = "UTF-8";
  5589. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5590. const script4 = document.createElement("script");
  5591. script4.type = "text/javascript";
  5592. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5593. script4.src = window.origin + "/js/Common/jietu2E.js";
  5594. if (_iframe) {
  5595. if (str == 'doc') {
  5596. _iframe = _formdiv.querySelector('iframe')
  5597. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5598. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5599. _iframe.contentWindow.document.body.appendChild(script1);
  5600. _iframe.contentWindow.document.body.appendChild(script2);
  5601. // _iframe.contentWindow.document.body.appendChild(script3);
  5602. _iframe.contentWindow.document.body.appendChild(script4);
  5603. })
  5604. if (onloadListener) {
  5605. _iframe.contentDocument.location.reload()
  5606. } else {
  5607. _iframe.contentDocument.location.reload()
  5608. }
  5609. } else if (str == 'courseDesign') {
  5610. U.UF.DL.iframeLoad(_iframe, function() {
  5611. // _iframe.contentWindow.U.MD.O.W.load();
  5612. // _iframe.contentWindow.document.body.appendChild(script1);
  5613. _iframe.contentWindow.document.body.appendChild(script2);
  5614. _iframe.contentWindow.document.body.appendChild(script4);
  5615. })
  5616. } else if (str == 'mind') {
  5617. _iframe = _formdiv.querySelector('iframe')
  5618. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5619. //
  5620. _iframe.contentWindow.document.body.appendChild(script1);
  5621. _iframe.contentWindow.document.body.appendChild(script2);
  5622. _iframe.contentWindow.document.body.appendChild(script4);
  5623. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5624. })
  5625. if (onloadListener) {
  5626. _iframe.contentDocument.location.reload()
  5627. } else {
  5628. _iframe.contentDocument.location.reload()
  5629. }
  5630. } else if (str == 'whiteboard') {
  5631. _iframe = _formdiv.querySelector('iframe')
  5632. let onloadListener = _iframe.onload = () => {
  5633. _iframe.contentWindow.document.body.appendChild(script1);
  5634. _iframe.contentWindow.document.body.appendChild(script2);
  5635. _iframe.contentWindow.document.body.appendChild(script4);
  5636. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5637. };
  5638. if (onloadListener) {
  5639. _iframe.contentDocument.location.reload()
  5640. } else {
  5641. _iframe.contentDocument.location.reload()
  5642. }
  5643. } else {
  5644. _iframe.onload = () => {
  5645. _iframe.contentWindow.document.body.appendChild(script1);
  5646. _iframe.contentWindow.document.body.appendChild(script2);
  5647. // _iframe.contentWindow.document.body.appendChild(script3);
  5648. _iframe.contentWindow.document.body.appendChild(script4);
  5649. };
  5650. }
  5651. _jie.onclick = async() => {
  5652. let text = ''
  5653. if (aTool == 1) {
  5654. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5655. } else if (aTool == 6) {
  5656. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5657. } else if (aTool == 3) {
  5658. text = await U.MD.D.I.getEditorContent(_iframe);
  5659. }
  5660. _loading.style.display = 'flex'
  5661. console.log(_loading);
  5662. var _ajs = _iframe.contentWindow.document.createElement("script");
  5663. _ajs.type = "text/javascript";
  5664. _ajs.innerHTML =
  5665. // 'console.log(' + _loading + ');\n' +
  5666. 'var _js = document.createElement("script");\n' +
  5667. '_js.type="text/javascript";\n' +
  5668. '_js.charset="UTF-8";\n' +
  5669. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5670. "_js.onload = function(){\n" +
  5671. ' var a = document.getElementsByTagName("img")\n' +
  5672. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5673. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5674. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5675. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5676. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5677. "beforeUpload_shishi(file," +
  5678. "'" +
  5679. _userid +
  5680. "'" +
  5681. ", " +
  5682. "'" +
  5683. _cid +
  5684. "'" +
  5685. ", " +
  5686. "'" +
  5687. _stage +
  5688. "'" +
  5689. ", " +
  5690. "'" +
  5691. _task +
  5692. "'" +
  5693. ", " +
  5694. "'" +
  5695. _tool +
  5696. "'" +
  5697. ", " +
  5698. "'" +
  5699. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5700. "'" +
  5701. ", " +
  5702. "'" +
  5703. aTool +
  5704. "'" +
  5705. ", " +
  5706. "`" +
  5707. text +
  5708. "`" +
  5709. ")\n" +
  5710. " });\n" +
  5711. "}\n" +
  5712. "document.head.appendChild(_js);\n";
  5713. _iframe.contentWindow.document.head.appendChild(_ajs);
  5714. }
  5715. }
  5716. //U.MD.D.I.openClick(str);
  5717. //如果有任务栏信息
  5718. // if (_taskbar) {
  5719. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5720. // }
  5721. }
  5722. U.MD.D.I.openApplicationJieTeacher = function(str, cid, stage, task, tool, student) {
  5723. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5724. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5725. _userid = student.userid, //登录用户id
  5726. _username = student.student //用户名字
  5727. let _iframe;
  5728. let _cid = cid,
  5729. _stage = stage,
  5730. _task = task,
  5731. _tool = tool;
  5732. var _jie = $$("div", {
  5733. "style": {
  5734. "position": "absolute",
  5735. "bottom": "50px",
  5736. "right": "50px",
  5737. "zIndex": "9999",
  5738. "backgroundColor": "#2268bc",
  5739. "color": "#fff",
  5740. "padding": "12px 20px",
  5741. "cursor": "pointer",
  5742. "borderRadius": "4px",
  5743. },
  5744. "innerHTML": "提交作业"
  5745. })
  5746. let aTool = ''
  5747. let _loading = document.createElement('div')
  5748. _loading.style = "width:100%;height:100%;background:#00000000;position:absolute;top:0;left:0;z-index:99999999999999;display: none;justify-content: center;align-items: center;"
  5749. // _loading.id = "";
  5750. let _lchild = document.createElement('div')
  5751. let _limg = document.createElement('img')
  5752. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5753. _limg.style = "width: 26px;margin-right: 10px;"
  5754. _lchild.appendChild(_limg)
  5755. let _lspan = document.createElement('span')
  5756. _lspan.innerHTML = "上传中..."
  5757. _lchild.appendChild(_lspan)
  5758. _lchild.style = "color: rgb(255, 255, 255);padding: 15px;background: rgba(0, 0, 0, 0.44);font-size: 18px;display: flex;align-items: center;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);"
  5759. _loading.appendChild(_lchild)
  5760. var _box = $$('div', {
  5761. "style": {
  5762. "position": "relative",
  5763. "width": "100%",
  5764. "height": "100%",
  5765. },
  5766. })
  5767. _box.appendChild(_loading)
  5768. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5769. switch (str) {
  5770. case "whiteboard":
  5771. aTool = 1;
  5772. _iframe = $$("iframe", {
  5773. "frameborder": "no",
  5774. "border": "0",
  5775. "scrolling ": "no",
  5776. "style": {
  5777. "cssText": "border:0;width:100%;height:100%"
  5778. },
  5779. "src": "https://iwb.cocorobo.cn/"
  5780. })
  5781. _box.appendChild(_iframe);
  5782. _box.appendChild(_jie);
  5783. _formdiv = new U.UF.UI.form(
  5784. "电子白板-" + _username,
  5785. _box, {
  5786. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5787. "style": {
  5788. "width": "90%",
  5789. "height": "90%",
  5790. "overflow": 'hidden'
  5791. },
  5792. "onresize": function() {}
  5793. }, {
  5794. closecallback: function() {}
  5795. }, {
  5796. "style": {
  5797. "height": "36px"
  5798. }
  5799. }).form; //创建窗体
  5800. _taskbar = {
  5801. "id": str + _formdiv.id,
  5802. "style": {
  5803. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5804. },
  5805. "name": "电子白板",
  5806. "forms": _formdiv,
  5807. "click": function() {
  5808. U.MD.D.I.openApplication(str, obj, info);
  5809. }
  5810. }
  5811. break;
  5812. case "mind":
  5813. aTool = 3;
  5814. _iframe = $$("iframe", {
  5815. "frameborder": "no",
  5816. "border": "0",
  5817. "scrolling ": "no",
  5818. "style": {
  5819. "cssText": "border:0;width:100%;height:100%"
  5820. },
  5821. "src": "/kityminder-editor/dist/index.html"
  5822. })
  5823. _box.appendChild(_iframe);
  5824. _box.appendChild(_jie);
  5825. _formdiv = new U.UF.UI.form(
  5826. "思维导图-" + _username,
  5827. _box, { //"/jsmind/example/demo.html"
  5828. "id": "mind" + cid + stage + task + tool + _userid,
  5829. "style": {
  5830. "width": "90%",
  5831. "height": "90%",
  5832. "overflow": 'hidden'
  5833. },
  5834. "onresize": function() {}
  5835. }, {
  5836. closecallback: function() {}
  5837. }, {
  5838. "style": {
  5839. "height": "36px"
  5840. }
  5841. }).form; //创建窗体
  5842. _taskbar = {
  5843. "id": str + _formdiv.id,
  5844. "style": {
  5845. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5846. },
  5847. "name": "思维导图",
  5848. "forms": _formdiv,
  5849. "click": function() {
  5850. U.MD.D.I.openApplication(str, obj, info);
  5851. }
  5852. }
  5853. break;
  5854. case "MindMap":
  5855. aTool = 3;
  5856. _iframe = $$("iframe", {
  5857. "frameborder": "no",
  5858. "border": "0",
  5859. "scrolling ": "no",
  5860. "style": {
  5861. "cssText": "border:0;width:100%;height:100%"
  5862. },
  5863. "src": "//cloud.cocorobo.cn/mind/"
  5864. })
  5865. _box.appendChild(_iframe);
  5866. _box.appendChild(_jie);
  5867. _formdiv = new U.UF.UI.form(
  5868. "思维导图-" + _username,
  5869. _box, { //"/jsmind/example/demo.html"
  5870. "id": "mind" + cid + stage + task + tool + _userid,
  5871. "style": {
  5872. "width": "90%",
  5873. "height": "90%",
  5874. "overflow": 'hidden'
  5875. },
  5876. "onresize": function() {}
  5877. }, {
  5878. closecallback: function() {}
  5879. }, {
  5880. "style": {
  5881. "height": "36px"
  5882. }
  5883. }).form; //创建窗体
  5884. _taskbar = {
  5885. "id": str + _formdiv.id,
  5886. "style": {
  5887. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5888. },
  5889. "name": "思维导图",
  5890. "forms": _formdiv,
  5891. "click": function() {
  5892. U.MD.D.I.openApplication(str, obj, info);
  5893. }
  5894. }
  5895. break;
  5896. case "doc":
  5897. aTool = 6;
  5898. _iframe = $$("iframe", {
  5899. "frameborder": "no",
  5900. "border": "0",
  5901. "scrolling ": "no",
  5902. "style": {
  5903. "cssText": "border:0;width:100%;height:100%"
  5904. },
  5905. "src": "/Office/Word/WordEditArea.htm"
  5906. })
  5907. _box.appendChild(_iframe);
  5908. _box.appendChild(_jie);
  5909. _formdiv = new U.UF.UI.form(
  5910. "协同文档-" + _username,
  5911. _box, {
  5912. "id": "doc" + cid + stage + task + tool + _userid,
  5913. "style": {
  5914. "width": "90%",
  5915. "height": "90%",
  5916. "overflow": 'hidden'
  5917. },
  5918. "onresize": function() {}
  5919. }, {
  5920. closecallback: function() {}
  5921. }, {
  5922. "style": {
  5923. "height": "36px"
  5924. }
  5925. }).form; //创建窗体
  5926. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5927. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5928. })
  5929. _taskbar = {
  5930. "id": str + _formdiv.id,
  5931. "style": {
  5932. "backgroundImage": "url(/img/icon/doc.png)"
  5933. },
  5934. "name": "协同文档",
  5935. "forms": _formdiv,
  5936. "click": function() {
  5937. U.MD.D.I.openApplication(str, obj, info);
  5938. }
  5939. }
  5940. break;
  5941. case "mindNetwork": //好友打开
  5942. aTool = 7;
  5943. _iframe = $$("iframe", {
  5944. "webkitallowfullscreen": "",
  5945. "mozallowfullscreen": "",
  5946. "allowfullscreen": "",
  5947. "frameborder": "no",
  5948. "border": "0",
  5949. "scrolling ": "no",
  5950. "style": {
  5951. "cssText": "border:0; width:100%; height:100%;"
  5952. },
  5953. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5954. })
  5955. _box.appendChild(_iframe);
  5956. _box.appendChild(_jie);
  5957. _formdiv = new U.UF.UI.form(
  5958. "思维网格-" + _username,
  5959. _box, {
  5960. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5961. "style": {
  5962. "width": "90%",
  5963. "height": "90%",
  5964. "overflow": 'hidden'
  5965. },
  5966. "onresize": function() {}
  5967. }, {
  5968. closecallback: function() {}
  5969. }, {
  5970. "style": {
  5971. "height": "36px"
  5972. }
  5973. }).form; //创建窗体
  5974. _taskbar = {
  5975. "id": str + _formdiv.id,
  5976. "style": {
  5977. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5978. },
  5979. "name": "思维网格",
  5980. "forms": _formdiv,
  5981. "click": function() {
  5982. U.MD.D.I.openApplication(str, obj, info);
  5983. }
  5984. }
  5985. break;
  5986. case "courseDesign":
  5987. _iframe = $$("iframe", {
  5988. "webkitallowfullscreen": "",
  5989. "mozallowfullscreen": "",
  5990. "allowfullscreen": "",
  5991. "frameborder": "no",
  5992. "border": "0",
  5993. "scrolling ": "no",
  5994. "style": {
  5995. "cssText": "border:0; width:100%; height:100%;"
  5996. },
  5997. "src": "/course-design-vue"
  5998. })
  5999. _box.appendChild(_iframe);
  6000. _box.appendChild(_jie);
  6001. _formdiv = new U.UF.UI.form(
  6002. "项目设计-" + _username,
  6003. _box, {
  6004. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6005. "style": {
  6006. "width": "90%",
  6007. "height": "90%",
  6008. "overflow": 'hidden'
  6009. },
  6010. "onresize": function() {}
  6011. }, {
  6012. closecallback: function() {}
  6013. }, {
  6014. "style": {
  6015. "height": "36px"
  6016. }
  6017. }).form; //创建窗体
  6018. _taskbar = {
  6019. "id": str + _formdiv.id,
  6020. "style": {
  6021. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6022. },
  6023. "name": "项目设计",
  6024. "forms": _formdiv,
  6025. "click": function() {
  6026. U.MD.D.I.openApplication(str, obj, info);
  6027. }
  6028. }
  6029. break;
  6030. }
  6031. const script1 = document.createElement("script");
  6032. script1.type = "text/javascript";
  6033. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6034. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6035. const script2 = document.createElement("script");
  6036. script2.type = "text/javascript";
  6037. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6038. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6039. const script3 = document.createElement("script");
  6040. script3.type = "text/javascript";
  6041. script3.charset = "UTF-8";
  6042. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6043. const script4 = document.createElement("script");
  6044. script4.type = "text/javascript";
  6045. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6046. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6047. if (_iframe) {
  6048. if (str == 'doc') {
  6049. _iframe = _formdiv.querySelector('iframe')
  6050. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6051. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6052. _iframe.contentWindow.document.body.appendChild(script1);
  6053. _iframe.contentWindow.document.body.appendChild(script2);
  6054. // _iframe.contentWindow.document.body.appendChild(script3);
  6055. _iframe.contentWindow.document.body.appendChild(script4);
  6056. })
  6057. if (onloadListener) {
  6058. _iframe.contentDocument.location.reload()
  6059. } else {
  6060. _iframe.contentDocument.location.reload()
  6061. }
  6062. } else if (str == 'courseDesign') {
  6063. U.UF.DL.iframeLoad(_iframe, function() {
  6064. // _iframe.contentWindow.U.MD.O.W.load();
  6065. // _iframe.contentWindow.document.body.appendChild(script1);
  6066. _iframe.contentWindow.document.body.appendChild(script2);
  6067. _iframe.contentWindow.document.body.appendChild(script4);
  6068. })
  6069. } else if (str == 'mind') {
  6070. _iframe = _formdiv.querySelector('iframe')
  6071. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6072. //
  6073. _iframe.contentWindow.document.body.appendChild(script1);
  6074. _iframe.contentWindow.document.body.appendChild(script2);
  6075. _iframe.contentWindow.document.body.appendChild(script4);
  6076. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6077. })
  6078. if (onloadListener) {
  6079. _iframe.contentDocument.location.reload()
  6080. } else {
  6081. _iframe.contentDocument.location.reload()
  6082. }
  6083. } else if (str == 'whiteboard') {
  6084. _iframe = _formdiv.querySelector('iframe')
  6085. let onloadListener = _iframe.onload = () => {
  6086. _iframe.contentWindow.document.body.appendChild(script1);
  6087. _iframe.contentWindow.document.body.appendChild(script2);
  6088. _iframe.contentWindow.document.body.appendChild(script4);
  6089. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6090. };
  6091. if (onloadListener) {
  6092. _iframe.contentDocument.location.reload()
  6093. } else {
  6094. _iframe.contentDocument.location.reload()
  6095. }
  6096. } else {
  6097. _iframe.onload = () => {
  6098. _iframe.contentWindow.document.body.appendChild(script1);
  6099. _iframe.contentWindow.document.body.appendChild(script2);
  6100. // _iframe.contentWindow.document.body.appendChild(script3);
  6101. _iframe.contentWindow.document.body.appendChild(script4);
  6102. };
  6103. }
  6104. _jie.onclick = async() => {
  6105. let text = ''
  6106. if (aTool == 1) {
  6107. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6108. } else if (aTool == 6) {
  6109. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6110. } else if (aTool == 3) {
  6111. text = await U.MD.D.I.getEditorContent(_iframe);
  6112. }
  6113. _loading.style.display = 'flex'
  6114. console.log(_loading);
  6115. var _ajs = _iframe.contentWindow.document.createElement("script");
  6116. _ajs.type = "text/javascript";
  6117. _ajs.innerHTML =
  6118. // 'console.log(' + _loading + ');\n' +
  6119. 'var _js = document.createElement("script");\n' +
  6120. '_js.type="text/javascript";\n' +
  6121. '_js.charset="UTF-8";\n' +
  6122. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6123. "_js.onload = function(){\n" +
  6124. ' var a = document.getElementsByTagName("img")\n' +
  6125. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6126. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6127. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6128. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6129. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6130. "beforeUpload_shishi(file," +
  6131. "'" +
  6132. _userid +
  6133. "'" +
  6134. ", " +
  6135. "'" +
  6136. _cid +
  6137. "'" +
  6138. ", " +
  6139. "'" +
  6140. _stage +
  6141. "'" +
  6142. ", " +
  6143. "'" +
  6144. _task +
  6145. "'" +
  6146. ", " +
  6147. "'" +
  6148. _tool +
  6149. "'" +
  6150. ", " +
  6151. "'" +
  6152. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6153. "'" +
  6154. ", " +
  6155. "'" +
  6156. aTool +
  6157. "'" +
  6158. ", " +
  6159. "`" +
  6160. text +
  6161. "`" +
  6162. ")\n" +
  6163. " });\n" +
  6164. "}\n" +
  6165. "document.head.appendChild(_js);\n";
  6166. _iframe.contentWindow.document.head.appendChild(_ajs);
  6167. }
  6168. }
  6169. }
  6170. U.MD.D.I.openApplicationJieTeacherE = function(str, cid, stage, task, tool, student) {
  6171. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6172. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6173. _userid = student.userid, //登录用户id
  6174. _username = student.student //用户名字
  6175. let _iframe;
  6176. let _cid = cid,
  6177. _stage = stage,
  6178. _task = task,
  6179. _tool = tool;
  6180. var _jie = $$("div", {
  6181. "style": {
  6182. "position": "absolute",
  6183. "bottom": "50px",
  6184. "right": "50px",
  6185. "zIndex": "9999",
  6186. "backgroundColor": "#2268bc",
  6187. "color": "#fff",
  6188. "padding": "12px 20px",
  6189. "cursor": "pointer",
  6190. "borderRadius": "4px",
  6191. },
  6192. "innerHTML": "提交作业"
  6193. })
  6194. let aTool = ''
  6195. let _loading = document.createElement('div')
  6196. _loading.style = "width:100%;height:100%;background:#00000000;position:absolute;top:0;left:0;z-index:99999999999999;display: none;justify-content: center;align-items: center;"
  6197. // _loading.id = "";
  6198. let _lchild = document.createElement('div')
  6199. let _limg = document.createElement('img')
  6200. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6201. _limg.style = "width: 26px;margin-right: 10px;"
  6202. _lchild.appendChild(_limg)
  6203. let _lspan = document.createElement('span')
  6204. _lspan.innerHTML = "上传中..."
  6205. _lchild.appendChild(_lspan)
  6206. _lchild.style = "color: rgb(255, 255, 255);padding: 15px;background: rgba(0, 0, 0, 0.44);font-size: 18px;display: flex;align-items: center;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);"
  6207. _loading.appendChild(_lchild)
  6208. var _box = $$('div', {
  6209. "style": {
  6210. "position": "relative",
  6211. "width": "100%",
  6212. "height": "100%",
  6213. },
  6214. })
  6215. _box.appendChild(_loading)
  6216. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6217. switch (str) {
  6218. case "whiteboard":
  6219. aTool = 1;
  6220. _iframe = $$("iframe", {
  6221. "frameborder": "no",
  6222. "border": "0",
  6223. "scrolling ": "no",
  6224. "style": {
  6225. "cssText": "border:0;width:100%;height:100%"
  6226. },
  6227. "src": "https://iwb.cocorobo.cn/"
  6228. })
  6229. _box.appendChild(_iframe);
  6230. _box.appendChild(_jie);
  6231. _formdiv = new U.UF.UI.form(
  6232. "电子白板-" + _username,
  6233. _box, {
  6234. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6235. "style": {
  6236. "width": "90%",
  6237. "height": "90%",
  6238. "overflow": 'hidden'
  6239. },
  6240. "onresize": function() {}
  6241. }, {
  6242. closecallback: function() {}
  6243. }, {
  6244. "style": {
  6245. "height": "36px"
  6246. }
  6247. }).form; //创建窗体
  6248. _taskbar = {
  6249. "id": str + _formdiv.id,
  6250. "style": {
  6251. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6252. },
  6253. "name": "电子白板",
  6254. "forms": _formdiv,
  6255. "click": function() {
  6256. U.MD.D.I.openApplication(str, obj, info);
  6257. }
  6258. }
  6259. break;
  6260. case "mind":
  6261. aTool = 3;
  6262. _iframe = $$("iframe", {
  6263. "frameborder": "no",
  6264. "border": "0",
  6265. "scrolling ": "no",
  6266. "style": {
  6267. "cssText": "border:0;width:100%;height:100%"
  6268. },
  6269. "src": "/kityminder-editor/dist/index.html"
  6270. })
  6271. _box.appendChild(_iframe);
  6272. _box.appendChild(_jie);
  6273. _formdiv = new U.UF.UI.form(
  6274. "思维导图-" + _username,
  6275. _box, { //"/jsmind/example/demo.html"
  6276. "id": "mind" + cid + stage + task + tool + _userid,
  6277. "style": {
  6278. "width": "90%",
  6279. "height": "90%",
  6280. "overflow": 'hidden'
  6281. },
  6282. "onresize": function() {}
  6283. }, {
  6284. closecallback: function() {}
  6285. }, {
  6286. "style": {
  6287. "height": "36px"
  6288. }
  6289. }).form; //创建窗体
  6290. _taskbar = {
  6291. "id": str + _formdiv.id,
  6292. "style": {
  6293. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6294. },
  6295. "name": "思维导图",
  6296. "forms": _formdiv,
  6297. "click": function() {
  6298. U.MD.D.I.openApplication(str, obj, info);
  6299. }
  6300. }
  6301. break;
  6302. case "MindMap":
  6303. aTool = 3;
  6304. _iframe = $$("iframe", {
  6305. "frameborder": "no",
  6306. "border": "0",
  6307. "scrolling ": "no",
  6308. "style": {
  6309. "cssText": "border:0;width:100%;height:100%"
  6310. },
  6311. "src": "//cloud.cocorobo.cn/mind/"
  6312. })
  6313. _box.appendChild(_iframe);
  6314. _box.appendChild(_jie);
  6315. _formdiv = new U.UF.UI.form(
  6316. "思维导图-" + _username,
  6317. _box, { //"/jsmind/example/demo.html"
  6318. "id": "mind" + cid + stage + task + tool + _userid,
  6319. "style": {
  6320. "width": "90%",
  6321. "height": "90%",
  6322. "overflow": 'hidden'
  6323. },
  6324. "onresize": function() {}
  6325. }, {
  6326. closecallback: function() {}
  6327. }, {
  6328. "style": {
  6329. "height": "36px"
  6330. }
  6331. }).form; //创建窗体
  6332. _taskbar = {
  6333. "id": str + _formdiv.id,
  6334. "style": {
  6335. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6336. },
  6337. "name": "思维导图",
  6338. "forms": _formdiv,
  6339. "click": function() {
  6340. U.MD.D.I.openApplication(str, obj, info);
  6341. }
  6342. }
  6343. break;
  6344. case "doc":
  6345. aTool = 6;
  6346. _iframe = $$("iframe", {
  6347. "frameborder": "no",
  6348. "border": "0",
  6349. "scrolling ": "no",
  6350. "style": {
  6351. "cssText": "border:0;width:100%;height:100%"
  6352. },
  6353. "src": "/Office/Word/WordEditArea.htm"
  6354. })
  6355. _box.appendChild(_iframe);
  6356. _box.appendChild(_jie);
  6357. _formdiv = new U.UF.UI.form(
  6358. "协同文档-" + _username,
  6359. _box, {
  6360. "id": "doc" + cid + stage + task + tool + _userid,
  6361. "style": {
  6362. "width": "90%",
  6363. "height": "90%",
  6364. "overflow": 'hidden'
  6365. },
  6366. "onresize": function() {}
  6367. }, {
  6368. closecallback: function() {}
  6369. }, {
  6370. "style": {
  6371. "height": "36px"
  6372. }
  6373. }).form; //创建窗体
  6374. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6375. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6376. })
  6377. _taskbar = {
  6378. "id": str + _formdiv.id,
  6379. "style": {
  6380. "backgroundImage": "url(/img/icon/doc.png)"
  6381. },
  6382. "name": "协同文档",
  6383. "forms": _formdiv,
  6384. "click": function() {
  6385. U.MD.D.I.openApplication(str, obj, info);
  6386. }
  6387. }
  6388. break;
  6389. case "mindNetwork": //好友打开
  6390. aTool = 7;
  6391. _iframe = $$("iframe", {
  6392. "webkitallowfullscreen": "",
  6393. "mozallowfullscreen": "",
  6394. "allowfullscreen": "",
  6395. "frameborder": "no",
  6396. "border": "0",
  6397. "scrolling ": "no",
  6398. "style": {
  6399. "cssText": "border:0; width:100%; height:100%;"
  6400. },
  6401. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6402. })
  6403. _box.appendChild(_iframe);
  6404. _box.appendChild(_jie);
  6405. _formdiv = new U.UF.UI.form(
  6406. "思维网格-" + _username,
  6407. _box, {
  6408. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6409. "style": {
  6410. "width": "90%",
  6411. "height": "90%",
  6412. "overflow": 'hidden'
  6413. },
  6414. "onresize": function() {}
  6415. }, {
  6416. closecallback: function() {}
  6417. }, {
  6418. "style": {
  6419. "height": "36px"
  6420. }
  6421. }).form; //创建窗体
  6422. _taskbar = {
  6423. "id": str + _formdiv.id,
  6424. "style": {
  6425. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6426. },
  6427. "name": "思维网格",
  6428. "forms": _formdiv,
  6429. "click": function() {
  6430. U.MD.D.I.openApplication(str, obj, info);
  6431. }
  6432. }
  6433. break;
  6434. case "courseDesign":
  6435. _iframe = $$("iframe", {
  6436. "webkitallowfullscreen": "",
  6437. "mozallowfullscreen": "",
  6438. "allowfullscreen": "",
  6439. "frameborder": "no",
  6440. "border": "0",
  6441. "scrolling ": "no",
  6442. "style": {
  6443. "cssText": "border:0; width:100%; height:100%;"
  6444. },
  6445. "src": "/course-design-vue"
  6446. })
  6447. _box.appendChild(_iframe);
  6448. _box.appendChild(_jie);
  6449. _formdiv = new U.UF.UI.form(
  6450. "项目设计-" + _username,
  6451. _box, {
  6452. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6453. "style": {
  6454. "width": "90%",
  6455. "height": "90%",
  6456. "overflow": 'hidden'
  6457. },
  6458. "onresize": function() {}
  6459. }, {
  6460. closecallback: function() {}
  6461. }, {
  6462. "style": {
  6463. "height": "36px"
  6464. }
  6465. }).form; //创建窗体
  6466. _taskbar = {
  6467. "id": str + _formdiv.id,
  6468. "style": {
  6469. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6470. },
  6471. "name": "项目设计",
  6472. "forms": _formdiv,
  6473. "click": function() {
  6474. U.MD.D.I.openApplication(str, obj, info);
  6475. }
  6476. }
  6477. break;
  6478. }
  6479. const script1 = document.createElement("script");
  6480. script1.type = "text/javascript";
  6481. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6482. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6483. const script2 = document.createElement("script");
  6484. script2.type = "text/javascript";
  6485. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6486. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6487. const script3 = document.createElement("script");
  6488. script3.type = "text/javascript";
  6489. script3.charset = "UTF-8";
  6490. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6491. const script4 = document.createElement("script");
  6492. script4.type = "text/javascript";
  6493. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6494. script4.src = window.origin + "/js/Common/jietu2E.js";
  6495. if (_iframe) {
  6496. if (str == 'doc') {
  6497. _iframe = _formdiv.querySelector('iframe')
  6498. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6499. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6500. _iframe.contentWindow.document.body.appendChild(script1);
  6501. _iframe.contentWindow.document.body.appendChild(script2);
  6502. // _iframe.contentWindow.document.body.appendChild(script3);
  6503. _iframe.contentWindow.document.body.appendChild(script4);
  6504. })
  6505. if (onloadListener) {
  6506. _iframe.contentDocument.location.reload()
  6507. } else {
  6508. _iframe.contentDocument.location.reload()
  6509. }
  6510. } else if (str == 'courseDesign') {
  6511. U.UF.DL.iframeLoad(_iframe, function() {
  6512. // _iframe.contentWindow.U.MD.O.W.load();
  6513. // _iframe.contentWindow.document.body.appendChild(script1);
  6514. _iframe.contentWindow.document.body.appendChild(script2);
  6515. _iframe.contentWindow.document.body.appendChild(script4);
  6516. })
  6517. } else if (str == 'mind') {
  6518. _iframe = _formdiv.querySelector('iframe')
  6519. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6520. //
  6521. _iframe.contentWindow.document.body.appendChild(script1);
  6522. _iframe.contentWindow.document.body.appendChild(script2);
  6523. _iframe.contentWindow.document.body.appendChild(script4);
  6524. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6525. })
  6526. if (onloadListener) {
  6527. _iframe.contentDocument.location.reload()
  6528. } else {
  6529. _iframe.contentDocument.location.reload()
  6530. }
  6531. } else if (str == 'whiteboard') {
  6532. _iframe = _formdiv.querySelector('iframe')
  6533. let onloadListener = _iframe.onload = () => {
  6534. _iframe.contentWindow.document.body.appendChild(script1);
  6535. _iframe.contentWindow.document.body.appendChild(script2);
  6536. _iframe.contentWindow.document.body.appendChild(script4);
  6537. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6538. };
  6539. if (onloadListener) {
  6540. _iframe.contentDocument.location.reload()
  6541. } else {
  6542. _iframe.contentDocument.location.reload()
  6543. }
  6544. } else {
  6545. _iframe.onload = () => {
  6546. _iframe.contentWindow.document.body.appendChild(script1);
  6547. _iframe.contentWindow.document.body.appendChild(script2);
  6548. // _iframe.contentWindow.document.body.appendChild(script3);
  6549. _iframe.contentWindow.document.body.appendChild(script4);
  6550. };
  6551. }
  6552. _jie.onclick = async() => {
  6553. let text = ''
  6554. if (aTool == 1) {
  6555. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6556. } else if (aTool == 6) {
  6557. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6558. } else if (aTool == 3) {
  6559. text = await U.MD.D.I.getEditorContent(_iframe);
  6560. }
  6561. _loading.style.display = 'flex'
  6562. console.log(_loading);
  6563. var _ajs = _iframe.contentWindow.document.createElement("script");
  6564. _ajs.type = "text/javascript";
  6565. _ajs.innerHTML =
  6566. // 'console.log(' + _loading + ');\n' +
  6567. 'var _js = document.createElement("script");\n' +
  6568. '_js.type="text/javascript";\n' +
  6569. '_js.charset="UTF-8";\n' +
  6570. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6571. "_js.onload = function(){\n" +
  6572. ' var a = document.getElementsByTagName("img")\n' +
  6573. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6574. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6575. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6576. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6577. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6578. "beforeUpload_shishi(file," +
  6579. "'" +
  6580. _userid +
  6581. "'" +
  6582. ", " +
  6583. "'" +
  6584. _cid +
  6585. "'" +
  6586. ", " +
  6587. "'" +
  6588. _stage +
  6589. "'" +
  6590. ", " +
  6591. "'" +
  6592. _task +
  6593. "'" +
  6594. ", " +
  6595. "'" +
  6596. _tool +
  6597. "'" +
  6598. ", " +
  6599. "'" +
  6600. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6601. "'" +
  6602. ", " +
  6603. "'" +
  6604. aTool +
  6605. "'" +
  6606. ", " +
  6607. "`" +
  6608. text +
  6609. "`" +
  6610. ")\n" +
  6611. " });\n" +
  6612. "}\n" +
  6613. "document.head.appendChild(_js);\n";
  6614. _iframe.contentWindow.document.head.appendChild(_ajs);
  6615. }
  6616. }
  6617. }
  6618. U.MD.D.I.getEditorContent = function(iframe) {
  6619. return new Promise((resolve, reject) => {
  6620. iframe.contentWindow.editor.minder.exportData('json').then(function(content) {
  6621. console.log(content);
  6622. resolve(content)
  6623. });
  6624. });
  6625. }
  6626. U.MD.D.I.getContent = function(cid, s, task, t, uid, type, iframe) {
  6627. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6628. // if (res.value[0].length > 0) {
  6629. // // resolve(res.value[0][0].text);
  6630. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6631. // $(fileInput).val('');
  6632. // });
  6633. // }
  6634. // }, [], { "type": "GET", "withCredentials": true });
  6635. var xmlhttp;
  6636. var Mac, Sn, DeviceId
  6637. if (window.XMLHttpRequest) {
  6638. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6639. xmlhttp = new XMLHttpRequest();
  6640. } else {
  6641. // IE6, IE5 浏览器执行代码
  6642. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6643. }
  6644. xmlhttp.onreadystatechange = function() {
  6645. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6646. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6647. // resolve(res.value[0][0].text);
  6648. if (type == '2') {
  6649. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6650. } else if (type == '3') {
  6651. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6652. }
  6653. } else {
  6654. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6655. }
  6656. }
  6657. }
  6658. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6659. xmlhttp.send();
  6660. }
  6661. U.MD.D.I.openApplicationJieS = function(str, cid, stage, task, tool) {
  6662. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6663. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6664. _userinfo = US.userInfo, //登录用户信息
  6665. _userid = US.userInfo.userid //登录用户id
  6666. let _iframe;
  6667. let _cid = cid,
  6668. _stage = stage,
  6669. _task = task,
  6670. _tool = tool;
  6671. var _jie = $$("div", {
  6672. "style": {
  6673. "position": "absolute",
  6674. "bottom": "50px",
  6675. "right": "50px",
  6676. "zIndex": "9999",
  6677. "backgroundColor": "#2268bc",
  6678. "color": "#fff",
  6679. "padding": "12px 20px",
  6680. "cursor": "pointer",
  6681. "borderRadius": "4px",
  6682. },
  6683. "innerHTML": "确认并提交"
  6684. })
  6685. let aTool = ''
  6686. let _loading = document.createElement('div')
  6687. _loading.style = "width:100%;height:100%;background:#00000000;position:absolute;top:0;left:0;z-index:99999999999999;display: none;justify-content: center;align-items: center;"
  6688. // _loading.id = "";
  6689. let _lchild = document.createElement('div')
  6690. let _limg = document.createElement('img')
  6691. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6692. _limg.style = "width: 26px;margin-right: 10px;"
  6693. _lchild.appendChild(_limg)
  6694. let _lspan = document.createElement('span')
  6695. _lspan.innerHTML = "上传中..."
  6696. _lchild.appendChild(_lspan)
  6697. _lchild.style = "color: rgb(255, 255, 255);padding: 15px;background: rgba(0, 0, 0, 0.44);font-size: 18px;display: flex;align-items: center;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);"
  6698. _loading.appendChild(_lchild)
  6699. var _box = $$('div', {
  6700. "style": {
  6701. "position": "relative",
  6702. "width": "100%",
  6703. "height": "100%",
  6704. },
  6705. })
  6706. _box.appendChild(_loading)
  6707. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6708. switch (str) {
  6709. case "whiteboard":
  6710. aTool = 1;
  6711. _iframe = $$("iframe", {
  6712. "frameborder": "no",
  6713. "border": "0",
  6714. "scrolling ": "no",
  6715. "style": {
  6716. "cssText": "border:0;width:100%;height:100%"
  6717. },
  6718. "src": "https://iwb.cocorobo.cn/"
  6719. })
  6720. _box.appendChild(_iframe);
  6721. _box.appendChild(_jie);
  6722. _formdiv = new U.UF.UI.form(
  6723. "电子白板",
  6724. _box, {
  6725. "id": "whiteboards" + cid + stage + task + tool,
  6726. "style": {
  6727. "width": "90%",
  6728. "height": "90%",
  6729. "overflow": 'hidden'
  6730. },
  6731. "onresize": function() {}
  6732. }, {
  6733. closecallback: function() {}
  6734. }, {
  6735. "style": {
  6736. "height": "36px"
  6737. }
  6738. }).form; //创建窗体
  6739. _taskbar = {
  6740. "id": str + _formdiv.id,
  6741. "style": {
  6742. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6743. },
  6744. "name": "电子白板",
  6745. "forms": _formdiv,
  6746. "click": function() {
  6747. U.MD.D.I.openApplication(str, obj, info);
  6748. }
  6749. }
  6750. break;
  6751. case "mind":
  6752. aTool = 3;
  6753. _iframe = $$("iframe", {
  6754. "frameborder": "no",
  6755. "border": "0",
  6756. "scrolling ": "no",
  6757. "style": {
  6758. "cssText": "border:0;width:100%;height:100%"
  6759. },
  6760. "src": "/kityminder-editor/dist/index.html"
  6761. });
  6762. _box.appendChild(_iframe);
  6763. _box.appendChild(_jie);
  6764. _formdiv = new U.UF.UI.form(
  6765. "思维导图",
  6766. _box, { //"/jsmind/example/demo.html"
  6767. "id": "minds" + cid + stage + task + tool,
  6768. "style": {
  6769. "width": "90%",
  6770. "height": "90%",
  6771. "overflow": 'hidden'
  6772. },
  6773. "onresize": function() {}
  6774. }, {
  6775. closecallback: function() {}
  6776. }, {
  6777. "style": {
  6778. "height": "36px"
  6779. }
  6780. }).form; //创建窗体
  6781. _taskbar = {
  6782. "id": str + _formdiv.id,
  6783. "style": {
  6784. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6785. },
  6786. "name": "思维导图",
  6787. "forms": _formdiv,
  6788. "click": function() {
  6789. U.MD.D.I.openApplication(str, obj, info);
  6790. }
  6791. }
  6792. break;
  6793. case "doc":
  6794. aTool = 6;
  6795. _iframe = $$("iframe", {
  6796. "frameborder": "no",
  6797. "border": "0",
  6798. "scrolling ": "no",
  6799. "style": {
  6800. "cssText": "border:0;width:100%;height:100%"
  6801. },
  6802. "src": "/Office/Word/WordEditArea.htm"
  6803. })
  6804. _box.appendChild(_iframe);
  6805. _box.appendChild(_jie);
  6806. _formdiv = new U.UF.UI.form(
  6807. "协同文档",
  6808. _box, {
  6809. "id": "docs" + cid + stage + task + tool,
  6810. "style": {
  6811. "width": "90%",
  6812. "height": "90%",
  6813. "overflow": 'hidden'
  6814. },
  6815. "onresize": function() {}
  6816. }, {
  6817. closecallback: function() {}
  6818. }, {
  6819. "style": {
  6820. "height": "36px"
  6821. }
  6822. }).form; //创建窗体
  6823. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6824. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6825. })
  6826. _taskbar = {
  6827. "id": str + _formdiv.id,
  6828. "style": {
  6829. "backgroundImage": "url(/img/icon/doc.png)"
  6830. },
  6831. "name": "协同文档",
  6832. "forms": _formdiv,
  6833. "click": function() {
  6834. U.MD.D.I.openApplication(str, obj, info);
  6835. }
  6836. }
  6837. break;
  6838. }
  6839. const script1 = document.createElement("script");
  6840. script1.type = "text/javascript";
  6841. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6842. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6843. const script2 = document.createElement("script");
  6844. script2.type = "text/javascript";
  6845. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6846. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6847. const script3 = document.createElement("script");
  6848. script3.type = "text/javascript";
  6849. script3.charset = "UTF-8";
  6850. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6851. const script4 = document.createElement("script");
  6852. script4.type = "text/javascript";
  6853. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6854. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6855. if (_iframe) {
  6856. if (str == 'doc') {
  6857. _iframe = _formdiv.querySelector('iframe')
  6858. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6859. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6860. _iframe.contentWindow.document.body.appendChild(script1);
  6861. _iframe.contentWindow.document.body.appendChild(script2);
  6862. // _iframe.contentWindow.document.body.appendChild(script3);
  6863. _iframe.contentWindow.document.body.appendChild(script4);
  6864. })
  6865. if (onloadListener) {
  6866. _iframe.contentDocument.location.reload()
  6867. } else {
  6868. _iframe.contentDocument.location.reload()
  6869. }
  6870. } else if (str == 'mind') {
  6871. _iframe = _formdiv.querySelector('iframe')
  6872. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6873. _iframe.contentWindow.document.body.appendChild(script1);
  6874. _iframe.contentWindow.document.body.appendChild(script2);
  6875. _iframe.contentWindow.document.body.appendChild(script4);
  6876. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6877. })
  6878. if (onloadListener) {
  6879. _iframe.contentDocument.location.reload()
  6880. } else {
  6881. _iframe.contentDocument.location.reload()
  6882. }
  6883. } else {
  6884. _iframe.onload = () => {
  6885. _iframe.contentWindow.document.body.appendChild(script1);
  6886. _iframe.contentWindow.document.body.appendChild(script2);
  6887. // _iframe.contentWindow.document.body.appendChild(script3);
  6888. _iframe.contentWindow.document.body.appendChild(script4);
  6889. };
  6890. }
  6891. _jie.onclick = async() => {
  6892. let text = ''
  6893. if (aTool == 6) {
  6894. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6895. } else if (aTool == 3) {
  6896. text = await U.MD.D.I.getEditorContent(_iframe);
  6897. }
  6898. _loading.style.display = 'flex'
  6899. console.log(_loading);
  6900. var _ajs = _iframe.contentWindow.document.createElement("script");
  6901. _ajs.type = "text/javascript";
  6902. _ajs.innerHTML =
  6903. // 'console.log(' + _loading + ');\n' +
  6904. 'var _js = document.createElement("script");\n' +
  6905. '_js.type="text/javascript";\n' +
  6906. '_js.charset="UTF-8";\n' +
  6907. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6908. "_js.onload = function(){\n" +
  6909. ' var a = document.getElementsByTagName("img")\n' +
  6910. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6911. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6912. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6913. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6914. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6915. "beforeUpload_shishi(file," +
  6916. "'" +
  6917. _userid +
  6918. "'" +
  6919. ", " +
  6920. "'" +
  6921. _cid +
  6922. "'" +
  6923. ", " +
  6924. "'" +
  6925. _stage +
  6926. "'" +
  6927. ", " +
  6928. "'" +
  6929. _task +
  6930. "'" +
  6931. ", " +
  6932. "'" +
  6933. _tool +
  6934. "'" +
  6935. ", " +
  6936. "'" +
  6937. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6938. "'" +
  6939. ", " +
  6940. "'" +
  6941. aTool +
  6942. "'" +
  6943. ", " +
  6944. "`" +
  6945. text +
  6946. "`" +
  6947. ")\n" +
  6948. " });\n" +
  6949. "}\n" +
  6950. "document.head.appendChild(_js);\n";
  6951. _iframe.contentWindow.document.head.appendChild(_ajs);
  6952. }
  6953. }
  6954. //U.MD.D.I.openClick(str);
  6955. //如果有任务栏信息
  6956. // if (_taskbar) {
  6957. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6958. // }
  6959. }
  6960. U.MD.D.I.openApplicationJieStudio = function(str, cid, stage, task, tool) {
  6961. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6962. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6963. _userinfo = US.userInfo, //登录用户信息
  6964. _userid = US.userInfo.userid //登录用户id
  6965. let _iframe;
  6966. let _cid = cid,
  6967. _stage = stage,
  6968. _task = task,
  6969. _tool = tool;
  6970. var _jie = $$("div", {
  6971. "style": {
  6972. "position": "absolute",
  6973. "bottom": "50px",
  6974. "right": "50px",
  6975. "zIndex": "9999",
  6976. "backgroundColor": "#2268bc",
  6977. "color": "#fff",
  6978. "padding": "12px 20px",
  6979. "cursor": "pointer",
  6980. "borderRadius": "4px",
  6981. },
  6982. "innerHTML": "确认并提交"
  6983. })
  6984. let aTool = ''
  6985. let _loading = document.createElement('div')
  6986. _loading.style = "width:100%;height:100%;background:#00000000;position:absolute;top:0;left:0;z-index:99999999999999;display: none;justify-content: center;align-items: center;"
  6987. // _loading.id = "";
  6988. let _lchild = document.createElement('div')
  6989. let _limg = document.createElement('img')
  6990. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6991. _limg.style = "width: 26px;margin-right: 10px;"
  6992. _lchild.appendChild(_limg)
  6993. let _lspan = document.createElement('span')
  6994. _lspan.innerHTML = "上传中..."
  6995. _lchild.appendChild(_lspan)
  6996. _lchild.style = "color: rgb(255, 255, 255);padding: 15px;background: rgba(0, 0, 0, 0.44);font-size: 18px;display: flex;align-items: center;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);"
  6997. _loading.appendChild(_lchild)
  6998. var _box = $$('div', {
  6999. "style": {
  7000. "position": "relative",
  7001. "width": "100%",
  7002. "height": "100%",
  7003. },
  7004. })
  7005. _box.appendChild(_loading)
  7006. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7007. switch (str) {
  7008. case "whiteboard":
  7009. aTool = 1;
  7010. _iframe = $$("iframe", {
  7011. "frameborder": "no",
  7012. "border": "0",
  7013. "scrolling ": "no",
  7014. "style": {
  7015. "cssText": "border:0;width:100%;height:100%"
  7016. },
  7017. "src": "https://iwb.cocorobo.cn/"
  7018. })
  7019. _box.appendChild(_iframe);
  7020. _box.appendChild(_jie);
  7021. _formdiv = new U.UF.UI.form(
  7022. "电子白板",
  7023. _box, {
  7024. "id": "whiteboards" + cid + stage + task + tool,
  7025. "style": {
  7026. "width": "90%",
  7027. "height": "90%",
  7028. "overflow": 'hidden'
  7029. },
  7030. "onresize": function() {}
  7031. }, {
  7032. closecallback: function() {}
  7033. }, {
  7034. "style": {
  7035. "height": "36px"
  7036. }
  7037. }).form; //创建窗体
  7038. _taskbar = {
  7039. "id": str + _formdiv.id,
  7040. "style": {
  7041. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7042. },
  7043. "name": "电子白板",
  7044. "forms": _formdiv,
  7045. "click": function() {
  7046. U.MD.D.I.openApplication(str, obj, info);
  7047. }
  7048. }
  7049. break;
  7050. case "mind":
  7051. aTool = 3;
  7052. _iframe = $$("iframe", {
  7053. "frameborder": "no",
  7054. "border": "0",
  7055. "scrolling ": "no",
  7056. "style": {
  7057. "cssText": "border:0;width:100%;height:100%"
  7058. },
  7059. "src": "/kityminder-editor/dist/index.html"
  7060. });
  7061. _box.appendChild(_iframe);
  7062. _box.appendChild(_jie);
  7063. _formdiv = new U.UF.UI.form(
  7064. "思维导图",
  7065. _box, { //"/jsmind/example/demo.html"
  7066. "id": "minds" + cid + stage + task + tool,
  7067. "style": {
  7068. "width": "90%",
  7069. "height": "90%",
  7070. "overflow": 'hidden'
  7071. },
  7072. "onresize": function() {}
  7073. }, {
  7074. closecallback: function() {}
  7075. }, {
  7076. "style": {
  7077. "height": "36px"
  7078. }
  7079. }).form; //创建窗体
  7080. _taskbar = {
  7081. "id": str + _formdiv.id,
  7082. "style": {
  7083. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7084. },
  7085. "name": "思维导图",
  7086. "forms": _formdiv,
  7087. "click": function() {
  7088. U.MD.D.I.openApplication(str, obj, info);
  7089. }
  7090. }
  7091. break;
  7092. case "doc":
  7093. aTool = 6;
  7094. _iframe = $$("iframe", {
  7095. "frameborder": "no",
  7096. "border": "0",
  7097. "scrolling ": "no",
  7098. "style": {
  7099. "cssText": "border:0;width:100%;height:100%"
  7100. },
  7101. "src": "/Office/Word/WordEditArea.htm"
  7102. })
  7103. _box.appendChild(_iframe);
  7104. _box.appendChild(_jie);
  7105. _formdiv = new U.UF.UI.form(
  7106. "协同文档",
  7107. _box, {
  7108. "id": "docs" + cid + stage + task + tool,
  7109. "style": {
  7110. "width": "90%",
  7111. "height": "90%",
  7112. "overflow": 'hidden'
  7113. },
  7114. "onresize": function() {}
  7115. }, {
  7116. closecallback: function() {}
  7117. }, {
  7118. "style": {
  7119. "height": "36px"
  7120. }
  7121. }).form; //创建窗体
  7122. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  7123. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7124. })
  7125. _taskbar = {
  7126. "id": str + _formdiv.id,
  7127. "style": {
  7128. "backgroundImage": "url(/img/icon/doc.png)"
  7129. },
  7130. "name": "协同文档",
  7131. "forms": _formdiv,
  7132. "click": function() {
  7133. U.MD.D.I.openApplication(str, obj, info);
  7134. }
  7135. }
  7136. break;
  7137. }
  7138. const script1 = document.createElement("script");
  7139. script1.type = "text/javascript";
  7140. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7141. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7142. const script2 = document.createElement("script");
  7143. script2.type = "text/javascript";
  7144. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7145. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7146. const script3 = document.createElement("script");
  7147. script3.type = "text/javascript";
  7148. script3.charset = "UTF-8";
  7149. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7150. const script4 = document.createElement("script");
  7151. script4.type = "text/javascript";
  7152. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7153. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7154. if (_iframe) {
  7155. if (str == 'doc') {
  7156. _iframe = _formdiv.querySelector('iframe')
  7157. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7158. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7159. _iframe.contentWindow.document.body.appendChild(script1);
  7160. _iframe.contentWindow.document.body.appendChild(script2);
  7161. // _iframe.contentWindow.document.body.appendChild(script3);
  7162. _iframe.contentWindow.document.body.appendChild(script4);
  7163. })
  7164. if (onloadListener) {
  7165. _iframe.contentDocument.location.reload()
  7166. } else {
  7167. _iframe.contentDocument.location.reload()
  7168. }
  7169. } else if (str == 'mind') {
  7170. _iframe = _formdiv.querySelector('iframe')
  7171. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7172. _iframe.contentWindow.document.body.appendChild(script1);
  7173. _iframe.contentWindow.document.body.appendChild(script2);
  7174. _iframe.contentWindow.document.body.appendChild(script4);
  7175. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7176. })
  7177. if (onloadListener) {
  7178. _iframe.contentDocument.location.reload()
  7179. } else {
  7180. _iframe.contentDocument.location.reload()
  7181. }
  7182. } else {
  7183. _iframe.onload = () => {
  7184. _iframe.contentWindow.document.body.appendChild(script1);
  7185. _iframe.contentWindow.document.body.appendChild(script2);
  7186. // _iframe.contentWindow.document.body.appendChild(script3);
  7187. _iframe.contentWindow.document.body.appendChild(script4);
  7188. };
  7189. }
  7190. _jie.onclick = async() => {
  7191. let text = ''
  7192. if (aTool == 6) {
  7193. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7194. } else if (aTool == 3) {
  7195. text = await U.MD.D.I.getEditorContent(_iframe);
  7196. }
  7197. _loading.style.display = 'flex'
  7198. console.log(_loading);
  7199. var _ajs = _iframe.contentWindow.document.createElement("script");
  7200. _ajs.type = "text/javascript";
  7201. _ajs.innerHTML =
  7202. // 'console.log(' + _loading + ');\n' +
  7203. 'var _js = document.createElement("script");\n' +
  7204. '_js.type="text/javascript";\n' +
  7205. '_js.charset="UTF-8";\n' +
  7206. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7207. "_js.onload = function(){\n" +
  7208. ' var a = document.getElementsByTagName("img")\n' +
  7209. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7210. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7211. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7212. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7213. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7214. "beforeUpload_shishi(file," +
  7215. "'" +
  7216. _userid +
  7217. "'" +
  7218. ", " +
  7219. "'" +
  7220. _cid +
  7221. "'" +
  7222. ", " +
  7223. "'" +
  7224. _stage +
  7225. "'" +
  7226. ", " +
  7227. "'" +
  7228. _task +
  7229. "'" +
  7230. ", " +
  7231. "'" +
  7232. _tool +
  7233. "'" +
  7234. ", " +
  7235. "'" +
  7236. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7237. "'" +
  7238. ", " +
  7239. "'" +
  7240. aTool +
  7241. "'" +
  7242. ", " +
  7243. "`" +
  7244. text +
  7245. "`" +
  7246. ")\n" +
  7247. " });\n" +
  7248. "}\n" +
  7249. "document.head.appendChild(_js);\n";
  7250. _iframe.contentWindow.document.head.appendChild(_ajs);
  7251. }
  7252. }
  7253. //U.MD.D.I.openClick(str);
  7254. //如果有任务栏信息
  7255. // if (_taskbar) {
  7256. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7257. // }
  7258. }
  7259. U.MD.D.I.openApplicationYu = function(str, cid, stage, task, tool) {
  7260. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7261. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7262. _userinfo = US.userInfo, //登录用户信息
  7263. _userid = US.userInfo.userid //登录用户id
  7264. let _iframe;
  7265. let _cid = cid,
  7266. _stage = stage,
  7267. _task = task,
  7268. _tool = tool;
  7269. var _jie = $$("div", {
  7270. "style": {
  7271. "position": "absolute",
  7272. "bottom": "50px",
  7273. "right": "50px",
  7274. "zIndex": "9999",
  7275. "backgroundColor": "#2268bc",
  7276. "color": "#fff",
  7277. "padding": "12px 20px",
  7278. "cursor": "pointer",
  7279. "borderRadius": "4px",
  7280. },
  7281. "innerHTML": "上传模板"
  7282. })
  7283. let aTool = ''
  7284. let _loading = document.createElement('div')
  7285. _loading.style = "width:100%;height:100%;background:#00000000;position:absolute;top:0;left:0;z-index:99999999999999;display: none;justify-content: center;align-items: center;"
  7286. // _loading.id = "";
  7287. let _lchild = document.createElement('div')
  7288. let _limg = document.createElement('img')
  7289. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7290. _limg.style = "width: 26px;margin-right: 10px;"
  7291. _lchild.appendChild(_limg)
  7292. let _lspan = document.createElement('span')
  7293. _lspan.innerHTML = "上传中..."
  7294. _lchild.appendChild(_lspan)
  7295. _lchild.style = "color: rgb(255, 255, 255);padding: 15px;background: rgba(0, 0, 0, 0.44);font-size: 18px;display: flex;align-items: center;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);"
  7296. _loading.appendChild(_lchild)
  7297. var _box = $$('div', {
  7298. "style": {
  7299. "position": "relative",
  7300. "width": "100%",
  7301. "height": "100%",
  7302. },
  7303. })
  7304. _box.appendChild(_loading)
  7305. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7306. switch (str) {
  7307. case "whiteboard":
  7308. aTool = 1;
  7309. _iframe = $$("iframe", {
  7310. "frameborder": "no",
  7311. "border": "0",
  7312. "scrolling ": "no",
  7313. "style": {
  7314. "cssText": "border:0;width:100%;height:100%"
  7315. },
  7316. "src": "https://iwb.cocorobo.cn/"
  7317. })
  7318. _box.appendChild(_iframe);
  7319. _box.appendChild(_jie);
  7320. _formdiv = new U.UF.UI.form(
  7321. "电子白板",
  7322. _box, {
  7323. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7324. "style": {
  7325. "width": "90%",
  7326. "height": "90%",
  7327. "overflow": 'hidden'
  7328. },
  7329. "onresize": function() {}
  7330. }, {
  7331. closecallback: function() {}
  7332. }, {
  7333. "style": {
  7334. "height": "36px"
  7335. }
  7336. }).form; //创建窗体
  7337. _taskbar = {
  7338. "id": str + _formdiv.id,
  7339. "style": {
  7340. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7341. },
  7342. "name": "电子白板",
  7343. "forms": _formdiv,
  7344. "click": function() {
  7345. U.MD.D.I.openApplication(str, obj, info);
  7346. }
  7347. }
  7348. break;
  7349. case "mind":
  7350. aTool = 3;
  7351. _iframe = $$("iframe", {
  7352. "frameborder": "no",
  7353. "border": "0",
  7354. "scrolling ": "no",
  7355. "style": {
  7356. "cssText": "border:0;width:100%;height:100%"
  7357. },
  7358. "src": "/kityminder-editor/dist/index.html"
  7359. });
  7360. _box.appendChild(_iframe);
  7361. _box.appendChild(_jie);
  7362. _formdiv = new U.UF.UI.form(
  7363. "思维导图",
  7364. _box, { //"/jsmind/example/demo.html"
  7365. "id": "minds_Yu" + cid + stage + task + tool,
  7366. "style": {
  7367. "width": "90%",
  7368. "height": "90%",
  7369. "overflow": 'hidden'
  7370. },
  7371. "onresize": function() {}
  7372. }, {
  7373. closecallback: function() {}
  7374. }, {
  7375. "style": {
  7376. "height": "36px"
  7377. }
  7378. }).form; //创建窗体
  7379. _taskbar = {
  7380. "id": str + _formdiv.id,
  7381. "style": {
  7382. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7383. },
  7384. "name": "思维导图",
  7385. "forms": _formdiv,
  7386. "click": function() {
  7387. U.MD.D.I.openApplication(str, obj, info);
  7388. }
  7389. }
  7390. break;
  7391. case "doc":
  7392. aTool = 6;
  7393. _iframe = $$("iframe", {
  7394. "frameborder": "no",
  7395. "border": "0",
  7396. "scrolling ": "no",
  7397. "style": {
  7398. "cssText": "border:0;width:100%;height:100%"
  7399. },
  7400. "src": "/Office/Word/WordEditArea.htm"
  7401. })
  7402. _box.appendChild(_iframe);
  7403. _box.appendChild(_jie);
  7404. _formdiv = new U.UF.UI.form(
  7405. "协同文档",
  7406. _box, {
  7407. "id": "docs_Yu" + cid + stage + task + tool,
  7408. "style": {
  7409. "width": "90%",
  7410. "height": "90%",
  7411. "overflow": 'hidden'
  7412. },
  7413. "onresize": function() {}
  7414. }, {
  7415. closecallback: function() {}
  7416. }, {
  7417. "style": {
  7418. "height": "36px"
  7419. }
  7420. }).form; //创建窗体
  7421. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  7422. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7423. })
  7424. _taskbar = {
  7425. "id": str + _formdiv.id,
  7426. "style": {
  7427. "backgroundImage": "url(/img/icon/doc.png)"
  7428. },
  7429. "name": "协同文档",
  7430. "forms": _formdiv,
  7431. "click": function() {
  7432. U.MD.D.I.openApplication(str, obj, info);
  7433. }
  7434. }
  7435. break;
  7436. case "CocoPi":
  7437. aTool = 57;
  7438. _iframe = $$("iframe", {
  7439. "allowpaymentrequest": "allowpaymentrequest",
  7440. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7441. "webkitallowfullscreen": "",
  7442. "mozallowfullscreen": "",
  7443. "frameborder": "no",
  7444. "border": "0",
  7445. "scrolling ": "no",
  7446. "style": {
  7447. "cssText": "border:0;width:100%;height:100%"
  7448. },
  7449. "src": "https://pi.cocorobo.cn/"
  7450. })
  7451. _box.appendChild(_iframe);
  7452. _box.appendChild(_jie);
  7453. _formdiv = new U.UF.UI.form(
  7454. "CocoPi",
  7455. _box, {
  7456. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7457. "style": {
  7458. "width": "90%",
  7459. "height": "90%",
  7460. "overflow": 'hidden'
  7461. },
  7462. "onresize": function() {}
  7463. }, {
  7464. closecallback: function() {}
  7465. }, {
  7466. "style": {
  7467. "height": "36px"
  7468. }
  7469. }).form; //创建窗体
  7470. _taskbar = {
  7471. "id": str + _formdiv.id,
  7472. "style": {
  7473. "backgroundImage": "url(/img/icon/cocopi.png)"
  7474. },
  7475. "name": "CocoPi",
  7476. "forms": _formdiv,
  7477. "click": function() {
  7478. U.MD.D.I.openApplication(str, obj, info);
  7479. }
  7480. }
  7481. break;
  7482. }
  7483. if (_iframe) {
  7484. if (str == 'doc') {
  7485. _iframe = _formdiv.querySelector('iframe')
  7486. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7487. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7488. })
  7489. if (onloadListener) {
  7490. _iframe.contentDocument.location.reload()
  7491. } else {
  7492. _iframe.contentDocument.location.reload()
  7493. }
  7494. } else if (str == 'mind') {
  7495. _iframe = _formdiv.querySelector('iframe')
  7496. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7497. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7498. })
  7499. if (onloadListener) {
  7500. _iframe.contentDocument.location.reload()
  7501. } else {
  7502. _iframe.contentDocument.location.reload()
  7503. }
  7504. } else if (str == 'whiteboard') {
  7505. _iframe = _formdiv.querySelector('iframe')
  7506. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7507. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7508. })
  7509. if (onloadListener) {
  7510. _iframe.contentDocument.location.reload()
  7511. } else {
  7512. _iframe.contentDocument.location.reload()
  7513. }
  7514. } else if (str == 'CocoPi') {
  7515. _iframe = _formdiv.querySelector('iframe')
  7516. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7517. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7518. })
  7519. if (onloadListener) {
  7520. _iframe.contentDocument.location.reload()
  7521. } else {
  7522. _iframe.contentDocument.location.reload()
  7523. }
  7524. } else {
  7525. _iframe.onload = () => {};
  7526. }
  7527. _jie.onclick = async() => {
  7528. let text = ''
  7529. let type = '2'
  7530. if (aTool == 1) {
  7531. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7532. type = '3'
  7533. } else if (aTool == 6) {
  7534. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7535. type = '1'
  7536. } else if (aTool == 3) {
  7537. text = await U.MD.D.I.getEditorContent(_iframe);
  7538. type = '2'
  7539. } else if (aTool == 57) {
  7540. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7541. type = '4'
  7542. }
  7543. _loading.style.display = 'flex'
  7544. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7545. }
  7546. }
  7547. //U.MD.D.I.openClick(str);
  7548. //如果有任务栏信息
  7549. // if (_taskbar) {
  7550. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7551. // }
  7552. }
  7553. U.MD.D.I.getContents = function(cid, s, task, t, uid, type, iframe) {
  7554. var xmlhttp;
  7555. var Mac, Sn, DeviceId
  7556. if (window.XMLHttpRequest) {
  7557. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7558. xmlhttp = new XMLHttpRequest();
  7559. } else {
  7560. // IE6, IE5 浏览器执行代码
  7561. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7562. }
  7563. xmlhttp.onreadystatechange = function() {
  7564. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7565. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7566. // resolve(res.value[0][0].text);
  7567. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7568. }
  7569. }
  7570. }
  7571. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7572. xmlhttp.send();
  7573. }
  7574. U.MD.D.I.getContents2 = function(cid, s, task, t, uid, type, iframe) {
  7575. var xmlhttp;
  7576. var Mac, Sn, DeviceId
  7577. if (window.XMLHttpRequest) {
  7578. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7579. xmlhttp = new XMLHttpRequest();
  7580. } else {
  7581. // IE6, IE5 浏览器执行代码
  7582. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7583. }
  7584. xmlhttp.onreadystatechange = function() {
  7585. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7586. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7587. // resolve(res.value[0][0].text);
  7588. if (type == '2') {
  7589. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7590. } else if (type == '3') {
  7591. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7592. } else if (type == '4') {
  7593. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7594. }
  7595. } else {
  7596. if (type == '2') {
  7597. iframe.contentWindow.editor.minder.importData('json', '')
  7598. } else if (type == '3') {
  7599. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7600. } else if (type == '4') {
  7601. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7602. }
  7603. }
  7604. }
  7605. }
  7606. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7607. xmlhttp.send();
  7608. }
  7609. U.MD.D.I.setContents = function(cid, s, task, t, uid, type, text, loading, span) {
  7610. var xmlhttp;
  7611. var Mac, Sn, DeviceId
  7612. if (window.XMLHttpRequest) {
  7613. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7614. xmlhttp = new XMLHttpRequest();
  7615. } else {
  7616. // IE6, IE5 浏览器执行代码
  7617. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7618. }
  7619. xmlhttp.onreadystatechange = function() {
  7620. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7621. if (xmlhttp.response) {
  7622. // resolve(res.value[0][0].text);
  7623. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7624. // $(fileInput).val('');
  7625. // });
  7626. span.innerHTML = '上传成功'
  7627. setTimeout(() => {
  7628. loading.style.display = 'none'
  7629. }, 1000);
  7630. }
  7631. }
  7632. }
  7633. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7634. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7635. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7636. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7637. // 设置请求头,表示请求体的编码格式
  7638. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7639. // 设置请求体,使用url-encoded格式的数据
  7640. }
  7641. U.MD.D.I.openApplicationUpload = function(str, cid, stage, task, tool) {
  7642. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7643. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7644. _userinfo = US.userInfo, //登录用户信息
  7645. _userid = US.userInfo.userid //登录用户id
  7646. let _iframe;
  7647. let _cid = cid,
  7648. _stage = stage,
  7649. _task = task,
  7650. _tool = tool;
  7651. var _jie = $$("div", {
  7652. "style": {
  7653. "position": "absolute",
  7654. "bottom": "50px",
  7655. "right": "50px",
  7656. "zIndex": "9999",
  7657. "backgroundColor": "#2268bc",
  7658. "color": "#fff",
  7659. "padding": "12px 20px",
  7660. "cursor": "pointer",
  7661. "borderRadius": "4px",
  7662. },
  7663. "innerHTML": "提交作业"
  7664. })
  7665. let aTool = ''
  7666. let _loading = document.createElement('div')
  7667. _loading.style = "width:100%;height:100%;background:#00000000;position:absolute;top:0;left:0;z-index:99999999999999;display: none;justify-content: center;align-items: center;"
  7668. // _loading.id = "";
  7669. let _lchild = document.createElement('div')
  7670. let _limg = document.createElement('img')
  7671. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7672. _limg.style = "width: 26px;margin-right: 10px;"
  7673. _lchild.appendChild(_limg)
  7674. let _lspan = document.createElement('span')
  7675. _lspan.innerHTML = "上传中..."
  7676. _lchild.appendChild(_lspan)
  7677. _lchild.style = "color: rgb(255, 255, 255);padding: 15px;background: rgba(0, 0, 0, 0.44);font-size: 18px;display: flex;align-items: center;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);"
  7678. _loading.appendChild(_lchild)
  7679. var _box = $$('div', {
  7680. "style": {
  7681. "position": "relative",
  7682. "width": "100%",
  7683. "height": "100%",
  7684. },
  7685. })
  7686. _box.appendChild(_loading)
  7687. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7688. switch (str) {
  7689. case "CocoPi":
  7690. aTool = 57;
  7691. _iframe = $$("iframe", {
  7692. "allowpaymentrequest": "allowpaymentrequest",
  7693. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7694. "webkitallowfullscreen": "",
  7695. "mozallowfullscreen": "",
  7696. "frameborder": "no",
  7697. "border": "0",
  7698. "scrolling ": "no",
  7699. "style": {
  7700. "cssText": "border:0;width:100%;height:100%"
  7701. },
  7702. "src": "https://pi.cocorobo.cn/"
  7703. })
  7704. _box.appendChild(_iframe);
  7705. _box.appendChild(_jie);
  7706. _formdiv = new U.UF.UI.form(
  7707. "CocoPi",
  7708. _box, {
  7709. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7710. "style": {
  7711. "width": "90%",
  7712. "height": "90%",
  7713. "overflow": 'hidden'
  7714. },
  7715. "onresize": function() {}
  7716. }, {
  7717. closecallback: function() {}
  7718. }, {
  7719. "style": {
  7720. "height": "36px"
  7721. }
  7722. }).form; //创建窗体
  7723. _taskbar = {
  7724. "id": str + _formdiv.id,
  7725. "style": {
  7726. "backgroundImage": "url(/img/icon/cocopi.png)"
  7727. },
  7728. "name": "CocoPi",
  7729. "forms": _formdiv,
  7730. "click": function() {
  7731. U.MD.D.I.openApplication(str, obj, info);
  7732. }
  7733. }
  7734. break;
  7735. }
  7736. if (_iframe) {
  7737. if (str == 'CocoPi') {
  7738. _iframe = _formdiv.querySelector('iframe')
  7739. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7740. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7741. })
  7742. if (onloadListener) {
  7743. _iframe.contentDocument.location.reload()
  7744. } else {
  7745. _iframe.contentDocument.location.reload()
  7746. }
  7747. }
  7748. _jie.onclick = async() => {
  7749. let text = ''
  7750. if (aTool == 57) {
  7751. text = _iframe.contentWindow.getLoadXmlStr()
  7752. }
  7753. _loading.style.display = 'flex'
  7754. console.log(_loading);
  7755. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7756. _loading.style.display = 'none'
  7757. let _div = document.createElement('div')
  7758. _div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
  7759. let _inner = document.createElement('div')
  7760. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7761. _inner.innerHTML = "上传成功"
  7762. _div.appendChild(_inner)
  7763. _iframe.contentWindow.window.document.body.appendChild(_div)
  7764. _div.onclick = () => {
  7765. _iframe.contentWindow.window.document.body.removeChild(_div)
  7766. }
  7767. setTimeout(() => {
  7768. _iframe.contentWindow.window.document.body.removeChild(_div)
  7769. }, 1000);
  7770. }, [], { "type": "POST", "withCredentials": true });
  7771. }
  7772. }
  7773. }
  7774. U.MD.D.I.openApplicationTeacherUpload = function(str, cid, stage, task, tool, student) {
  7775. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7776. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7777. _userid = student.userid, //登录用户id
  7778. _username = student.student //用户名字
  7779. let _iframe;
  7780. let _cid = cid,
  7781. _stage = stage,
  7782. _task = task,
  7783. _tool = tool;
  7784. var _jie = $$("div", {
  7785. "style": {
  7786. "position": "absolute",
  7787. "bottom": "50px",
  7788. "right": "50px",
  7789. "zIndex": "9999",
  7790. "backgroundColor": "#2268bc",
  7791. "color": "#fff",
  7792. "padding": "12px 20px",
  7793. "cursor": "pointer",
  7794. "borderRadius": "4px",
  7795. },
  7796. "innerHTML": "提交作业"
  7797. })
  7798. let aTool = ''
  7799. let _loading = document.createElement('div')
  7800. _loading.style = "width:100%;height:100%;background:#00000000;position:absolute;top:0;left:0;z-index:99999999999999;display: none;justify-content: center;align-items: center;"
  7801. // _loading.id = "";
  7802. let _lchild = document.createElement('div')
  7803. let _limg = document.createElement('img')
  7804. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7805. _limg.style = "width: 26px;margin-right: 10px;"
  7806. _lchild.appendChild(_limg)
  7807. let _lspan = document.createElement('span')
  7808. _lspan.innerHTML = "上传中..."
  7809. _lchild.appendChild(_lspan)
  7810. _lchild.style = "color: rgb(255, 255, 255);padding: 15px;background: rgba(0, 0, 0, 0.44);font-size: 18px;display: flex;align-items: center;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);"
  7811. _loading.appendChild(_lchild)
  7812. var _box = $$('div', {
  7813. "style": {
  7814. "position": "relative",
  7815. "width": "100%",
  7816. "height": "100%",
  7817. },
  7818. })
  7819. _box.appendChild(_loading)
  7820. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7821. switch (str) {
  7822. case "CocoPi":
  7823. aTool = 57;
  7824. _iframe = $$("iframe", {
  7825. "allowpaymentrequest": "allowpaymentrequest",
  7826. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7827. "webkitallowfullscreen": "",
  7828. "mozallowfullscreen": "",
  7829. "frameborder": "no",
  7830. "border": "0",
  7831. "scrolling ": "no",
  7832. "style": {
  7833. "cssText": "border:0;width:100%;height:100%"
  7834. },
  7835. "src": "https://pi.cocorobo.cn/"
  7836. })
  7837. _box.appendChild(_iframe);
  7838. _box.appendChild(_jie);
  7839. _formdiv = new U.UF.UI.form(
  7840. "CocoPi-" + _username,
  7841. _box, {
  7842. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7843. "style": {
  7844. "width": "90%",
  7845. "height": "90%",
  7846. "overflow": 'hidden'
  7847. },
  7848. "onresize": function() {}
  7849. }, {
  7850. closecallback: function() {}
  7851. }, {
  7852. "style": {
  7853. "height": "36px"
  7854. }
  7855. }).form; //创建窗体
  7856. _taskbar = {
  7857. "id": str + _formdiv.id,
  7858. "style": {
  7859. "backgroundImage": "url(/img/icon/cocopi.png)"
  7860. },
  7861. "name": "CocoPi",
  7862. "forms": _formdiv,
  7863. "click": function() {
  7864. U.MD.D.I.openApplication(str, obj, info);
  7865. }
  7866. }
  7867. break;
  7868. }
  7869. if (_iframe) {
  7870. if (str == 'CocoPi') {
  7871. _iframe = _formdiv.querySelector('iframe')
  7872. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7873. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7874. })
  7875. if (onloadListener) {
  7876. _iframe.contentDocument.location.reload()
  7877. } else {
  7878. _iframe.contentDocument.location.reload()
  7879. }
  7880. }
  7881. _jie.onclick = async() => {
  7882. let text = ''
  7883. if (aTool == 57) {
  7884. text = _iframe.contentWindow.getLoadXmlStr()
  7885. }
  7886. _loading.style.display = 'flex'
  7887. console.log(_loading);
  7888. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7889. _loading.style.display = 'none'
  7890. let _div = document.createElement('div')
  7891. _div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
  7892. let _inner = document.createElement('div')
  7893. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7894. _inner.innerHTML = "上传成功"
  7895. _div.appendChild(_inner)
  7896. _iframe.contentWindow.window.document.body.appendChild(_div)
  7897. _div.onclick = () => {
  7898. _iframe.contentWindow.window.document.body.removeChild(_div)
  7899. }
  7900. setTimeout(() => {
  7901. _iframe.contentWindow.window.document.body.removeChild(_div)
  7902. }, 1000);
  7903. }, [], { "type": "POST", "withCredentials": true });
  7904. }
  7905. }
  7906. }
  7907. U.MD.D.I.getUploadContent = function(cid, s, task, t, uid, atool, type, iframe) {
  7908. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function(res) {
  7909. if (res.value[0].length > 0) {
  7910. if (atool == 57) {
  7911. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7912. }
  7913. } else {
  7914. if (atool == 57) {
  7915. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7916. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7917. }
  7918. }
  7919. }, [], { "type": "POST", "withCredentials": true });
  7920. }