DeskTop.js 495 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246
  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. { "Name": "AI Chat+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  21. ];
  22. //极简模式
  23. U.MD.D.I.easyDeskIcon = [
  24. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  25. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  26. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  27. { "Name": "Students Management", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  28. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  29. ];
  30. //获取教师测试英语组织图标
  31. U.MD.D.I.hkTeacherEnglishDeskIcon = [
  32. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  33. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  34. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  35. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  36. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  37. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  38. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  39. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  40. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  41. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  42. ];
  43. //获取学生测试英语组织图标
  44. U.MD.D.I.hkStudentEnglishDeskIcon = [
  45. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  46. ];
  47. //教师桌面图标的全局变量
  48. U.MD.D.I.teacherDeskIcon2 = [
  49. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  50. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  51. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  52. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  53. // { "Name": "Project Planning", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  54. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  55. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  56. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  57. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  58. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  59. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  60. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  61. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  62. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  63. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  64. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  65. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  66. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  67. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  68. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  69. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  70. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  71. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  72. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  73. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  74. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  75. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  76. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  77. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  78. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  79. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  80. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  81. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  82. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  83. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  84. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  85. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  86. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  87. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  88. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  89. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  90. ];
  91. U.MD.D.I.studentDeskIcon = [
  92. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  93. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  94. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  95. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  96. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  97. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  98. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  99. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  100. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  101. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  102. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  103. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  104. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  105. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  106. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  107. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  108. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  109. // { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  110. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  111. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  112. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  113. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  114. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  115. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  116. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  117. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  118. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  119. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  120. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  121. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  122. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  123. ];
  124. U.MD.D.I.studentDeskIcon2 = [
  125. // { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  126. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  127. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  128. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  129. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  130. ]
  131. U.MD.D.I.studentDeskIcon3 = [
  132. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  133. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  134. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  135. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  136. ]
  137. U.MD.D.I.schoolDeskIcon = [
  138. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  139. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  140. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  141. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  142. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  143. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  144. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  145. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  146. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  147. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  148. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  149. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  150. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  151. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  152. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  153. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  154. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  155. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  156. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  157. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  158. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  159. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  160. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  161. ];
  162. U.MD.D.I.orgDeskIcon = [
  163. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  164. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  165. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  166. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  167. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  168. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  169. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  170. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  171. ];
  172. U.MD.D.I.orgStemDeskIcon = [
  173. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  174. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  175. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  176. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  177. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  178. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  179. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  180. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  181. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  182. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  183. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  184. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  185. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  186. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  187. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  188. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  189. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  190. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  191. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  192. ];
  193. U.MD.D.I.szulsDeskIcon = [
  194. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  195. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  196. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  197. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  198. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  199. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  200. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  201. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  202. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  203. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  204. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  205. ];
  206. U.MD.D.I.hanDeskIcon = [
  207. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  208. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  209. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  210. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  211. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  212. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  213. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  214. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  215. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  216. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  217. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  218. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  219. ];
  220. U.MD.D.I.GMteacherDeskIcon = [
  221. { "Name": "Course Planning", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  222. { "Name": "Course Library", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  223. { "Name": "Students Management", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  224. { "Name": "Course Assessment", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  225. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  226. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  227. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  228. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  229. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  230. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  231. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  232. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  233. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  234. ];
  235. U.MD.D.I.GMstudentDeskIcon = [
  236. { "Name": "Course Library", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  237. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  238. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  239. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  240. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  241. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  242. ];
  243. //北师大
  244. U.MD.D.I.BSDNSteacherDeskIcon = [
  245. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  246. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  247. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  248. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  249. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  250. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  251. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  252. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  253. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  254. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  255. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  256. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  257. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  258. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  259. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  260. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  261. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  262. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  263. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  264. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  265. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  266. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  267. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  268. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  269. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  270. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  271. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  272. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  273. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  274. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  275. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  276. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  277. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  278. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  279. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  280. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  281. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  282. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  283. ];
  284. //松山湖
  285. U.MD.D.I.SONGteacherDeskIcon = [
  286. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  287. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  288. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  289. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  290. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  291. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  292. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  293. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  294. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  295. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  296. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  297. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  298. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  299. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  300. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  301. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  302. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  303. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  304. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  305. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  306. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  307. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  308. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  309. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  310. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  311. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  312. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  313. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  314. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  315. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  316. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  317. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  318. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  319. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  320. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  321. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  322. ];
  323. U.MD.D.I.tcStudentDeskIcon = [
  324. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  325. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  326. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  327. // { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  328. ];
  329. U.MD.D.I.tcTeacherDeskIcon = [
  330. // { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  331. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  332. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  333. // { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  334. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  335. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  336. { "Name": "Students Management", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  337. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  338. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  339. // { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  340. ];
  341. U.MD.D.I.tcOrganizerDeskIcon = [
  342. // { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  343. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  344. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  345. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  346. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  347. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  348. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  349. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  350. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  351. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  352. // { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  353. ];
  354. U.MD.D.I.szscStudentDeskIcon = [
  355. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  356. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  357. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  358. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  359. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  360. ];
  361. U.MD.D.I.szscTeacherDeskIcon = [
  362. // { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  363. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  364. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  365. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  366. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  367. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  368. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  369. { "Name": "Students Management", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  370. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  371. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  372. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  373. ];
  374. U.MD.D.I.szscOrganizerDeskIcon = [
  375. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  376. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  377. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  378. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  379. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  380. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  381. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  382. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  383. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  384. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  385. ];
  386. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  387. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  388. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  389. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  390. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  391. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  392. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  393. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  394. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  395. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  396. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  397. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  398. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  399. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  400. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  401. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  402. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  403. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  404. ];
  405. U.MD.D.I.wankeAdminDeskIcon = [
  406. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  407. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  408. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  409. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  410. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  411. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  412. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  413. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  414. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  415. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  416. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  417. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  418. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  419. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  420. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  421. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  422. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  423. ];
  424. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  425. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  426. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  427. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  428. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  429. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  430. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  431. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  432. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  433. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  434. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  435. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  436. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  437. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  438. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  439. ];
  440. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  441. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  442. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  443. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  444. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  445. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  446. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  447. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  448. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  449. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  450. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  451. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  452. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  453. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  454. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  455. ];
  456. //明德教师桌面图标的全局变量
  457. U.MD.D.I.MingdeTeacherDeskIcon = [
  458. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  459. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  460. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  461. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  462. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  463. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  464. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  465. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  466. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  467. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  468. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  469. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  470. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  471. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  472. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  473. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  474. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  475. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  476. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  477. // { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  478. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  479. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  480. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  481. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  482. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  483. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  484. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  485. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  486. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  487. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  488. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  489. ];
  490. //97c4ee8b-d010-4042-986d-e9d3c217264f
  491. //教师桌面图标的全局变量
  492. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  493. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  494. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  495. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  496. // { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  497. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  498. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  499. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  500. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  501. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  502. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  503. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  504. ];
  505. //福田
  506. U.MD.D.I.futianTeacherDeskIcon = [
  507. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  508. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  509. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  510. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  511. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  512. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  513. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  514. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  515. // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  516. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  517. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  518. ];
  519. //福田
  520. U.MD.D.I.futianAdminDeskIcon = [
  521. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  522. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  523. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  524. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  525. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  526. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  527. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  528. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  529. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  530. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  531. ];
  532. //lotech
  533. U.MD.D.I.lotechTeacherDeskIcon = [
  534. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  535. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  536. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  537. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  538. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  539. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  540. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  541. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  542. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  543. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  544. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  545. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  546. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  547. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  548. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  549. ];
  550. //龙华中心小学教师桌面图标的全局变量
  551. U.MD.D.I.longhuateacherDeskIcon = [
  552. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  553. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  554. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  555. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  556. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  557. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  558. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  559. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  560. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  561. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  562. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  563. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  564. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  565. ];
  566. //教科院实小教师桌面图标的全局变量
  567. U.MD.D.I.siesteacherDeskIcon = [
  568. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  569. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  570. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  571. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  572. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  573. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  574. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  575. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  576. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  577. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  578. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  579. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  580. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  581. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  582. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  583. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  584. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  585. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  586. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  587. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  588. ];
  589. //教科院实小教师桌面图标的全局变量
  590. U.MD.D.I.siesStudentDeskIcon = [
  591. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  592. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  593. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  594. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  595. ];
  596. //福田
  597. U.MD.D.I.gdjgTeacherDeskIcon = [
  598. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  599. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  600. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  601. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  602. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  603. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  604. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  605. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  606. // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  607. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  608. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  609. ];
  610. //gdjg
  611. U.MD.D.I.gdjgAdminDeskIcon = [
  612. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  613. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  614. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  615. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  616. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  617. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  618. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  619. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  620. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  621. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  622. ];
  623. //hk
  624. U.MD.D.I.hkteacherDeskIcon = [
  625. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  626. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  627. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  628. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  629. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  630. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  631. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  632. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  633. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  634. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  635. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  636. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  637. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  638. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  639. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  640. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  641. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  642. ];
  643. //hk
  644. U.MD.D.I.hkStudentDeskIcon = [
  645. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  646. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  647. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  648. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  649. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  650. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  651. ];
  652. //香海正覺蓮社佛教正覺中學
  653. U.MD.D.I.hkZJLSteacherDeskIcon = [
  654. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  655. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  656. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  657. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  658. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  659. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  660. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  661. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  662. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  663. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  664. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  665. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  666. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  667. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  668. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  669. ];
  670. //香海正覺蓮社佛教正覺中學
  671. U.MD.D.I.hkZJLSStudentDeskIcon = [
  672. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  673. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  674. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  675. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  676. ];
  677. //云海
  678. U.MD.D.I.yunhaiTeacherDeskIcon = [
  679. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  680. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  681. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  682. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  683. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  684. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  685. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  686. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  687. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  688. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  689. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  690. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  691. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  692. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  693. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  694. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  695. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  696. ];
  697. //福田
  698. U.MD.D.I.heyuanTeacherDeskIcon = [
  699. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  700. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  701. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  702. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  703. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  704. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  705. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  706. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  707. // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  708. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  709. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  710. ];
  711. //福田
  712. U.MD.D.I.heyuanAdminDeskIcon = [
  713. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  714. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  715. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  716. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  717. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  718. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  719. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  720. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  721. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  722. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  723. ];
  724. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  725. U.MD.D.I.szherTeacherDeskIcon = [
  726. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  727. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  728. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  729. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  730. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  731. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  732. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  733. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  734. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  735. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  736. ];
  737. //dsei
  738. U.MD.D.I.dseiTeacherDeskIcon = [
  739. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  740. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  741. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  742. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  743. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  744. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  745. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  746. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  747. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  748. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  749. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  750. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  751. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  752. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  753. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  754. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  755. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  756. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  757. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  758. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  759. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  760. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  761. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  762. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  763. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  764. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  765. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  766. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  767. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  768. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  769. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  770. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  771. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  772. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  773. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  774. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  775. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  776. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  777. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  778. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  779. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  780. ];
  781. //dsei
  782. U.MD.D.I.dseiAdminDeskIcon = [
  783. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  784. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  785. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  786. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  787. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  788. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  789. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  790. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  791. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  792. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  793. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  794. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  795. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  796. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  797. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  798. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  799. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  800. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  801. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  802. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  803. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  804. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  805. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  806. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  807. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  808. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  809. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  810. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  811. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  812. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  813. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  814. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  815. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  816. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  817. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  818. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  819. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  820. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  821. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  822. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  823. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  824. ];
  825. //dsei
  826. U.MD.D.I.dseiStudentDeskIcon = [
  827. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  828. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  829. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  830. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  831. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  832. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  833. ];
  834. //未来教育基地
  835. U.MD.D.I.szjkyTeacherDeskIcon = [
  836. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  837. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  838. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  839. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  840. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  841. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  842. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  843. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  844. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  845. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  846. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  847. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  848. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  849. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  850. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  851. ];
  852. //未来教育基地
  853. U.MD.D.I.szjkyAdminDeskIcon = [
  854. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  855. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  856. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  857. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  858. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  859. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  860. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  861. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  862. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  863. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  864. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  865. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  866. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  867. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  868. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  869. ];
  870. //未来教育基地
  871. U.MD.D.I.szjkyStudentDeskIcon = [
  872. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  873. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  874. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  875. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  876. ];
  877. //成华教育局
  878. U.MD.D.I.chjyjTeacherDeskIcon = [
  879. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  880. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  881. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  882. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  883. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  884. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  885. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  886. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  887. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  888. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  889. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  890. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  891. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  892. ];
  893. //成华教育局chjyj
  894. U.MD.D.I.chjyjAdminDeskIcon = [
  895. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  896. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  897. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  898. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  899. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  900. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  901. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  902. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  903. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  904. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  905. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  906. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  907. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  908. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  909. ];
  910. //成华教育局chjyj
  911. U.MD.D.I.chjyjStudentDeskIcon = [
  912. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  913. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  914. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  915. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  916. ];
  917. //tpc
  918. U.MD.D.I.tpcStudentDeskIcon = [
  919. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  920. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  921. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  922. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  923. ];
  924. //tpc
  925. U.MD.D.I.tpcTeacherDeskIcon = [
  926. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  927. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  928. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  929. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  930. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  931. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  932. ];
  933. //tpc
  934. U.MD.D.I.tpcAdminDeskIcon = [
  935. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  936. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  937. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  938. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  939. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  940. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  941. ];
  942. //THU-IOE
  943. U.MD.D.I.thuioeTeacherDeskIcon = [
  944. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  945. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  946. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  947. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  948. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  949. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  950. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  951. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  952. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  953. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  954. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  955. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  956. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  957. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  958. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  959. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  960. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  961. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  962. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  963. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  964. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  965. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  966. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  967. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  968. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  969. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  970. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  971. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  972. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  973. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  974. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  975. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  976. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  977. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  978. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  979. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  980. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  981. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  982. ];
  983. //THU-IOE
  984. U.MD.D.I.thuioeStudentDeskIcon = [
  985. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  986. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  987. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  988. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  989. ];
  990. //jccssyl
  991. U.MD.D.I.jccssylTeacherDeskIcon = [
  992. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  993. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  994. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  995. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  996. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  997. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  998. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  999. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1000. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1001. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1002. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1003. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1004. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1005. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1006. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1007. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1008. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1009. ];
  1010. //jccssyl
  1011. U.MD.D.I.jccssylStudentDeskIcon = [
  1012. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1013. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1014. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1015. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1016. ];
  1017. //#region 桌面初始化a
  1018. /**
  1019. * 初始化桌面的起始函数
  1020. *
  1021. */
  1022. U.MD.D.I.init = function() {
  1023. if ($("#U_MD_D_K")[0]) {
  1024. //初始化桌面图标
  1025. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1026. // var clickUrl = ':12588/requestIp.php';
  1027. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1028. // U.MD.D.I.Ip = data;
  1029. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1030. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1031. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1032. // })
  1033. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1034. // })
  1035. }
  1036. }
  1037. /**
  1038. * 模式切换
  1039. *
  1040. */
  1041. U.MD.D.I.ModeCheck = function(type) {
  1042. if (US.Config.type == type) {
  1043. return
  1044. }
  1045. US.Config.type = type
  1046. $('.U_PBL_Check .active')[0].className = ''
  1047. if (type == 1) {
  1048. $('.U_PBL_Check div')[0].className = 'active'
  1049. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1050. } else {
  1051. $('.U_PBL_Check div')[1].className = 'active'
  1052. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1053. }
  1054. //初始化桌面图标
  1055. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1056. if (type == 2) {
  1057. U.MD.D.I.openApplication("project")
  1058. }
  1059. }
  1060. /**
  1061. * 隐藏任务栏
  1062. *
  1063. * @param {element} 桌面元素
  1064. */
  1065. U.MD.D.I.hiddenTaskbar = function(el) {
  1066. //任务栏位置变小
  1067. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1068. //桌面的位置变大
  1069. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1070. }
  1071. /**
  1072. * 隐藏任务栏
  1073. *
  1074. * @param {element} 桌面元素
  1075. */
  1076. U.MD.D.I.hiddenTaskbarout = function(el) {
  1077. //任务栏位置变小
  1078. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1079. //任务栏位置变化
  1080. U.selectEl(el).css({ "bottom": "-60px" });
  1081. //桌面的位置变大
  1082. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1083. }
  1084. }
  1085. /**
  1086. * 初始化打印桌面图标
  1087. *
  1088. * @param {element} 桌面元素
  1089. */
  1090. U.MD.D.I.initDesktopIcons = function(el, type) {
  1091. var i, //用于循环
  1092. _content, //桌面图标元素
  1093. _iconcontent, //桌面图标元素
  1094. _frag = $$("frag"), //定义一个碎片元素
  1095. _type = US.userInfo.type,
  1096. _org = US.userInfo.org,
  1097. _oid = US.userInfo.organizeid,
  1098. _role = US.userInfo.role,
  1099. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1100. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1101. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1102. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1103. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1104. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1105. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1106. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1107. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1108. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1109. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1110. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1111. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1112. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1113. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1114. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1115. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1116. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1117. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1118. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1119. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1120. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1121. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1122. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1123. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1124. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1125. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1126. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1127. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1128. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1129. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1130. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1131. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1132. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1133. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1134. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1135. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1136. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1137. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1138. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1139. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1140. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1141. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1142. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1143. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1144. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1145. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1146. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1147. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1148. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1149. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1150. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1151. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1152. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1153. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1154. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1155. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1156. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1157. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon, //网络夏令营
  1158. _hkTeacherEnglishDeskIcon = U.MD.D.I.hkTeacherEnglishDeskIcon, //教师测试英语组织
  1159. _hkStudentEnglishDeskIcon = U.MD.D.I.hkStudentEnglishDeskIcon; //学生测试英语组织
  1160. 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'];
  1161. 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'];
  1162. //清楚桌面图标
  1163. el.innerHTML = "";
  1164. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1165. _teacherDesktopIconInfo.push(
  1166. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1167. { "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)" } },
  1168. )
  1169. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1170. }
  1171. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1172. _teacherDesktopIconInfo.push(
  1173. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1174. { "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)" } },
  1175. )
  1176. }
  1177. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1178. _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)" } }, )
  1179. }
  1180. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1181. _teacherDesktopIconInfo.push()
  1182. }
  1183. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1184. _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)" } }, )
  1185. _studentDesktopIconInfo.push()
  1186. }
  1187. //麒麟二中 和 民新小学
  1188. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1189. _teacherDesktopIconInfo.push()
  1190. }
  1191. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1192. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1193. _teacherDesktopIconInfo.push({ "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, )
  1194. }
  1195. //麒麟二中
  1196. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1197. _studentDesktopIconInfo.push({ "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, )
  1198. }
  1199. //万科双语
  1200. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1201. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1202. if (el.Name == 'Project Planning') {
  1203. el.Name = 'PBL项目'
  1204. }
  1205. return el
  1206. })
  1207. _studentDesktopIconInfo3.push({ "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, )
  1208. }
  1209. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1210. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1211. return el.Name != '魔盒识字' && el.Name != '24点'
  1212. })
  1213. }
  1214. 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) {
  1215. _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)" } }, )
  1216. }
  1217. //循环创建桌面图标
  1218. if (type == 1) {
  1219. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1220. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1221. _content = $$("div", {
  1222. className: "U_MD_D_KO",
  1223. "onmousedown": U.UF.C.closure(function(obj) {
  1224. //防止拖动图标即打开了桌面应用
  1225. U.MD.D.click(this, obj);
  1226. }, [_studentDesktopIconInfo[i]]),
  1227. "onclick": U.UF.C.closure(function(obj) {
  1228. //防止拖动图标即打开了桌面应用
  1229. U.MD.D.click(this, obj);
  1230. }, [_studentDesktopIconInfo[i]])
  1231. }, _frag); //
  1232. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1233. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1234. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1235. }
  1236. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1237. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1238. _content = $$("div", {
  1239. className: "U_MD_D_KO",
  1240. "onmousedown": U.UF.C.closure(function(obj) {
  1241. //防止拖动图标即打开了桌面应用
  1242. U.MD.D.click(this, obj);
  1243. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1244. "onclick": U.UF.C.closure(function(obj) {
  1245. //防止拖动图标即打开了桌面应用
  1246. U.MD.D.click(this, obj);
  1247. }, [_hkZJLSStudentDeskIconInfo[i]])
  1248. }, _frag); //
  1249. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1250. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1251. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1252. } //
  1253. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1254. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1255. _content = $$("div", {
  1256. className: "U_MD_D_KO",
  1257. "onmousedown": U.UF.C.closure(function(obj) {
  1258. //防止拖动图标即打开了桌面应用
  1259. U.MD.D.click(this, obj);
  1260. }, [_jccssylStudentDeskIconInfo[i]]),
  1261. "onclick": U.UF.C.closure(function(obj) {
  1262. //防止拖动图标即打开了桌面应用
  1263. U.MD.D.click(this, obj);
  1264. }, [_jccssylStudentDeskIconInfo[i]])
  1265. }, _frag); //
  1266. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1267. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1268. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1269. }
  1270. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1271. for (i = 0; i < _hkStudentEnglishDeskIcon.length; i++) {
  1272. _content = $$("div", {
  1273. className: "U_MD_D_KO",
  1274. "onmousedown": U.UF.C.closure(function(obj) {
  1275. //防止拖动图标即打开了桌面应用
  1276. U.MD.D.click(this, obj);
  1277. }, [_hkStudentEnglishDeskIcon[i]]),
  1278. "onclick": U.UF.C.closure(function(obj) {
  1279. //防止拖动图标即打开了桌面应用
  1280. U.MD.D.click(this, obj);
  1281. }, [_hkStudentEnglishDeskIcon[i]])
  1282. }, _frag); //
  1283. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1284. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentEnglishDeskIcon[i].style }, _iconcontent);
  1285. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentEnglishDeskIcon[i].Name }, _iconcontent);
  1286. }
  1287. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1288. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1289. _content = $$("div", {
  1290. className: "U_MD_D_KO",
  1291. "onmousedown": U.UF.C.closure(function(obj) {
  1292. //防止拖动图标即打开了桌面应用
  1293. U.MD.D.click(this, obj);
  1294. }, [_thuioeStudentDeskIconInfo[i]]),
  1295. "onclick": U.UF.C.closure(function(obj) {
  1296. //防止拖动图标即打开了桌面应用
  1297. U.MD.D.click(this, obj);
  1298. }, [_thuioeStudentDeskIconInfo[i]])
  1299. }, _frag); //
  1300. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1301. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1302. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1303. }
  1304. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1305. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1306. _content = $$("div", {
  1307. className: "U_MD_D_KO",
  1308. "onmousedown": U.UF.C.closure(function(obj) {
  1309. //防止拖动图标即打开了桌面应用
  1310. U.MD.D.click(this, obj);
  1311. }, [_tpcStudentDeskIconInfo[i]]),
  1312. "onclick": U.UF.C.closure(function(obj) {
  1313. //防止拖动图标即打开了桌面应用
  1314. U.MD.D.click(this, obj);
  1315. }, [_tpcStudentDeskIconInfo[i]])
  1316. }, _frag); //
  1317. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1318. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1319. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1320. } //
  1321. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1322. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1323. _content = $$("div", {
  1324. className: "U_MD_D_KO",
  1325. "onmousedown": U.UF.C.closure(function(obj) {
  1326. //防止拖动图标即打开了桌面应用
  1327. U.MD.D.click(this, obj);
  1328. }, [_chjyjStudentDeskIconInfo[i]]),
  1329. "onclick": U.UF.C.closure(function(obj) {
  1330. //防止拖动图标即打开了桌面应用
  1331. U.MD.D.click(this, obj);
  1332. }, [_chjyjStudentDeskIconInfo[i]])
  1333. }, _frag); //
  1334. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1335. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1336. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1337. }
  1338. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1339. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1340. _content = $$("div", {
  1341. className: "U_MD_D_KO",
  1342. "onmousedown": U.UF.C.closure(function(obj) {
  1343. //防止拖动图标即打开了桌面应用
  1344. U.MD.D.click(this, obj);
  1345. }, [_szjkyStudentDeskIconInfo[i]]),
  1346. "onclick": U.UF.C.closure(function(obj) {
  1347. //防止拖动图标即打开了桌面应用
  1348. U.MD.D.click(this, obj);
  1349. }, [_szjkyStudentDeskIconInfo[i]])
  1350. }, _frag); //
  1351. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1352. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1353. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1354. }
  1355. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1356. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1357. _content = $$("div", {
  1358. className: "U_MD_D_KO",
  1359. "onmousedown": U.UF.C.closure(function(obj) {
  1360. //防止拖动图标即打开了桌面应用
  1361. U.MD.D.click(this, obj);
  1362. }, [_dseiStudentDeskIconInfo[i]]),
  1363. "onclick": U.UF.C.closure(function(obj) {
  1364. //防止拖动图标即打开了桌面应用
  1365. U.MD.D.click(this, obj);
  1366. }, [_dseiStudentDeskIconInfo[i]])
  1367. }, _frag); //
  1368. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1369. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1370. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1371. }
  1372. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1373. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1374. _content = $$("div", {
  1375. className: "U_MD_D_KO",
  1376. "onmousedown": U.UF.C.closure(function(obj) {
  1377. //防止拖动图标即打开了桌面应用
  1378. U.MD.D.click(this, obj);
  1379. }, [_siesStudentDeskIconInfo[i]]),
  1380. "onclick": U.UF.C.closure(function(obj) {
  1381. //防止拖动图标即打开了桌面应用
  1382. U.MD.D.click(this, obj);
  1383. }, [_siesStudentDeskIconInfo[i]])
  1384. }, _frag); //
  1385. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1386. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1387. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1388. }
  1389. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1390. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1391. _content = $$("div", {
  1392. className: "U_MD_D_KO",
  1393. "onmousedown": U.UF.C.closure(function(obj) {
  1394. //防止拖动图标即打开了桌面应用
  1395. U.MD.D.click(this, obj);
  1396. }, [_hkStudentDeskIconInfo[i]]),
  1397. "onclick": U.UF.C.closure(function(obj) {
  1398. //防止拖动图标即打开了桌面应用
  1399. U.MD.D.click(this, obj);
  1400. }, [_hkStudentDeskIconInfo[i]])
  1401. }, _frag); //
  1402. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1403. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1404. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1405. }
  1406. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1407. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1408. _content = $$("div", {
  1409. className: "U_MD_D_KO",
  1410. "onmousedown": U.UF.C.closure(function(obj) {
  1411. //防止拖动图标即打开了桌面应用
  1412. U.MD.D.click(this, obj);
  1413. }, [_studentDesktopIconInfo[i]]),
  1414. "onclick": U.UF.C.closure(function(obj) {
  1415. //防止拖动图标即打开了桌面应用
  1416. U.MD.D.click(this, obj);
  1417. }, [_studentDesktopIconInfo[i]])
  1418. }, _frag); //
  1419. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1420. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1421. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1422. }
  1423. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1424. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1425. _content = $$("div", {
  1426. className: "U_MD_D_KO",
  1427. "onmousedown": U.UF.C.closure(function(obj) {
  1428. //防止拖动图标即打开了桌面应用
  1429. U.MD.D.click(this, obj);
  1430. }, [_tcStudentDeskIconInfo[i]]),
  1431. "onclick": U.UF.C.closure(function(obj) {
  1432. //防止拖动图标即打开了桌面应用
  1433. U.MD.D.click(this, obj);
  1434. }, [_tcStudentDeskIconInfo[i]])
  1435. }, _frag); //
  1436. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1437. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1438. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1439. }
  1440. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1441. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1442. _content = $$("div", {
  1443. className: "U_MD_D_KO",
  1444. "onmousedown": U.UF.C.closure(function(obj) {
  1445. //防止拖动图标即打开了桌面应用
  1446. U.MD.D.click(this, obj);
  1447. }, [_szscStudentDeskIconInfo[i]]),
  1448. "onclick": U.UF.C.closure(function(obj) {
  1449. //防止拖动图标即打开了桌面应用
  1450. U.MD.D.click(this, obj);
  1451. }, [_szscStudentDeskIconInfo[i]])
  1452. }, _frag); //
  1453. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1454. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1455. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1456. }
  1457. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1458. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1459. _content = $$("div", {
  1460. className: "U_MD_D_KO",
  1461. "onmousedown": U.UF.C.closure(function(obj) {
  1462. //防止拖动图标即打开了桌面应用
  1463. U.MD.D.click(this, obj);
  1464. }, [_studentDesktopIconInfo3[i]]),
  1465. "onclick": U.UF.C.closure(function(obj) {
  1466. //防止拖动图标即打开了桌面应用
  1467. U.MD.D.click(this, obj);
  1468. }, [_studentDesktopIconInfo3[i]])
  1469. }, _frag); //
  1470. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1471. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1472. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1473. }
  1474. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1475. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1476. _content = $$("div", {
  1477. className: "U_MD_D_KO",
  1478. "onmousedown": U.UF.C.closure(function(obj) {
  1479. //防止拖动图标即打开了桌面应用
  1480. U.MD.D.click(this, obj);
  1481. }, [_studentDesktopIconInfo2[i]]),
  1482. "onclick": U.UF.C.closure(function(obj) {
  1483. //防止拖动图标即打开了桌面应用
  1484. U.MD.D.click(this, obj);
  1485. }, [_studentDesktopIconInfo2[i]])
  1486. }, _frag); //
  1487. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1488. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1489. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1490. }
  1491. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1492. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1493. _content = $$("div", {
  1494. className: "U_MD_D_KO",
  1495. "onmousedown": U.UF.C.closure(function(obj) {
  1496. //防止拖动图标即打开了桌面应用
  1497. U.MD.D.click(this, obj);
  1498. }, [_wanketeacherDesktopIconInfo[i]]),
  1499. "onclick": U.UF.C.closure(function(obj) {
  1500. //防止拖动图标即打开了桌面应用
  1501. U.MD.D.click(this, obj);
  1502. }, [_wanketeacherDesktopIconInfo[i]])
  1503. }, _frag); //
  1504. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1505. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1506. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1507. }
  1508. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1509. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1510. _content = $$("div", {
  1511. className: "U_MD_D_KO",
  1512. "onmousedown": U.UF.C.closure(function(obj) {
  1513. //防止拖动图标即打开了桌面应用
  1514. U.MD.D.click(this, obj);
  1515. }, [_wankeAdminDesktopIconInfo[i]]),
  1516. "onclick": U.UF.C.closure(function(obj) {
  1517. //防止拖动图标即打开了桌面应用
  1518. U.MD.D.click(this, obj);
  1519. }, [_wankeAdminDesktopIconInfo[i]])
  1520. }, _frag); //
  1521. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1522. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1523. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1524. }
  1525. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1526. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1527. _content = $$("div", {
  1528. className: "U_MD_D_KO",
  1529. "onmousedown": U.UF.C.closure(function(obj) {
  1530. //防止拖动图标即打开了桌面应用
  1531. U.MD.D.click(this, obj);
  1532. }, [_jccssylTeacherDeskIconInfo[i]]),
  1533. "onclick": U.UF.C.closure(function(obj) {
  1534. //防止拖动图标即打开了桌面应用
  1535. U.MD.D.click(this, obj);
  1536. }, [_jccssylTeacherDeskIconInfo[i]])
  1537. }, _frag); //
  1538. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1539. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1540. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1541. }
  1542. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1543. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1544. _content = $$("div", {
  1545. className: "U_MD_D_KO",
  1546. "onmousedown": U.UF.C.closure(function(obj) {
  1547. //防止拖动图标即打开了桌面应用
  1548. U.MD.D.click(this, obj);
  1549. }, [_tpcOrganizerDeskIconInfo[i]]),
  1550. "onclick": U.UF.C.closure(function(obj) {
  1551. //防止拖动图标即打开了桌面应用
  1552. U.MD.D.click(this, obj);
  1553. }, [_tpcOrganizerDeskIconInfo[i]])
  1554. }, _frag); //
  1555. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1556. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1557. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1558. }
  1559. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1560. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1561. _content = $$("div", {
  1562. className: "U_MD_D_KO",
  1563. "onmousedown": U.UF.C.closure(function(obj) {
  1564. //防止拖动图标即打开了桌面应用
  1565. U.MD.D.click(this, obj);
  1566. }, [_tpcTeacherDeskIconInfo[i]]),
  1567. "onclick": U.UF.C.closure(function(obj) {
  1568. //防止拖动图标即打开了桌面应用
  1569. U.MD.D.click(this, obj);
  1570. }, [_tpcTeacherDeskIconInfo[i]])
  1571. }, _frag); //
  1572. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1573. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1574. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1575. }
  1576. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1577. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1578. _content = $$("div", {
  1579. className: "U_MD_D_KO",
  1580. "onmousedown": U.UF.C.closure(function(obj) {
  1581. //防止拖动图标即打开了桌面应用
  1582. U.MD.D.click(this, obj);
  1583. }, [_teacherDesktopIconInfo2[i]]),
  1584. "onclick": U.UF.C.closure(function(obj) {
  1585. //防止拖动图标即打开了桌面应用
  1586. U.MD.D.click(this, obj);
  1587. }, [_teacherDesktopIconInfo2[i]])
  1588. }, _frag); //
  1589. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1590. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1591. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1592. }
  1593. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1594. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1595. _content = $$("div", {
  1596. className: "U_MD_D_KO",
  1597. "onmousedown": U.UF.C.closure(function(obj) {
  1598. //防止拖动图标即打开了桌面应用
  1599. U.MD.D.click(this, obj);
  1600. }, [_thuioeTeacherDeskIconInfo[i]]),
  1601. "onclick": U.UF.C.closure(function(obj) {
  1602. //防止拖动图标即打开了桌面应用
  1603. U.MD.D.click(this, obj);
  1604. }, [_thuioeTeacherDeskIconInfo[i]])
  1605. }, _frag); //
  1606. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1607. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1608. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1609. }
  1610. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1611. for (i = 0; i < _hkTeacherEnglishDeskIcon.length; i++) {
  1612. _content = $$("div", {
  1613. className: "U_MD_D_KO",
  1614. "onmousedown": U.UF.C.closure(function(obj) {
  1615. //防止拖动图标即打开了桌面应用
  1616. U.MD.D.click(this, obj);
  1617. }, [_hkTeacherEnglishDeskIcon[i]]),
  1618. "onclick": U.UF.C.closure(function(obj) {
  1619. //防止拖动图标即打开了桌面应用
  1620. U.MD.D.click(this, obj);
  1621. }, [_hkTeacherEnglishDeskIcon[i]])
  1622. }, _frag); //
  1623. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1624. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherEnglishDeskIcon[i].style }, _iconcontent);
  1625. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherEnglishDeskIcon[i].Name }, _iconcontent);
  1626. }
  1627. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1628. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1629. _content = $$("div", {
  1630. className: "U_MD_D_KO",
  1631. "onmousedown": U.UF.C.closure(function(obj) {
  1632. //防止拖动图标即打开了桌面应用
  1633. U.MD.D.click(this, obj);
  1634. }, [_lotechTeacherDeskIconInfo[i]]),
  1635. "onclick": U.UF.C.closure(function(obj) {
  1636. //防止拖动图标即打开了桌面应用
  1637. U.MD.D.click(this, obj);
  1638. }, [_lotechTeacherDeskIconInfo[i]])
  1639. }, _frag); //
  1640. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1641. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1642. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1643. } //
  1644. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1645. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1646. _content = $$("div", {
  1647. className: "U_MD_D_KO",
  1648. "onmousedown": U.UF.C.closure(function(obj) {
  1649. //防止拖动图标即打开了桌面应用
  1650. U.MD.D.click(this, obj);
  1651. }, [_siesTeacherDeskIconInfo[i]]),
  1652. "onclick": U.UF.C.closure(function(obj) {
  1653. //防止拖动图标即打开了桌面应用
  1654. U.MD.D.click(this, obj);
  1655. }, [_siesTeacherDeskIconInfo[i]])
  1656. }, _frag); //
  1657. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1658. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1659. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1660. }
  1661. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1662. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1663. _content = $$("div", {
  1664. className: "U_MD_D_KO",
  1665. "onmousedown": U.UF.C.closure(function(obj) {
  1666. //防止拖动图标即打开了桌面应用
  1667. U.MD.D.click(this, obj);
  1668. }, [_longhuaTeacherDeskIconInfo[i]]),
  1669. "onclick": U.UF.C.closure(function(obj) {
  1670. //防止拖动图标即打开了桌面应用
  1671. U.MD.D.click(this, obj);
  1672. }, [_longhuaTeacherDeskIconInfo[i]])
  1673. }, _frag); //
  1674. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1675. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1676. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1677. }
  1678. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1679. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1680. _content = $$("div", {
  1681. className: "U_MD_D_KO",
  1682. "onmousedown": U.UF.C.closure(function(obj) {
  1683. //防止拖动图标即打开了桌面应用
  1684. U.MD.D.click(this, obj);
  1685. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1686. "onclick": U.UF.C.closure(function(obj) {
  1687. //防止拖动图标即打开了桌面应用
  1688. U.MD.D.click(this, obj);
  1689. }, [_yunhaiTeacherDeskIconInfo[i]])
  1690. }, _frag); //
  1691. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1692. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1693. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1694. } //_hkStudentDeskIconInfo
  1695. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1696. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1697. _content = $$("div", {
  1698. className: "U_MD_D_KO",
  1699. "onmousedown": U.UF.C.closure(function(obj) {
  1700. //防止拖动图标即打开了桌面应用
  1701. U.MD.D.click(this, obj);
  1702. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1703. "onclick": U.UF.C.closure(function(obj) {
  1704. //防止拖动图标即打开了桌面应用
  1705. U.MD.D.click(this, obj);
  1706. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1707. }, _frag); //
  1708. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1709. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1710. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1711. }
  1712. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1713. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1714. _content = $$("div", {
  1715. className: "U_MD_D_KO",
  1716. "onmousedown": U.UF.C.closure(function(obj) {
  1717. //防止拖动图标即打开了桌面应用
  1718. U.MD.D.click(this, obj);
  1719. }, [_hkTeacherDeskIconInfo[i]]),
  1720. "onclick": U.UF.C.closure(function(obj) {
  1721. //防止拖动图标即打开了桌面应用
  1722. U.MD.D.click(this, obj);
  1723. }, [_hkTeacherDeskIconInfo[i]])
  1724. }, _frag); //
  1725. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1726. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1727. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1728. }
  1729. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1730. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1731. _content = $$("div", {
  1732. className: "U_MD_D_KO",
  1733. "onmousedown": U.UF.C.closure(function(obj) {
  1734. //防止拖动图标即打开了桌面应用
  1735. U.MD.D.click(this, obj);
  1736. }, [_gdjgAdminDeskIconInfo[i]]),
  1737. "onclick": U.UF.C.closure(function(obj) {
  1738. //防止拖动图标即打开了桌面应用
  1739. U.MD.D.click(this, obj);
  1740. }, [_gdjgAdminDeskIconInfo[i]])
  1741. }, _frag); //
  1742. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1743. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1744. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1745. }
  1746. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1747. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1748. _content = $$("div", {
  1749. className: "U_MD_D_KO",
  1750. "onmousedown": U.UF.C.closure(function(obj) {
  1751. //防止拖动图标即打开了桌面应用
  1752. U.MD.D.click(this, obj);
  1753. }, [_gdjgTeacherDeskIconInfo[i]]),
  1754. "onclick": U.UF.C.closure(function(obj) {
  1755. //防止拖动图标即打开了桌面应用
  1756. U.MD.D.click(this, obj);
  1757. }, [_gdjgTeacherDeskIconInfo[i]])
  1758. }, _frag); //
  1759. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1760. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1761. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1762. }
  1763. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1764. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1765. _content = $$("div", {
  1766. className: "U_MD_D_KO",
  1767. "onmousedown": U.UF.C.closure(function(obj) {
  1768. //防止拖动图标即打开了桌面应用
  1769. U.MD.D.click(this, obj);
  1770. }, [_szherTeacherDeskIconInfo[i]]),
  1771. "onclick": U.UF.C.closure(function(obj) {
  1772. //防止拖动图标即打开了桌面应用
  1773. U.MD.D.click(this, obj);
  1774. }, [_szherTeacherDeskIconInfo[i]])
  1775. }, _frag); //
  1776. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1777. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1778. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1779. }
  1780. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1781. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1782. _content = $$("div", {
  1783. className: "U_MD_D_KO",
  1784. "onmousedown": U.UF.C.closure(function(obj) {
  1785. //防止拖动图标即打开了桌面应用
  1786. U.MD.D.click(this, obj);
  1787. }, [_heyuannAdminDeskIconInfo[i]]),
  1788. "onclick": U.UF.C.closure(function(obj) {
  1789. //防止拖动图标即打开了桌面应用
  1790. U.MD.D.click(this, obj);
  1791. }, [_heyuannAdminDeskIconInfo[i]])
  1792. }, _frag); //
  1793. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1794. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1795. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1796. }
  1797. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1798. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1799. _content = $$("div", {
  1800. className: "U_MD_D_KO",
  1801. "onmousedown": U.UF.C.closure(function(obj) {
  1802. //防止拖动图标即打开了桌面应用
  1803. U.MD.D.click(this, obj);
  1804. }, [_heyuanTeacherDeskIconInfo[i]]),
  1805. "onclick": U.UF.C.closure(function(obj) {
  1806. //防止拖动图标即打开了桌面应用
  1807. U.MD.D.click(this, obj);
  1808. }, [_heyuanTeacherDeskIconInfo[i]])
  1809. }, _frag); //
  1810. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1811. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1812. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1813. } //
  1814. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1815. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1816. _content = $$("div", {
  1817. className: "U_MD_D_KO",
  1818. "onmousedown": U.UF.C.closure(function(obj) {
  1819. //防止拖动图标即打开了桌面应用
  1820. U.MD.D.click(this, obj);
  1821. }, [_dseiAdminDeskIconInfo[i]]),
  1822. "onclick": U.UF.C.closure(function(obj) {
  1823. //防止拖动图标即打开了桌面应用
  1824. U.MD.D.click(this, obj);
  1825. }, [_dseiAdminDeskIconInfo[i]])
  1826. }, _frag); //
  1827. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1828. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1829. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1830. }
  1831. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1832. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1833. _content = $$("div", {
  1834. className: "U_MD_D_KO",
  1835. "onmousedown": U.UF.C.closure(function(obj) {
  1836. //防止拖动图标即打开了桌面应用
  1837. U.MD.D.click(this, obj);
  1838. }, [_dseiTeacherDeskIconInfo[i]]),
  1839. "onclick": U.UF.C.closure(function(obj) {
  1840. //防止拖动图标即打开了桌面应用
  1841. U.MD.D.click(this, obj);
  1842. }, [_dseiTeacherDeskIconInfo[i]])
  1843. }, _frag); //
  1844. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1845. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1846. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1847. } //
  1848. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1849. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1850. _content = $$("div", {
  1851. className: "U_MD_D_KO",
  1852. "onmousedown": U.UF.C.closure(function(obj) {
  1853. //防止拖动图标即打开了桌面应用
  1854. U.MD.D.click(this, obj);
  1855. }, [_chjyjAdminDeskIconInfo[i]]),
  1856. "onclick": U.UF.C.closure(function(obj) {
  1857. //防止拖动图标即打开了桌面应用
  1858. U.MD.D.click(this, obj);
  1859. }, [_chjyjAdminDeskIconInfo[i]])
  1860. }, _frag); //
  1861. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1862. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1863. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1864. } //
  1865. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1866. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1867. _content = $$("div", {
  1868. className: "U_MD_D_KO",
  1869. "onmousedown": U.UF.C.closure(function(obj) {
  1870. //防止拖动图标即打开了桌面应用
  1871. U.MD.D.click(this, obj);
  1872. }, [_chjyjTeacherDeskIconInfo[i]]),
  1873. "onclick": U.UF.C.closure(function(obj) {
  1874. //防止拖动图标即打开了桌面应用
  1875. U.MD.D.click(this, obj);
  1876. }, [_chjyjTeacherDeskIconInfo[i]])
  1877. }, _frag); //
  1878. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1879. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1880. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1881. }
  1882. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1883. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1884. _content = $$("div", {
  1885. className: "U_MD_D_KO",
  1886. "onmousedown": U.UF.C.closure(function(obj) {
  1887. //防止拖动图标即打开了桌面应用
  1888. U.MD.D.click(this, obj);
  1889. }, [_szjkyAdminDeskIconInfo[i]]),
  1890. "onclick": U.UF.C.closure(function(obj) {
  1891. //防止拖动图标即打开了桌面应用
  1892. U.MD.D.click(this, obj);
  1893. }, [_szjkyAdminDeskIconInfo[i]])
  1894. }, _frag); //
  1895. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1896. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1897. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1898. } //
  1899. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1900. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1901. _content = $$("div", {
  1902. className: "U_MD_D_KO",
  1903. "onmousedown": U.UF.C.closure(function(obj) {
  1904. //防止拖动图标即打开了桌面应用
  1905. U.MD.D.click(this, obj);
  1906. }, [_szjkyTeacherDeskIconInfo[i]]),
  1907. "onclick": U.UF.C.closure(function(obj) {
  1908. //防止拖动图标即打开了桌面应用
  1909. U.MD.D.click(this, obj);
  1910. }, [_szjkyTeacherDeskIconInfo[i]])
  1911. }, _frag); //
  1912. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1913. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1914. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1915. }
  1916. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1917. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1918. _content = $$("div", {
  1919. className: "U_MD_D_KO",
  1920. "onmousedown": U.UF.C.closure(function(obj) {
  1921. //防止拖动图标即打开了桌面应用
  1922. U.MD.D.click(this, obj);
  1923. }, [_futianAdminDeskIconInfo[i]]),
  1924. "onclick": U.UF.C.closure(function(obj) {
  1925. //防止拖动图标即打开了桌面应用
  1926. U.MD.D.click(this, obj);
  1927. }, [_futianAdminDeskIconInfo[i]])
  1928. }, _frag); //
  1929. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1930. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1931. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1932. }
  1933. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1934. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1935. _content = $$("div", {
  1936. className: "U_MD_D_KO",
  1937. "onmousedown": U.UF.C.closure(function(obj) {
  1938. //防止拖动图标即打开了桌面应用
  1939. U.MD.D.click(this, obj);
  1940. }, [_futianTeacherDeskIconInfo[i]]),
  1941. "onclick": U.UF.C.closure(function(obj) {
  1942. //防止拖动图标即打开了桌面应用
  1943. U.MD.D.click(this, obj);
  1944. }, [_futianTeacherDeskIconInfo[i]])
  1945. }, _frag); //
  1946. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1947. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1948. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1949. }
  1950. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1951. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1952. _content = $$("div", {
  1953. className: "U_MD_D_KO",
  1954. "onmousedown": U.UF.C.closure(function(obj) {
  1955. //防止拖动图标即打开了桌面应用
  1956. U.MD.D.click(this, obj);
  1957. }, [_MingdeTeacherDeskIcon[i]]),
  1958. "onclick": U.UF.C.closure(function(obj) {
  1959. //防止拖动图标即打开了桌面应用
  1960. U.MD.D.click(this, obj);
  1961. }, [_MingdeTeacherDeskIcon[i]])
  1962. }, _frag); //
  1963. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1964. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1965. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1966. }
  1967. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1968. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1969. _content = $$("div", {
  1970. className: "U_MD_D_KO",
  1971. "onmousedown": U.UF.C.closure(function(obj) {
  1972. //防止拖动图标即打开了桌面应用
  1973. U.MD.D.click(this, obj);
  1974. }, [_lhsAdminDesktopIconInfo[i]]),
  1975. "onclick": U.UF.C.closure(function(obj) {
  1976. //防止拖动图标即打开了桌面应用
  1977. U.MD.D.click(this, obj);
  1978. }, [_lhsAdminDesktopIconInfo[i]])
  1979. }, _frag); //
  1980. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1981. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1982. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1983. }
  1984. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1985. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1986. _content = $$("div", {
  1987. className: "U_MD_D_KO",
  1988. "onmousedown": U.UF.C.closure(function(obj) {
  1989. //防止拖动图标即打开了桌面应用
  1990. U.MD.D.click(this, obj);
  1991. }, [_lhsteacherDesktopIconInfo[i]]),
  1992. "onclick": U.UF.C.closure(function(obj) {
  1993. //防止拖动图标即打开了桌面应用
  1994. U.MD.D.click(this, obj);
  1995. }, [_lhsteacherDesktopIconInfo[i]])
  1996. }, _frag); //
  1997. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1998. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1999. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2000. }
  2001. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2002. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2003. _content = $$("div", {
  2004. className: "U_MD_D_KO",
  2005. "onmousedown": U.UF.C.closure(function(obj) {
  2006. //防止拖动图标即打开了桌面应用
  2007. U.MD.D.click(this, obj);
  2008. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2009. "onclick": U.UF.C.closure(function(obj) {
  2010. //防止拖动图标即打开了桌面应用
  2011. U.MD.D.click(this, obj);
  2012. }, [_zhoujiateacherDesktopIconInfo[i]])
  2013. }, _frag); //
  2014. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2015. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2016. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2017. }
  2018. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2019. for (i = 0; i < _hanDeskIcon.length; i++) {
  2020. _content = $$("div", {
  2021. className: "U_MD_D_KO",
  2022. "onmousedown": U.UF.C.closure(function(obj) {
  2023. //防止拖动图标即打开了桌面应用
  2024. U.MD.D.click(this, obj);
  2025. }, [_hanDeskIcon[i]]),
  2026. "onclick": U.UF.C.closure(function(obj) {
  2027. //防止拖动图标即打开了桌面应用
  2028. U.MD.D.click(this, obj);
  2029. }, [_hanDeskIcon[i]])
  2030. }, _frag); //
  2031. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2032. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2033. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2034. }
  2035. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2036. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2037. _content = $$("div", {
  2038. className: "U_MD_D_KO",
  2039. "onmousedown": U.UF.C.closure(function(obj) {
  2040. //防止拖动图标即打开了桌面应用
  2041. U.MD.D.click(this, obj);
  2042. }, [_orgStemDeskIcon[i]]),
  2043. "onclick": U.UF.C.closure(function(obj) {
  2044. //防止拖动图标即打开了桌面应用
  2045. U.MD.D.click(this, obj);
  2046. }, [_orgStemDeskIcon[i]])
  2047. }, _frag); //
  2048. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2049. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2050. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2051. }
  2052. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2053. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2054. _content = $$("div", {
  2055. className: "U_MD_D_KO",
  2056. "onmousedown": U.UF.C.closure(function(obj) {
  2057. //防止拖动图标即打开了桌面应用
  2058. U.MD.D.click(this, obj);
  2059. }, [_szulsDeskIcon[i]]),
  2060. "onclick": U.UF.C.closure(function(obj) {
  2061. //防止拖动图标即打开了桌面应用
  2062. U.MD.D.click(this, obj);
  2063. }, [_szulsDeskIcon[i]])
  2064. }, _frag); //
  2065. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2066. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2067. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2068. }
  2069. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2070. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2071. _content = $$("div", {
  2072. className: "U_MD_D_KO",
  2073. "onmousedown": U.UF.C.closure(function(obj) {
  2074. //防止拖动图标即打开了桌面应用
  2075. U.MD.D.click(this, obj);
  2076. }, [_orgDesktopIconInfo[i]]),
  2077. "onclick": U.UF.C.closure(function(obj) {
  2078. //防止拖动图标即打开了桌面应用
  2079. U.MD.D.click(this, obj);
  2080. }, [_orgDesktopIconInfo[i]])
  2081. }, _frag); //
  2082. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2083. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2084. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2085. }
  2086. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2087. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2088. _content = $$("div", {
  2089. className: "U_MD_D_KO",
  2090. "onmousedown": U.UF.C.closure(function(obj) {
  2091. //防止拖动图标即打开了桌面应用
  2092. U.MD.D.click(this, obj);
  2093. }, [_schoolDesktopIconInfo[i]]),
  2094. "onclick": U.UF.C.closure(function(obj) {
  2095. //防止拖动图标即打开了桌面应用
  2096. U.MD.D.click(this, obj);
  2097. }, [_schoolDesktopIconInfo[i]])
  2098. }, _frag); //
  2099. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2100. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2101. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2102. }
  2103. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2104. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2105. _content = $$("div", {
  2106. className: "U_MD_D_KO",
  2107. "onmousedown": U.UF.C.closure(function(obj) {
  2108. //防止拖动图标即打开了桌面应用
  2109. U.MD.D.click(this, obj);
  2110. }, [_GMteacherDesktopIconInfo[i]]),
  2111. "onclick": U.UF.C.closure(function(obj) {
  2112. //防止拖动图标即打开了桌面应用
  2113. U.MD.D.click(this, obj);
  2114. }, [_GMteacherDesktopIconInfo[i]])
  2115. }, _frag); //
  2116. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2117. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2118. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2119. }
  2120. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2121. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2122. _content = $$("div", {
  2123. className: "U_MD_D_KO",
  2124. "onmousedown": U.UF.C.closure(function(obj) {
  2125. //防止拖动图标即打开了桌面应用
  2126. U.MD.D.click(this, obj);
  2127. }, [_SONGteacherDesktopIconInfo[i]]),
  2128. "onclick": U.UF.C.closure(function(obj) {
  2129. //防止拖动图标即打开了桌面应用
  2130. U.MD.D.click(this, obj);
  2131. }, [_SONGteacherDesktopIconInfo[i]])
  2132. }, _frag); //
  2133. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2134. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2135. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2136. }
  2137. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2138. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2139. _content = $$("div", {
  2140. className: "U_MD_D_KO",
  2141. "onmousedown": U.UF.C.closure(function(obj) {
  2142. //防止拖动图标即打开了桌面应用
  2143. U.MD.D.click(this, obj);
  2144. }, [_GMstudentDesktopIconInfo[i]]),
  2145. "onclick": U.UF.C.closure(function(obj) {
  2146. //防止拖动图标即打开了桌面应用
  2147. U.MD.D.click(this, obj);
  2148. }, [_GMstudentDesktopIconInfo[i]])
  2149. }, _frag); //
  2150. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2151. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2152. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2153. }
  2154. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2155. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2156. _content = $$("div", {
  2157. className: "U_MD_D_KO",
  2158. "onmousedown": U.UF.C.closure(function(obj) {
  2159. //防止拖动图标即打开了桌面应用
  2160. U.MD.D.click(this, obj);
  2161. }, [_tcTeacherDeskIconInfo[i]]),
  2162. "onclick": U.UF.C.closure(function(obj) {
  2163. //防止拖动图标即打开了桌面应用
  2164. U.MD.D.click(this, obj);
  2165. }, [_tcTeacherDeskIconInfo[i]])
  2166. }, _frag); //
  2167. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2168. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2169. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2170. }
  2171. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2172. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2173. _content = $$("div", {
  2174. className: "U_MD_D_KO",
  2175. "onmousedown": U.UF.C.closure(function(obj) {
  2176. //防止拖动图标即打开了桌面应用
  2177. U.MD.D.click(this, obj);
  2178. }, [_tcOrganizerDeskIconInfo[i]]),
  2179. "onclick": U.UF.C.closure(function(obj) {
  2180. //防止拖动图标即打开了桌面应用
  2181. U.MD.D.click(this, obj);
  2182. }, [_tcOrganizerDeskIconInfo[i]])
  2183. }, _frag); //
  2184. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2185. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2186. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2187. }
  2188. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2189. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2190. _content = $$("div", {
  2191. className: "U_MD_D_KO",
  2192. "onmousedown": U.UF.C.closure(function(obj) {
  2193. //防止拖动图标即打开了桌面应用
  2194. U.MD.D.click(this, obj);
  2195. }, [_szscTeacherDeskIconInfo[i]]),
  2196. "onclick": U.UF.C.closure(function(obj) {
  2197. //防止拖动图标即打开了桌面应用
  2198. U.MD.D.click(this, obj);
  2199. }, [_szscTeacherDeskIconInfo[i]])
  2200. }, _frag); //
  2201. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2202. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2203. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2204. }
  2205. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2206. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2207. _content = $$("div", {
  2208. className: "U_MD_D_KO",
  2209. "onmousedown": U.UF.C.closure(function(obj) {
  2210. //防止拖动图标即打开了桌面应用
  2211. U.MD.D.click(this, obj);
  2212. }, [_szscOrganizerDeskIconInfo[i]]),
  2213. "onclick": U.UF.C.closure(function(obj) {
  2214. //防止拖动图标即打开了桌面应用
  2215. U.MD.D.click(this, obj);
  2216. }, [_szscOrganizerDeskIconInfo[i]])
  2217. }, _frag); //
  2218. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2219. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2220. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2221. }
  2222. } else {
  2223. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2224. _content = $$("div", {
  2225. className: "U_MD_D_KO",
  2226. "onmousedown": U.UF.C.closure(function(obj) {
  2227. //防止拖动图标即打开了桌面应用
  2228. U.MD.D.click(this, obj);
  2229. }, [_teacherDesktopIconInfo[i]]),
  2230. "onclick": U.UF.C.closure(function(obj) {
  2231. //防止拖动图标即打开了桌面应用
  2232. U.MD.D.click(this, obj);
  2233. }, [_teacherDesktopIconInfo[i]])
  2234. }, _frag); //
  2235. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2236. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2237. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2238. }
  2239. }
  2240. } else {
  2241. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2242. _content = $$("div", {
  2243. className: "U_MD_D_KO",
  2244. style: { 'width': '124px', 'height': '145px' },
  2245. "onmousedown": U.UF.C.closure(function(obj) {
  2246. //防止拖动图标即打开了桌面应用
  2247. U.MD.D.click(this, obj);
  2248. }, [_easyDesktopIconInfo[i]]),
  2249. "onclick": U.UF.C.closure(function(obj) {
  2250. //防止拖动图标即打开了桌面应用
  2251. U.MD.D.click(this, obj);
  2252. }, [_easyDesktopIconInfo[i]])
  2253. }, _frag); //
  2254. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2255. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2256. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2257. }
  2258. }
  2259. if (type == 1) {
  2260. //加载好后给图标定位
  2261. U.MD.D.iconPostion($(_frag).Child());
  2262. } else {
  2263. //加载好后给图标定位
  2264. U.MD.D.iconPostion2($(_frag).Child());
  2265. }
  2266. //把图标加载到页面
  2267. el.appendChild(_frag);
  2268. }
  2269. /**
  2270. * 显示任务栏
  2271. *
  2272. * @param {element} 桌面元素
  2273. */
  2274. U.MD.D.I.displayTaskbar = function(el) {
  2275. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2276. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2277. //任务栏位置变化
  2278. U.selectEl(el).css({ "bottom": "0px" });
  2279. //桌面位置变话
  2280. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2281. }
  2282. }
  2283. //#region 桌面图标拖动逻辑
  2284. /**
  2285. * 桌面排列图标
  2286. *
  2287. * @param {element} 桌面元素
  2288. * @param {object} 上下相距的距离
  2289. * @param {object} 左右相距的距离
  2290. * @return {object} 命名空间
  2291. */
  2292. U.MD.D.iconPostion = function(childs, top, left) {
  2293. var i; //用于循环处理
  2294. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2295. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2296. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2297. for (i = 0; i < childs.length; i++) {
  2298. //如果竖排top超过了范围处理
  2299. if (top + 95 > US.height - 10) {
  2300. //left超过了页面范围处理,则向上重叠打印处理
  2301. if ((left + 180) > US.width) {
  2302. top -= 110;
  2303. left -= 90;
  2304. }
  2305. //没有超过范围,那么left+90添加到下一个竖排打印
  2306. else {
  2307. left += 90;
  2308. top = 15;
  2309. };
  2310. }
  2311. //给图标的位置赋值
  2312. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2313. if (i < childs.length - 1) {
  2314. //页面图标每次向下加95
  2315. top += 95;
  2316. }
  2317. }
  2318. //返回最后调用的图标的位置
  2319. return [top, left];
  2320. }
  2321. /**
  2322. * 桌面排列图标
  2323. *
  2324. * @param {element} 桌面元素
  2325. * @param {object} 上下相距的距离
  2326. * @param {object} 左右相距的距离
  2327. * @return {object} 命名空间
  2328. */
  2329. U.MD.D.iconPostion2 = function(childs, top, left) {
  2330. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2331. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2332. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2333. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2334. for (i = 0; i < childs.length; i++) {
  2335. //如果竖排top超过了范围处理
  2336. if (left + 150 > US.width - 10) {
  2337. //left超过了页面范围处理,则向上重叠打印处理
  2338. if ((top + 180) > US.Height) {
  2339. top -= 150;
  2340. left -= 150;
  2341. }
  2342. //没有超过范围,那么left+90添加到下一个竖排打印
  2343. else {
  2344. top += 150;
  2345. left = ol;
  2346. };
  2347. }
  2348. //给图标的位置赋值
  2349. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2350. if (i < childs.length - 1) {
  2351. //页面图标每次向下加95
  2352. left += 150;
  2353. }
  2354. }
  2355. //返回最后调用的图标的位置
  2356. return [top, left];
  2357. }
  2358. /**
  2359. * 桌面点击事件逻辑
  2360. *
  2361. * @param {element} 桌面元素
  2362. * @param {object} 上下相距的距离
  2363. * @param {object} 左右相距的距离
  2364. * @return {object} 命名空间
  2365. */
  2366. U.MD.D.click = function(el, obj) {
  2367. var _buttonnumber = event.button; //点击的按钮的事件值
  2368. var _userinfo = US.userInfo;
  2369. U.UF.EV.stopBubble(); //阻止向上冒泡
  2370. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2371. if (_buttonnumber < 2) {
  2372. //如果是click事件的处理
  2373. if (event.type == "click") {
  2374. //如果元素在mousemove事件中没有移动则出发click事件
  2375. if (!U.MD.D.I.IsDrag) {
  2376. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2377. U.alert("请先登录您的账号!");
  2378. setTimeout(() => {
  2379. U.MD.U.L.login();
  2380. }, 2000);
  2381. } else {
  2382. //打开应用处理
  2383. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2384. }
  2385. }
  2386. }
  2387. //如果是mouse事件的处理
  2388. else {
  2389. if (US.Config.type == '1') {
  2390. //拖动处理,添加拖动和拖动结束事件
  2391. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2392. }
  2393. }
  2394. U.MD.D.I.IsDrag = false;
  2395. }
  2396. }
  2397. /**
  2398. * 拖动的处理
  2399. *
  2400. */
  2401. U.MD.D.iconMove = function() {
  2402. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2403. U.MD.D.I.IsDrag = true;
  2404. }
  2405. /**
  2406. * 拖动结束后,这里是定位处理,以网状的形式定位
  2407. *
  2408. * @param {element} 拖动的元素
  2409. * @return {object} 命名空间
  2410. */
  2411. U.MD.D.iconUp = function(el) {
  2412. var _top = 15,
  2413. _left = 20,
  2414. _margin,
  2415. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2416. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2417. if (_positioninfo["OT"] > 15) {
  2418. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2419. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2420. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2421. }
  2422. if (_positioninfo["OL"] > 20) {
  2423. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2424. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2425. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2426. }
  2427. //while循环判断么一个重叠的元素
  2428. do {
  2429. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2430. _top = _positioninfo[0] + 95; //得到定位后的top
  2431. _left = _positioninfo[1]; //得到定位后的left
  2432. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2433. }
  2434. /**
  2435. * 判断拖动后图标是否重叠
  2436. *
  2437. * @param {element} 拖动的元素
  2438. * @param {element} 桌面所有的元素
  2439. * @param {array} 拖动元素的位置
  2440. ----------[0] 上 top
  2441. ----------[1] 左 left
  2442. * @return {object} 命名空间
  2443. */
  2444. U.MD.D.isOverlap = function(el, childs, postionarray) {
  2445. //循环所有的图标
  2446. for (var i = 0; i < childs.length; i++) {
  2447. //判断有没有和该图标诶子重叠的元素
  2448. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2449. return childs[i]; //如果有返回
  2450. }
  2451. }
  2452. }
  2453. //#endregion
  2454. //#endregion
  2455. //#region 桌面应用
  2456. /**
  2457. * 打开应用
  2458. *
  2459. * @param {string} 类型
  2460. -----------------Disk 网盘系统
  2461. -----------------PDisk 学习系统网盘
  2462. -----------------Poto 图片
  2463. -----------------Video 视频
  2464. -----------------Music 音乐
  2465. -----------------Word word
  2466. -----------------Excel excel
  2467. -----------------Txt 记事本
  2468. -----------------PB 学习系统
  2469. -----------------Blog 朋友圈系统
  2470. -----------------FTP ftp系统
  2471. -----------------Group 好友群
  2472. -----------------SY 首页系统
  2473. -----------------Set 个人设置
  2474. -----------------XSet 系统设置
  2475. -----------------App 我们所有的app
  2476. -----------------BC c.1473.cn 平台
  2477. -----------------CWeb d.1473.cn 变成平台
  2478. -----------------其他的外联系统 我们统一用iframe打开
  2479. * @param {array} 类型
  2480. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2481. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2482. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2483. 如果第一个参数为其他,则无第二个参数
  2484. * @returns {array}
  2485. */
  2486. window.addEventListener('message', function(e) { // 监听 message 事件
  2487. // alert(e.data.type);
  2488. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2489. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2490. //3是展示全部阶段 2学生 1老师 4专家
  2491. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2492. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2493. //3是展示全部阶段 2学生 1老师 4专家
  2494. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2495. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2496. //3是展示全部阶段 2学生 1老师 4专家
  2497. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2498. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2499. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2500. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2501. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2502. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2503. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2504. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2505. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2506. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2507. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2508. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2509. //3是展示全部阶段 2学生 1老师 4专家
  2510. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2511. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2512. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2513. U.MD.D.I.selectUser();
  2514. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2515. var _formel = document.getElementById("study");
  2516. U.UF.F.windowZooming(_formel);
  2517. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2518. var _formel = document.getElementById("studyDetail");
  2519. U.UF.F.windowZooming(_formel);
  2520. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2521. var _formel = document.getElementById("studyDetail");
  2522. U.UF.F.windowZooming(_formel);
  2523. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2524. var _formel = document.getElementById("studentStudy");
  2525. U.UF.F.windowZooming(_formel);
  2526. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2527. // var _formel = document.getElementById("study");
  2528. //如果最大化了,那么就把他缩小
  2529. // if (_formel.ismaximize) {
  2530. // return;
  2531. // }
  2532. // U.UF.F.windowZooming(_formel);
  2533. // U.UF.F.topWindow(_formel);
  2534. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2535. // var _formel = document.getElementById("studyDetail");
  2536. //如果最大化了,那么就把他缩小
  2537. // if (_formel.ismaximize) {
  2538. // return;
  2539. // }
  2540. // U.UF.F.windowZooming(_formel);
  2541. // U.UF.F.topWindow(_formel);
  2542. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2543. // var _formel = document.getElementById("studentStudy");
  2544. // if (_formel.ismaximize) {
  2545. // return;
  2546. // }
  2547. // U.UF.F.windowZooming(_formel);
  2548. // U.UF.F.topWindow(_formel);
  2549. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2550. var _formel = document.getElementById("study");
  2551. // if (_formel.ismaximize) {
  2552. // return;
  2553. // }
  2554. // U.UF.F.windowZooming(_formel);
  2555. U.UF.F.topWindow(_formel);
  2556. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2557. var _formel = document.getElementById("studentIndex");
  2558. U.UF.F.windowZooming(_formel);
  2559. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2560. var _formel = document.getElementById("studyDetailS");
  2561. U.UF.F.windowZooming(_formel);
  2562. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2563. var _formel = document.getElementById("studioIndex");
  2564. U.UF.F.windowZooming(_formel);
  2565. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2566. var _formel = document.getElementById("studyDetailStudio");
  2567. U.UF.F.windowZooming(_formel);
  2568. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2569. var _formel = document.getElementById("studyDetailStudio");
  2570. U.UF.F.windowZooming(_formel);
  2571. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2572. var _formel = document.getElementById("studyDetailNT");
  2573. U.UF.F.windowZooming(_formel);
  2574. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2575. var _formel = document.getElementById("studyDetailS");
  2576. U.UF.F.windowZooming(_formel);
  2577. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2578. var _formel = document.getElementById("studyDetailS");
  2579. U.UF.F.topWindow(_formel);
  2580. } else if (e.data.tools && e.data.tools == "1") {
  2581. // U.MD.D.I.openApplication("whiteboard")
  2582. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2583. } else if (e.data.tools && e.data.tools == "2") {
  2584. U.MD.D.I.openApplication("note")
  2585. } else if (e.data.tools && e.data.tools == "3") {
  2586. // U.MD.D.I.openApplication("mind")
  2587. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2588. } else if (e.data.tools && e.data.tools == "4") {
  2589. U.MD.D.I.openApplication("investigation")
  2590. } else if (e.data.tools && e.data.tools == "6") {
  2591. // U.MD.D.I.openApplication("doc")
  2592. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2593. } else if (e.data.tools && e.data.tools == "7") {
  2594. // U.MD.D.I.openApplication("mindNetwork")
  2595. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2596. } else if (e.data.tools && e.data.tools == "8") {
  2597. U.MD.D.I.openApplication("library")
  2598. } else if (e.data.tools && e.data.tools == "17") {
  2599. U.MD.D.I.openApplication("stuLibrary")
  2600. } else if (e.data.tools && e.data.tools == "18") {
  2601. U.MD.D.I.openApplication("train")
  2602. } else if (e.data.tools && e.data.tools == "21") {
  2603. U.MD.D.I.openApplication("program")
  2604. } else if (e.data.tools && e.data.tools == "22") {
  2605. U.MD.D.I.openApplication("AIprogram2")
  2606. } else if (e.data.tools && e.data.tools == "23") {
  2607. U.MD.D.I.openApplication("Pythonprogram")
  2608. } else if (e.data.tools && e.data.tools == "24") {
  2609. U.MD.D.I.openApplication("AIprogram")
  2610. } else if (e.data.tools && e.data.tools == "25") {
  2611. U.MD.D.I.openApplication("sys")
  2612. } else if (e.data.tools && e.data.tools == "26") {
  2613. // U.MD.D.I.openApplication("courseDesign")
  2614. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2615. } else if (e.data.tools && e.data.tools == "31") {
  2616. U.MD.D.I.openApplication("netWorkPanel")
  2617. } else if (e.data.tools && e.data.tools == "32") {
  2618. U.MD.D.I.openApplication("codeEdit")
  2619. } else if (e.data.tools && e.data.tools == "57") {
  2620. U.MD.D.I.openApplication("CocoPi")
  2621. } else if (e.data.tools && e.data.tools == "63") {
  2622. U.MD.D.I.openApplication("Wood")
  2623. } else if (e.data.tools && e.data.tools == "58") {
  2624. U.MD.D.I.openApplication("car")
  2625. } else if (e.data.tools && e.data.tools == "59") {
  2626. U.MD.D.I.openApplication("lineSearch")
  2627. } else if (e.data.tools && e.data.tools == "60") {
  2628. U.MD.D.I.openApplication("deepLearning")
  2629. } else if (e.data.tools && e.data.tools == "61") {
  2630. U.MD.D.I.openApplication("allHistory")
  2631. } else if (e.data.tools && e.data.tools == "28") {
  2632. U.MD.D.I.openApplication("translation")
  2633. } else if (e.data.tools && e.data.tools == "37") {
  2634. U.MD.D.I.openApplication("mohe")
  2635. } else if (e.data.tools && e.data.tools == "38") {
  2636. U.MD.D.I.openApplication("24game")
  2637. } else if (e.data.tools && e.data.tools == "39") {
  2638. U.MD.D.I.openApplication("GeoGebra")
  2639. } else if (e.data.tools && e.data.tools == "43") {
  2640. U.MD.D.I.openApplication("studentEvaluate")
  2641. } else if (e.data.tools && e.data.tools == "44") {
  2642. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2643. } else if (e.data.tools && e.data.tools == "46") {
  2644. U.MD.D.I.openApplication("project")
  2645. } else if (e.data.tools && e.data.tools == "1s") {
  2646. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2647. } else if (e.data.tools && e.data.tools == "3s") {
  2648. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2649. } else if (e.data.tools && e.data.tools == "6s") {
  2650. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2651. } else if (e.data.tools && e.data.tools == "1studio") {
  2652. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2653. } else if (e.data.tools && e.data.tools == "3studio") {
  2654. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2655. } else if (e.data.tools && e.data.tools == "6studio") {
  2656. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2657. } else if (e.data.tools && e.data.tools == "3y") {
  2658. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2659. } else if (e.data.tools && e.data.tools == "1y") {
  2660. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2661. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2662. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2663. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2664. U.MD.D.I.openApplication("AIAnalyse")
  2665. } else if (e.data.tools && e.data.tools == "1teacher") {
  2666. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2667. } else if (e.data.tools && e.data.tools == "3teacher") {
  2668. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2669. } else if (e.data.tools && e.data.tools == "7teacher") {
  2670. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2671. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2672. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2673. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2674. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2675. } else if (e.data.tools && e.data.tools == "1E") {
  2676. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2677. } else if (e.data.tools && e.data.tools == "3E") {
  2678. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2679. } else if (e.data.tools && e.data.tools == "57y") {
  2680. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2681. } else if (e.data.tools && e.data.tools == "57u") {
  2682. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2683. } else if (e.data.tools && e.data.tools == "57teacher") {
  2684. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2685. } else if (e.data.tools && e.data.tools == "64") {
  2686. U.MD.D.I.openApplication("AIChat")
  2687. } else if (e.data.tools && e.data.tools == "66") {
  2688. U.MD.D.I.openApplication("formulaEdi")
  2689. } else if (e.data.tools && e.data.tools == "67") {
  2690. U.MD.D.I.openApplication("molStr")
  2691. } else if (e.data.tools && e.data.tools == "68") {
  2692. U.MD.D.I.openApplication("timeAxis")
  2693. } else if (e.data.tools && e.data.tools == "openCourse") {
  2694. let _data = {
  2695. typea: e.data.typea || '',
  2696. typeb: e.data.typeb || '',
  2697. typed: e.data.typed || '',
  2698. }
  2699. U.MD.D.I.openInApplication("index", _data)
  2700. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2701. let _data = {
  2702. classid: e.data.classid || '',
  2703. }
  2704. U.MD.D.I.openInApplication("dataClass", _data)
  2705. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2706. let _data = {
  2707. cid: e.data.cid || '',
  2708. gid: e.data.gid || '',
  2709. }
  2710. U.MD.D.I.openInApplication("opencCscl", _data)
  2711. }
  2712. });
  2713. U.MD.D.I.selectUser = function() {
  2714. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function(res) { //US.userInfo.userid
  2715. if (res.value[0].length > 0) {
  2716. US.userInfo = res.value[0][0];
  2717. $(".userName")[0].innerHTML = US.userInfo.username;
  2718. }
  2719. }, [], { "type": "GET", "withCredentials": true });
  2720. }
  2721. U.MD.D.I.openInApplication = function(str, data, screenType, tType) {
  2722. var _userinfo = US.userInfo, //登录用户信息
  2723. _userid = US.userInfo.userid, //登录用户id
  2724. _oid = _userinfo.organizeid,
  2725. _type = US.userInfo.type,
  2726. _org = US.userInfo.org,
  2727. _role = US.userInfo.role,
  2728. _classId = US.userInfo.classid;
  2729. if (_type == 4) {
  2730. tType = 4
  2731. }
  2732. switch (str) {
  2733. case "studyDetailNT": //无终端模式
  2734. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2735. setTimeout(() => {
  2736. U.MD.U.L.login();
  2737. }, 2000);
  2738. } else {
  2739. _formdiv = new U.UF.UI.form(
  2740. "课程详情",
  2741. $$("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 }), {
  2742. "id": "studyDetailNT",
  2743. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2744. "onresize": function() {}
  2745. }, {
  2746. closecallback: function() {}
  2747. }, { "style": { "height": "36px" } }).form; //创建窗体
  2748. _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); } }
  2749. break;
  2750. }
  2751. case "studyDetail":
  2752. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2753. setTimeout(() => {
  2754. U.MD.U.L.login();
  2755. }, 2000);
  2756. } else {
  2757. _formdiv = new U.UF.UI.form(
  2758. "课程详情",
  2759. $$("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 }), {
  2760. "id": "studyDetail",
  2761. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2762. "onresize": function() {}
  2763. }, {
  2764. closecallback: function() {}
  2765. }, { "style": { "height": "36px" } }).form; //创建窗体
  2766. _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); } }
  2767. break;
  2768. }
  2769. case "studyDetailS":
  2770. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2771. setTimeout(() => {
  2772. U.MD.U.L.login();
  2773. }, 2000);
  2774. } else {
  2775. _formdiv = new U.UF.UI.form(
  2776. "项目详情",
  2777. $$("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 }), {
  2778. "id": "studyDetailS",
  2779. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2780. "onresize": function() {}
  2781. }, {
  2782. closecallback: function() {}
  2783. }, { "style": { "height": "36px" } }).form; //创建窗体
  2784. _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); } }
  2785. break;
  2786. }
  2787. case "studyDetailStudio":
  2788. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2789. setTimeout(() => {
  2790. U.MD.U.L.login();
  2791. }, 2000);
  2792. } else {
  2793. _formdiv = new U.UF.UI.form(
  2794. "工作详情",
  2795. $$("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 }), {
  2796. "id": "studyDetailStudio",
  2797. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2798. "onresize": function() {}
  2799. }, {
  2800. closecallback: function() {}
  2801. }, { "style": { "height": "36px" } }).form; //创建窗体
  2802. _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); } }
  2803. break;
  2804. }
  2805. case "studyDetailS5":
  2806. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2807. setTimeout(() => {
  2808. U.MD.U.L.login();
  2809. }, 2000);
  2810. } else {
  2811. _formdiv = new U.UF.UI.form(
  2812. "项目详情",
  2813. $$("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 }), {
  2814. "id": "studyDetailS",
  2815. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2816. "onresize": function() {}
  2817. }, {
  2818. closecallback: function() {}
  2819. }, { "style": { "height": "36px" } }).form; //创建窗体
  2820. _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); } }
  2821. break;
  2822. }
  2823. case "studyDetailGM":
  2824. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2825. setTimeout(() => {
  2826. U.MD.U.L.login();
  2827. }, 2000);
  2828. } else {
  2829. _formdiv = new U.UF.UI.form(
  2830. "课程详情",
  2831. $$("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 }), {
  2832. "id": "studyDetail",
  2833. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2834. "onresize": function() {}
  2835. }, {
  2836. closecallback: function() {}
  2837. }, { "style": { "height": "36px" } }).form; //创建窗体
  2838. _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); } }
  2839. break;
  2840. }
  2841. case "hanUrl":
  2842. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2843. setTimeout(() => {
  2844. U.MD.U.L.login();
  2845. }, 2000);
  2846. } else {
  2847. _formdiv = new U.UF.UI.form(
  2848. "汉字宫",
  2849. $$("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" }), {
  2850. "id": "hanUrl",
  2851. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2852. "onresize": function() {}
  2853. }, {
  2854. closecallback: function() {}
  2855. }, { "style": { "height": "36px" } }).form; //创建窗体
  2856. _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); } }
  2857. break;
  2858. }
  2859. case "index":
  2860. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2861. setTimeout(() => {
  2862. U.MD.U.L.login();
  2863. }, 2000);
  2864. } else {
  2865. _formdiv = new U.UF.UI.form(
  2866. "Course Library",
  2867. $$("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 }), {
  2868. "id": "study",
  2869. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2870. "onresize": function() {}
  2871. }, {
  2872. closecallback: function() {}
  2873. }, { "style": { "height": "36px" } }).form; //创建窗体
  2874. _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); } }
  2875. break;
  2876. }
  2877. case "dataClass":
  2878. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2879. setTimeout(() => {
  2880. U.MD.U.L.login();
  2881. }, 2000);
  2882. } else {
  2883. _formdiv = new U.UF.UI.form(
  2884. "数据报告",
  2885. $$("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 }), {
  2886. "id": "dataClass",
  2887. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2888. "onresize": function() {}
  2889. }, {
  2890. closecallback: function() {}
  2891. }, { "style": { "height": "36px" } }).form; //创建窗体
  2892. _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); } }
  2893. break;
  2894. }
  2895. case "opencCscl":
  2896. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2897. setTimeout(() => {
  2898. U.MD.U.L.login();
  2899. }, 2000);
  2900. } else {
  2901. _formdiv = new U.UF.UI.form(
  2902. "CocoNote",
  2903. $$("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 }), {
  2904. "id": "futureClass",
  2905. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2906. "onresize": function() {}
  2907. }, {
  2908. closecallback: function() { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  2909. }, { "style": { "height": "36px" } }).form; //创建窗体
  2910. _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); } }
  2911. break;
  2912. }
  2913. }
  2914. }
  2915. U.MD.D.I.openApplication = function(str, obj, info) {
  2916. obj = obj || {};
  2917. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2918. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2919. _userinfo = US.userInfo, //登录用户信息
  2920. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2921. _oid = obj.organizeid || _userinfo.organizeid,
  2922. _type = US.userInfo.type,
  2923. _org = US.userInfo.org,
  2924. _role = US.userInfo.role,
  2925. _classId = US.userInfo.classid,
  2926. _TscreenType = 1
  2927. _screenType = 2,
  2928. _SscreenType = 3;
  2929. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2930. return;
  2931. }
  2932. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2933. switch (str) {
  2934. case "studnetProject": //好友打开
  2935. _formdiv = new U.UF.UI.form(
  2936. "我的项目",
  2937. $$("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 }), {
  2938. "id": "studnetProject",
  2939. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2940. "onresize": function() {}
  2941. }, {
  2942. closecallback: function() {}
  2943. }, { "style": { "height": "36px" } }).form; //创建窗体
  2944. _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); } }
  2945. break;
  2946. case "studentEvaluate": //好友打开
  2947. _formdiv = new U.UF.UI.form(
  2948. "我的评价",
  2949. $$("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 }), {
  2950. "id": "studentEvaluate",
  2951. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2952. "onresize": function() {}
  2953. }, {
  2954. closecallback: function() {}
  2955. }, { "style": { "height": "36px" } }).form; //创建窗体
  2956. _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); } }
  2957. break;
  2958. case "my":
  2959. _formdiv = new U.UF.UI.form(
  2960. "我的资料",
  2961. $$("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 }), {
  2962. "id": "my",
  2963. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2964. "onresize": function() {}
  2965. }, {
  2966. closecallback: function() {}
  2967. }, { "style": { "height": "36px" } }).form; //创建窗体
  2968. _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); } }
  2969. break;
  2970. case "program":
  2971. _formdiv = new U.UF.UI.form(
  2972. "编程平台",
  2973. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2974. "id": "program",
  2975. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2976. "onresize": function() {}
  2977. }, {
  2978. closecallback: function() {}
  2979. }, { "style": { "height": "36px" } }).form; //创建窗体
  2980. _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); } }
  2981. break;
  2982. case "library":
  2983. _formdiv = new U.UF.UI.form(
  2984. "素材库",
  2985. $$("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 }), {
  2986. "id": "library",
  2987. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2988. "onresize": function() {}
  2989. }, {
  2990. closecallback: function() {}
  2991. }, { "style": { "height": "36px" } }).form; //创建窗体
  2992. _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); } }
  2993. break;
  2994. case "whiteboard":
  2995. _formdiv = new U.UF.UI.form(
  2996. "电子白板",
  2997. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2998. "id": "whiteboard",
  2999. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3000. "onresize": function() {}
  3001. }, {
  3002. closecallback: function() {}
  3003. }, { "style": { "height": "36px" } }).form; //创建窗体
  3004. _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); } }
  3005. break;
  3006. case "investigation":
  3007. _formdiv = new U.UF.UI.form(
  3008. "问卷调查",
  3009. $$("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 }), {
  3010. "id": "investigation",
  3011. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3012. "onresize": function() {}
  3013. }, {
  3014. closecallback: function() {}
  3015. }, { "style": { "height": "36px" } }).form; //创建窗体
  3016. _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); } }
  3017. break;
  3018. case "note":
  3019. _formdiv = new U.UF.UI.form(
  3020. "便签分类",
  3021. $$("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 }), {
  3022. "id": "note",
  3023. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3024. "onresize": function() {}
  3025. }, {
  3026. closecallback: function() {}
  3027. }, { "style": { "height": "36px" } }).form; //创建窗体
  3028. _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); } }
  3029. break;
  3030. // case "score":
  3031. // _formdiv = new U.UF.UI.form(
  3032. // "量规评分",
  3033. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3034. // "id": "score",
  3035. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3036. // "onresize": function() {}
  3037. // }, {
  3038. // closecallback: function() {}
  3039. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3040. // _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); } }
  3041. // break;
  3042. case "mind":
  3043. _formdiv = new U.UF.UI.form(
  3044. "思维导图",
  3045. $$("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"
  3046. "id": "mind",
  3047. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3048. "onresize": function() {}
  3049. }, {
  3050. closecallback: function() {}
  3051. }, { "style": { "height": "36px" } }).form; //创建窗体
  3052. _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); } }
  3053. break;
  3054. case "doc":
  3055. // U.MD.D.I.isRoom();
  3056. _formdiv = new U.UF.UI.form(
  3057. "协同文档",
  3058. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3059. "id": "doc",
  3060. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3061. "onresize": function() {}
  3062. }, {
  3063. closecallback: function() {}
  3064. }, { "style": { "height": "36px" } }).form; //创建窗体
  3065. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3066. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3067. // })
  3068. _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); } }
  3069. break;
  3070. case "studentStudy":
  3071. _formdiv = new U.UF.UI.form(
  3072. "Course Library",
  3073. $$("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
  3074. "id": "studentStudy",
  3075. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3076. "onresize": function() {}
  3077. }, {
  3078. closecallback: function() {}
  3079. }, { "style": { "height": "36px" } }).form; //创建窗体
  3080. _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); } }
  3081. break;
  3082. case "train": //好友打开
  3083. _formdiv = new U.UF.UI.form(
  3084. "训练平台",
  3085. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3086. "id": "train",
  3087. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3088. "onresize": function() {}
  3089. }, {
  3090. closecallback: function() {}
  3091. }, { "style": { "height": "36px" } }).form; //创建窗体
  3092. _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); } }
  3093. break;
  3094. case "mindNetwork": //好友打开
  3095. _formdiv = new U.UF.UI.form(
  3096. "思维网格",
  3097. $$("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 }), {
  3098. "id": "mindNetwork",
  3099. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3100. "onresize": function() {}
  3101. }, {
  3102. closecallback: function() {}
  3103. }, { "style": { "height": "36px" } }).form; //创建窗体
  3104. _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); } }
  3105. break;
  3106. case "studentClassRoom": //好友打开
  3107. _formdiv = new U.UF.UI.form(
  3108. "实时课堂",
  3109. $$("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 }), {
  3110. "id": "studentClassRoom",
  3111. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3112. "onresize": function() {}
  3113. }, {
  3114. closecallback: function() {}
  3115. }, { "style": { "height": "36px" } }).form; //创建窗体
  3116. _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); } }
  3117. setTimeout(() => {
  3118. U.UF.F.windowZooming(_formdiv)
  3119. }, 0);
  3120. break;
  3121. }
  3122. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3123. switch (str) {
  3124. case "studnetProject": //好友打开
  3125. _formdiv = new U.UF.UI.form(
  3126. "我的项目",
  3127. $$("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 }), {
  3128. "id": "studnetProject",
  3129. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3130. "onresize": function() {}
  3131. }, {
  3132. closecallback: function() {}
  3133. }, { "style": { "height": "36px" } }).form; //创建窗体
  3134. _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); } }
  3135. break;
  3136. case "studentEvaluate": //好友打开
  3137. _formdiv = new U.UF.UI.form(
  3138. "我的评价",
  3139. $$("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 }), {
  3140. "id": "studentEvaluate",
  3141. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3142. "onresize": function() {}
  3143. }, {
  3144. closecallback: function() {}
  3145. }, { "style": { "height": "36px" } }).form; //创建窗体
  3146. _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); } }
  3147. break;
  3148. case "my":
  3149. _formdiv = new U.UF.UI.form(
  3150. "我的资料",
  3151. $$("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 }), {
  3152. "id": "my",
  3153. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3154. "onresize": function() {}
  3155. }, {
  3156. closecallback: function() {}
  3157. }, { "style": { "height": "36px" } }).form; //创建窗体
  3158. _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); } }
  3159. break;
  3160. case "program":
  3161. _formdiv = new U.UF.UI.form(
  3162. "编程平台",
  3163. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3164. "id": "program",
  3165. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3166. "onresize": function() {}
  3167. }, {
  3168. closecallback: function() {}
  3169. }, { "style": { "height": "36px" } }).form; //创建窗体
  3170. _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); } }
  3171. break;
  3172. case "library":
  3173. _formdiv = new U.UF.UI.form(
  3174. "素材库",
  3175. $$("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 }), {
  3176. "id": "library",
  3177. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3178. "onresize": function() {}
  3179. }, {
  3180. closecallback: function() {}
  3181. }, { "style": { "height": "36px" } }).form; //创建窗体
  3182. _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); } }
  3183. break;
  3184. case "whiteboard":
  3185. _formdiv = new U.UF.UI.form(
  3186. "电子白板",
  3187. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3188. "id": "whiteboard",
  3189. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3190. "onresize": function() {}
  3191. }, {
  3192. closecallback: function() {}
  3193. }, { "style": { "height": "36px" } }).form; //创建窗体
  3194. _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); } }
  3195. break;
  3196. case "investigation":
  3197. _formdiv = new U.UF.UI.form(
  3198. "问卷调查",
  3199. $$("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 }), {
  3200. "id": "investigation",
  3201. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3202. "onresize": function() {}
  3203. }, {
  3204. closecallback: function() {}
  3205. }, { "style": { "height": "36px" } }).form; //创建窗体
  3206. _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); } }
  3207. break;
  3208. case "note":
  3209. _formdiv = new U.UF.UI.form(
  3210. "便签分类",
  3211. $$("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 }), {
  3212. "id": "note",
  3213. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3214. "onresize": function() {}
  3215. }, {
  3216. closecallback: function() {}
  3217. }, { "style": { "height": "36px" } }).form; //创建窗体
  3218. _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); } }
  3219. break;
  3220. // case "score":
  3221. // _formdiv = new U.UF.UI.form(
  3222. // "量规评分",
  3223. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3224. // "id": "score",
  3225. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3226. // "onresize": function() {}
  3227. // }, {
  3228. // closecallback: function() {}
  3229. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3230. // _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); } }
  3231. // break;
  3232. case "mind":
  3233. _formdiv = new U.UF.UI.form(
  3234. "思维导图",
  3235. $$("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"
  3236. "id": "mind",
  3237. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3238. "onresize": function() {}
  3239. }, {
  3240. closecallback: function() {}
  3241. }, { "style": { "height": "36px" } }).form; //创建窗体
  3242. _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); } }
  3243. break;
  3244. case "doc":
  3245. // U.MD.D.I.isRoom();
  3246. _formdiv = new U.UF.UI.form(
  3247. "协同文档",
  3248. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3249. "id": "doc",
  3250. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3251. "onresize": function() {}
  3252. }, {
  3253. closecallback: function() {}
  3254. }, { "style": { "height": "36px" } }).form; //创建窗体
  3255. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3256. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3257. })
  3258. _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); } }
  3259. break;
  3260. case "train": //好友打开
  3261. _formdiv = new U.UF.UI.form(
  3262. "训练平台",
  3263. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3264. "id": "train",
  3265. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3266. "onresize": function() {}
  3267. }, {
  3268. closecallback: function() {}
  3269. }, { "style": { "height": "36px" } }).form; //创建窗体
  3270. _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); } }
  3271. break;
  3272. case "studentStudy":
  3273. _formdiv = new U.UF.UI.form(
  3274. "Course Library",
  3275. $$("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
  3276. "id": "studentStudy",
  3277. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3278. "onresize": function() {}
  3279. }, {
  3280. closecallback: function() {}
  3281. }, { "style": { "height": "36px" } }).form; //创建窗体
  3282. _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); } }
  3283. break;
  3284. case "mindNetwork": //好友打开
  3285. _formdiv = new U.UF.UI.form(
  3286. "思维网格",
  3287. $$("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 }), {
  3288. "id": "mindNetwork",
  3289. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3290. "onresize": function() {}
  3291. }, {
  3292. closecallback: function() {}
  3293. }, { "style": { "height": "36px" } }).form; //创建窗体
  3294. _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); } }
  3295. break;
  3296. case "studentClassRoom": //好友打开
  3297. _formdiv = new U.UF.UI.form(
  3298. "实时课堂",
  3299. $$("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 }), {
  3300. "id": "studentClassRoom",
  3301. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3302. "onresize": function() {}
  3303. }, {
  3304. closecallback: function() {}
  3305. }, { "style": { "height": "36px" } }).form; //创建窗体
  3306. _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); } }
  3307. setTimeout(() => {
  3308. U.UF.F.windowZooming(_formdiv)
  3309. }, 0);
  3310. break;
  3311. }
  3312. } else if (_type == 2 && _org == "777559d2-7239-11ee-b98c-005056b86db5") {
  3313. switch (str) {
  3314. case "studentStudy":
  3315. _formdiv = new U.UF.UI.form(
  3316. "Course Library",
  3317. $$("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
  3318. "id": "studentStudy",
  3319. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3320. "onresize": function() {}
  3321. }, {
  3322. closecallback: function() {}
  3323. }, { "style": { "height": "36px" } }).form; //创建窗体
  3324. _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); } }
  3325. break;
  3326. }
  3327. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3328. //选择应用处理
  3329. switch (str) {
  3330. case "project": //好友打开
  3331. _formdiv = new U.UF.UI.form(
  3332. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "Course Planning",
  3333. $$("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 }), {
  3334. "id": "project",
  3335. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3336. "onresize": function() {}
  3337. }, {
  3338. closecallback: function() {}
  3339. }, { "style": { "height": "36px" } }).form; //创建窗体
  3340. _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); } }
  3341. break;
  3342. case "student":
  3343. _formdiv = new U.UF.UI.form(
  3344. "Students Management",
  3345. $$("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 }), {
  3346. "id": "student",
  3347. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3348. "onresize": function() {}
  3349. }, {
  3350. closecallback: function() {}
  3351. }, { "style": { "height": "36px" } }).form; //创建窗体
  3352. _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); } }
  3353. break;
  3354. case "evaluate":
  3355. _formdiv = new U.UF.UI.form(
  3356. "Course Assessment",
  3357. $$("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 }), {
  3358. "id": "evaluate",
  3359. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3360. "onresize": function() {}
  3361. }, {
  3362. closecallback: function() {}
  3363. }, { "style": { "height": "36px" } }).form; //创建窗体
  3364. _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); } }
  3365. break;
  3366. case "sys":
  3367. _formdiv = new U.UF.UI.form(
  3368. "目标管理",
  3369. $$("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 }), {
  3370. "id": "sys",
  3371. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3372. "onresize": function() {}
  3373. }, {
  3374. closecallback: function() {}
  3375. }, { "style": { "height": "36px" } }).form; //创建窗体
  3376. _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); } }
  3377. break;
  3378. case "courseDesign":
  3379. _formdiv = new U.UF.UI.form(
  3380. "项目设计",
  3381. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3382. "id": "courseDesign",
  3383. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3384. "onresize": function() {}
  3385. }, {
  3386. closecallback: function() {}
  3387. }, { "style": { "height": "36px" } }).form; //创建窗体
  3388. _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); } }
  3389. break;
  3390. case "program":
  3391. _formdiv = new U.UF.UI.form(
  3392. "编程平台",
  3393. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3394. "id": "program",
  3395. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3396. "onresize": function() {}
  3397. }, {
  3398. closecallback: function() {}
  3399. }, { "style": { "height": "36px" } }).form; //创建窗体
  3400. _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); } }
  3401. break;
  3402. case "class":
  3403. _formdiv = new U.UF.UI.form(
  3404. "班级管理",
  3405. $$("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 }), {
  3406. "id": "class",
  3407. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3408. "onresize": function() {}
  3409. }, {
  3410. closecallback: function() {}
  3411. }, { "style": { "height": "36px" } }).form; //创建窗体
  3412. _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); } }
  3413. break;
  3414. case "Grade":
  3415. _formdiv = new U.UF.UI.form(
  3416. "年级管理",
  3417. $$("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 }), {
  3418. "id": "Grade",
  3419. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3420. "onresize": function() {}
  3421. }, {
  3422. closecallback: function() {}
  3423. }, { "style": { "height": "36px" } }).form; //创建窗体
  3424. _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); } }
  3425. break;
  3426. case "teacherOffice":
  3427. _formdiv = new U.UF.UI.form(
  3428. "Teachers Management",
  3429. $$("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 }), {
  3430. "id": "teacherOffice",
  3431. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3432. "onresize": function() {}
  3433. }, {
  3434. closecallback: function() {}
  3435. }, { "style": { "height": "36px" } }).form; //创建窗体
  3436. _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); } }
  3437. break;
  3438. case "my":
  3439. _formdiv = new U.UF.UI.form(
  3440. "我的资料",
  3441. $$("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 }), {
  3442. "id": "my",
  3443. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3444. "onresize": function() {}
  3445. }, {
  3446. closecallback: function() {}
  3447. }, { "style": { "height": "36px" } }).form; //创建窗体
  3448. _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); } }
  3449. break;
  3450. case "notice":
  3451. _formdiv = new U.UF.UI.form(
  3452. "通知公告",
  3453. $$("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 }), {
  3454. "id": "notice",
  3455. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3456. "onresize": function() {}
  3457. }, {
  3458. closecallback: function() {}
  3459. }, { "style": { "height": "36px" } }).form; //创建窗体
  3460. _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); } }
  3461. break;
  3462. case "library":
  3463. _formdiv = new U.UF.UI.form(
  3464. "素材库",
  3465. $$("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 }), {
  3466. "id": "library",
  3467. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3468. "onresize": function() {}
  3469. }, {
  3470. closecallback: function() {}
  3471. }, { "style": { "height": "36px" } }).form; //创建窗体
  3472. _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); } }
  3473. break;
  3474. case "whiteboard":
  3475. _formdiv = new U.UF.UI.form(
  3476. "电子白板",
  3477. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3478. "id": "whiteboard",
  3479. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3480. "onresize": function() {}
  3481. }, {
  3482. closecallback: function() {}
  3483. }, { "style": { "height": "36px" } }).form; //创建窗体
  3484. _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); } }
  3485. break;
  3486. case "investigation":
  3487. _formdiv = new U.UF.UI.form(
  3488. "问卷调查",
  3489. $$("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 }), {
  3490. "id": "investigation",
  3491. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3492. "onresize": function() {}
  3493. }, {
  3494. closecallback: function() {}
  3495. }, { "style": { "height": "36px" } }).form; //创建窗体
  3496. _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); } }
  3497. break;
  3498. case "note":
  3499. _formdiv = new U.UF.UI.form(
  3500. "便签分类",
  3501. $$("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 }), {
  3502. "id": "note",
  3503. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3504. "onresize": function() {}
  3505. }, {
  3506. closecallback: function() {}
  3507. }, { "style": { "height": "36px" } }).form; //创建窗体
  3508. _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); } }
  3509. break;
  3510. // case "score":
  3511. // _formdiv = new U.UF.UI.form(
  3512. // "量规评分",
  3513. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3514. // "id": "score",
  3515. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3516. // "onresize": function() {}
  3517. // }, {
  3518. // closecallback: function() {}
  3519. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3520. // _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); } }
  3521. // break;
  3522. case "mind":
  3523. _formdiv = new U.UF.UI.form(
  3524. "思维导图",
  3525. $$("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"
  3526. "id": "mind",
  3527. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3528. "onresize": function() {}
  3529. }, {
  3530. closecallback: function() {}
  3531. }, { "style": { "height": "36px" } }).form; //创建窗体
  3532. _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); } }
  3533. break;
  3534. case "doc":
  3535. // U.MD.D.I.isRoom();
  3536. _formdiv = new U.UF.UI.form(
  3537. "协同文档",
  3538. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3539. "id": "doc",
  3540. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3541. "onresize": function() {}
  3542. }, {
  3543. closecallback: function() {}
  3544. }, { "style": { "height": "36px" } }).form; //创建窗体
  3545. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3546. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3547. })
  3548. _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); } }
  3549. break;
  3550. case "study":
  3551. _formdiv = new U.UF.UI.form(
  3552. "Course Library",
  3553. $$("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
  3554. "id": "study",
  3555. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3556. "onresize": function() {}
  3557. }, {
  3558. closecallback: function() {}
  3559. }, { "style": { "height": "36px" } }).form; //创建窗体
  3560. _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); } }
  3561. break;
  3562. case "mindNetwork": //好友打开
  3563. _formdiv = new U.UF.UI.form(
  3564. "思维网格",
  3565. $$("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 }), {
  3566. "id": "mindNetwork",
  3567. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3568. "onresize": function() {}
  3569. }, {
  3570. closecallback: function() {}
  3571. }, { "style": { "height": "36px" } }).form; //创建窗体
  3572. _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); } }
  3573. break;
  3574. case "train": //好友打开
  3575. _formdiv = new U.UF.UI.form(
  3576. "训练平台",
  3577. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3578. "id": "mindNetwork",
  3579. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3580. "onresize": function() {}
  3581. }, {
  3582. closecallback: function() {}
  3583. }, { "style": { "height": "36px" } }).form; //创建窗体
  3584. _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); } }
  3585. break;
  3586. case "teacherClassRoom": //好友打开
  3587. _formdiv = new U.UF.UI.form(
  3588. "实时课堂",
  3589. $$("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 }), {
  3590. "id": "teacherClassRoom",
  3591. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3592. "onresize": function() {}
  3593. }, {
  3594. closecallback: function() {}
  3595. }, { "style": { "height": "36px" } }).form; //创建窗体
  3596. _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); } }
  3597. setTimeout(() => {
  3598. U.UF.F.windowZooming(_formdiv)
  3599. }, 0);
  3600. break;
  3601. }
  3602. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3603. switch (str) {
  3604. case "project": //好友打开
  3605. _formdiv = new U.UF.UI.form(
  3606. "Course Planning",
  3607. $$("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 }), {
  3608. "id": "project",
  3609. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3610. "onresize": function() {}
  3611. }, {
  3612. closecallback: function() {}
  3613. }, { "style": { "height": "36px" } }).form; //创建窗体
  3614. _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); } }
  3615. break;
  3616. case "evaluate":
  3617. _formdiv = new U.UF.UI.form(
  3618. "Course Assessment",
  3619. $$("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 }), {
  3620. "id": "evaluate",
  3621. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3622. "onresize": function() {}
  3623. }, {
  3624. closecallback: function() {}
  3625. }, { "style": { "height": "36px" } }).form; //创建窗体
  3626. _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); } }
  3627. break;
  3628. case "notice":
  3629. _formdiv = new U.UF.UI.form(
  3630. "通知公告",
  3631. $$("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 }), {
  3632. "id": "notice",
  3633. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3634. "onresize": function() {}
  3635. }, {
  3636. closecallback: function() {}
  3637. }, { "style": { "height": "36px" } }).form; //创建窗体
  3638. _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); } }
  3639. break;
  3640. case "stuLibrary":
  3641. _formdiv = new U.UF.UI.form(
  3642. "学习资料",
  3643. $$("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 }), {
  3644. "id": "stuLibrary",
  3645. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3646. "onresize": function() {}
  3647. }, {
  3648. closecallback: function() {}
  3649. }, { "style": { "height": "36px" } }).form; //创建窗体
  3650. _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); } }
  3651. break;
  3652. case "program":
  3653. _formdiv = new U.UF.UI.form(
  3654. "编程平台",
  3655. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3656. "id": "program",
  3657. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3658. "onresize": function() {}
  3659. }, {
  3660. closecallback: function() {}
  3661. }, { "style": { "height": "36px" } }).form; //创建窗体
  3662. _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); } }
  3663. break;
  3664. case "whiteboard":
  3665. _formdiv = new U.UF.UI.form(
  3666. "电子白板",
  3667. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3668. "id": "whiteboard",
  3669. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3670. "onresize": function() {}
  3671. }, {
  3672. closecallback: function() {}
  3673. }, { "style": { "height": "36px" } }).form; //创建窗体
  3674. _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); } }
  3675. break;
  3676. case "investigation":
  3677. _formdiv = new U.UF.UI.form(
  3678. "问卷调查",
  3679. $$("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 }), {
  3680. "id": "investigation",
  3681. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3682. "onresize": function() {}
  3683. }, {
  3684. closecallback: function() {}
  3685. }, { "style": { "height": "36px" } }).form; //创建窗体
  3686. _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); } }
  3687. break;
  3688. case "mind":
  3689. _formdiv = new U.UF.UI.form(
  3690. "思维导图",
  3691. $$("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"
  3692. "id": "mind",
  3693. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3694. "onresize": function() {}
  3695. }, {
  3696. closecallback: function() {}
  3697. }, { "style": { "height": "36px" } }).form; //创建窗体
  3698. _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); } }
  3699. break;
  3700. case "doc":
  3701. // U.MD.D.I.isRoom();
  3702. _formdiv = new U.UF.UI.form(
  3703. "协同文档",
  3704. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3705. "id": "doc",
  3706. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3707. "onresize": function() {}
  3708. }, {
  3709. closecallback: function() {}
  3710. }, { "style": { "height": "36px" } }).form; //创建窗体
  3711. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3712. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3713. })
  3714. _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); } }
  3715. break;
  3716. case "study":
  3717. _formdiv = new U.UF.UI.form(
  3718. "Course Library",
  3719. $$("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
  3720. "id": "study",
  3721. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3722. "onresize": function() {}
  3723. }, {
  3724. closecallback: function() {}
  3725. }, { "style": { "height": "36px" } }).form; //创建窗体
  3726. _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); } }
  3727. break;
  3728. case "mindNetwork": //好友打开
  3729. _formdiv = new U.UF.UI.form(
  3730. "思维网格",
  3731. $$("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 }), {
  3732. "id": "mindNetwork",
  3733. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3734. "onresize": function() {}
  3735. }, {
  3736. closecallback: function() {}
  3737. }, { "style": { "height": "36px" } }).form; //创建窗体
  3738. _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); } }
  3739. break;
  3740. case "train": //好友打开
  3741. _formdiv = new U.UF.UI.form(
  3742. "训练平台",
  3743. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3744. "id": "train",
  3745. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3746. "onresize": function() {}
  3747. }, {
  3748. closecallback: function() {}
  3749. }, { "style": { "height": "36px" } }).form; //创建窗体
  3750. _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); } }
  3751. break;
  3752. case "sys":
  3753. _formdiv = new U.UF.UI.form(
  3754. "目标管理",
  3755. $$("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 }), {
  3756. "id": "sys",
  3757. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3758. "onresize": function() {}
  3759. }, {
  3760. closecallback: function() {}
  3761. }, { "style": { "height": "36px" } }).form; //创建窗体
  3762. _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); } }
  3763. break;
  3764. case "courseDesign":
  3765. _formdiv = new U.UF.UI.form(
  3766. "项目设计",
  3767. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3768. "id": "courseDesign",
  3769. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3770. "onresize": function() {}
  3771. }, {
  3772. closecallback: function() {}
  3773. }, { "style": { "height": "36px" } }).form; //创建窗体
  3774. _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); } }
  3775. break;
  3776. }
  3777. } else if ((_type == 1 || _type == 4) && _org == "777559d2-7239-11ee-b98c-005056b86db5") {
  3778. switch (str) {
  3779. case "project": //好友打开
  3780. _formdiv = new U.UF.UI.form(
  3781. "Course Planning",
  3782. $$("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 }), {
  3783. "id": "project",
  3784. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3785. "onresize": function() {}
  3786. }, {
  3787. closecallback: function() {}
  3788. }, { "style": { "height": "36px" } }).form; //创建窗体
  3789. _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); } }
  3790. break;
  3791. case "study":
  3792. _formdiv = new U.UF.UI.form(
  3793. "Course Library",
  3794. $$("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
  3795. "id": "study",
  3796. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3797. "onresize": function() {}
  3798. }, {
  3799. closecallback: function() {}
  3800. }, { "style": { "height": "36px" } }).form; //创建窗体
  3801. _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); } }
  3802. break;
  3803. case "student":
  3804. _formdiv = new U.UF.UI.form(
  3805. "Students Management",
  3806. $$("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 }), {
  3807. "id": "student",
  3808. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3809. "onresize": function() {}
  3810. }, {
  3811. closecallback: function() {}
  3812. }, { "style": { "height": "36px" } }).form; //创建窗体
  3813. _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); } }
  3814. break;
  3815. case "evaluate":
  3816. _formdiv = new U.UF.UI.form(
  3817. "Course Assessment",
  3818. $$("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 }), {
  3819. "id": "evaluate",
  3820. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3821. "onresize": function() {}
  3822. }, {
  3823. closecallback: function() {}
  3824. }, { "style": { "height": "36px" } }).form; //创建窗体
  3825. _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); } }
  3826. break;
  3827. case "studentCourseS": //Project Planning 老师
  3828. _formdiv = new U.UF.UI.form(
  3829. "Project Planning",
  3830. $$("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 }), {
  3831. "id": "studentCourseS",
  3832. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3833. "onresize": function() {}
  3834. }, {
  3835. closecallback: function() {}
  3836. }, { "style": { "height": "36px" } }).form; //创建窗体
  3837. _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); } }
  3838. break;
  3839. case "studentIndex": //Project Library
  3840. _formdiv = new U.UF.UI.form(
  3841. "Project Library",
  3842. $$("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 }), {
  3843. "id": "studentIndex",
  3844. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3845. "onresize": function() {}
  3846. }, {
  3847. closecallback: function() {}
  3848. }, { "style": { "height": "36px" } }).form; //创建窗体
  3849. _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); } }
  3850. break;
  3851. case "teacherOffice":
  3852. _formdiv = new U.UF.UI.form(
  3853. "Teachers Management",
  3854. $$("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 }), {
  3855. "id": "teacherOffice",
  3856. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3857. "onresize": function() {}
  3858. }, {
  3859. closecallback: function() {}
  3860. }, { "style": { "height": "36px" } }).form; //创建窗体
  3861. _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); } }
  3862. break;
  3863. case "learnAna": //好友打开
  3864. _formdiv = new U.UF.UI.form(
  3865. "Learning Analytics",
  3866. $$("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 }), {
  3867. "id": "learnAna",
  3868. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3869. "onresize": function() {}
  3870. }, {
  3871. closecallback: function() {}
  3872. }, { "style": { "height": "36px" } }).form; //创建窗体
  3873. _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); } }
  3874. break;
  3875. case "AIprogram2": //AI Chat
  3876. _formdiv = new U.UF.UI.form(
  3877. "AI Chat",
  3878. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3879. "id": "AIprogram2",
  3880. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3881. "onresize": function() {}
  3882. }, {
  3883. closecallback: function() {}
  3884. }, { "style": { "height": "36px" } }).form; //创建窗体
  3885. _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); } }
  3886. break;
  3887. }
  3888. } else if (!_type) {
  3889. switch (str) {
  3890. case "my":
  3891. _formdiv = new U.UF.UI.form(
  3892. "我的资料",
  3893. $$("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 }), {
  3894. "id": "my",
  3895. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3896. "onresize": function() {}
  3897. }, {
  3898. closecallback: function() {}
  3899. }, { "style": { "height": "36px" } }).form; //创建窗体
  3900. _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); } }
  3901. break;
  3902. }
  3903. }
  3904. switch (str) {
  3905. // AIprogram2 AI Chat aihub.cocorobo.cn
  3906. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3907. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3908. case "formulaEdi": //公式编辑
  3909. _formdiv = new U.UF.UI.form(
  3910. "公式编辑",
  3911. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3912. "id": "formulaEdi",
  3913. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3914. "onresize": function() {}
  3915. }, {
  3916. closecallback: function() {}
  3917. }, { "style": { "height": "36px" } }).form; //创建窗体
  3918. _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); } }
  3919. break;
  3920. case "molStr": //分子结构
  3921. _formdiv = new U.UF.UI.form(
  3922. "分子结构",
  3923. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3924. "id": "molStr",
  3925. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3926. "onresize": function() {}
  3927. }, {
  3928. closecallback: function() {}
  3929. }, { "style": { "height": "36px" } }).form; //创建窗体
  3930. _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); } }
  3931. break;
  3932. case "timeAxis": //时间轴
  3933. _formdiv = new U.UF.UI.form(
  3934. "时间轴",
  3935. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3936. "id": "timeAxis",
  3937. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3938. "onresize": function() {}
  3939. }, {
  3940. closecallback: function() {}
  3941. }, { "style": { "height": "36px" } }).form; //创建窗体
  3942. _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); } }
  3943. break;
  3944. case "AIprogram2": //AI Chat
  3945. _formdiv = new U.UF.UI.form(
  3946. "AI Chat",
  3947. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3948. "id": "AIprogram2",
  3949. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3950. "onresize": function() {}
  3951. }, {
  3952. closecallback: function() {}
  3953. }, { "style": { "height": "36px" } }).form; //创建窗体
  3954. _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); } }
  3955. break;
  3956. case "Pythonprogram": //python编程
  3957. _formdiv = new U.UF.UI.form(
  3958. "Python编程",
  3959. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3960. "id": "Pythonprogram",
  3961. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3962. "onresize": function() {}
  3963. }, {
  3964. closecallback: function() {}
  3965. }, { "style": { "height": "36px" } }).form; //创建窗体
  3966. _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); } }
  3967. break;
  3968. case "AIprogram": //ai编程
  3969. _formdiv = new U.UF.UI.form(
  3970. "AI编程平台",
  3971. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3972. "id": "AIprogram",
  3973. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3974. "onresize": function() {}
  3975. }, {
  3976. closecallback: function() {}
  3977. }, { "style": { "height": "36px" } }).form; //创建窗体
  3978. _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); } }
  3979. break;
  3980. case "CocoPi": //CocoPi
  3981. _formdiv = new U.UF.UI.form(
  3982. "CocoPi",
  3983. $$("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" }), {
  3984. "id": "CocoPi",
  3985. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3986. "onresize": function() {}
  3987. }, {
  3988. closecallback: function() {}
  3989. }, { "style": { "height": "36px" } }).form; //创建窗体
  3990. _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); } }
  3991. break;
  3992. case "Wood": //Wood
  3993. _formdiv = new U.UF.UI.form(
  3994. "海龟编程",
  3995. $$("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/" }), {
  3996. "id": "Wood",
  3997. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3998. "onresize": function() {}
  3999. }, {
  4000. closecallback: function() {}
  4001. }, { "style": { "height": "36px" } }).form; //创建窗体
  4002. _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); } }
  4003. break;
  4004. case "car": //模拟驾驶
  4005. _formdiv = new U.UF.UI.form(
  4006. "模拟驾驶",
  4007. $$("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/" }), {
  4008. "id": "car",
  4009. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4010. "onresize": function() {}
  4011. }, {
  4012. closecallback: function() {}
  4013. }, { "style": { "height": "36px" } }).form; //创建窗体
  4014. _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); } }
  4015. break;
  4016. case "lineSearch": //路径搜索
  4017. _formdiv = new U.UF.UI.form(
  4018. "路径搜索",
  4019. $$("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/" }), {
  4020. "id": "lineSearch",
  4021. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4022. "onresize": function() {}
  4023. }, {
  4024. closecallback: function() {}
  4025. }, { "style": { "height": "36px" } }).form; //创建窗体
  4026. _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); } }
  4027. break;
  4028. case "deepLearning": //深度学习
  4029. _formdiv = new U.UF.UI.form(
  4030. "深度学习",
  4031. $$("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/#" }), {
  4032. "id": "deepLearning",
  4033. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4034. "onresize": function() {}
  4035. }, {
  4036. closecallback: function() {}
  4037. }, { "style": { "height": "36px" } }).form; //创建窗体
  4038. _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); } }
  4039. break;
  4040. case "allHistory": //深度学习
  4041. _formdiv = new U.UF.UI.form(
  4042. "全历史",
  4043. $$("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/" }), {
  4044. "id": "allHistory",
  4045. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4046. "onresize": function() {}
  4047. }, {
  4048. closecallback: function() {}
  4049. }, { "style": { "height": "36px" } }).form; //创建窗体
  4050. _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); } }
  4051. break;
  4052. case "chatPDF": //ai编程
  4053. _formdiv = new U.UF.UI.form(
  4054. "chatPDF",
  4055. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4056. "id": "chatPDF",
  4057. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4058. "onresize": function() {}
  4059. }, {
  4060. closecallback: function() {}
  4061. }, { "style": { "height": "36px" } }).form; //创建窗体
  4062. _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); } }
  4063. break;
  4064. case "resources": //国家教育
  4065. _formdiv = new U.UF.UI.form(
  4066. "国家教育",
  4067. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4068. "id": "resources",
  4069. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4070. "onresize": function() {}
  4071. }, {
  4072. closecallback: function() {}
  4073. }, { "style": { "height": "36px" } }).form; //创建窗体
  4074. _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); } }
  4075. break;
  4076. case "codeEdit": //源码编辑
  4077. _formdiv = new U.UF.UI.form(
  4078. "源码编辑",
  4079. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4080. "id": "codeEdit",
  4081. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4082. "onresize": function() {}
  4083. }, {
  4084. closecallback: function() {}
  4085. }, { "style": { "height": "36px" } }).form; //创建窗体
  4086. _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); } }
  4087. break; //
  4088. case "MindMap": //MindMap
  4089. _formdiv = new U.UF.UI.form(
  4090. "MindMap",
  4091. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4092. "id": "MindMap",
  4093. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4094. "onresize": function() {}
  4095. }, {
  4096. closecallback: function() {}
  4097. }, { "style": { "height": "36px" } }).form; //创建窗体
  4098. _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); } }
  4099. break;
  4100. case "netWorkPanel": //netWorkPanel
  4101. _formdiv = new U.UF.UI.form(
  4102. "netWorkPanel",
  4103. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4104. "id": "netWorkPanel",
  4105. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4106. "onresize": function() {}
  4107. }, {
  4108. closecallback: function() {}
  4109. }, { "style": { "height": "36px" } }).form; //创建窗体
  4110. _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); } }
  4111. break;
  4112. case "GeoGebra": //GeoGebra
  4113. _formdiv = new U.UF.UI.form(
  4114. "GeoGebra",
  4115. $$("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" }), {
  4116. "id": "GeoGebra",
  4117. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4118. "onresize": function() {}
  4119. }, {
  4120. closecallback: function() {}
  4121. }, { "style": { "height": "36px" } }).form; //创建窗体
  4122. _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); } }
  4123. break;
  4124. case "translation": //翻译
  4125. _formdiv = new U.UF.UI.form(
  4126. "翻译",
  4127. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4128. "id": "translation",
  4129. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4130. "onresize": function() {}
  4131. }, {
  4132. closecallback: function() {}
  4133. }, { "style": { "height": "36px" } }).form; //创建窗体
  4134. _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); } }
  4135. break;
  4136. case "mohe": //魔盒
  4137. _formdiv = new U.UF.UI.form(
  4138. "魔盒识字",
  4139. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4140. "id": "mohe",
  4141. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4142. "onresize": function() {}
  4143. }, {
  4144. closecallback: function() {}
  4145. }, { "style": { "height": "36px" } }).form; //创建窗体
  4146. _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); } }
  4147. break;
  4148. case "24game": //24点
  4149. _formdiv = new U.UF.UI.form(
  4150. "24点",
  4151. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4152. "id": "24game",
  4153. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4154. "onresize": function() {}
  4155. }, {
  4156. closecallback: function() {}
  4157. }, { "style": { "height": "36px" } }).form; //创建窗体
  4158. _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); } }
  4159. break;
  4160. case "case":
  4161. _formdiv = new U.UF.UI.form(
  4162. "课程进展",
  4163. $$("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 }), {
  4164. "id": "case",
  4165. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4166. "onresize": function() {}
  4167. }, {
  4168. closecallback: function() {}
  4169. }, { "style": { "height": "36px" } }).form; //创建窗体
  4170. _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); } }
  4171. break;
  4172. case "snf":
  4173. _formdiv = new U.UF.UI.form(
  4174. "赛诺梵",
  4175. $$("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" }), {
  4176. "id": "snf",
  4177. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4178. "onresize": function() {}
  4179. }, {
  4180. closecallback: function() {}
  4181. }, { "style": { "height": "36px" } }).form; //创建窗体
  4182. _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); } }
  4183. break;
  4184. case "hanFamily":
  4185. _formdiv = new U.UF.UI.form(
  4186. "汉字家族",
  4187. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4188. "id": "hanFamily",
  4189. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4190. "onresize": function() {}
  4191. }, {
  4192. closecallback: function() {}
  4193. }, { "style": { "height": "36px" } }).form; //创建窗体
  4194. _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); } }
  4195. break;
  4196. case "hanClassics":
  4197. _formdiv = new U.UF.UI.form(
  4198. "国学经典",
  4199. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4200. "id": "hanClassics",
  4201. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4202. "onresize": function() {}
  4203. }, {
  4204. closecallback: function() {}
  4205. }, { "style": { "height": "36px" } }).form; //创建窗体
  4206. _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); } }
  4207. break;
  4208. case "hanTraining":
  4209. _formdiv = new U.UF.UI.form(
  4210. "笔画训练",
  4211. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4212. "id": "hanTraining",
  4213. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4214. "onresize": function() {}
  4215. }, {
  4216. closecallback: function() {}
  4217. }, { "style": { "height": "36px" } }).form; //创建窗体
  4218. _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); } }
  4219. break;
  4220. case "hanClass":
  4221. _formdiv = new U.UF.UI.form(
  4222. "书法课堂",
  4223. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4224. "id": "hanClass",
  4225. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4226. "onresize": function() {}
  4227. }, {
  4228. closecallback: function() {}
  4229. }, { "style": { "height": "36px" } }).form; //创建窗体
  4230. _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); } }
  4231. break;
  4232. case "han":
  4233. _formdiv = new U.UF.UI.form(
  4234. "汉字宫",
  4235. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4236. "id": "han",
  4237. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4238. "onresize": function() {}
  4239. }, {
  4240. closecallback: function() {}
  4241. }, { "style": { "height": "36px" } }).form; //创建窗体
  4242. _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); } }
  4243. break;
  4244. case "projectGM": //Course Planning
  4245. _formdiv = new U.UF.UI.form(
  4246. "Course Planning",
  4247. $$("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 }), {
  4248. "id": "projectGM",
  4249. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4250. "onresize": function() {}
  4251. }, {
  4252. closecallback: function() {}
  4253. }, { "style": { "height": "36px" } }).form; //创建窗体
  4254. _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); } }
  4255. break;
  4256. case "studyGM": //Course Library
  4257. _formdiv = new U.UF.UI.form(
  4258. "Course Library",
  4259. $$("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
  4260. "id": "study",
  4261. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4262. "onresize": function() {}
  4263. }, {
  4264. closecallback: function() {}
  4265. }, { "style": { "height": "36px" } }).form; //创建窗体
  4266. _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); } }
  4267. break;
  4268. // studentGM
  4269. case "studentGM": //Students Management
  4270. _formdiv = new U.UF.UI.form(
  4271. "Students Management",
  4272. $$("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 }), {
  4273. "id": "studentGM",
  4274. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4275. "onresize": function() {}
  4276. }, {
  4277. closecallback: function() {}
  4278. }, { "style": { "height": "36px" } }).form; //创建窗体
  4279. _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); } }
  4280. break;
  4281. case "evaluateGM": //Course Assessment
  4282. _formdiv = new U.UF.UI.form(
  4283. "Course Assessment",
  4284. $$("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 }), {
  4285. "id": "evaluateGM",
  4286. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4287. "onresize": function() {}
  4288. }, {
  4289. closecallback: function() {}
  4290. }, { "style": { "height": "36px" } }).form; //创建窗体
  4291. _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); } }
  4292. break;
  4293. // classGM
  4294. case "classGM": //班级管理
  4295. _formdiv = new U.UF.UI.form(
  4296. "班级管理",
  4297. $$("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 }), {
  4298. "id": "classGM",
  4299. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4300. "onresize": function() {}
  4301. }, {
  4302. closecallback: function() {}
  4303. }, { "style": { "height": "36px" } }).form; //创建窗体
  4304. _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); } }
  4305. break;
  4306. // dataGM
  4307. case "dataGM":
  4308. _formdiv = new U.UF.UI.form(
  4309. "我的资料",
  4310. $$("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 }), {
  4311. "id": "dataGM",
  4312. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4313. "onresize": function() {}
  4314. }, {
  4315. closecallback: function() {}
  4316. }, { "style": { "height": "36px" } }).form; //创建窗体
  4317. _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); } }
  4318. break;
  4319. // caseGM
  4320. case "caseGM": //课程进展
  4321. _formdiv = new U.UF.UI.form(
  4322. "课程进展",
  4323. $$("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 }), {
  4324. "id": "caseGM",
  4325. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4326. "onresize": function() {}
  4327. }, {
  4328. closecallback: function() {}
  4329. }, { "style": { "height": "36px" } }).form; //创建窗体
  4330. _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); } }
  4331. break;
  4332. // meterialGM
  4333. case "meterialGM": //素材库
  4334. _formdiv = new U.UF.UI.form(
  4335. "素材库",
  4336. $$("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 }), {
  4337. "id": "meterialGM",
  4338. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4339. "onresize": function() {}
  4340. }, {
  4341. closecallback: function() {}
  4342. }, { "style": { "height": "36px" } }).form; //创建窗体
  4343. _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); } }
  4344. break;
  4345. // evaluateSGM
  4346. case "evaluateSGM": //我的评价
  4347. _formdiv = new U.UF.UI.form(
  4348. "我的评价",
  4349. $$("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 }), {
  4350. "id": "evaluateSGM",
  4351. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4352. "onresize": function() {}
  4353. }, {
  4354. closecallback: function() {}
  4355. }, { "style": { "height": "36px" } }).form; //创建窗体
  4356. _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); } }
  4357. break;
  4358. case "jupyter": //jupyter
  4359. _formdiv = new U.UF.UI.form(
  4360. "jupyter",
  4361. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4362. "id": "jupyter",
  4363. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4364. "onresize": function() {}
  4365. }, {
  4366. closecallback: function() {}
  4367. }, { "style": { "height": "36px" } }).form; //创建窗体
  4368. _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); } }
  4369. break;
  4370. case "number": //数字实验室
  4371. _formdiv = new U.UF.UI.form(
  4372. "数字实验室",
  4373. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4374. "id": "number",
  4375. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4376. "onresize": function() {}
  4377. }, {
  4378. closecallback: function() {}
  4379. }, { "style": { "height": "36px" } }).form; //创建窗体
  4380. _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); } }
  4381. break;
  4382. case "studentCourse": //Project Planning 学生
  4383. _formdiv = new U.UF.UI.form(
  4384. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "Project Planning",
  4385. $$("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 }), {
  4386. "id": "studentCourse",
  4387. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4388. "onresize": function() {}
  4389. }, {
  4390. closecallback: function() {}
  4391. }, { "style": { "height": "36px" } }).form; //创建窗体
  4392. _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); } }
  4393. break;
  4394. case "studentCourseS": //Project Planning 老师
  4395. _formdiv = new U.UF.UI.form(
  4396. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "Project Planning",
  4397. $$("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 }), {
  4398. "id": "studentCourseS",
  4399. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4400. "onresize": function() {}
  4401. }, {
  4402. closecallback: function() {}
  4403. }, { "style": { "height": "36px" } }).form; //创建窗体
  4404. _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); } }
  4405. break;
  4406. case "studentIndex": //Project Library
  4407. _formdiv = new U.UF.UI.form(
  4408. "Project Library",
  4409. $$("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 }), {
  4410. "id": "studentIndex",
  4411. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4412. "onresize": function() {}
  4413. }, {
  4414. closecallback: function() {}
  4415. }, { "style": { "height": "36px" } }).form; //创建窗体
  4416. _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); } }
  4417. break;
  4418. case "CaseDesignS":
  4419. _formdiv = new U.UF.UI.form(
  4420. "项目进展",
  4421. $$("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 }), {
  4422. "id": "case",
  4423. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4424. "onresize": function() {}
  4425. }, {
  4426. closecallback: function() {}
  4427. }, { "style": { "height": "36px" } }).form; //创建窗体
  4428. _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); } }
  4429. break;
  4430. case "tcStudent": //腾讯学生管理
  4431. _formdiv = new U.UF.UI.form(
  4432. "Students Management",
  4433. $$("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 }), {
  4434. "id": "tcStudent",
  4435. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4436. "onresize": function() {}
  4437. }, {
  4438. closecallback: function() {}
  4439. }, { "style": { "height": "36px" } }).form; //创建窗体
  4440. _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); } }
  4441. break;
  4442. case "tcSchool": //腾讯学校管理
  4443. _formdiv = new U.UF.UI.form(
  4444. "学校管理",
  4445. $$("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 }), {
  4446. "id": "tcSchool",
  4447. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4448. "onresize": function() {}
  4449. }, {
  4450. closecallback: function() {}
  4451. }, { "style": { "height": "36px" } }).form; //创建窗体
  4452. _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); } }
  4453. break;
  4454. case "tcTeacher": //腾讯学校管理
  4455. _formdiv = new U.UF.UI.form(
  4456. "教师管理",
  4457. $$("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 }), {
  4458. "id": "tcTeacher",
  4459. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4460. "onresize": function() {}
  4461. }, {
  4462. closecallback: function() {}
  4463. }, { "style": { "height": "36px" } }).form; //创建窗体
  4464. _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); } }
  4465. break;
  4466. case "tcData": //腾讯我的资料
  4467. _formdiv = new U.UF.UI.form(
  4468. "我的资料",
  4469. $$("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 }), {
  4470. "id": "tcData",
  4471. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4472. "onresize": function() {}
  4473. }, {
  4474. closecallback: function() {}
  4475. }, { "style": { "height": "36px" } }).form; //创建窗体
  4476. _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); } }
  4477. break;
  4478. case "tcNotice": //腾讯消息通知
  4479. _formdiv = new U.UF.UI.form(
  4480. "消息通知",
  4481. $$("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 }), {
  4482. "id": "tcNotice",
  4483. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4484. "onresize": function() {}
  4485. }, {
  4486. closecallback: function() {}
  4487. }, { "style": { "height": "36px" } }).form; //创建窗体
  4488. _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); } }
  4489. break;
  4490. case "myReport": //好友打开
  4491. _formdiv = new U.UF.UI.form(
  4492. "我的评价",
  4493. $$("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 }), {
  4494. "id": "myReport",
  4495. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4496. "onresize": function() {}
  4497. }, {
  4498. closecallback: function() {}
  4499. }, { "style": { "height": "36px" } }).form; //创建窗体
  4500. _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); } }
  4501. break;
  4502. case "learnAna": //好友打开
  4503. _formdiv = new U.UF.UI.form(
  4504. "Learning Analytics",
  4505. $$("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 }), {
  4506. "id": "learnAna",
  4507. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4508. "onresize": function() {}
  4509. }, {
  4510. closecallback: function() {}
  4511. }, { "style": { "height": "36px" } }).form; //创建窗体
  4512. _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); } }
  4513. break;
  4514. case "AIChat": //AI共创
  4515. _formdiv = new U.UF.UI.form(
  4516. "AI共创",
  4517. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4518. "id": "AIChat",
  4519. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4520. "onresize": function() {}
  4521. }, {
  4522. istop: true,
  4523. closecallback: function() { $("#aichat_icon").remove(); },
  4524. narrowcallback: function() {
  4525. if (!$("#aichat_icon")[0]) {
  4526. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function() { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4527. }
  4528. },
  4529. }, { "style": { "height": "36px" } }).form; //创建窗体
  4530. _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); } }
  4531. break;
  4532. case "ainew": //AI共创
  4533. _formdiv = new U.UF.UI.form(
  4534. "AI协同",
  4535. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4536. "id": "ainew",
  4537. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4538. "onresize": function() {}
  4539. }, {
  4540. closecallback: function() {}
  4541. }, { "style": { "height": "36px" } }).form; //创建窗体
  4542. _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); } }
  4543. break;
  4544. case "futureClass": //AI共创
  4545. _formdiv = new U.UF.UI.form(
  4546. "CocoNote",
  4547. $$("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
  4548. "id": "synergyCourse",
  4549. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4550. "onresize": function() {}
  4551. }, {
  4552. closecallback: function() {
  4553. $("iframe", _formdiv)[0].contentWindow.loginout();
  4554. }
  4555. }, { "style": { "height": "36px" } }).form; //创建窗体
  4556. _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); } }
  4557. break;
  4558. case "aiagent": //ai agent
  4559. _formdiv = new U.UF.UI.form(
  4560. "AI Agent",
  4561. $$("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" }), {
  4562. "id": "AIAgent",
  4563. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4564. "onresize": function() {}
  4565. }, {
  4566. closecallback: function() {}
  4567. }, { "style": { "height": "36px" } }).form; //创建窗体
  4568. _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); } }
  4569. break;
  4570. case "aigpt": //gpt4
  4571. _formdiv = new U.UF.UI.form(
  4572. "AI助手+",
  4573. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.com/aigpt/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4574. "id": "aigpt",
  4575. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4576. "onresize": function () { }
  4577. }, {
  4578. closecallback: function () {
  4579. $("iframe", _formdiv)[0].contentWindow.app.log_out();
  4580. }
  4581. }, { "style": { "height": "36px" } }).form; //创建窗体
  4582. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aigpt.png)" }, "name": "AI助手+", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4583. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4584. $("iframe", _formdiv)[0].contentWindow.app.log_in();
  4585. })
  4586. break;
  4587. case "dataBoard": //数据看板
  4588. _formdiv = new U.UF.UI.form(
  4589. "数据看板",
  4590. $$("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 }), {
  4591. "id": "dataBoard",
  4592. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4593. "onresize": function() {}
  4594. }, {
  4595. closecallback: function() {}
  4596. }, { "style": { "height": "36px" } }).form; //创建窗体
  4597. _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); } }
  4598. break;
  4599. case "dataBoardSies": //数据融合
  4600. _formdiv = new U.UF.UI.form(
  4601. "数据融合",
  4602. $$("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 }), {
  4603. "id": "dataBoardSies",
  4604. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4605. "onresize": function() {}
  4606. }, {
  4607. closecallback: function() {}
  4608. }, { "style": { "height": "36px" } }).form; //创建窗体
  4609. _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); } }
  4610. break;
  4611. case "dataBoardNew": //数据看板
  4612. _formdiv = new U.UF.UI.form(
  4613. "综合看板",
  4614. $$("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 }), {
  4615. "id": "dataBoardNew",
  4616. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4617. "onresize": function() {}
  4618. }, {
  4619. closecallback: function() {}
  4620. }, { "style": { "height": "36px" } }).form; //创建窗体
  4621. _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); } }
  4622. break;
  4623. case "AIAnalyse": //AI共创
  4624. _formdiv = new U.UF.UI.form(
  4625. "AI分析",
  4626. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4627. "id": "AIAnalyse",
  4628. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4629. "onresize": function() {}
  4630. }, {
  4631. closecallback: function() {}
  4632. }, { "style": { "height": "36px" } }).form; //创建窗体
  4633. _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); } }
  4634. break;
  4635. case "studioCourse": //AI共创
  4636. _formdiv = new U.UF.UI.form(
  4637. "工作管理",
  4638. $$("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 }), {
  4639. "id": "studioCourse",
  4640. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4641. "onresize": function() {}
  4642. }, {
  4643. closecallback: function() {}
  4644. }, { "style": { "height": "36px" } }).form; //创建窗体
  4645. _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); } }
  4646. break;
  4647. case "studioIndex": //AI共创
  4648. _formdiv = new U.UF.UI.form(
  4649. "工作中心",
  4650. $$("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 }), {
  4651. "id": "studioIndex",
  4652. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4653. "onresize": function() {}
  4654. }, {
  4655. closecallback: function() {}
  4656. }, { "style": { "height": "36px" } }).form; //创建窗体
  4657. _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); } }
  4658. break;
  4659. case "source":
  4660. _formdiv = new U.UF.UI.form(
  4661. "教学资源",
  4662. $$("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 }), {
  4663. "id": "source",
  4664. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4665. "onresize": function() {}
  4666. }, {
  4667. closecallback: function() {}
  4668. }, { "style": { "height": "36px" } }).form; //创建窗体
  4669. _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); } }
  4670. break;
  4671. case "testTeacher":
  4672. _formdiv = new U.UF.UI.form(
  4673. "评测管理",
  4674. $$("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 }), {
  4675. "id": "testTeacher",
  4676. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4677. "onresize": function() {}
  4678. }, {
  4679. closecallback: function() {}
  4680. }, { "style": { "height": "36px" } }).form; //创建窗体
  4681. _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); } }
  4682. break;
  4683. case "testStudent":
  4684. _formdiv = new U.UF.UI.form(
  4685. "评测中心",
  4686. $$("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 }), {
  4687. "id": "testStudent",
  4688. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4689. "onresize": function() {}
  4690. }, {
  4691. closecallback: function() {}
  4692. }, { "style": { "height": "36px" } }).form; //创建窗体
  4693. _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); } }
  4694. break;
  4695. }
  4696. //U.MD.D.I.openClick(str);
  4697. //如果有任务栏信息
  4698. if (_taskbar) {
  4699. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4700. }
  4701. }
  4702. // U.MD.D.I.openClick = function(str){
  4703. // var click = '';
  4704. // switch(str){
  4705. // case 'friend':
  4706. // click = '我的好友';
  4707. // break;
  4708. // case 'domain':
  4709. // click = '域名管理';
  4710. // break;
  4711. // case 'disk':
  4712. // click = '我的云盘';
  4713. // break;
  4714. // case 'word':
  4715. // click = 'Word';
  4716. // break;
  4717. // case 'excel':
  4718. // click = 'Execl';
  4719. // break;
  4720. // case 'txt':
  4721. // click = '文本文件';
  4722. // break;
  4723. // case 'lookupFriend':
  4724. // click = '查找好友';
  4725. // break;
  4726. // case 'ftp':
  4727. // click = 'FTP';
  4728. // break;
  4729. // case 'group':
  4730. // click = '群组';
  4731. // break;
  4732. // case 'set':
  4733. // click = '我的设置';
  4734. // break;
  4735. // case 'systemSet':
  4736. // click = '系统设置';
  4737. // break;
  4738. // case 'boomYun':
  4739. // click = '互联办公';
  4740. // break;
  4741. // case 'xz':
  4742. // click = '云端下载';
  4743. // break;
  4744. // case 'client':
  4745. // click = '有思浏览器';
  4746. // break;
  4747. // case 'backEndProgramming':
  4748. // click = '在线后台编程';
  4749. // break;
  4750. // case 'frontEndProgramming':
  4751. // click = '在线前端编程';
  4752. // break;
  4753. // default: break;
  4754. // }
  4755. // if(U.MD.D.I.Ip && click){
  4756. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4757. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4758. // })
  4759. // }
  4760. // }
  4761. /**
  4762. *函数作用:ajax简易函数,使用post格式
  4763. *@param url {data} 后台地址
  4764. *@param data {data} 参数json
  4765. *@param fn {data} 回调函数
  4766. *
  4767. */
  4768. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4769. // var xhr = new XMLHttpRequest();
  4770. // xhr.open("GET",url,true);
  4771. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4772. // xhr.onreadystatechange = function(){
  4773. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4774. // fn.call(this,xhr.responseText);
  4775. // }
  4776. // };
  4777. // xhr.send();
  4778. // }
  4779. /*判断是否是内网IP*/
  4780. // U.MD.D.I.isInnerIPFn = function(str){
  4781. // var curPageUrl = str;
  4782. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4783. // curPageUrl =curPageUrl.replace(reg1,'');
  4784. // // console.log('curPageUrl-1 '+curPageUrl);
  4785. // var reg2 = /\:+/g;//替换冒号为一点
  4786. // curPageUrl =curPageUrl.replace(reg2,'.');
  4787. // // console.log('curPageUrl-2 '+curPageUrl);
  4788. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4789. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4790. // if(curPageUrl[2] != '16'){
  4791. // return ipAddress;
  4792. // }else{
  4793. // return false;
  4794. // }
  4795. // }
  4796. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4797. // //compatibility for firefox and chrome
  4798. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4799. // var pc = new myPeerConnection({
  4800. // iceServers: []
  4801. // }),
  4802. // noop = function() {},
  4803. // localIPs = {},
  4804. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4805. // key;
  4806. // function iterateIP(ip) {
  4807. // if (!localIPs[ip]) onNewIP(ip);
  4808. // localIPs[ip] = true;
  4809. // }
  4810. // //create a bogus data channel
  4811. // pc.createDataChannel("");
  4812. // // create offer and set local description
  4813. // pc.createOffer().then(function(sdp) {
  4814. // sdp.sdp.split('\n').forEach(function(line) {
  4815. // if (line.indexOf('candidate') < 0) return;
  4816. // line.match(ipRegex).forEach(iterateIP);
  4817. // });
  4818. // pc.setLocalDescription(sdp, noop, noop);
  4819. // }).catch(function(reason) {
  4820. // // An error occurred, so handle the failure to connect
  4821. // });
  4822. // //sten for candidate events
  4823. // pc.onicecandidate = function(ice) {
  4824. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4825. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4826. // };
  4827. // }
  4828. // U.MD.D.I.getUserIpBool = function(callback){
  4829. // U.MD.D.I.getUserIP(function(ip){
  4830. // alert("Got IP! :" + ip);
  4831. // });
  4832. //}
  4833. //#endregion
  4834. U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
  4835. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4836. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4837. _userinfo = US.userInfo, //登录用户信息
  4838. _userid = US.userInfo.userid //登录用户id
  4839. let _iframe;
  4840. let _cid = cid,
  4841. _stage = stage,
  4842. _task = task,
  4843. _tool = tool;
  4844. var _jie = $$("div", {
  4845. "style": {
  4846. "position": "absolute",
  4847. "bottom": "50px",
  4848. "right": "50px",
  4849. "zIndex": "9999",
  4850. "backgroundColor": "#2268bc",
  4851. "color": "#fff",
  4852. "padding": "12px 20px",
  4853. "cursor": "pointer",
  4854. "borderRadius": "4px",
  4855. },
  4856. "innerHTML": "提交作业"
  4857. })
  4858. let aTool = ''
  4859. let _loading = document.createElement('div')
  4860. _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;"
  4861. // _loading.id = "";
  4862. let _lchild = document.createElement('div')
  4863. let _limg = document.createElement('img')
  4864. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4865. _limg.style = "width: 26px;margin-right: 10px;"
  4866. _lchild.appendChild(_limg)
  4867. let _lspan = document.createElement('span')
  4868. _lspan.innerHTML = "上传中..."
  4869. _lchild.appendChild(_lspan)
  4870. _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%);"
  4871. _loading.appendChild(_lchild)
  4872. var _box = $$('div', {
  4873. "style": {
  4874. "position": "relative",
  4875. "width": "100%",
  4876. "height": "100%",
  4877. },
  4878. })
  4879. _box.appendChild(_loading)
  4880. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4881. switch (str) {
  4882. case "whiteboard":
  4883. aTool = 1;
  4884. _iframe = $$("iframe", {
  4885. "frameborder": "no",
  4886. "border": "0",
  4887. "scrolling ": "no",
  4888. "style": {
  4889. "cssText": "border:0;width:100%;height:100%"
  4890. },
  4891. "src": "https://iwb.cocorobo.cn/"
  4892. })
  4893. _box.appendChild(_iframe);
  4894. _box.appendChild(_jie);
  4895. _formdiv = new U.UF.UI.form(
  4896. "电子白板",
  4897. _box, {
  4898. "id": "whiteboard" + cid + stage + task + tool,
  4899. "style": {
  4900. "width": "90%",
  4901. "height": "90%",
  4902. "overflow": 'hidden'
  4903. },
  4904. "onresize": function() {}
  4905. }, {
  4906. closecallback: function() {}
  4907. }, {
  4908. "style": {
  4909. "height": "36px"
  4910. }
  4911. }).form; //创建窗体
  4912. _taskbar = {
  4913. "id": str + _formdiv.id,
  4914. "style": {
  4915. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4916. },
  4917. "name": "电子白板",
  4918. "forms": _formdiv,
  4919. "click": function() {
  4920. U.MD.D.I.openApplication(str, obj, info);
  4921. }
  4922. }
  4923. break;
  4924. case "mind":
  4925. aTool = 3;
  4926. _iframe = $$("iframe", {
  4927. "frameborder": "no",
  4928. "border": "0",
  4929. "scrolling ": "no",
  4930. "style": {
  4931. "cssText": "border:0;width:100%;height:100%"
  4932. },
  4933. "src": "/kityminder-editor/dist/index.html"
  4934. })
  4935. _box.appendChild(_iframe);
  4936. _box.appendChild(_jie);
  4937. _formdiv = new U.UF.UI.form(
  4938. "思维导图",
  4939. _box, { //"/jsmind/example/demo.html"
  4940. "id": "mind" + cid + stage + task + tool,
  4941. "style": {
  4942. "width": "90%",
  4943. "height": "90%",
  4944. "overflow": 'hidden'
  4945. },
  4946. "onresize": function() {}
  4947. }, {
  4948. closecallback: function() {}
  4949. }, {
  4950. "style": {
  4951. "height": "36px"
  4952. }
  4953. }).form; //创建窗体
  4954. _taskbar = {
  4955. "id": str + _formdiv.id,
  4956. "style": {
  4957. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4958. },
  4959. "name": "思维导图",
  4960. "forms": _formdiv,
  4961. "click": function() {
  4962. U.MD.D.I.openApplication(str, obj, info);
  4963. }
  4964. }
  4965. break;
  4966. case "MindMap":
  4967. aTool = 3;
  4968. _iframe = $$("iframe", {
  4969. "frameborder": "no",
  4970. "border": "0",
  4971. "scrolling ": "no",
  4972. "style": {
  4973. "cssText": "border:0;width:100%;height:100%"
  4974. },
  4975. "src": "//cloud.cocorobo.cn/mind/"
  4976. })
  4977. _box.appendChild(_iframe);
  4978. _box.appendChild(_jie);
  4979. _formdiv = new U.UF.UI.form(
  4980. "思维导图",
  4981. _box, { //"/jsmind/example/demo.html"
  4982. "id": "mind" + cid + stage + task + tool,
  4983. "style": {
  4984. "width": "90%",
  4985. "height": "90%",
  4986. "overflow": 'hidden'
  4987. },
  4988. "onresize": function() {}
  4989. }, {
  4990. closecallback: function() {}
  4991. }, {
  4992. "style": {
  4993. "height": "36px"
  4994. }
  4995. }).form; //创建窗体
  4996. _taskbar = {
  4997. "id": str + _formdiv.id,
  4998. "style": {
  4999. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5000. },
  5001. "name": "思维导图",
  5002. "forms": _formdiv,
  5003. "click": function() {
  5004. U.MD.D.I.openApplication(str, obj, info);
  5005. }
  5006. }
  5007. break;
  5008. case "doc":
  5009. aTool = 6;
  5010. _iframe = $$("iframe", {
  5011. "frameborder": "no",
  5012. "border": "0",
  5013. "scrolling ": "no",
  5014. "style": {
  5015. "cssText": "border:0;width:100%;height:100%"
  5016. },
  5017. "src": "/Office/Word/WordEditArea.htm"
  5018. })
  5019. _box.appendChild(_iframe);
  5020. _box.appendChild(_jie);
  5021. _formdiv = new U.UF.UI.form(
  5022. "协同文档",
  5023. _box, {
  5024. "id": "doc" + cid + stage + task + tool,
  5025. "style": {
  5026. "width": "90%",
  5027. "height": "90%",
  5028. "overflow": 'hidden'
  5029. },
  5030. "onresize": function() {}
  5031. }, {
  5032. closecallback: function() {}
  5033. }, {
  5034. "style": {
  5035. "height": "36px"
  5036. }
  5037. }).form; //创建窗体
  5038. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5039. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5040. })
  5041. _taskbar = {
  5042. "id": str + _formdiv.id,
  5043. "style": {
  5044. "backgroundImage": "url(/img/icon/doc.png)"
  5045. },
  5046. "name": "协同文档",
  5047. "forms": _formdiv,
  5048. "click": function() {
  5049. U.MD.D.I.openApplication(str, obj, info);
  5050. }
  5051. }
  5052. break;
  5053. case "mindNetwork": //好友打开
  5054. aTool = 7;
  5055. _iframe = $$("iframe", {
  5056. "webkitallowfullscreen": "",
  5057. "mozallowfullscreen": "",
  5058. "allowfullscreen": "",
  5059. "frameborder": "no",
  5060. "border": "0",
  5061. "scrolling ": "no",
  5062. "style": {
  5063. "cssText": "border:0; width:100%; height:100%;"
  5064. },
  5065. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5066. })
  5067. _box.appendChild(_iframe);
  5068. _box.appendChild(_jie);
  5069. _formdiv = new U.UF.UI.form(
  5070. "思维网格",
  5071. _box, {
  5072. "id": "mindNetwork" + cid + stage + task + tool,
  5073. "style": {
  5074. "width": "90%",
  5075. "height": "90%",
  5076. "overflow": 'hidden'
  5077. },
  5078. "onresize": function() {}
  5079. }, {
  5080. closecallback: function() {}
  5081. }, {
  5082. "style": {
  5083. "height": "36px"
  5084. }
  5085. }).form; //创建窗体
  5086. _taskbar = {
  5087. "id": str + _formdiv.id,
  5088. "style": {
  5089. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5090. },
  5091. "name": "思维网格",
  5092. "forms": _formdiv,
  5093. "click": function() {
  5094. U.MD.D.I.openApplication(str, obj, info);
  5095. }
  5096. }
  5097. break;
  5098. case "courseDesign":
  5099. _iframe = $$("iframe", {
  5100. "webkitallowfullscreen": "",
  5101. "mozallowfullscreen": "",
  5102. "allowfullscreen": "",
  5103. "frameborder": "no",
  5104. "border": "0",
  5105. "scrolling ": "no",
  5106. "style": {
  5107. "cssText": "border:0; width:100%; height:100%;"
  5108. },
  5109. "src": "/course-design-vue"
  5110. })
  5111. _box.appendChild(_iframe);
  5112. _box.appendChild(_jie);
  5113. _formdiv = new U.UF.UI.form(
  5114. "项目设计",
  5115. _box, {
  5116. "id": "courseDesign" + cid + stage + task + tool,
  5117. "style": {
  5118. "width": "90%",
  5119. "height": "90%",
  5120. "overflow": 'hidden'
  5121. },
  5122. "onresize": function() {}
  5123. }, {
  5124. closecallback: function() {}
  5125. }, {
  5126. "style": {
  5127. "height": "36px"
  5128. }
  5129. }).form; //创建窗体
  5130. _taskbar = {
  5131. "id": str + _formdiv.id,
  5132. "style": {
  5133. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5134. },
  5135. "name": "项目设计",
  5136. "forms": _formdiv,
  5137. "click": function() {
  5138. U.MD.D.I.openApplication(str, obj, info);
  5139. }
  5140. }
  5141. break;
  5142. }
  5143. const script1 = document.createElement("script");
  5144. script1.type = "text/javascript";
  5145. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5146. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5147. const script2 = document.createElement("script");
  5148. script2.type = "text/javascript";
  5149. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5150. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5151. const script3 = document.createElement("script");
  5152. script3.type = "text/javascript";
  5153. script3.charset = "UTF-8";
  5154. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5155. const script4 = document.createElement("script");
  5156. script4.type = "text/javascript";
  5157. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5158. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5159. if (_iframe) {
  5160. if (str == 'doc') {
  5161. _iframe = _formdiv.querySelector('iframe')
  5162. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5163. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5164. _iframe.contentWindow.document.body.appendChild(script1);
  5165. _iframe.contentWindow.document.body.appendChild(script2);
  5166. // _iframe.contentWindow.document.body.appendChild(script3);
  5167. _iframe.contentWindow.document.body.appendChild(script4);
  5168. })
  5169. if (onloadListener) {
  5170. _iframe.contentDocument.location.reload()
  5171. } else {
  5172. _iframe.contentDocument.location.reload()
  5173. }
  5174. } else if (str == 'courseDesign') {
  5175. U.UF.DL.iframeLoad(_iframe, function() {
  5176. // _iframe.contentWindow.U.MD.O.W.load();
  5177. // _iframe.contentWindow.document.body.appendChild(script1);
  5178. _iframe.contentWindow.document.body.appendChild(script2);
  5179. _iframe.contentWindow.document.body.appendChild(script4);
  5180. })
  5181. } else if (str == 'mind') {
  5182. _iframe = _formdiv.querySelector('iframe')
  5183. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5184. //
  5185. _iframe.contentWindow.document.body.appendChild(script1);
  5186. _iframe.contentWindow.document.body.appendChild(script2);
  5187. _iframe.contentWindow.document.body.appendChild(script4);
  5188. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5189. })
  5190. if (onloadListener) {
  5191. _iframe.contentDocument.location.reload()
  5192. } else {
  5193. _iframe.contentDocument.location.reload()
  5194. }
  5195. } else if (str == 'whiteboard') {
  5196. _iframe = _formdiv.querySelector('iframe')
  5197. let onloadListener = _iframe.onload = () => {
  5198. _iframe.contentWindow.document.body.appendChild(script1);
  5199. _iframe.contentWindow.document.body.appendChild(script2);
  5200. _iframe.contentWindow.document.body.appendChild(script4);
  5201. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5202. };
  5203. if (onloadListener) {
  5204. _iframe.contentDocument.location.reload()
  5205. } else {
  5206. _iframe.contentDocument.location.reload()
  5207. }
  5208. } else {
  5209. _iframe.onload = () => {
  5210. _iframe.contentWindow.document.body.appendChild(script1);
  5211. _iframe.contentWindow.document.body.appendChild(script2);
  5212. // _iframe.contentWindow.document.body.appendChild(script3);
  5213. _iframe.contentWindow.document.body.appendChild(script4);
  5214. };
  5215. }
  5216. _jie.onclick = async() => {
  5217. let text = ''
  5218. if (aTool == 1) {
  5219. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5220. } else if (aTool == 6) {
  5221. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5222. } else if (aTool == 3) {
  5223. text = await U.MD.D.I.getEditorContent(_iframe);
  5224. }
  5225. _loading.style.display = 'flex'
  5226. console.log(_loading);
  5227. var _ajs = _iframe.contentWindow.document.createElement("script");
  5228. _ajs.type = "text/javascript";
  5229. _ajs.innerHTML =
  5230. // 'console.log(' + _loading + ');\n' +
  5231. 'var _js = document.createElement("script");\n' +
  5232. '_js.type="text/javascript";\n' +
  5233. '_js.charset="UTF-8";\n' +
  5234. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5235. "_js.onload = function(){\n" +
  5236. ' var a = document.getElementsByTagName("img")\n' +
  5237. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5238. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5239. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5240. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5241. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5242. "beforeUpload_shishi(file," +
  5243. "'" +
  5244. _userid +
  5245. "'" +
  5246. ", " +
  5247. "'" +
  5248. _cid +
  5249. "'" +
  5250. ", " +
  5251. "'" +
  5252. _stage +
  5253. "'" +
  5254. ", " +
  5255. "'" +
  5256. _task +
  5257. "'" +
  5258. ", " +
  5259. "'" +
  5260. _tool +
  5261. "'" +
  5262. ", " +
  5263. "'" +
  5264. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5265. "'" +
  5266. ", " +
  5267. "'" +
  5268. aTool +
  5269. "'" +
  5270. ", " +
  5271. "`" +
  5272. text +
  5273. "`" +
  5274. ")\n" +
  5275. " });\n" +
  5276. "}\n" +
  5277. "document.head.appendChild(_js);\n";
  5278. _iframe.contentWindow.document.head.appendChild(_ajs);
  5279. }
  5280. }
  5281. //U.MD.D.I.openClick(str);
  5282. //如果有任务栏信息
  5283. // if (_taskbar) {
  5284. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5285. // }
  5286. }
  5287. U.MD.D.I.openApplicationJieE = function(str, cid, stage, task, tool) {
  5288. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5289. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5290. _userinfo = US.userInfo, //登录用户信息
  5291. _userid = US.userInfo.userid //登录用户id
  5292. let _iframe;
  5293. let _cid = cid,
  5294. _stage = stage,
  5295. _task = task,
  5296. _tool = tool;
  5297. var _jie = $$("div", {
  5298. "style": {
  5299. "position": "absolute",
  5300. "bottom": "50px",
  5301. "right": "50px",
  5302. "zIndex": "9999",
  5303. "backgroundColor": "#2268bc",
  5304. "color": "#fff",
  5305. "padding": "12px 20px",
  5306. "cursor": "pointer",
  5307. "borderRadius": "4px",
  5308. },
  5309. "innerHTML": "提交作业"
  5310. })
  5311. let aTool = ''
  5312. let _loading = document.createElement('div')
  5313. _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;"
  5314. // _loading.id = "";
  5315. let _lchild = document.createElement('div')
  5316. let _limg = document.createElement('img')
  5317. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5318. _limg.style = "width: 26px;margin-right: 10px;"
  5319. _lchild.appendChild(_limg)
  5320. let _lspan = document.createElement('span')
  5321. _lspan.innerHTML = "上传中..."
  5322. _lchild.appendChild(_lspan)
  5323. _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%);"
  5324. _loading.appendChild(_lchild)
  5325. var _box = $$('div', {
  5326. "style": {
  5327. "position": "relative",
  5328. "width": "100%",
  5329. "height": "100%",
  5330. },
  5331. })
  5332. _box.appendChild(_loading)
  5333. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5334. switch (str) {
  5335. case "whiteboard":
  5336. aTool = 1;
  5337. _iframe = $$("iframe", {
  5338. "frameborder": "no",
  5339. "border": "0",
  5340. "scrolling ": "no",
  5341. "style": {
  5342. "cssText": "border:0;width:100%;height:100%"
  5343. },
  5344. "src": "https://iwb.cocorobo.cn/"
  5345. })
  5346. _box.appendChild(_iframe);
  5347. _box.appendChild(_jie);
  5348. _formdiv = new U.UF.UI.form(
  5349. "电子白板",
  5350. _box, {
  5351. "id": "whiteboard" + cid + stage + task + tool,
  5352. "style": {
  5353. "width": "90%",
  5354. "height": "90%",
  5355. "overflow": 'hidden'
  5356. },
  5357. "onresize": function() {}
  5358. }, {
  5359. closecallback: function() {}
  5360. }, {
  5361. "style": {
  5362. "height": "36px"
  5363. }
  5364. }).form; //创建窗体
  5365. _taskbar = {
  5366. "id": str + _formdiv.id,
  5367. "style": {
  5368. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5369. },
  5370. "name": "电子白板",
  5371. "forms": _formdiv,
  5372. "click": function() {
  5373. U.MD.D.I.openApplication(str, obj, info);
  5374. }
  5375. }
  5376. break;
  5377. case "mind":
  5378. aTool = 3;
  5379. _iframe = $$("iframe", {
  5380. "frameborder": "no",
  5381. "border": "0",
  5382. "scrolling ": "no",
  5383. "style": {
  5384. "cssText": "border:0;width:100%;height:100%"
  5385. },
  5386. "src": "/kityminder-editor/dist/index.html"
  5387. })
  5388. _box.appendChild(_iframe);
  5389. _box.appendChild(_jie);
  5390. _formdiv = new U.UF.UI.form(
  5391. "思维导图",
  5392. _box, { //"/jsmind/example/demo.html"
  5393. "id": "mind" + cid + stage + task + tool,
  5394. "style": {
  5395. "width": "90%",
  5396. "height": "90%",
  5397. "overflow": 'hidden'
  5398. },
  5399. "onresize": function() {}
  5400. }, {
  5401. closecallback: function() {}
  5402. }, {
  5403. "style": {
  5404. "height": "36px"
  5405. }
  5406. }).form; //创建窗体
  5407. _taskbar = {
  5408. "id": str + _formdiv.id,
  5409. "style": {
  5410. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5411. },
  5412. "name": "思维导图",
  5413. "forms": _formdiv,
  5414. "click": function() {
  5415. U.MD.D.I.openApplication(str, obj, info);
  5416. }
  5417. }
  5418. break;
  5419. case "MindMap":
  5420. aTool = 3;
  5421. _iframe = $$("iframe", {
  5422. "frameborder": "no",
  5423. "border": "0",
  5424. "scrolling ": "no",
  5425. "style": {
  5426. "cssText": "border:0;width:100%;height:100%"
  5427. },
  5428. "src": "//cloud.cocorobo.cn/mind/"
  5429. })
  5430. _box.appendChild(_iframe);
  5431. _box.appendChild(_jie);
  5432. _formdiv = new U.UF.UI.form(
  5433. "思维导图",
  5434. _box, { //"/jsmind/example/demo.html"
  5435. "id": "mind" + cid + stage + task + tool,
  5436. "style": {
  5437. "width": "90%",
  5438. "height": "90%",
  5439. "overflow": 'hidden'
  5440. },
  5441. "onresize": function() {}
  5442. }, {
  5443. closecallback: function() {}
  5444. }, {
  5445. "style": {
  5446. "height": "36px"
  5447. }
  5448. }).form; //创建窗体
  5449. _taskbar = {
  5450. "id": str + _formdiv.id,
  5451. "style": {
  5452. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5453. },
  5454. "name": "思维导图",
  5455. "forms": _formdiv,
  5456. "click": function() {
  5457. U.MD.D.I.openApplication(str, obj, info);
  5458. }
  5459. }
  5460. break;
  5461. case "doc":
  5462. aTool = 6;
  5463. _iframe = $$("iframe", {
  5464. "frameborder": "no",
  5465. "border": "0",
  5466. "scrolling ": "no",
  5467. "style": {
  5468. "cssText": "border:0;width:100%;height:100%"
  5469. },
  5470. "src": "/Office/Word/WordEditArea.htm"
  5471. })
  5472. _box.appendChild(_iframe);
  5473. _box.appendChild(_jie);
  5474. _formdiv = new U.UF.UI.form(
  5475. "协同文档",
  5476. _box, {
  5477. "id": "doc" + cid + stage + task + tool,
  5478. "style": {
  5479. "width": "90%",
  5480. "height": "90%",
  5481. "overflow": 'hidden'
  5482. },
  5483. "onresize": function() {}
  5484. }, {
  5485. closecallback: function() {}
  5486. }, {
  5487. "style": {
  5488. "height": "36px"
  5489. }
  5490. }).form; //创建窗体
  5491. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5492. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5493. })
  5494. _taskbar = {
  5495. "id": str + _formdiv.id,
  5496. "style": {
  5497. "backgroundImage": "url(/img/icon/doc.png)"
  5498. },
  5499. "name": "协同文档",
  5500. "forms": _formdiv,
  5501. "click": function() {
  5502. U.MD.D.I.openApplication(str, obj, info);
  5503. }
  5504. }
  5505. break;
  5506. case "mindNetwork": //好友打开
  5507. aTool = 7;
  5508. _iframe = $$("iframe", {
  5509. "webkitallowfullscreen": "",
  5510. "mozallowfullscreen": "",
  5511. "allowfullscreen": "",
  5512. "frameborder": "no",
  5513. "border": "0",
  5514. "scrolling ": "no",
  5515. "style": {
  5516. "cssText": "border:0; width:100%; height:100%;"
  5517. },
  5518. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5519. })
  5520. _box.appendChild(_iframe);
  5521. _box.appendChild(_jie);
  5522. _formdiv = new U.UF.UI.form(
  5523. "思维网格",
  5524. _box, {
  5525. "id": "mindNetwork" + cid + stage + task + tool,
  5526. "style": {
  5527. "width": "90%",
  5528. "height": "90%",
  5529. "overflow": 'hidden'
  5530. },
  5531. "onresize": function() {}
  5532. }, {
  5533. closecallback: function() {}
  5534. }, {
  5535. "style": {
  5536. "height": "36px"
  5537. }
  5538. }).form; //创建窗体
  5539. _taskbar = {
  5540. "id": str + _formdiv.id,
  5541. "style": {
  5542. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5543. },
  5544. "name": "思维网格",
  5545. "forms": _formdiv,
  5546. "click": function() {
  5547. U.MD.D.I.openApplication(str, obj, info);
  5548. }
  5549. }
  5550. break;
  5551. case "courseDesign":
  5552. _iframe = $$("iframe", {
  5553. "webkitallowfullscreen": "",
  5554. "mozallowfullscreen": "",
  5555. "allowfullscreen": "",
  5556. "frameborder": "no",
  5557. "border": "0",
  5558. "scrolling ": "no",
  5559. "style": {
  5560. "cssText": "border:0; width:100%; height:100%;"
  5561. },
  5562. "src": "/course-design-vue"
  5563. })
  5564. _box.appendChild(_iframe);
  5565. _box.appendChild(_jie);
  5566. _formdiv = new U.UF.UI.form(
  5567. "项目设计",
  5568. _box, {
  5569. "id": "courseDesign" + cid + stage + task + tool,
  5570. "style": {
  5571. "width": "90%",
  5572. "height": "90%",
  5573. "overflow": 'hidden'
  5574. },
  5575. "onresize": function() {}
  5576. }, {
  5577. closecallback: function() {}
  5578. }, {
  5579. "style": {
  5580. "height": "36px"
  5581. }
  5582. }).form; //创建窗体
  5583. _taskbar = {
  5584. "id": str + _formdiv.id,
  5585. "style": {
  5586. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5587. },
  5588. "name": "项目设计",
  5589. "forms": _formdiv,
  5590. "click": function() {
  5591. U.MD.D.I.openApplication(str, obj, info);
  5592. }
  5593. }
  5594. break;
  5595. }
  5596. const script1 = document.createElement("script");
  5597. script1.type = "text/javascript";
  5598. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5599. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5600. const script2 = document.createElement("script");
  5601. script2.type = "text/javascript";
  5602. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5603. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5604. const script3 = document.createElement("script");
  5605. script3.type = "text/javascript";
  5606. script3.charset = "UTF-8";
  5607. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5608. const script4 = document.createElement("script");
  5609. script4.type = "text/javascript";
  5610. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5611. script4.src = window.origin + "/js/Common/jietu2E.js";
  5612. if (_iframe) {
  5613. if (str == 'doc') {
  5614. _iframe = _formdiv.querySelector('iframe')
  5615. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5616. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5617. _iframe.contentWindow.document.body.appendChild(script1);
  5618. _iframe.contentWindow.document.body.appendChild(script2);
  5619. // _iframe.contentWindow.document.body.appendChild(script3);
  5620. _iframe.contentWindow.document.body.appendChild(script4);
  5621. })
  5622. if (onloadListener) {
  5623. _iframe.contentDocument.location.reload()
  5624. } else {
  5625. _iframe.contentDocument.location.reload()
  5626. }
  5627. } else if (str == 'courseDesign') {
  5628. U.UF.DL.iframeLoad(_iframe, function() {
  5629. // _iframe.contentWindow.U.MD.O.W.load();
  5630. // _iframe.contentWindow.document.body.appendChild(script1);
  5631. _iframe.contentWindow.document.body.appendChild(script2);
  5632. _iframe.contentWindow.document.body.appendChild(script4);
  5633. })
  5634. } else if (str == 'mind') {
  5635. _iframe = _formdiv.querySelector('iframe')
  5636. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5637. //
  5638. _iframe.contentWindow.document.body.appendChild(script1);
  5639. _iframe.contentWindow.document.body.appendChild(script2);
  5640. _iframe.contentWindow.document.body.appendChild(script4);
  5641. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5642. })
  5643. if (onloadListener) {
  5644. _iframe.contentDocument.location.reload()
  5645. } else {
  5646. _iframe.contentDocument.location.reload()
  5647. }
  5648. } else if (str == 'whiteboard') {
  5649. _iframe = _formdiv.querySelector('iframe')
  5650. let onloadListener = _iframe.onload = () => {
  5651. _iframe.contentWindow.document.body.appendChild(script1);
  5652. _iframe.contentWindow.document.body.appendChild(script2);
  5653. _iframe.contentWindow.document.body.appendChild(script4);
  5654. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5655. };
  5656. if (onloadListener) {
  5657. _iframe.contentDocument.location.reload()
  5658. } else {
  5659. _iframe.contentDocument.location.reload()
  5660. }
  5661. } else {
  5662. _iframe.onload = () => {
  5663. _iframe.contentWindow.document.body.appendChild(script1);
  5664. _iframe.contentWindow.document.body.appendChild(script2);
  5665. // _iframe.contentWindow.document.body.appendChild(script3);
  5666. _iframe.contentWindow.document.body.appendChild(script4);
  5667. };
  5668. }
  5669. _jie.onclick = async() => {
  5670. let text = ''
  5671. if (aTool == 1) {
  5672. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5673. } else if (aTool == 6) {
  5674. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5675. } else if (aTool == 3) {
  5676. text = await U.MD.D.I.getEditorContent(_iframe);
  5677. }
  5678. _loading.style.display = 'flex'
  5679. console.log(_loading);
  5680. var _ajs = _iframe.contentWindow.document.createElement("script");
  5681. _ajs.type = "text/javascript";
  5682. _ajs.innerHTML =
  5683. // 'console.log(' + _loading + ');\n' +
  5684. 'var _js = document.createElement("script");\n' +
  5685. '_js.type="text/javascript";\n' +
  5686. '_js.charset="UTF-8";\n' +
  5687. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5688. "_js.onload = function(){\n" +
  5689. ' var a = document.getElementsByTagName("img")\n' +
  5690. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5691. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5692. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5693. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5694. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5695. "beforeUpload_shishi(file," +
  5696. "'" +
  5697. _userid +
  5698. "'" +
  5699. ", " +
  5700. "'" +
  5701. _cid +
  5702. "'" +
  5703. ", " +
  5704. "'" +
  5705. _stage +
  5706. "'" +
  5707. ", " +
  5708. "'" +
  5709. _task +
  5710. "'" +
  5711. ", " +
  5712. "'" +
  5713. _tool +
  5714. "'" +
  5715. ", " +
  5716. "'" +
  5717. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5718. "'" +
  5719. ", " +
  5720. "'" +
  5721. aTool +
  5722. "'" +
  5723. ", " +
  5724. "`" +
  5725. text +
  5726. "`" +
  5727. ")\n" +
  5728. " });\n" +
  5729. "}\n" +
  5730. "document.head.appendChild(_js);\n";
  5731. _iframe.contentWindow.document.head.appendChild(_ajs);
  5732. }
  5733. }
  5734. //U.MD.D.I.openClick(str);
  5735. //如果有任务栏信息
  5736. // if (_taskbar) {
  5737. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5738. // }
  5739. }
  5740. U.MD.D.I.openApplicationJieTeacher = function(str, cid, stage, task, tool, student) {
  5741. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5742. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5743. _userid = student.userid, //登录用户id
  5744. _username = student.student //用户名字
  5745. let _iframe;
  5746. let _cid = cid,
  5747. _stage = stage,
  5748. _task = task,
  5749. _tool = tool;
  5750. var _jie = $$("div", {
  5751. "style": {
  5752. "position": "absolute",
  5753. "bottom": "50px",
  5754. "right": "50px",
  5755. "zIndex": "9999",
  5756. "backgroundColor": "#2268bc",
  5757. "color": "#fff",
  5758. "padding": "12px 20px",
  5759. "cursor": "pointer",
  5760. "borderRadius": "4px",
  5761. },
  5762. "innerHTML": "提交作业"
  5763. })
  5764. let aTool = ''
  5765. let _loading = document.createElement('div')
  5766. _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;"
  5767. // _loading.id = "";
  5768. let _lchild = document.createElement('div')
  5769. let _limg = document.createElement('img')
  5770. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5771. _limg.style = "width: 26px;margin-right: 10px;"
  5772. _lchild.appendChild(_limg)
  5773. let _lspan = document.createElement('span')
  5774. _lspan.innerHTML = "上传中..."
  5775. _lchild.appendChild(_lspan)
  5776. _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%);"
  5777. _loading.appendChild(_lchild)
  5778. var _box = $$('div', {
  5779. "style": {
  5780. "position": "relative",
  5781. "width": "100%",
  5782. "height": "100%",
  5783. },
  5784. })
  5785. _box.appendChild(_loading)
  5786. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5787. switch (str) {
  5788. case "whiteboard":
  5789. aTool = 1;
  5790. _iframe = $$("iframe", {
  5791. "frameborder": "no",
  5792. "border": "0",
  5793. "scrolling ": "no",
  5794. "style": {
  5795. "cssText": "border:0;width:100%;height:100%"
  5796. },
  5797. "src": "https://iwb.cocorobo.cn/"
  5798. })
  5799. _box.appendChild(_iframe);
  5800. _box.appendChild(_jie);
  5801. _formdiv = new U.UF.UI.form(
  5802. "电子白板-" + _username,
  5803. _box, {
  5804. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5805. "style": {
  5806. "width": "90%",
  5807. "height": "90%",
  5808. "overflow": 'hidden'
  5809. },
  5810. "onresize": function() {}
  5811. }, {
  5812. closecallback: function() {}
  5813. }, {
  5814. "style": {
  5815. "height": "36px"
  5816. }
  5817. }).form; //创建窗体
  5818. _taskbar = {
  5819. "id": str + _formdiv.id,
  5820. "style": {
  5821. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5822. },
  5823. "name": "电子白板",
  5824. "forms": _formdiv,
  5825. "click": function() {
  5826. U.MD.D.I.openApplication(str, obj, info);
  5827. }
  5828. }
  5829. break;
  5830. case "mind":
  5831. aTool = 3;
  5832. _iframe = $$("iframe", {
  5833. "frameborder": "no",
  5834. "border": "0",
  5835. "scrolling ": "no",
  5836. "style": {
  5837. "cssText": "border:0;width:100%;height:100%"
  5838. },
  5839. "src": "/kityminder-editor/dist/index.html"
  5840. })
  5841. _box.appendChild(_iframe);
  5842. _box.appendChild(_jie);
  5843. _formdiv = new U.UF.UI.form(
  5844. "思维导图-" + _username,
  5845. _box, { //"/jsmind/example/demo.html"
  5846. "id": "mind" + cid + stage + task + tool + _userid,
  5847. "style": {
  5848. "width": "90%",
  5849. "height": "90%",
  5850. "overflow": 'hidden'
  5851. },
  5852. "onresize": function() {}
  5853. }, {
  5854. closecallback: function() {}
  5855. }, {
  5856. "style": {
  5857. "height": "36px"
  5858. }
  5859. }).form; //创建窗体
  5860. _taskbar = {
  5861. "id": str + _formdiv.id,
  5862. "style": {
  5863. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5864. },
  5865. "name": "思维导图",
  5866. "forms": _formdiv,
  5867. "click": function() {
  5868. U.MD.D.I.openApplication(str, obj, info);
  5869. }
  5870. }
  5871. break;
  5872. case "MindMap":
  5873. aTool = 3;
  5874. _iframe = $$("iframe", {
  5875. "frameborder": "no",
  5876. "border": "0",
  5877. "scrolling ": "no",
  5878. "style": {
  5879. "cssText": "border:0;width:100%;height:100%"
  5880. },
  5881. "src": "//cloud.cocorobo.cn/mind/"
  5882. })
  5883. _box.appendChild(_iframe);
  5884. _box.appendChild(_jie);
  5885. _formdiv = new U.UF.UI.form(
  5886. "思维导图-" + _username,
  5887. _box, { //"/jsmind/example/demo.html"
  5888. "id": "mind" + cid + stage + task + tool + _userid,
  5889. "style": {
  5890. "width": "90%",
  5891. "height": "90%",
  5892. "overflow": 'hidden'
  5893. },
  5894. "onresize": function() {}
  5895. }, {
  5896. closecallback: function() {}
  5897. }, {
  5898. "style": {
  5899. "height": "36px"
  5900. }
  5901. }).form; //创建窗体
  5902. _taskbar = {
  5903. "id": str + _formdiv.id,
  5904. "style": {
  5905. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5906. },
  5907. "name": "思维导图",
  5908. "forms": _formdiv,
  5909. "click": function() {
  5910. U.MD.D.I.openApplication(str, obj, info);
  5911. }
  5912. }
  5913. break;
  5914. case "doc":
  5915. aTool = 6;
  5916. _iframe = $$("iframe", {
  5917. "frameborder": "no",
  5918. "border": "0",
  5919. "scrolling ": "no",
  5920. "style": {
  5921. "cssText": "border:0;width:100%;height:100%"
  5922. },
  5923. "src": "/Office/Word/WordEditArea.htm"
  5924. })
  5925. _box.appendChild(_iframe);
  5926. _box.appendChild(_jie);
  5927. _formdiv = new U.UF.UI.form(
  5928. "协同文档-" + _username,
  5929. _box, {
  5930. "id": "doc" + cid + stage + task + tool + _userid,
  5931. "style": {
  5932. "width": "90%",
  5933. "height": "90%",
  5934. "overflow": 'hidden'
  5935. },
  5936. "onresize": function() {}
  5937. }, {
  5938. closecallback: function() {}
  5939. }, {
  5940. "style": {
  5941. "height": "36px"
  5942. }
  5943. }).form; //创建窗体
  5944. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5945. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5946. })
  5947. _taskbar = {
  5948. "id": str + _formdiv.id,
  5949. "style": {
  5950. "backgroundImage": "url(/img/icon/doc.png)"
  5951. },
  5952. "name": "协同文档",
  5953. "forms": _formdiv,
  5954. "click": function() {
  5955. U.MD.D.I.openApplication(str, obj, info);
  5956. }
  5957. }
  5958. break;
  5959. case "mindNetwork": //好友打开
  5960. aTool = 7;
  5961. _iframe = $$("iframe", {
  5962. "webkitallowfullscreen": "",
  5963. "mozallowfullscreen": "",
  5964. "allowfullscreen": "",
  5965. "frameborder": "no",
  5966. "border": "0",
  5967. "scrolling ": "no",
  5968. "style": {
  5969. "cssText": "border:0; width:100%; height:100%;"
  5970. },
  5971. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5972. })
  5973. _box.appendChild(_iframe);
  5974. _box.appendChild(_jie);
  5975. _formdiv = new U.UF.UI.form(
  5976. "思维网格-" + _username,
  5977. _box, {
  5978. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5979. "style": {
  5980. "width": "90%",
  5981. "height": "90%",
  5982. "overflow": 'hidden'
  5983. },
  5984. "onresize": function() {}
  5985. }, {
  5986. closecallback: function() {}
  5987. }, {
  5988. "style": {
  5989. "height": "36px"
  5990. }
  5991. }).form; //创建窗体
  5992. _taskbar = {
  5993. "id": str + _formdiv.id,
  5994. "style": {
  5995. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5996. },
  5997. "name": "思维网格",
  5998. "forms": _formdiv,
  5999. "click": function() {
  6000. U.MD.D.I.openApplication(str, obj, info);
  6001. }
  6002. }
  6003. break;
  6004. case "courseDesign":
  6005. _iframe = $$("iframe", {
  6006. "webkitallowfullscreen": "",
  6007. "mozallowfullscreen": "",
  6008. "allowfullscreen": "",
  6009. "frameborder": "no",
  6010. "border": "0",
  6011. "scrolling ": "no",
  6012. "style": {
  6013. "cssText": "border:0; width:100%; height:100%;"
  6014. },
  6015. "src": "/course-design-vue"
  6016. })
  6017. _box.appendChild(_iframe);
  6018. _box.appendChild(_jie);
  6019. _formdiv = new U.UF.UI.form(
  6020. "项目设计-" + _username,
  6021. _box, {
  6022. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6023. "style": {
  6024. "width": "90%",
  6025. "height": "90%",
  6026. "overflow": 'hidden'
  6027. },
  6028. "onresize": function() {}
  6029. }, {
  6030. closecallback: function() {}
  6031. }, {
  6032. "style": {
  6033. "height": "36px"
  6034. }
  6035. }).form; //创建窗体
  6036. _taskbar = {
  6037. "id": str + _formdiv.id,
  6038. "style": {
  6039. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6040. },
  6041. "name": "项目设计",
  6042. "forms": _formdiv,
  6043. "click": function() {
  6044. U.MD.D.I.openApplication(str, obj, info);
  6045. }
  6046. }
  6047. break;
  6048. }
  6049. const script1 = document.createElement("script");
  6050. script1.type = "text/javascript";
  6051. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6052. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6053. const script2 = document.createElement("script");
  6054. script2.type = "text/javascript";
  6055. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6056. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6057. const script3 = document.createElement("script");
  6058. script3.type = "text/javascript";
  6059. script3.charset = "UTF-8";
  6060. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6061. const script4 = document.createElement("script");
  6062. script4.type = "text/javascript";
  6063. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6064. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6065. if (_iframe) {
  6066. if (str == 'doc') {
  6067. _iframe = _formdiv.querySelector('iframe')
  6068. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6069. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6070. _iframe.contentWindow.document.body.appendChild(script1);
  6071. _iframe.contentWindow.document.body.appendChild(script2);
  6072. // _iframe.contentWindow.document.body.appendChild(script3);
  6073. _iframe.contentWindow.document.body.appendChild(script4);
  6074. })
  6075. if (onloadListener) {
  6076. _iframe.contentDocument.location.reload()
  6077. } else {
  6078. _iframe.contentDocument.location.reload()
  6079. }
  6080. } else if (str == 'courseDesign') {
  6081. U.UF.DL.iframeLoad(_iframe, function() {
  6082. // _iframe.contentWindow.U.MD.O.W.load();
  6083. // _iframe.contentWindow.document.body.appendChild(script1);
  6084. _iframe.contentWindow.document.body.appendChild(script2);
  6085. _iframe.contentWindow.document.body.appendChild(script4);
  6086. })
  6087. } else if (str == 'mind') {
  6088. _iframe = _formdiv.querySelector('iframe')
  6089. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6090. //
  6091. _iframe.contentWindow.document.body.appendChild(script1);
  6092. _iframe.contentWindow.document.body.appendChild(script2);
  6093. _iframe.contentWindow.document.body.appendChild(script4);
  6094. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6095. })
  6096. if (onloadListener) {
  6097. _iframe.contentDocument.location.reload()
  6098. } else {
  6099. _iframe.contentDocument.location.reload()
  6100. }
  6101. } else if (str == 'whiteboard') {
  6102. _iframe = _formdiv.querySelector('iframe')
  6103. let onloadListener = _iframe.onload = () => {
  6104. _iframe.contentWindow.document.body.appendChild(script1);
  6105. _iframe.contentWindow.document.body.appendChild(script2);
  6106. _iframe.contentWindow.document.body.appendChild(script4);
  6107. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6108. };
  6109. if (onloadListener) {
  6110. _iframe.contentDocument.location.reload()
  6111. } else {
  6112. _iframe.contentDocument.location.reload()
  6113. }
  6114. } else {
  6115. _iframe.onload = () => {
  6116. _iframe.contentWindow.document.body.appendChild(script1);
  6117. _iframe.contentWindow.document.body.appendChild(script2);
  6118. // _iframe.contentWindow.document.body.appendChild(script3);
  6119. _iframe.contentWindow.document.body.appendChild(script4);
  6120. };
  6121. }
  6122. _jie.onclick = async() => {
  6123. let text = ''
  6124. if (aTool == 1) {
  6125. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6126. } else if (aTool == 6) {
  6127. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6128. } else if (aTool == 3) {
  6129. text = await U.MD.D.I.getEditorContent(_iframe);
  6130. }
  6131. _loading.style.display = 'flex'
  6132. console.log(_loading);
  6133. var _ajs = _iframe.contentWindow.document.createElement("script");
  6134. _ajs.type = "text/javascript";
  6135. _ajs.innerHTML =
  6136. // 'console.log(' + _loading + ');\n' +
  6137. 'var _js = document.createElement("script");\n' +
  6138. '_js.type="text/javascript";\n' +
  6139. '_js.charset="UTF-8";\n' +
  6140. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6141. "_js.onload = function(){\n" +
  6142. ' var a = document.getElementsByTagName("img")\n' +
  6143. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6144. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6145. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6146. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6147. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6148. "beforeUpload_shishi(file," +
  6149. "'" +
  6150. _userid +
  6151. "'" +
  6152. ", " +
  6153. "'" +
  6154. _cid +
  6155. "'" +
  6156. ", " +
  6157. "'" +
  6158. _stage +
  6159. "'" +
  6160. ", " +
  6161. "'" +
  6162. _task +
  6163. "'" +
  6164. ", " +
  6165. "'" +
  6166. _tool +
  6167. "'" +
  6168. ", " +
  6169. "'" +
  6170. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6171. "'" +
  6172. ", " +
  6173. "'" +
  6174. aTool +
  6175. "'" +
  6176. ", " +
  6177. "`" +
  6178. text +
  6179. "`" +
  6180. ")\n" +
  6181. " });\n" +
  6182. "}\n" +
  6183. "document.head.appendChild(_js);\n";
  6184. _iframe.contentWindow.document.head.appendChild(_ajs);
  6185. }
  6186. }
  6187. }
  6188. U.MD.D.I.openApplicationJieTeacherE = function(str, cid, stage, task, tool, student) {
  6189. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6190. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6191. _userid = student.userid, //登录用户id
  6192. _username = student.student //用户名字
  6193. let _iframe;
  6194. let _cid = cid,
  6195. _stage = stage,
  6196. _task = task,
  6197. _tool = tool;
  6198. var _jie = $$("div", {
  6199. "style": {
  6200. "position": "absolute",
  6201. "bottom": "50px",
  6202. "right": "50px",
  6203. "zIndex": "9999",
  6204. "backgroundColor": "#2268bc",
  6205. "color": "#fff",
  6206. "padding": "12px 20px",
  6207. "cursor": "pointer",
  6208. "borderRadius": "4px",
  6209. },
  6210. "innerHTML": "提交作业"
  6211. })
  6212. let aTool = ''
  6213. let _loading = document.createElement('div')
  6214. _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;"
  6215. // _loading.id = "";
  6216. let _lchild = document.createElement('div')
  6217. let _limg = document.createElement('img')
  6218. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6219. _limg.style = "width: 26px;margin-right: 10px;"
  6220. _lchild.appendChild(_limg)
  6221. let _lspan = document.createElement('span')
  6222. _lspan.innerHTML = "上传中..."
  6223. _lchild.appendChild(_lspan)
  6224. _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%);"
  6225. _loading.appendChild(_lchild)
  6226. var _box = $$('div', {
  6227. "style": {
  6228. "position": "relative",
  6229. "width": "100%",
  6230. "height": "100%",
  6231. },
  6232. })
  6233. _box.appendChild(_loading)
  6234. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6235. switch (str) {
  6236. case "whiteboard":
  6237. aTool = 1;
  6238. _iframe = $$("iframe", {
  6239. "frameborder": "no",
  6240. "border": "0",
  6241. "scrolling ": "no",
  6242. "style": {
  6243. "cssText": "border:0;width:100%;height:100%"
  6244. },
  6245. "src": "https://iwb.cocorobo.cn/"
  6246. })
  6247. _box.appendChild(_iframe);
  6248. _box.appendChild(_jie);
  6249. _formdiv = new U.UF.UI.form(
  6250. "电子白板-" + _username,
  6251. _box, {
  6252. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6253. "style": {
  6254. "width": "90%",
  6255. "height": "90%",
  6256. "overflow": 'hidden'
  6257. },
  6258. "onresize": function() {}
  6259. }, {
  6260. closecallback: function() {}
  6261. }, {
  6262. "style": {
  6263. "height": "36px"
  6264. }
  6265. }).form; //创建窗体
  6266. _taskbar = {
  6267. "id": str + _formdiv.id,
  6268. "style": {
  6269. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6270. },
  6271. "name": "电子白板",
  6272. "forms": _formdiv,
  6273. "click": function() {
  6274. U.MD.D.I.openApplication(str, obj, info);
  6275. }
  6276. }
  6277. break;
  6278. case "mind":
  6279. aTool = 3;
  6280. _iframe = $$("iframe", {
  6281. "frameborder": "no",
  6282. "border": "0",
  6283. "scrolling ": "no",
  6284. "style": {
  6285. "cssText": "border:0;width:100%;height:100%"
  6286. },
  6287. "src": "/kityminder-editor/dist/index.html"
  6288. })
  6289. _box.appendChild(_iframe);
  6290. _box.appendChild(_jie);
  6291. _formdiv = new U.UF.UI.form(
  6292. "思维导图-" + _username,
  6293. _box, { //"/jsmind/example/demo.html"
  6294. "id": "mind" + cid + stage + task + tool + _userid,
  6295. "style": {
  6296. "width": "90%",
  6297. "height": "90%",
  6298. "overflow": 'hidden'
  6299. },
  6300. "onresize": function() {}
  6301. }, {
  6302. closecallback: function() {}
  6303. }, {
  6304. "style": {
  6305. "height": "36px"
  6306. }
  6307. }).form; //创建窗体
  6308. _taskbar = {
  6309. "id": str + _formdiv.id,
  6310. "style": {
  6311. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6312. },
  6313. "name": "思维导图",
  6314. "forms": _formdiv,
  6315. "click": function() {
  6316. U.MD.D.I.openApplication(str, obj, info);
  6317. }
  6318. }
  6319. break;
  6320. case "MindMap":
  6321. aTool = 3;
  6322. _iframe = $$("iframe", {
  6323. "frameborder": "no",
  6324. "border": "0",
  6325. "scrolling ": "no",
  6326. "style": {
  6327. "cssText": "border:0;width:100%;height:100%"
  6328. },
  6329. "src": "//cloud.cocorobo.cn/mind/"
  6330. })
  6331. _box.appendChild(_iframe);
  6332. _box.appendChild(_jie);
  6333. _formdiv = new U.UF.UI.form(
  6334. "思维导图-" + _username,
  6335. _box, { //"/jsmind/example/demo.html"
  6336. "id": "mind" + cid + stage + task + tool + _userid,
  6337. "style": {
  6338. "width": "90%",
  6339. "height": "90%",
  6340. "overflow": 'hidden'
  6341. },
  6342. "onresize": function() {}
  6343. }, {
  6344. closecallback: function() {}
  6345. }, {
  6346. "style": {
  6347. "height": "36px"
  6348. }
  6349. }).form; //创建窗体
  6350. _taskbar = {
  6351. "id": str + _formdiv.id,
  6352. "style": {
  6353. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6354. },
  6355. "name": "思维导图",
  6356. "forms": _formdiv,
  6357. "click": function() {
  6358. U.MD.D.I.openApplication(str, obj, info);
  6359. }
  6360. }
  6361. break;
  6362. case "doc":
  6363. aTool = 6;
  6364. _iframe = $$("iframe", {
  6365. "frameborder": "no",
  6366. "border": "0",
  6367. "scrolling ": "no",
  6368. "style": {
  6369. "cssText": "border:0;width:100%;height:100%"
  6370. },
  6371. "src": "/Office/Word/WordEditArea.htm"
  6372. })
  6373. _box.appendChild(_iframe);
  6374. _box.appendChild(_jie);
  6375. _formdiv = new U.UF.UI.form(
  6376. "协同文档-" + _username,
  6377. _box, {
  6378. "id": "doc" + cid + stage + task + tool + _userid,
  6379. "style": {
  6380. "width": "90%",
  6381. "height": "90%",
  6382. "overflow": 'hidden'
  6383. },
  6384. "onresize": function() {}
  6385. }, {
  6386. closecallback: function() {}
  6387. }, {
  6388. "style": {
  6389. "height": "36px"
  6390. }
  6391. }).form; //创建窗体
  6392. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6393. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6394. })
  6395. _taskbar = {
  6396. "id": str + _formdiv.id,
  6397. "style": {
  6398. "backgroundImage": "url(/img/icon/doc.png)"
  6399. },
  6400. "name": "协同文档",
  6401. "forms": _formdiv,
  6402. "click": function() {
  6403. U.MD.D.I.openApplication(str, obj, info);
  6404. }
  6405. }
  6406. break;
  6407. case "mindNetwork": //好友打开
  6408. aTool = 7;
  6409. _iframe = $$("iframe", {
  6410. "webkitallowfullscreen": "",
  6411. "mozallowfullscreen": "",
  6412. "allowfullscreen": "",
  6413. "frameborder": "no",
  6414. "border": "0",
  6415. "scrolling ": "no",
  6416. "style": {
  6417. "cssText": "border:0; width:100%; height:100%;"
  6418. },
  6419. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6420. })
  6421. _box.appendChild(_iframe);
  6422. _box.appendChild(_jie);
  6423. _formdiv = new U.UF.UI.form(
  6424. "思维网格-" + _username,
  6425. _box, {
  6426. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6427. "style": {
  6428. "width": "90%",
  6429. "height": "90%",
  6430. "overflow": 'hidden'
  6431. },
  6432. "onresize": function() {}
  6433. }, {
  6434. closecallback: function() {}
  6435. }, {
  6436. "style": {
  6437. "height": "36px"
  6438. }
  6439. }).form; //创建窗体
  6440. _taskbar = {
  6441. "id": str + _formdiv.id,
  6442. "style": {
  6443. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6444. },
  6445. "name": "思维网格",
  6446. "forms": _formdiv,
  6447. "click": function() {
  6448. U.MD.D.I.openApplication(str, obj, info);
  6449. }
  6450. }
  6451. break;
  6452. case "courseDesign":
  6453. _iframe = $$("iframe", {
  6454. "webkitallowfullscreen": "",
  6455. "mozallowfullscreen": "",
  6456. "allowfullscreen": "",
  6457. "frameborder": "no",
  6458. "border": "0",
  6459. "scrolling ": "no",
  6460. "style": {
  6461. "cssText": "border:0; width:100%; height:100%;"
  6462. },
  6463. "src": "/course-design-vue"
  6464. })
  6465. _box.appendChild(_iframe);
  6466. _box.appendChild(_jie);
  6467. _formdiv = new U.UF.UI.form(
  6468. "项目设计-" + _username,
  6469. _box, {
  6470. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6471. "style": {
  6472. "width": "90%",
  6473. "height": "90%",
  6474. "overflow": 'hidden'
  6475. },
  6476. "onresize": function() {}
  6477. }, {
  6478. closecallback: function() {}
  6479. }, {
  6480. "style": {
  6481. "height": "36px"
  6482. }
  6483. }).form; //创建窗体
  6484. _taskbar = {
  6485. "id": str + _formdiv.id,
  6486. "style": {
  6487. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6488. },
  6489. "name": "项目设计",
  6490. "forms": _formdiv,
  6491. "click": function() {
  6492. U.MD.D.I.openApplication(str, obj, info);
  6493. }
  6494. }
  6495. break;
  6496. }
  6497. const script1 = document.createElement("script");
  6498. script1.type = "text/javascript";
  6499. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6500. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6501. const script2 = document.createElement("script");
  6502. script2.type = "text/javascript";
  6503. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6504. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6505. const script3 = document.createElement("script");
  6506. script3.type = "text/javascript";
  6507. script3.charset = "UTF-8";
  6508. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6509. const script4 = document.createElement("script");
  6510. script4.type = "text/javascript";
  6511. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6512. script4.src = window.origin + "/js/Common/jietu2E.js";
  6513. if (_iframe) {
  6514. if (str == 'doc') {
  6515. _iframe = _formdiv.querySelector('iframe')
  6516. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6517. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6518. _iframe.contentWindow.document.body.appendChild(script1);
  6519. _iframe.contentWindow.document.body.appendChild(script2);
  6520. // _iframe.contentWindow.document.body.appendChild(script3);
  6521. _iframe.contentWindow.document.body.appendChild(script4);
  6522. })
  6523. if (onloadListener) {
  6524. _iframe.contentDocument.location.reload()
  6525. } else {
  6526. _iframe.contentDocument.location.reload()
  6527. }
  6528. } else if (str == 'courseDesign') {
  6529. U.UF.DL.iframeLoad(_iframe, function() {
  6530. // _iframe.contentWindow.U.MD.O.W.load();
  6531. // _iframe.contentWindow.document.body.appendChild(script1);
  6532. _iframe.contentWindow.document.body.appendChild(script2);
  6533. _iframe.contentWindow.document.body.appendChild(script4);
  6534. })
  6535. } else if (str == 'mind') {
  6536. _iframe = _formdiv.querySelector('iframe')
  6537. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6538. //
  6539. _iframe.contentWindow.document.body.appendChild(script1);
  6540. _iframe.contentWindow.document.body.appendChild(script2);
  6541. _iframe.contentWindow.document.body.appendChild(script4);
  6542. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6543. })
  6544. if (onloadListener) {
  6545. _iframe.contentDocument.location.reload()
  6546. } else {
  6547. _iframe.contentDocument.location.reload()
  6548. }
  6549. } else if (str == 'whiteboard') {
  6550. _iframe = _formdiv.querySelector('iframe')
  6551. let onloadListener = _iframe.onload = () => {
  6552. _iframe.contentWindow.document.body.appendChild(script1);
  6553. _iframe.contentWindow.document.body.appendChild(script2);
  6554. _iframe.contentWindow.document.body.appendChild(script4);
  6555. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6556. };
  6557. if (onloadListener) {
  6558. _iframe.contentDocument.location.reload()
  6559. } else {
  6560. _iframe.contentDocument.location.reload()
  6561. }
  6562. } else {
  6563. _iframe.onload = () => {
  6564. _iframe.contentWindow.document.body.appendChild(script1);
  6565. _iframe.contentWindow.document.body.appendChild(script2);
  6566. // _iframe.contentWindow.document.body.appendChild(script3);
  6567. _iframe.contentWindow.document.body.appendChild(script4);
  6568. };
  6569. }
  6570. _jie.onclick = async() => {
  6571. let text = ''
  6572. if (aTool == 1) {
  6573. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6574. } else if (aTool == 6) {
  6575. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6576. } else if (aTool == 3) {
  6577. text = await U.MD.D.I.getEditorContent(_iframe);
  6578. }
  6579. _loading.style.display = 'flex'
  6580. console.log(_loading);
  6581. var _ajs = _iframe.contentWindow.document.createElement("script");
  6582. _ajs.type = "text/javascript";
  6583. _ajs.innerHTML =
  6584. // 'console.log(' + _loading + ');\n' +
  6585. 'var _js = document.createElement("script");\n' +
  6586. '_js.type="text/javascript";\n' +
  6587. '_js.charset="UTF-8";\n' +
  6588. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6589. "_js.onload = function(){\n" +
  6590. ' var a = document.getElementsByTagName("img")\n' +
  6591. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6592. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6593. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6594. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6595. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6596. "beforeUpload_shishi(file," +
  6597. "'" +
  6598. _userid +
  6599. "'" +
  6600. ", " +
  6601. "'" +
  6602. _cid +
  6603. "'" +
  6604. ", " +
  6605. "'" +
  6606. _stage +
  6607. "'" +
  6608. ", " +
  6609. "'" +
  6610. _task +
  6611. "'" +
  6612. ", " +
  6613. "'" +
  6614. _tool +
  6615. "'" +
  6616. ", " +
  6617. "'" +
  6618. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6619. "'" +
  6620. ", " +
  6621. "'" +
  6622. aTool +
  6623. "'" +
  6624. ", " +
  6625. "`" +
  6626. text +
  6627. "`" +
  6628. ")\n" +
  6629. " });\n" +
  6630. "}\n" +
  6631. "document.head.appendChild(_js);\n";
  6632. _iframe.contentWindow.document.head.appendChild(_ajs);
  6633. }
  6634. }
  6635. }
  6636. U.MD.D.I.getEditorContent = function(iframe) {
  6637. return new Promise((resolve, reject) => {
  6638. iframe.contentWindow.editor.minder.exportData('json').then(function(content) {
  6639. console.log(content);
  6640. resolve(content)
  6641. });
  6642. });
  6643. }
  6644. U.MD.D.I.getContent = function(cid, s, task, t, uid, type, iframe) {
  6645. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6646. // if (res.value[0].length > 0) {
  6647. // // resolve(res.value[0][0].text);
  6648. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6649. // $(fileInput).val('');
  6650. // });
  6651. // }
  6652. // }, [], { "type": "GET", "withCredentials": true });
  6653. var xmlhttp;
  6654. var Mac, Sn, DeviceId
  6655. if (window.XMLHttpRequest) {
  6656. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6657. xmlhttp = new XMLHttpRequest();
  6658. } else {
  6659. // IE6, IE5 浏览器执行代码
  6660. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6661. }
  6662. xmlhttp.onreadystatechange = function() {
  6663. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6664. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6665. // resolve(res.value[0][0].text);
  6666. if (type == '2') {
  6667. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6668. } else if (type == '3') {
  6669. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6670. }
  6671. } else {
  6672. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6673. }
  6674. }
  6675. }
  6676. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6677. xmlhttp.send();
  6678. }
  6679. U.MD.D.I.openApplicationJieS = function(str, cid, stage, task, tool) {
  6680. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6681. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6682. _userinfo = US.userInfo, //登录用户信息
  6683. _userid = US.userInfo.userid //登录用户id
  6684. let _iframe;
  6685. let _cid = cid,
  6686. _stage = stage,
  6687. _task = task,
  6688. _tool = tool;
  6689. var _jie = $$("div", {
  6690. "style": {
  6691. "position": "absolute",
  6692. "bottom": "50px",
  6693. "right": "50px",
  6694. "zIndex": "9999",
  6695. "backgroundColor": "#2268bc",
  6696. "color": "#fff",
  6697. "padding": "12px 20px",
  6698. "cursor": "pointer",
  6699. "borderRadius": "4px",
  6700. },
  6701. "innerHTML": "确认并提交"
  6702. })
  6703. let aTool = ''
  6704. let _loading = document.createElement('div')
  6705. _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;"
  6706. // _loading.id = "";
  6707. let _lchild = document.createElement('div')
  6708. let _limg = document.createElement('img')
  6709. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6710. _limg.style = "width: 26px;margin-right: 10px;"
  6711. _lchild.appendChild(_limg)
  6712. let _lspan = document.createElement('span')
  6713. _lspan.innerHTML = "上传中..."
  6714. _lchild.appendChild(_lspan)
  6715. _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%);"
  6716. _loading.appendChild(_lchild)
  6717. var _box = $$('div', {
  6718. "style": {
  6719. "position": "relative",
  6720. "width": "100%",
  6721. "height": "100%",
  6722. },
  6723. })
  6724. _box.appendChild(_loading)
  6725. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6726. switch (str) {
  6727. case "whiteboard":
  6728. aTool = 1;
  6729. _iframe = $$("iframe", {
  6730. "frameborder": "no",
  6731. "border": "0",
  6732. "scrolling ": "no",
  6733. "style": {
  6734. "cssText": "border:0;width:100%;height:100%"
  6735. },
  6736. "src": "https://iwb.cocorobo.cn/"
  6737. })
  6738. _box.appendChild(_iframe);
  6739. _box.appendChild(_jie);
  6740. _formdiv = new U.UF.UI.form(
  6741. "电子白板",
  6742. _box, {
  6743. "id": "whiteboards" + cid + stage + task + tool,
  6744. "style": {
  6745. "width": "90%",
  6746. "height": "90%",
  6747. "overflow": 'hidden'
  6748. },
  6749. "onresize": function() {}
  6750. }, {
  6751. closecallback: function() {}
  6752. }, {
  6753. "style": {
  6754. "height": "36px"
  6755. }
  6756. }).form; //创建窗体
  6757. _taskbar = {
  6758. "id": str + _formdiv.id,
  6759. "style": {
  6760. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6761. },
  6762. "name": "电子白板",
  6763. "forms": _formdiv,
  6764. "click": function() {
  6765. U.MD.D.I.openApplication(str, obj, info);
  6766. }
  6767. }
  6768. break;
  6769. case "mind":
  6770. aTool = 3;
  6771. _iframe = $$("iframe", {
  6772. "frameborder": "no",
  6773. "border": "0",
  6774. "scrolling ": "no",
  6775. "style": {
  6776. "cssText": "border:0;width:100%;height:100%"
  6777. },
  6778. "src": "/kityminder-editor/dist/index.html"
  6779. });
  6780. _box.appendChild(_iframe);
  6781. _box.appendChild(_jie);
  6782. _formdiv = new U.UF.UI.form(
  6783. "思维导图",
  6784. _box, { //"/jsmind/example/demo.html"
  6785. "id": "minds" + cid + stage + task + tool,
  6786. "style": {
  6787. "width": "90%",
  6788. "height": "90%",
  6789. "overflow": 'hidden'
  6790. },
  6791. "onresize": function() {}
  6792. }, {
  6793. closecallback: function() {}
  6794. }, {
  6795. "style": {
  6796. "height": "36px"
  6797. }
  6798. }).form; //创建窗体
  6799. _taskbar = {
  6800. "id": str + _formdiv.id,
  6801. "style": {
  6802. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6803. },
  6804. "name": "思维导图",
  6805. "forms": _formdiv,
  6806. "click": function() {
  6807. U.MD.D.I.openApplication(str, obj, info);
  6808. }
  6809. }
  6810. break;
  6811. case "doc":
  6812. aTool = 6;
  6813. _iframe = $$("iframe", {
  6814. "frameborder": "no",
  6815. "border": "0",
  6816. "scrolling ": "no",
  6817. "style": {
  6818. "cssText": "border:0;width:100%;height:100%"
  6819. },
  6820. "src": "/Office/Word/WordEditArea.htm"
  6821. })
  6822. _box.appendChild(_iframe);
  6823. _box.appendChild(_jie);
  6824. _formdiv = new U.UF.UI.form(
  6825. "协同文档",
  6826. _box, {
  6827. "id": "docs" + cid + stage + task + tool,
  6828. "style": {
  6829. "width": "90%",
  6830. "height": "90%",
  6831. "overflow": 'hidden'
  6832. },
  6833. "onresize": function() {}
  6834. }, {
  6835. closecallback: function() {}
  6836. }, {
  6837. "style": {
  6838. "height": "36px"
  6839. }
  6840. }).form; //创建窗体
  6841. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6842. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6843. })
  6844. _taskbar = {
  6845. "id": str + _formdiv.id,
  6846. "style": {
  6847. "backgroundImage": "url(/img/icon/doc.png)"
  6848. },
  6849. "name": "协同文档",
  6850. "forms": _formdiv,
  6851. "click": function() {
  6852. U.MD.D.I.openApplication(str, obj, info);
  6853. }
  6854. }
  6855. break;
  6856. }
  6857. const script1 = document.createElement("script");
  6858. script1.type = "text/javascript";
  6859. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6860. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6861. const script2 = document.createElement("script");
  6862. script2.type = "text/javascript";
  6863. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6864. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6865. const script3 = document.createElement("script");
  6866. script3.type = "text/javascript";
  6867. script3.charset = "UTF-8";
  6868. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6869. const script4 = document.createElement("script");
  6870. script4.type = "text/javascript";
  6871. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6872. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6873. if (_iframe) {
  6874. if (str == 'doc') {
  6875. _iframe = _formdiv.querySelector('iframe')
  6876. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6877. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6878. _iframe.contentWindow.document.body.appendChild(script1);
  6879. _iframe.contentWindow.document.body.appendChild(script2);
  6880. // _iframe.contentWindow.document.body.appendChild(script3);
  6881. _iframe.contentWindow.document.body.appendChild(script4);
  6882. })
  6883. if (onloadListener) {
  6884. _iframe.contentDocument.location.reload()
  6885. } else {
  6886. _iframe.contentDocument.location.reload()
  6887. }
  6888. } else if (str == 'mind') {
  6889. _iframe = _formdiv.querySelector('iframe')
  6890. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6891. _iframe.contentWindow.document.body.appendChild(script1);
  6892. _iframe.contentWindow.document.body.appendChild(script2);
  6893. _iframe.contentWindow.document.body.appendChild(script4);
  6894. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6895. })
  6896. if (onloadListener) {
  6897. _iframe.contentDocument.location.reload()
  6898. } else {
  6899. _iframe.contentDocument.location.reload()
  6900. }
  6901. } else {
  6902. _iframe.onload = () => {
  6903. _iframe.contentWindow.document.body.appendChild(script1);
  6904. _iframe.contentWindow.document.body.appendChild(script2);
  6905. // _iframe.contentWindow.document.body.appendChild(script3);
  6906. _iframe.contentWindow.document.body.appendChild(script4);
  6907. };
  6908. }
  6909. _jie.onclick = async() => {
  6910. let text = ''
  6911. if (aTool == 6) {
  6912. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6913. } else if (aTool == 3) {
  6914. text = await U.MD.D.I.getEditorContent(_iframe);
  6915. }
  6916. _loading.style.display = 'flex'
  6917. console.log(_loading);
  6918. var _ajs = _iframe.contentWindow.document.createElement("script");
  6919. _ajs.type = "text/javascript";
  6920. _ajs.innerHTML =
  6921. // 'console.log(' + _loading + ');\n' +
  6922. 'var _js = document.createElement("script");\n' +
  6923. '_js.type="text/javascript";\n' +
  6924. '_js.charset="UTF-8";\n' +
  6925. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6926. "_js.onload = function(){\n" +
  6927. ' var a = document.getElementsByTagName("img")\n' +
  6928. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6929. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6930. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6931. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6932. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6933. "beforeUpload_shishi(file," +
  6934. "'" +
  6935. _userid +
  6936. "'" +
  6937. ", " +
  6938. "'" +
  6939. _cid +
  6940. "'" +
  6941. ", " +
  6942. "'" +
  6943. _stage +
  6944. "'" +
  6945. ", " +
  6946. "'" +
  6947. _task +
  6948. "'" +
  6949. ", " +
  6950. "'" +
  6951. _tool +
  6952. "'" +
  6953. ", " +
  6954. "'" +
  6955. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6956. "'" +
  6957. ", " +
  6958. "'" +
  6959. aTool +
  6960. "'" +
  6961. ", " +
  6962. "`" +
  6963. text +
  6964. "`" +
  6965. ")\n" +
  6966. " });\n" +
  6967. "}\n" +
  6968. "document.head.appendChild(_js);\n";
  6969. _iframe.contentWindow.document.head.appendChild(_ajs);
  6970. }
  6971. }
  6972. //U.MD.D.I.openClick(str);
  6973. //如果有任务栏信息
  6974. // if (_taskbar) {
  6975. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6976. // }
  6977. }
  6978. U.MD.D.I.openApplicationJieStudio = function(str, cid, stage, task, tool) {
  6979. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6980. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6981. _userinfo = US.userInfo, //登录用户信息
  6982. _userid = US.userInfo.userid //登录用户id
  6983. let _iframe;
  6984. let _cid = cid,
  6985. _stage = stage,
  6986. _task = task,
  6987. _tool = tool;
  6988. var _jie = $$("div", {
  6989. "style": {
  6990. "position": "absolute",
  6991. "bottom": "50px",
  6992. "right": "50px",
  6993. "zIndex": "9999",
  6994. "backgroundColor": "#2268bc",
  6995. "color": "#fff",
  6996. "padding": "12px 20px",
  6997. "cursor": "pointer",
  6998. "borderRadius": "4px",
  6999. },
  7000. "innerHTML": "确认并提交"
  7001. })
  7002. let aTool = ''
  7003. let _loading = document.createElement('div')
  7004. _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;"
  7005. // _loading.id = "";
  7006. let _lchild = document.createElement('div')
  7007. let _limg = document.createElement('img')
  7008. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7009. _limg.style = "width: 26px;margin-right: 10px;"
  7010. _lchild.appendChild(_limg)
  7011. let _lspan = document.createElement('span')
  7012. _lspan.innerHTML = "上传中..."
  7013. _lchild.appendChild(_lspan)
  7014. _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%);"
  7015. _loading.appendChild(_lchild)
  7016. var _box = $$('div', {
  7017. "style": {
  7018. "position": "relative",
  7019. "width": "100%",
  7020. "height": "100%",
  7021. },
  7022. })
  7023. _box.appendChild(_loading)
  7024. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7025. switch (str) {
  7026. case "whiteboard":
  7027. aTool = 1;
  7028. _iframe = $$("iframe", {
  7029. "frameborder": "no",
  7030. "border": "0",
  7031. "scrolling ": "no",
  7032. "style": {
  7033. "cssText": "border:0;width:100%;height:100%"
  7034. },
  7035. "src": "https://iwb.cocorobo.cn/"
  7036. })
  7037. _box.appendChild(_iframe);
  7038. _box.appendChild(_jie);
  7039. _formdiv = new U.UF.UI.form(
  7040. "电子白板",
  7041. _box, {
  7042. "id": "whiteboards" + cid + stage + task + tool,
  7043. "style": {
  7044. "width": "90%",
  7045. "height": "90%",
  7046. "overflow": 'hidden'
  7047. },
  7048. "onresize": function() {}
  7049. }, {
  7050. closecallback: function() {}
  7051. }, {
  7052. "style": {
  7053. "height": "36px"
  7054. }
  7055. }).form; //创建窗体
  7056. _taskbar = {
  7057. "id": str + _formdiv.id,
  7058. "style": {
  7059. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7060. },
  7061. "name": "电子白板",
  7062. "forms": _formdiv,
  7063. "click": function() {
  7064. U.MD.D.I.openApplication(str, obj, info);
  7065. }
  7066. }
  7067. break;
  7068. case "mind":
  7069. aTool = 3;
  7070. _iframe = $$("iframe", {
  7071. "frameborder": "no",
  7072. "border": "0",
  7073. "scrolling ": "no",
  7074. "style": {
  7075. "cssText": "border:0;width:100%;height:100%"
  7076. },
  7077. "src": "/kityminder-editor/dist/index.html"
  7078. });
  7079. _box.appendChild(_iframe);
  7080. _box.appendChild(_jie);
  7081. _formdiv = new U.UF.UI.form(
  7082. "思维导图",
  7083. _box, { //"/jsmind/example/demo.html"
  7084. "id": "minds" + cid + stage + task + tool,
  7085. "style": {
  7086. "width": "90%",
  7087. "height": "90%",
  7088. "overflow": 'hidden'
  7089. },
  7090. "onresize": function() {}
  7091. }, {
  7092. closecallback: function() {}
  7093. }, {
  7094. "style": {
  7095. "height": "36px"
  7096. }
  7097. }).form; //创建窗体
  7098. _taskbar = {
  7099. "id": str + _formdiv.id,
  7100. "style": {
  7101. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7102. },
  7103. "name": "思维导图",
  7104. "forms": _formdiv,
  7105. "click": function() {
  7106. U.MD.D.I.openApplication(str, obj, info);
  7107. }
  7108. }
  7109. break;
  7110. case "doc":
  7111. aTool = 6;
  7112. _iframe = $$("iframe", {
  7113. "frameborder": "no",
  7114. "border": "0",
  7115. "scrolling ": "no",
  7116. "style": {
  7117. "cssText": "border:0;width:100%;height:100%"
  7118. },
  7119. "src": "/Office/Word/WordEditArea.htm"
  7120. })
  7121. _box.appendChild(_iframe);
  7122. _box.appendChild(_jie);
  7123. _formdiv = new U.UF.UI.form(
  7124. "协同文档",
  7125. _box, {
  7126. "id": "docs" + cid + stage + task + tool,
  7127. "style": {
  7128. "width": "90%",
  7129. "height": "90%",
  7130. "overflow": 'hidden'
  7131. },
  7132. "onresize": function() {}
  7133. }, {
  7134. closecallback: function() {}
  7135. }, {
  7136. "style": {
  7137. "height": "36px"
  7138. }
  7139. }).form; //创建窗体
  7140. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  7141. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7142. })
  7143. _taskbar = {
  7144. "id": str + _formdiv.id,
  7145. "style": {
  7146. "backgroundImage": "url(/img/icon/doc.png)"
  7147. },
  7148. "name": "协同文档",
  7149. "forms": _formdiv,
  7150. "click": function() {
  7151. U.MD.D.I.openApplication(str, obj, info);
  7152. }
  7153. }
  7154. break;
  7155. }
  7156. const script1 = document.createElement("script");
  7157. script1.type = "text/javascript";
  7158. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7159. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7160. const script2 = document.createElement("script");
  7161. script2.type = "text/javascript";
  7162. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7163. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7164. const script3 = document.createElement("script");
  7165. script3.type = "text/javascript";
  7166. script3.charset = "UTF-8";
  7167. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7168. const script4 = document.createElement("script");
  7169. script4.type = "text/javascript";
  7170. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7171. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7172. if (_iframe) {
  7173. if (str == 'doc') {
  7174. _iframe = _formdiv.querySelector('iframe')
  7175. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7176. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7177. _iframe.contentWindow.document.body.appendChild(script1);
  7178. _iframe.contentWindow.document.body.appendChild(script2);
  7179. // _iframe.contentWindow.document.body.appendChild(script3);
  7180. _iframe.contentWindow.document.body.appendChild(script4);
  7181. })
  7182. if (onloadListener) {
  7183. _iframe.contentDocument.location.reload()
  7184. } else {
  7185. _iframe.contentDocument.location.reload()
  7186. }
  7187. } else if (str == 'mind') {
  7188. _iframe = _formdiv.querySelector('iframe')
  7189. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7190. _iframe.contentWindow.document.body.appendChild(script1);
  7191. _iframe.contentWindow.document.body.appendChild(script2);
  7192. _iframe.contentWindow.document.body.appendChild(script4);
  7193. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7194. })
  7195. if (onloadListener) {
  7196. _iframe.contentDocument.location.reload()
  7197. } else {
  7198. _iframe.contentDocument.location.reload()
  7199. }
  7200. } else {
  7201. _iframe.onload = () => {
  7202. _iframe.contentWindow.document.body.appendChild(script1);
  7203. _iframe.contentWindow.document.body.appendChild(script2);
  7204. // _iframe.contentWindow.document.body.appendChild(script3);
  7205. _iframe.contentWindow.document.body.appendChild(script4);
  7206. };
  7207. }
  7208. _jie.onclick = async() => {
  7209. let text = ''
  7210. if (aTool == 6) {
  7211. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7212. } else if (aTool == 3) {
  7213. text = await U.MD.D.I.getEditorContent(_iframe);
  7214. }
  7215. _loading.style.display = 'flex'
  7216. console.log(_loading);
  7217. var _ajs = _iframe.contentWindow.document.createElement("script");
  7218. _ajs.type = "text/javascript";
  7219. _ajs.innerHTML =
  7220. // 'console.log(' + _loading + ');\n' +
  7221. 'var _js = document.createElement("script");\n' +
  7222. '_js.type="text/javascript";\n' +
  7223. '_js.charset="UTF-8";\n' +
  7224. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7225. "_js.onload = function(){\n" +
  7226. ' var a = document.getElementsByTagName("img")\n' +
  7227. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7228. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7229. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7230. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7231. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7232. "beforeUpload_shishi(file," +
  7233. "'" +
  7234. _userid +
  7235. "'" +
  7236. ", " +
  7237. "'" +
  7238. _cid +
  7239. "'" +
  7240. ", " +
  7241. "'" +
  7242. _stage +
  7243. "'" +
  7244. ", " +
  7245. "'" +
  7246. _task +
  7247. "'" +
  7248. ", " +
  7249. "'" +
  7250. _tool +
  7251. "'" +
  7252. ", " +
  7253. "'" +
  7254. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7255. "'" +
  7256. ", " +
  7257. "'" +
  7258. aTool +
  7259. "'" +
  7260. ", " +
  7261. "`" +
  7262. text +
  7263. "`" +
  7264. ")\n" +
  7265. " });\n" +
  7266. "}\n" +
  7267. "document.head.appendChild(_js);\n";
  7268. _iframe.contentWindow.document.head.appendChild(_ajs);
  7269. }
  7270. }
  7271. //U.MD.D.I.openClick(str);
  7272. //如果有任务栏信息
  7273. // if (_taskbar) {
  7274. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7275. // }
  7276. }
  7277. U.MD.D.I.openApplicationYu = function(str, cid, stage, task, tool) {
  7278. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7279. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7280. _userinfo = US.userInfo, //登录用户信息
  7281. _userid = US.userInfo.userid //登录用户id
  7282. let _iframe;
  7283. let _cid = cid,
  7284. _stage = stage,
  7285. _task = task,
  7286. _tool = tool;
  7287. var _jie = $$("div", {
  7288. "style": {
  7289. "position": "absolute",
  7290. "bottom": "50px",
  7291. "right": "50px",
  7292. "zIndex": "9999",
  7293. "backgroundColor": "#2268bc",
  7294. "color": "#fff",
  7295. "padding": "12px 20px",
  7296. "cursor": "pointer",
  7297. "borderRadius": "4px",
  7298. },
  7299. "innerHTML": "上传模板"
  7300. })
  7301. let aTool = ''
  7302. let _loading = document.createElement('div')
  7303. _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;"
  7304. // _loading.id = "";
  7305. let _lchild = document.createElement('div')
  7306. let _limg = document.createElement('img')
  7307. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7308. _limg.style = "width: 26px;margin-right: 10px;"
  7309. _lchild.appendChild(_limg)
  7310. let _lspan = document.createElement('span')
  7311. _lspan.innerHTML = "上传中..."
  7312. _lchild.appendChild(_lspan)
  7313. _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%);"
  7314. _loading.appendChild(_lchild)
  7315. var _box = $$('div', {
  7316. "style": {
  7317. "position": "relative",
  7318. "width": "100%",
  7319. "height": "100%",
  7320. },
  7321. })
  7322. _box.appendChild(_loading)
  7323. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7324. switch (str) {
  7325. case "whiteboard":
  7326. aTool = 1;
  7327. _iframe = $$("iframe", {
  7328. "frameborder": "no",
  7329. "border": "0",
  7330. "scrolling ": "no",
  7331. "style": {
  7332. "cssText": "border:0;width:100%;height:100%"
  7333. },
  7334. "src": "https://iwb.cocorobo.cn/"
  7335. })
  7336. _box.appendChild(_iframe);
  7337. _box.appendChild(_jie);
  7338. _formdiv = new U.UF.UI.form(
  7339. "电子白板",
  7340. _box, {
  7341. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7342. "style": {
  7343. "width": "90%",
  7344. "height": "90%",
  7345. "overflow": 'hidden'
  7346. },
  7347. "onresize": function() {}
  7348. }, {
  7349. closecallback: function() {}
  7350. }, {
  7351. "style": {
  7352. "height": "36px"
  7353. }
  7354. }).form; //创建窗体
  7355. _taskbar = {
  7356. "id": str + _formdiv.id,
  7357. "style": {
  7358. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7359. },
  7360. "name": "电子白板",
  7361. "forms": _formdiv,
  7362. "click": function() {
  7363. U.MD.D.I.openApplication(str, obj, info);
  7364. }
  7365. }
  7366. break;
  7367. case "mind":
  7368. aTool = 3;
  7369. _iframe = $$("iframe", {
  7370. "frameborder": "no",
  7371. "border": "0",
  7372. "scrolling ": "no",
  7373. "style": {
  7374. "cssText": "border:0;width:100%;height:100%"
  7375. },
  7376. "src": "/kityminder-editor/dist/index.html"
  7377. });
  7378. _box.appendChild(_iframe);
  7379. _box.appendChild(_jie);
  7380. _formdiv = new U.UF.UI.form(
  7381. "思维导图",
  7382. _box, { //"/jsmind/example/demo.html"
  7383. "id": "minds_Yu" + cid + stage + task + tool,
  7384. "style": {
  7385. "width": "90%",
  7386. "height": "90%",
  7387. "overflow": 'hidden'
  7388. },
  7389. "onresize": function() {}
  7390. }, {
  7391. closecallback: function() {}
  7392. }, {
  7393. "style": {
  7394. "height": "36px"
  7395. }
  7396. }).form; //创建窗体
  7397. _taskbar = {
  7398. "id": str + _formdiv.id,
  7399. "style": {
  7400. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7401. },
  7402. "name": "思维导图",
  7403. "forms": _formdiv,
  7404. "click": function() {
  7405. U.MD.D.I.openApplication(str, obj, info);
  7406. }
  7407. }
  7408. break;
  7409. case "doc":
  7410. aTool = 6;
  7411. _iframe = $$("iframe", {
  7412. "frameborder": "no",
  7413. "border": "0",
  7414. "scrolling ": "no",
  7415. "style": {
  7416. "cssText": "border:0;width:100%;height:100%"
  7417. },
  7418. "src": "/Office/Word/WordEditArea.htm"
  7419. })
  7420. _box.appendChild(_iframe);
  7421. _box.appendChild(_jie);
  7422. _formdiv = new U.UF.UI.form(
  7423. "协同文档",
  7424. _box, {
  7425. "id": "docs_Yu" + cid + stage + task + tool,
  7426. "style": {
  7427. "width": "90%",
  7428. "height": "90%",
  7429. "overflow": 'hidden'
  7430. },
  7431. "onresize": function() {}
  7432. }, {
  7433. closecallback: function() {}
  7434. }, {
  7435. "style": {
  7436. "height": "36px"
  7437. }
  7438. }).form; //创建窗体
  7439. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  7440. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7441. })
  7442. _taskbar = {
  7443. "id": str + _formdiv.id,
  7444. "style": {
  7445. "backgroundImage": "url(/img/icon/doc.png)"
  7446. },
  7447. "name": "协同文档",
  7448. "forms": _formdiv,
  7449. "click": function() {
  7450. U.MD.D.I.openApplication(str, obj, info);
  7451. }
  7452. }
  7453. break;
  7454. case "CocoPi":
  7455. aTool = 57;
  7456. _iframe = $$("iframe", {
  7457. "allowpaymentrequest": "allowpaymentrequest",
  7458. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7459. "webkitallowfullscreen": "",
  7460. "mozallowfullscreen": "",
  7461. "frameborder": "no",
  7462. "border": "0",
  7463. "scrolling ": "no",
  7464. "style": {
  7465. "cssText": "border:0;width:100%;height:100%"
  7466. },
  7467. "src": "https://pi.cocorobo.cn/"
  7468. })
  7469. _box.appendChild(_iframe);
  7470. _box.appendChild(_jie);
  7471. _formdiv = new U.UF.UI.form(
  7472. "CocoPi",
  7473. _box, {
  7474. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7475. "style": {
  7476. "width": "90%",
  7477. "height": "90%",
  7478. "overflow": 'hidden'
  7479. },
  7480. "onresize": function() {}
  7481. }, {
  7482. closecallback: function() {}
  7483. }, {
  7484. "style": {
  7485. "height": "36px"
  7486. }
  7487. }).form; //创建窗体
  7488. _taskbar = {
  7489. "id": str + _formdiv.id,
  7490. "style": {
  7491. "backgroundImage": "url(/img/icon/cocopi.png)"
  7492. },
  7493. "name": "CocoPi",
  7494. "forms": _formdiv,
  7495. "click": function() {
  7496. U.MD.D.I.openApplication(str, obj, info);
  7497. }
  7498. }
  7499. break;
  7500. }
  7501. if (_iframe) {
  7502. if (str == 'doc') {
  7503. _iframe = _formdiv.querySelector('iframe')
  7504. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7505. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7506. })
  7507. if (onloadListener) {
  7508. _iframe.contentDocument.location.reload()
  7509. } else {
  7510. _iframe.contentDocument.location.reload()
  7511. }
  7512. } else if (str == 'mind') {
  7513. _iframe = _formdiv.querySelector('iframe')
  7514. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7515. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7516. })
  7517. if (onloadListener) {
  7518. _iframe.contentDocument.location.reload()
  7519. } else {
  7520. _iframe.contentDocument.location.reload()
  7521. }
  7522. } else if (str == 'whiteboard') {
  7523. _iframe = _formdiv.querySelector('iframe')
  7524. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7525. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7526. })
  7527. if (onloadListener) {
  7528. _iframe.contentDocument.location.reload()
  7529. } else {
  7530. _iframe.contentDocument.location.reload()
  7531. }
  7532. } else if (str == 'CocoPi') {
  7533. _iframe = _formdiv.querySelector('iframe')
  7534. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7535. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7536. })
  7537. if (onloadListener) {
  7538. _iframe.contentDocument.location.reload()
  7539. } else {
  7540. _iframe.contentDocument.location.reload()
  7541. }
  7542. } else {
  7543. _iframe.onload = () => {};
  7544. }
  7545. _jie.onclick = async() => {
  7546. let text = ''
  7547. let type = '2'
  7548. if (aTool == 1) {
  7549. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7550. type = '3'
  7551. } else if (aTool == 6) {
  7552. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7553. type = '1'
  7554. } else if (aTool == 3) {
  7555. text = await U.MD.D.I.getEditorContent(_iframe);
  7556. type = '2'
  7557. } else if (aTool == 57) {
  7558. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7559. type = '4'
  7560. }
  7561. _loading.style.display = 'flex'
  7562. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7563. }
  7564. }
  7565. //U.MD.D.I.openClick(str);
  7566. //如果有任务栏信息
  7567. // if (_taskbar) {
  7568. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7569. // }
  7570. }
  7571. U.MD.D.I.getContents = function(cid, s, task, t, uid, type, iframe) {
  7572. var xmlhttp;
  7573. var Mac, Sn, DeviceId
  7574. if (window.XMLHttpRequest) {
  7575. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7576. xmlhttp = new XMLHttpRequest();
  7577. } else {
  7578. // IE6, IE5 浏览器执行代码
  7579. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7580. }
  7581. xmlhttp.onreadystatechange = function() {
  7582. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7583. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7584. // resolve(res.value[0][0].text);
  7585. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7586. }
  7587. }
  7588. }
  7589. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7590. xmlhttp.send();
  7591. }
  7592. U.MD.D.I.getContents2 = function(cid, s, task, t, uid, type, iframe) {
  7593. var xmlhttp;
  7594. var Mac, Sn, DeviceId
  7595. if (window.XMLHttpRequest) {
  7596. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7597. xmlhttp = new XMLHttpRequest();
  7598. } else {
  7599. // IE6, IE5 浏览器执行代码
  7600. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7601. }
  7602. xmlhttp.onreadystatechange = function() {
  7603. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7604. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7605. // resolve(res.value[0][0].text);
  7606. if (type == '2') {
  7607. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7608. } else if (type == '3') {
  7609. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7610. } else if (type == '4') {
  7611. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7612. }
  7613. } else {
  7614. if (type == '2') {
  7615. iframe.contentWindow.editor.minder.importData('json', '')
  7616. } else if (type == '3') {
  7617. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7618. } else if (type == '4') {
  7619. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7620. }
  7621. }
  7622. }
  7623. }
  7624. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7625. xmlhttp.send();
  7626. }
  7627. U.MD.D.I.setContents = function(cid, s, task, t, uid, type, text, loading, span) {
  7628. var xmlhttp;
  7629. var Mac, Sn, DeviceId
  7630. if (window.XMLHttpRequest) {
  7631. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7632. xmlhttp = new XMLHttpRequest();
  7633. } else {
  7634. // IE6, IE5 浏览器执行代码
  7635. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7636. }
  7637. xmlhttp.onreadystatechange = function() {
  7638. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7639. if (xmlhttp.response) {
  7640. // resolve(res.value[0][0].text);
  7641. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7642. // $(fileInput).val('');
  7643. // });
  7644. span.innerHTML = '上传成功'
  7645. setTimeout(() => {
  7646. loading.style.display = 'none'
  7647. }, 1000);
  7648. }
  7649. }
  7650. }
  7651. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7652. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7653. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7654. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7655. // 设置请求头,表示请求体的编码格式
  7656. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7657. // 设置请求体,使用url-encoded格式的数据
  7658. }
  7659. U.MD.D.I.openApplicationUpload = function(str, cid, stage, task, tool) {
  7660. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7661. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7662. _userinfo = US.userInfo, //登录用户信息
  7663. _userid = US.userInfo.userid //登录用户id
  7664. let _iframe;
  7665. let _cid = cid,
  7666. _stage = stage,
  7667. _task = task,
  7668. _tool = tool;
  7669. var _jie = $$("div", {
  7670. "style": {
  7671. "position": "absolute",
  7672. "bottom": "50px",
  7673. "right": "50px",
  7674. "zIndex": "9999",
  7675. "backgroundColor": "#2268bc",
  7676. "color": "#fff",
  7677. "padding": "12px 20px",
  7678. "cursor": "pointer",
  7679. "borderRadius": "4px",
  7680. },
  7681. "innerHTML": "提交作业"
  7682. })
  7683. let aTool = ''
  7684. let _loading = document.createElement('div')
  7685. _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;"
  7686. // _loading.id = "";
  7687. let _lchild = document.createElement('div')
  7688. let _limg = document.createElement('img')
  7689. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7690. _limg.style = "width: 26px;margin-right: 10px;"
  7691. _lchild.appendChild(_limg)
  7692. let _lspan = document.createElement('span')
  7693. _lspan.innerHTML = "上传中..."
  7694. _lchild.appendChild(_lspan)
  7695. _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%);"
  7696. _loading.appendChild(_lchild)
  7697. var _box = $$('div', {
  7698. "style": {
  7699. "position": "relative",
  7700. "width": "100%",
  7701. "height": "100%",
  7702. },
  7703. })
  7704. _box.appendChild(_loading)
  7705. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7706. switch (str) {
  7707. case "CocoPi":
  7708. aTool = 57;
  7709. _iframe = $$("iframe", {
  7710. "allowpaymentrequest": "allowpaymentrequest",
  7711. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7712. "webkitallowfullscreen": "",
  7713. "mozallowfullscreen": "",
  7714. "frameborder": "no",
  7715. "border": "0",
  7716. "scrolling ": "no",
  7717. "style": {
  7718. "cssText": "border:0;width:100%;height:100%"
  7719. },
  7720. "src": "https://pi.cocorobo.cn/"
  7721. })
  7722. _box.appendChild(_iframe);
  7723. _box.appendChild(_jie);
  7724. _formdiv = new U.UF.UI.form(
  7725. "CocoPi",
  7726. _box, {
  7727. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7728. "style": {
  7729. "width": "90%",
  7730. "height": "90%",
  7731. "overflow": 'hidden'
  7732. },
  7733. "onresize": function() {}
  7734. }, {
  7735. closecallback: function() {}
  7736. }, {
  7737. "style": {
  7738. "height": "36px"
  7739. }
  7740. }).form; //创建窗体
  7741. _taskbar = {
  7742. "id": str + _formdiv.id,
  7743. "style": {
  7744. "backgroundImage": "url(/img/icon/cocopi.png)"
  7745. },
  7746. "name": "CocoPi",
  7747. "forms": _formdiv,
  7748. "click": function() {
  7749. U.MD.D.I.openApplication(str, obj, info);
  7750. }
  7751. }
  7752. break;
  7753. }
  7754. if (_iframe) {
  7755. if (str == 'CocoPi') {
  7756. _iframe = _formdiv.querySelector('iframe')
  7757. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7758. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7759. })
  7760. if (onloadListener) {
  7761. _iframe.contentDocument.location.reload()
  7762. } else {
  7763. _iframe.contentDocument.location.reload()
  7764. }
  7765. }
  7766. _jie.onclick = async() => {
  7767. let text = ''
  7768. if (aTool == 57) {
  7769. text = _iframe.contentWindow.getLoadXmlStr()
  7770. }
  7771. _loading.style.display = 'flex'
  7772. console.log(_loading);
  7773. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7774. _loading.style.display = 'none'
  7775. let _div = document.createElement('div')
  7776. _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;"
  7777. let _inner = document.createElement('div')
  7778. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7779. _inner.innerHTML = "上传成功"
  7780. _div.appendChild(_inner)
  7781. _iframe.contentWindow.window.document.body.appendChild(_div)
  7782. _div.onclick = () => {
  7783. _iframe.contentWindow.window.document.body.removeChild(_div)
  7784. }
  7785. setTimeout(() => {
  7786. _iframe.contentWindow.window.document.body.removeChild(_div)
  7787. }, 1000);
  7788. }, [], { "type": "POST", "withCredentials": true });
  7789. }
  7790. }
  7791. }
  7792. U.MD.D.I.openApplicationTeacherUpload = function(str, cid, stage, task, tool, student) {
  7793. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7794. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7795. _userid = student.userid, //登录用户id
  7796. _username = student.student //用户名字
  7797. let _iframe;
  7798. let _cid = cid,
  7799. _stage = stage,
  7800. _task = task,
  7801. _tool = tool;
  7802. var _jie = $$("div", {
  7803. "style": {
  7804. "position": "absolute",
  7805. "bottom": "50px",
  7806. "right": "50px",
  7807. "zIndex": "9999",
  7808. "backgroundColor": "#2268bc",
  7809. "color": "#fff",
  7810. "padding": "12px 20px",
  7811. "cursor": "pointer",
  7812. "borderRadius": "4px",
  7813. },
  7814. "innerHTML": "提交作业"
  7815. })
  7816. let aTool = ''
  7817. let _loading = document.createElement('div')
  7818. _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;"
  7819. // _loading.id = "";
  7820. let _lchild = document.createElement('div')
  7821. let _limg = document.createElement('img')
  7822. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7823. _limg.style = "width: 26px;margin-right: 10px;"
  7824. _lchild.appendChild(_limg)
  7825. let _lspan = document.createElement('span')
  7826. _lspan.innerHTML = "上传中..."
  7827. _lchild.appendChild(_lspan)
  7828. _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%);"
  7829. _loading.appendChild(_lchild)
  7830. var _box = $$('div', {
  7831. "style": {
  7832. "position": "relative",
  7833. "width": "100%",
  7834. "height": "100%",
  7835. },
  7836. })
  7837. _box.appendChild(_loading)
  7838. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7839. switch (str) {
  7840. case "CocoPi":
  7841. aTool = 57;
  7842. _iframe = $$("iframe", {
  7843. "allowpaymentrequest": "allowpaymentrequest",
  7844. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7845. "webkitallowfullscreen": "",
  7846. "mozallowfullscreen": "",
  7847. "frameborder": "no",
  7848. "border": "0",
  7849. "scrolling ": "no",
  7850. "style": {
  7851. "cssText": "border:0;width:100%;height:100%"
  7852. },
  7853. "src": "https://pi.cocorobo.cn/"
  7854. })
  7855. _box.appendChild(_iframe);
  7856. _box.appendChild(_jie);
  7857. _formdiv = new U.UF.UI.form(
  7858. "CocoPi-" + _username,
  7859. _box, {
  7860. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7861. "style": {
  7862. "width": "90%",
  7863. "height": "90%",
  7864. "overflow": 'hidden'
  7865. },
  7866. "onresize": function() {}
  7867. }, {
  7868. closecallback: function() {}
  7869. }, {
  7870. "style": {
  7871. "height": "36px"
  7872. }
  7873. }).form; //创建窗体
  7874. _taskbar = {
  7875. "id": str + _formdiv.id,
  7876. "style": {
  7877. "backgroundImage": "url(/img/icon/cocopi.png)"
  7878. },
  7879. "name": "CocoPi",
  7880. "forms": _formdiv,
  7881. "click": function() {
  7882. U.MD.D.I.openApplication(str, obj, info);
  7883. }
  7884. }
  7885. break;
  7886. }
  7887. if (_iframe) {
  7888. if (str == 'CocoPi') {
  7889. _iframe = _formdiv.querySelector('iframe')
  7890. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7891. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7892. })
  7893. if (onloadListener) {
  7894. _iframe.contentDocument.location.reload()
  7895. } else {
  7896. _iframe.contentDocument.location.reload()
  7897. }
  7898. }
  7899. _jie.onclick = async() => {
  7900. let text = ''
  7901. if (aTool == 57) {
  7902. text = _iframe.contentWindow.getLoadXmlStr()
  7903. }
  7904. _loading.style.display = 'flex'
  7905. console.log(_loading);
  7906. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7907. _loading.style.display = 'none'
  7908. let _div = document.createElement('div')
  7909. _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;"
  7910. let _inner = document.createElement('div')
  7911. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7912. _inner.innerHTML = "上传成功"
  7913. _div.appendChild(_inner)
  7914. _iframe.contentWindow.window.document.body.appendChild(_div)
  7915. _div.onclick = () => {
  7916. _iframe.contentWindow.window.document.body.removeChild(_div)
  7917. }
  7918. setTimeout(() => {
  7919. _iframe.contentWindow.window.document.body.removeChild(_div)
  7920. }, 1000);
  7921. }, [], { "type": "POST", "withCredentials": true });
  7922. }
  7923. }
  7924. }
  7925. U.MD.D.I.getUploadContent = function(cid, s, task, t, uid, atool, type, iframe) {
  7926. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function(res) {
  7927. if (res.value[0].length > 0) {
  7928. if (atool == 57) {
  7929. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7930. }
  7931. } else {
  7932. if (atool == 57) {
  7933. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7934. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7935. }
  7936. }
  7937. }, [], { "type": "POST", "withCredentials": true });
  7938. }