DeskTop.js 490 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  51. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  52. ];
  53. //极简模式
  54. U.MD.D.I.easyDeskIcon = [
  55. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  57. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  58. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  59. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  60. ];
  61. //教师桌面图标的全局变量
  62. U.MD.D.I.teacherDeskIcon2 = [
  63. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  64. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  65. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  66. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  67. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  68. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  69. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  70. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  71. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  72. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  73. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  74. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  75. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  76. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  77. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  78. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  79. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  80. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  81. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  82. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  83. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  84. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  85. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  86. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  87. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  88. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  89. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  90. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  91. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  92. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  93. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  94. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  95. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  96. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  97. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  98. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  99. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  100. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  101. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  102. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  103. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  104. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  105. ];
  106. U.MD.D.I.studentDeskIcon = [
  107. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  108. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  109. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  110. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  111. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  112. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  113. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  114. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  115. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  116. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  117. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  118. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  119. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  120. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  121. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  122. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  123. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  124. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  125. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  126. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  127. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  128. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  129. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  130. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  131. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  132. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  133. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  134. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  135. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  136. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  137. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  138. ];
  139. U.MD.D.I.studentDeskIcon2 = [
  140. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  141. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  142. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  143. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  144. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  145. ]
  146. U.MD.D.I.studentDeskIcon3 = [
  147. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  148. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  149. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  150. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  151. ]
  152. U.MD.D.I.schoolDeskIcon = [
  153. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  154. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  155. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  156. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  157. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  158. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  159. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  160. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  161. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  162. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  163. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  164. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  165. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  166. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  167. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  168. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  169. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  170. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  171. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  172. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  173. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  174. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  175. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  176. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  177. ];
  178. U.MD.D.I.orgDeskIcon = [
  179. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  180. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  181. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  182. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  183. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  184. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  185. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  186. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  187. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  188. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  189. ];
  190. U.MD.D.I.orgStemDeskIcon = [
  191. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  192. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  193. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  194. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  195. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  196. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  197. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  198. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  199. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  200. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  201. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  202. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  203. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  204. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  205. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  206. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  207. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  208. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  209. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  210. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  211. ];
  212. U.MD.D.I.szulsDeskIcon = [
  213. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  214. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  215. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  216. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  217. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  218. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  219. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  220. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  221. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  222. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  223. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  224. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  225. ];
  226. U.MD.D.I.hanDeskIcon = [
  227. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  228. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  229. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  230. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  231. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  232. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  233. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  234. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  235. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  236. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  237. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  238. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  239. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  240. ];
  241. U.MD.D.I.GMteacherDeskIcon = [
  242. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  243. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  244. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  245. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  246. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  247. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  248. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  249. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  250. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  251. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  252. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  253. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  254. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  255. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  256. ];
  257. U.MD.D.I.GMstudentDeskIcon = [
  258. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  259. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  260. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  261. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  262. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  263. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  264. ];
  265. //北师大
  266. U.MD.D.I.BSDNSteacherDeskIcon = [
  267. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  268. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  269. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  270. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  271. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  272. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  273. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  274. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  275. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  276. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  277. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  278. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  279. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  280. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  281. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  282. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  283. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  284. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  285. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  286. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  287. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  288. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  289. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  290. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  291. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  292. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  293. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  294. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  295. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  296. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  297. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  298. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  299. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  300. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  301. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  302. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  303. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  304. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  305. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  306. ];
  307. //松山湖
  308. U.MD.D.I.SONGteacherDeskIcon = [
  309. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  310. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  311. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  312. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  313. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  314. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  315. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  316. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  317. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  318. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  319. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  320. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  321. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  322. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  323. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  324. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  325. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  326. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  327. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  328. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  329. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  330. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  331. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  332. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  333. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  334. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  335. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  336. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  337. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  338. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  339. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  340. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  341. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  342. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  343. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  344. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  345. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  346. ];
  347. U.MD.D.I.tcStudentDeskIcon = [
  348. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  349. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  350. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  351. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  352. ];
  353. U.MD.D.I.tcTeacherDeskIcon = [
  354. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  355. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  356. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  357. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  358. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  359. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  360. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  361. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  362. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  363. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  364. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  365. ];
  366. U.MD.D.I.tcOrganizerDeskIcon = [
  367. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  368. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  369. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  370. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  371. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  372. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  373. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  374. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  375. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  376. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  377. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  378. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  379. ];
  380. U.MD.D.I.szscStudentDeskIcon = [
  381. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  382. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  383. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  384. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  385. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  386. ];
  387. U.MD.D.I.szscTeacherDeskIcon = [
  388. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  389. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  390. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  391. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  392. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  393. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  394. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  395. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  396. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  397. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  398. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  399. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  400. ];
  401. U.MD.D.I.szscOrganizerDeskIcon = [
  402. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  403. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  404. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  405. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  406. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  407. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  408. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  409. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  410. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  411. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  412. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  413. ];
  414. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  415. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  416. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  417. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  418. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  419. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  420. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  421. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  422. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  423. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  424. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  425. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  426. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  427. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  428. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  429. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  430. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  431. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  432. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  433. ];
  434. U.MD.D.I.wankeAdminDeskIcon = [
  435. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  436. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  437. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  438. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  439. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  440. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  441. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  442. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  443. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  444. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  445. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  446. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  447. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  448. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  449. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  450. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  451. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  452. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  453. ];
  454. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  455. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  456. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  457. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  458. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  459. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  460. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  461. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  462. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  463. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  464. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  465. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  466. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  467. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  468. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  469. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  470. ];
  471. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  472. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  473. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  474. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  475. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  476. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  477. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  478. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  479. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  480. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  481. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  482. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  483. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  484. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  485. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  486. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  487. ];
  488. //明德教师桌面图标的全局变量
  489. U.MD.D.I.MingdeTeacherDeskIcon = [
  490. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  491. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  492. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  493. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  494. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  495. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  496. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  497. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  498. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  499. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  500. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  501. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  502. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  503. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  504. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  505. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  506. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  507. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  508. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  509. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  510. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  511. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  512. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  513. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  514. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  515. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  516. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  517. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  518. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  519. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  520. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  521. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  522. ];
  523. //97c4ee8b-d010-4042-986d-e9d3c217264f
  524. //教师桌面图标的全局变量
  525. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  526. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  527. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  528. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  529. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  530. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  531. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  532. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  533. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  534. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  535. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  536. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  537. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  538. ];
  539. //福田
  540. U.MD.D.I.futianTeacherDeskIcon = [
  541. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  542. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  543. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  544. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  545. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  546. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  547. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  548. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  549. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  550. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  551. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  552. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  553. ];
  554. //福田
  555. U.MD.D.I.futianAdminDeskIcon = [
  556. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  557. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  558. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  559. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  560. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  561. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  562. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  563. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  564. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  565. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  566. ];
  567. //lotech
  568. U.MD.D.I.lotechTeacherDeskIcon = [
  569. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  570. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  571. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  572. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  573. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  574. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  575. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  576. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  577. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  578. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  579. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  580. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  581. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  582. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  583. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  584. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  585. ];
  586. //龙华中心小学教师桌面图标的全局变量
  587. U.MD.D.I.longhuateacherDeskIcon = [
  588. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  589. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  590. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  591. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  592. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  593. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  594. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  595. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  596. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  597. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  598. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  599. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  600. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  601. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  602. ];
  603. //教科院实小教师桌面图标的全局变量
  604. U.MD.D.I.siesteacherDeskIcon = [
  605. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  606. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  607. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  608. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  609. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  610. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  611. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  612. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  613. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  614. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  615. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  616. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  617. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  618. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  619. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  620. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  621. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  622. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  623. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  624. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  625. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  626. { "Name": "gpt4 turbo", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  627. ];
  628. //教科院实小教师桌面图标的全局变量
  629. U.MD.D.I.siesStudentDeskIcon = [
  630. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  631. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  632. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  633. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  634. ];
  635. //福田
  636. U.MD.D.I.gdjgTeacherDeskIcon = [
  637. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  638. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  639. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  640. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  641. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  642. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  643. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  644. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  645. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  646. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  647. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  648. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  649. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  650. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  651. ];
  652. //gdjg
  653. U.MD.D.I.gdjgAdminDeskIcon = [
  654. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  655. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  656. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  657. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  658. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  659. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  660. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  661. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  662. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  663. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  664. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  665. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  666. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  667. ];
  668. //hk
  669. U.MD.D.I.hkteacherDeskIcon = [
  670. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  671. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  672. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  673. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  674. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  675. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  676. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  677. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  678. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  679. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  680. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  681. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  682. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  683. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  684. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  685. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  686. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  687. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  688. ];
  689. //hk
  690. U.MD.D.I.hkStudentDeskIcon = [
  691. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  692. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  693. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  694. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  695. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  696. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  697. ];
  698. //hk
  699. U.MD.D.I.hkaceteacherDeskIcon = [
  700. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  701. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  702. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  703. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  704. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  705. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  706. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  707. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  708. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  709. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  710. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  711. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  712. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  713. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  714. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  715. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  716. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  717. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  718. ];
  719. //hk
  720. U.MD.D.I.hkaceStudentDeskIcon = [
  721. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  722. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  723. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  724. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  725. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  726. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  727. ];
  728. //香海正覺蓮社佛教正覺中學
  729. U.MD.D.I.hkZJLSteacherDeskIcon = [
  730. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  731. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  732. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  733. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  734. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  735. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  736. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  737. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  738. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  739. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  740. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  741. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  742. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  743. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  744. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  745. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  746. ];
  747. //香海正覺蓮社佛教正覺中學
  748. U.MD.D.I.hkZJLSStudentDeskIcon = [
  749. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  750. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  751. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  752. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  753. ];
  754. //云海
  755. U.MD.D.I.yunhaiTeacherDeskIcon = [
  756. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  757. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  758. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  759. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  760. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  761. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  762. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  763. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  764. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  765. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  766. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  767. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  768. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  769. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  770. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  771. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  772. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  773. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  774. ];
  775. //福田
  776. U.MD.D.I.heyuanTeacherDeskIcon = [
  777. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  778. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  779. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  780. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  781. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  782. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  783. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  784. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  785. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  786. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  787. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  788. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  789. ];
  790. //福田
  791. U.MD.D.I.heyuanAdminDeskIcon = [
  792. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  793. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  794. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  795. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  796. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  797. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  798. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  799. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  800. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  801. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  802. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  803. ];
  804. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  805. U.MD.D.I.szherTeacherDeskIcon = [
  806. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  807. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  808. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  809. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  810. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  811. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  812. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  813. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  814. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  815. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  816. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  817. ];
  818. //dsei
  819. U.MD.D.I.dseiTeacherDeskIcon = [
  820. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  821. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  822. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  823. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  824. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  825. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  826. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  827. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  828. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  829. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  830. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  831. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  832. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  833. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  834. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  835. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  836. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  837. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  838. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  839. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  840. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  841. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  842. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  843. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  844. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  845. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  846. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  847. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  848. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  849. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  850. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  851. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  852. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  853. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  854. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  855. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  856. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  857. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  858. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  859. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  860. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  861. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  862. ];
  863. //dsei
  864. U.MD.D.I.dseiAdminDeskIcon = [
  865. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  866. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  867. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  868. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  869. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  870. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  871. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  872. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  873. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  874. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  875. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  876. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  877. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  878. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  879. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  880. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  881. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  882. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  883. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  884. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  885. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  886. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  887. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  888. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  889. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  890. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  891. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  892. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  893. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  894. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  895. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  896. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  897. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  898. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  899. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  900. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  901. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  902. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  903. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  904. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  905. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  906. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  907. ];
  908. //dsei
  909. U.MD.D.I.dseiStudentDeskIcon = [
  910. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  911. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  912. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  913. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  914. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  915. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  916. ];
  917. //未来教育基地
  918. U.MD.D.I.szjkyTeacherDeskIcon = [
  919. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  920. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  921. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  922. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  923. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  924. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  925. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  926. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  927. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  928. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  929. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  930. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  931. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  932. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  933. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  934. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  935. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  936. ];
  937. //未来教育基地
  938. U.MD.D.I.szjkyAdminDeskIcon = [
  939. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  940. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  941. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  942. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  943. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  944. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  945. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  946. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  947. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  948. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  949. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  950. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  951. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  952. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  953. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  954. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  955. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  956. ];
  957. //未来教育基地
  958. U.MD.D.I.szjkyStudentDeskIcon = [
  959. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  960. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  961. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  962. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  963. ];
  964. //成华教育局
  965. U.MD.D.I.chjyjTeacherDeskIcon = [
  966. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  967. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  968. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  969. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  970. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  971. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  972. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  973. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  974. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  975. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  976. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  977. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  978. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  979. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  980. ];
  981. //成华教育局chjyj
  982. U.MD.D.I.chjyjAdminDeskIcon = [
  983. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  984. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  985. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  986. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  987. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  988. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  989. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  990. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  991. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  992. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  993. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  994. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  995. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  996. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  997. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  998. ];
  999. //成华教育局chjyj
  1000. U.MD.D.I.chjyjStudentDeskIcon = [
  1001. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1002. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1003. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1004. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1005. ];
  1006. //tpc
  1007. U.MD.D.I.tpcStudentDeskIcon = [
  1008. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1009. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1010. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1011. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1012. ];
  1013. //tpc
  1014. U.MD.D.I.tpcTeacherDeskIcon = [
  1015. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1016. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1017. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1018. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1019. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1020. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1021. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1022. ];
  1023. //tpc
  1024. U.MD.D.I.tpcAdminDeskIcon = [
  1025. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1026. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1027. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1028. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1029. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1030. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1031. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1032. ];
  1033. //THU-IOE
  1034. U.MD.D.I.thuioeTeacherDeskIcon = [
  1035. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1036. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1037. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1038. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1039. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1040. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1041. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1042. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1043. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1044. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1045. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1046. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1047. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1048. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1049. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1050. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1051. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1052. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1053. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1054. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1055. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1056. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1057. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1058. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1059. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1060. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1061. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1062. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1063. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1064. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1065. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1066. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1067. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1068. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1069. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1070. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1071. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1072. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1073. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1074. ];
  1075. //THU-IOE
  1076. U.MD.D.I.thuioeStudentDeskIcon = [
  1077. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1078. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1079. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1080. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1081. ];
  1082. //jccssyl
  1083. U.MD.D.I.jccssylTeacherDeskIcon = [
  1084. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1085. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1086. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1087. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1088. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1089. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1090. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1091. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1092. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1093. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1094. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1095. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1096. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1097. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1098. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1099. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1100. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1101. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1102. ];
  1103. //jccssyl
  1104. U.MD.D.I.jccssylStudentDeskIcon = [
  1105. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1106. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1107. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1108. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1109. ];
  1110. //#region 桌面初始化a
  1111. /**
  1112. * 初始化桌面的起始函数
  1113. *
  1114. */
  1115. U.MD.D.I.init = function () {
  1116. if ($("#U_MD_D_K")[0]) {
  1117. //初始化桌面图标
  1118. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1119. // var clickUrl = ':12588/requestIp.php';
  1120. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1121. // U.MD.D.I.Ip = data;
  1122. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1123. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1124. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1125. // })
  1126. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1127. // })
  1128. }
  1129. }
  1130. /**
  1131. * 模式切换
  1132. *
  1133. */
  1134. U.MD.D.I.ModeCheck = function (type) {
  1135. if (US.Config.type == type) {
  1136. return
  1137. }
  1138. US.Config.type = type
  1139. $('.U_PBL_Check .active')[0].className = ''
  1140. if (type == 1) {
  1141. $('.U_PBL_Check div')[0].className = 'active'
  1142. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1143. } else {
  1144. $('.U_PBL_Check div')[1].className = 'active'
  1145. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1146. }
  1147. //初始化桌面图标
  1148. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1149. if (type == 2) {
  1150. U.MD.D.I.openApplication("project")
  1151. }
  1152. }
  1153. /**
  1154. * 隐藏任务栏
  1155. *
  1156. * @param {element} 桌面元素
  1157. */
  1158. U.MD.D.I.hiddenTaskbar = function (el) {
  1159. //任务栏位置变小
  1160. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1161. //桌面的位置变大
  1162. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1163. }
  1164. /**
  1165. * 隐藏任务栏
  1166. *
  1167. * @param {element} 桌面元素
  1168. */
  1169. U.MD.D.I.hiddenTaskbarout = function (el) {
  1170. //任务栏位置变小
  1171. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1172. //任务栏位置变化
  1173. U.selectEl(el).css({ "bottom": "-60px" });
  1174. //桌面的位置变大
  1175. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1176. }
  1177. }
  1178. /**
  1179. * 初始化打印桌面图标
  1180. *
  1181. * @param {element} 桌面元素
  1182. */
  1183. U.MD.D.I.initDesktopIcons = function (el, type) {
  1184. var i, //用于循环
  1185. _content, //桌面图标元素
  1186. _iconcontent, //桌面图标元素
  1187. _frag = $$("frag"), //定义一个碎片元素
  1188. _type = US.userInfo.type,
  1189. _org = US.userInfo.org,
  1190. _oid = US.userInfo.organizeid,
  1191. _role = US.userInfo.role,
  1192. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1193. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1194. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1195. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1196. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1197. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1198. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1199. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1200. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1201. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1202. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1203. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1204. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1205. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1206. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1207. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1208. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1209. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1210. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1211. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1212. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1213. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1214. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1215. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1216. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1217. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1218. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1219. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1220. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1221. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1222. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1223. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1224. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1225. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1226. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1227. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1228. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1229. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1230. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1231. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1232. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1233. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1234. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1235. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1236. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1237. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1238. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1239. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1240. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1241. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1242. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1243. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1244. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1245. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1246. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1247. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1248. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1249. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1250. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1251. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1252. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1253. 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'];
  1254. 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'];
  1255. //清楚桌面图标
  1256. el.innerHTML = "";
  1257. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1258. _teacherDesktopIconInfo.push(
  1259. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1260. { "Name": "学习分析", "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)" } },
  1261. )
  1262. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1263. }
  1264. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1265. _teacherDesktopIconInfo.push(
  1266. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1267. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1268. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1269. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1270. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1271. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1272. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1273. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1274. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1275. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1276. { "Name": "gpt4 turbo", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1277. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1278. )
  1279. }
  1280. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1281. // _teacherDesktopIconInfo.push(
  1282. // )
  1283. // }
  1284. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1285. _teacherDesktopIconInfo.push(
  1286. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1287. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1288. )
  1289. }
  1290. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1291. _teacherDesktopIconInfo.push(
  1292. )
  1293. }
  1294. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1295. _teacherDesktopIconInfo.push(
  1296. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1297. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1298. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1299. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1300. )
  1301. _studentDesktopIconInfo.push(
  1302. )
  1303. }
  1304. //麒麟二中 和 民新小学
  1305. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1306. _teacherDesktopIconInfo.push(
  1307. )
  1308. }
  1309. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1310. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1311. _teacherDesktopIconInfo.push(
  1312. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1313. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1314. )
  1315. }
  1316. //麒麟二中
  1317. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1318. _studentDesktopIconInfo.push(
  1319. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1320. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1321. )
  1322. }
  1323. //万科双语
  1324. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1325. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1326. if (el.Name == '项目管理') {
  1327. el.Name = 'PBL项目'
  1328. }
  1329. return el
  1330. })
  1331. _studentDesktopIconInfo3.push(
  1332. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1333. )
  1334. }
  1335. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1336. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1337. return el.Name != '魔盒识字' && el.Name != '24点'
  1338. })
  1339. }
  1340. 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) {
  1341. _studentDesktopIconInfo.push(
  1342. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1343. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1344. )
  1345. }
  1346. //循环创建桌面图标
  1347. if (type == 1) {
  1348. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1349. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1350. _content = $$("div", {
  1351. className: "U_MD_D_KO",
  1352. "onmousedown": U.UF.C.closure(function (obj) {
  1353. //防止拖动图标即打开了桌面应用
  1354. U.MD.D.click(this, obj);
  1355. }, [_studentDesktopIconInfo[i]]),
  1356. "onclick": U.UF.C.closure(function (obj) {
  1357. //防止拖动图标即打开了桌面应用
  1358. U.MD.D.click(this, obj);
  1359. }, [_studentDesktopIconInfo[i]])
  1360. }, _frag); //
  1361. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1362. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1363. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1364. }
  1365. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1366. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1367. _content = $$("div", {
  1368. className: "U_MD_D_KO",
  1369. "onmousedown": U.UF.C.closure(function (obj) {
  1370. //防止拖动图标即打开了桌面应用
  1371. U.MD.D.click(this, obj);
  1372. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1373. "onclick": U.UF.C.closure(function (obj) {
  1374. //防止拖动图标即打开了桌面应用
  1375. U.MD.D.click(this, obj);
  1376. }, [_hkZJLSStudentDeskIconInfo[i]])
  1377. }, _frag); //
  1378. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1379. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1380. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1381. } //
  1382. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1383. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1384. _content = $$("div", {
  1385. className: "U_MD_D_KO",
  1386. "onmousedown": U.UF.C.closure(function (obj) {
  1387. //防止拖动图标即打开了桌面应用
  1388. U.MD.D.click(this, obj);
  1389. }, [_jccssylStudentDeskIconInfo[i]]),
  1390. "onclick": U.UF.C.closure(function (obj) {
  1391. //防止拖动图标即打开了桌面应用
  1392. U.MD.D.click(this, obj);
  1393. }, [_jccssylStudentDeskIconInfo[i]])
  1394. }, _frag); //
  1395. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1396. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1397. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1398. }
  1399. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1400. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1401. _content = $$("div", {
  1402. className: "U_MD_D_KO",
  1403. "onmousedown": U.UF.C.closure(function (obj) {
  1404. //防止拖动图标即打开了桌面应用
  1405. U.MD.D.click(this, obj);
  1406. }, [_thuioeStudentDeskIconInfo[i]]),
  1407. "onclick": U.UF.C.closure(function (obj) {
  1408. //防止拖动图标即打开了桌面应用
  1409. U.MD.D.click(this, obj);
  1410. }, [_thuioeStudentDeskIconInfo[i]])
  1411. }, _frag); //
  1412. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1413. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1414. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1415. }
  1416. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1417. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1418. _content = $$("div", {
  1419. className: "U_MD_D_KO",
  1420. "onmousedown": U.UF.C.closure(function (obj) {
  1421. //防止拖动图标即打开了桌面应用
  1422. U.MD.D.click(this, obj);
  1423. }, [_tpcStudentDeskIconInfo[i]]),
  1424. "onclick": U.UF.C.closure(function (obj) {
  1425. //防止拖动图标即打开了桌面应用
  1426. U.MD.D.click(this, obj);
  1427. }, [_tpcStudentDeskIconInfo[i]])
  1428. }, _frag); //
  1429. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1430. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1431. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1432. } //
  1433. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1434. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1435. _content = $$("div", {
  1436. className: "U_MD_D_KO",
  1437. "onmousedown": U.UF.C.closure(function (obj) {
  1438. //防止拖动图标即打开了桌面应用
  1439. U.MD.D.click(this, obj);
  1440. }, [_chjyjStudentDeskIconInfo[i]]),
  1441. "onclick": U.UF.C.closure(function (obj) {
  1442. //防止拖动图标即打开了桌面应用
  1443. U.MD.D.click(this, obj);
  1444. }, [_chjyjStudentDeskIconInfo[i]])
  1445. }, _frag); //
  1446. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1447. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1448. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1449. }
  1450. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1451. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1452. _content = $$("div", {
  1453. className: "U_MD_D_KO",
  1454. "onmousedown": U.UF.C.closure(function (obj) {
  1455. //防止拖动图标即打开了桌面应用
  1456. U.MD.D.click(this, obj);
  1457. }, [_szjkyStudentDeskIconInfo[i]]),
  1458. "onclick": U.UF.C.closure(function (obj) {
  1459. //防止拖动图标即打开了桌面应用
  1460. U.MD.D.click(this, obj);
  1461. }, [_szjkyStudentDeskIconInfo[i]])
  1462. }, _frag); //
  1463. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1464. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1465. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1466. }
  1467. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1468. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1469. _content = $$("div", {
  1470. className: "U_MD_D_KO",
  1471. "onmousedown": U.UF.C.closure(function (obj) {
  1472. //防止拖动图标即打开了桌面应用
  1473. U.MD.D.click(this, obj);
  1474. }, [_dseiStudentDeskIconInfo[i]]),
  1475. "onclick": U.UF.C.closure(function (obj) {
  1476. //防止拖动图标即打开了桌面应用
  1477. U.MD.D.click(this, obj);
  1478. }, [_dseiStudentDeskIconInfo[i]])
  1479. }, _frag); //
  1480. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1481. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1482. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1483. }
  1484. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1485. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1486. _content = $$("div", {
  1487. className: "U_MD_D_KO",
  1488. "onmousedown": U.UF.C.closure(function (obj) {
  1489. //防止拖动图标即打开了桌面应用
  1490. U.MD.D.click(this, obj);
  1491. }, [_siesStudentDeskIconInfo[i]]),
  1492. "onclick": U.UF.C.closure(function (obj) {
  1493. //防止拖动图标即打开了桌面应用
  1494. U.MD.D.click(this, obj);
  1495. }, [_siesStudentDeskIconInfo[i]])
  1496. }, _frag); //
  1497. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1498. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1499. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1500. }
  1501. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1502. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1503. _content = $$("div", {
  1504. className: "U_MD_D_KO",
  1505. "onmousedown": U.UF.C.closure(function (obj) {
  1506. //防止拖动图标即打开了桌面应用
  1507. U.MD.D.click(this, obj);
  1508. }, [_hkStudentDeskIconInfo[i]]),
  1509. "onclick": U.UF.C.closure(function (obj) {
  1510. //防止拖动图标即打开了桌面应用
  1511. U.MD.D.click(this, obj);
  1512. }, [_hkStudentDeskIconInfo[i]])
  1513. }, _frag); //
  1514. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1515. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1516. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1517. }
  1518. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1519. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1520. _content = $$("div", {
  1521. className: "U_MD_D_KO",
  1522. "onmousedown": U.UF.C.closure(function (obj) {
  1523. //防止拖动图标即打开了桌面应用
  1524. U.MD.D.click(this, obj);
  1525. }, [_hkaceStudentDeskIconInfo[i]]),
  1526. "onclick": U.UF.C.closure(function (obj) {
  1527. //防止拖动图标即打开了桌面应用
  1528. U.MD.D.click(this, obj);
  1529. }, [_hkaceStudentDeskIconInfo[i]])
  1530. }, _frag); //
  1531. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1532. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1533. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1534. }
  1535. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1536. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1537. _content = $$("div", {
  1538. className: "U_MD_D_KO",
  1539. "onmousedown": U.UF.C.closure(function (obj) {
  1540. //防止拖动图标即打开了桌面应用
  1541. U.MD.D.click(this, obj);
  1542. }, [_studentDesktopIconInfo[i]]),
  1543. "onclick": U.UF.C.closure(function (obj) {
  1544. //防止拖动图标即打开了桌面应用
  1545. U.MD.D.click(this, obj);
  1546. }, [_studentDesktopIconInfo[i]])
  1547. }, _frag); //
  1548. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1549. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1550. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1551. }
  1552. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1553. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1554. _content = $$("div", {
  1555. className: "U_MD_D_KO",
  1556. "onmousedown": U.UF.C.closure(function (obj) {
  1557. //防止拖动图标即打开了桌面应用
  1558. U.MD.D.click(this, obj);
  1559. }, [_tcStudentDeskIconInfo[i]]),
  1560. "onclick": U.UF.C.closure(function (obj) {
  1561. //防止拖动图标即打开了桌面应用
  1562. U.MD.D.click(this, obj);
  1563. }, [_tcStudentDeskIconInfo[i]])
  1564. }, _frag); //
  1565. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1566. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1567. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1568. }
  1569. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1570. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1571. _content = $$("div", {
  1572. className: "U_MD_D_KO",
  1573. "onmousedown": U.UF.C.closure(function (obj) {
  1574. //防止拖动图标即打开了桌面应用
  1575. U.MD.D.click(this, obj);
  1576. }, [_szscStudentDeskIconInfo[i]]),
  1577. "onclick": U.UF.C.closure(function (obj) {
  1578. //防止拖动图标即打开了桌面应用
  1579. U.MD.D.click(this, obj);
  1580. }, [_szscStudentDeskIconInfo[i]])
  1581. }, _frag); //
  1582. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1583. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1584. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1585. }
  1586. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1587. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1588. _content = $$("div", {
  1589. className: "U_MD_D_KO",
  1590. "onmousedown": U.UF.C.closure(function (obj) {
  1591. //防止拖动图标即打开了桌面应用
  1592. U.MD.D.click(this, obj);
  1593. }, [_studentDesktopIconInfo3[i]]),
  1594. "onclick": U.UF.C.closure(function (obj) {
  1595. //防止拖动图标即打开了桌面应用
  1596. U.MD.D.click(this, obj);
  1597. }, [_studentDesktopIconInfo3[i]])
  1598. }, _frag); //
  1599. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1600. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1601. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1602. }
  1603. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1604. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1605. _content = $$("div", {
  1606. className: "U_MD_D_KO",
  1607. "onmousedown": U.UF.C.closure(function (obj) {
  1608. //防止拖动图标即打开了桌面应用
  1609. U.MD.D.click(this, obj);
  1610. }, [_studentDesktopIconInfo2[i]]),
  1611. "onclick": U.UF.C.closure(function (obj) {
  1612. //防止拖动图标即打开了桌面应用
  1613. U.MD.D.click(this, obj);
  1614. }, [_studentDesktopIconInfo2[i]])
  1615. }, _frag); //
  1616. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1617. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1618. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1619. }
  1620. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1621. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1622. _content = $$("div", {
  1623. className: "U_MD_D_KO",
  1624. "onmousedown": U.UF.C.closure(function (obj) {
  1625. //防止拖动图标即打开了桌面应用
  1626. U.MD.D.click(this, obj);
  1627. }, [_wanketeacherDesktopIconInfo[i]]),
  1628. "onclick": U.UF.C.closure(function (obj) {
  1629. //防止拖动图标即打开了桌面应用
  1630. U.MD.D.click(this, obj);
  1631. }, [_wanketeacherDesktopIconInfo[i]])
  1632. }, _frag); //
  1633. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1634. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1635. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1636. }
  1637. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1638. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1639. _content = $$("div", {
  1640. className: "U_MD_D_KO",
  1641. "onmousedown": U.UF.C.closure(function (obj) {
  1642. //防止拖动图标即打开了桌面应用
  1643. U.MD.D.click(this, obj);
  1644. }, [_wankeAdminDesktopIconInfo[i]]),
  1645. "onclick": U.UF.C.closure(function (obj) {
  1646. //防止拖动图标即打开了桌面应用
  1647. U.MD.D.click(this, obj);
  1648. }, [_wankeAdminDesktopIconInfo[i]])
  1649. }, _frag); //
  1650. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1651. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1652. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1653. }
  1654. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1655. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1656. _content = $$("div", {
  1657. className: "U_MD_D_KO",
  1658. "onmousedown": U.UF.C.closure(function (obj) {
  1659. //防止拖动图标即打开了桌面应用
  1660. U.MD.D.click(this, obj);
  1661. }, [_jccssylTeacherDeskIconInfo[i]]),
  1662. "onclick": U.UF.C.closure(function (obj) {
  1663. //防止拖动图标即打开了桌面应用
  1664. U.MD.D.click(this, obj);
  1665. }, [_jccssylTeacherDeskIconInfo[i]])
  1666. }, _frag); //
  1667. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1668. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1669. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1670. }
  1671. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1672. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1673. _content = $$("div", {
  1674. className: "U_MD_D_KO",
  1675. "onmousedown": U.UF.C.closure(function (obj) {
  1676. //防止拖动图标即打开了桌面应用
  1677. U.MD.D.click(this, obj);
  1678. }, [_tpcOrganizerDeskIconInfo[i]]),
  1679. "onclick": U.UF.C.closure(function (obj) {
  1680. //防止拖动图标即打开了桌面应用
  1681. U.MD.D.click(this, obj);
  1682. }, [_tpcOrganizerDeskIconInfo[i]])
  1683. }, _frag); //
  1684. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1685. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1686. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1687. }
  1688. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1689. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1690. _content = $$("div", {
  1691. className: "U_MD_D_KO",
  1692. "onmousedown": U.UF.C.closure(function (obj) {
  1693. //防止拖动图标即打开了桌面应用
  1694. U.MD.D.click(this, obj);
  1695. }, [_tpcTeacherDeskIconInfo[i]]),
  1696. "onclick": U.UF.C.closure(function (obj) {
  1697. //防止拖动图标即打开了桌面应用
  1698. U.MD.D.click(this, obj);
  1699. }, [_tpcTeacherDeskIconInfo[i]])
  1700. }, _frag); //
  1701. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1702. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1703. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1704. }
  1705. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1706. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1707. _content = $$("div", {
  1708. className: "U_MD_D_KO",
  1709. "onmousedown": U.UF.C.closure(function (obj) {
  1710. //防止拖动图标即打开了桌面应用
  1711. U.MD.D.click(this, obj);
  1712. }, [_teacherDesktopIconInfo2[i]]),
  1713. "onclick": U.UF.C.closure(function (obj) {
  1714. //防止拖动图标即打开了桌面应用
  1715. U.MD.D.click(this, obj);
  1716. }, [_teacherDesktopIconInfo2[i]])
  1717. }, _frag); //
  1718. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1719. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1720. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1721. }
  1722. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1723. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1724. _content = $$("div", {
  1725. className: "U_MD_D_KO",
  1726. "onmousedown": U.UF.C.closure(function (obj) {
  1727. //防止拖动图标即打开了桌面应用
  1728. U.MD.D.click(this, obj);
  1729. }, [_thuioeTeacherDeskIconInfo[i]]),
  1730. "onclick": U.UF.C.closure(function (obj) {
  1731. //防止拖动图标即打开了桌面应用
  1732. U.MD.D.click(this, obj);
  1733. }, [_thuioeTeacherDeskIconInfo[i]])
  1734. }, _frag); //
  1735. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1736. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1737. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1738. }
  1739. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1740. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1741. _content = $$("div", {
  1742. className: "U_MD_D_KO",
  1743. "onmousedown": U.UF.C.closure(function (obj) {
  1744. //防止拖动图标即打开了桌面应用
  1745. U.MD.D.click(this, obj);
  1746. }, [_lotechTeacherDeskIconInfo[i]]),
  1747. "onclick": U.UF.C.closure(function (obj) {
  1748. //防止拖动图标即打开了桌面应用
  1749. U.MD.D.click(this, obj);
  1750. }, [_lotechTeacherDeskIconInfo[i]])
  1751. }, _frag); //
  1752. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1753. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1754. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1755. }//
  1756. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1757. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1758. _content = $$("div", {
  1759. className: "U_MD_D_KO",
  1760. "onmousedown": U.UF.C.closure(function (obj) {
  1761. //防止拖动图标即打开了桌面应用
  1762. U.MD.D.click(this, obj);
  1763. }, [_siesTeacherDeskIconInfo[i]]),
  1764. "onclick": U.UF.C.closure(function (obj) {
  1765. //防止拖动图标即打开了桌面应用
  1766. U.MD.D.click(this, obj);
  1767. }, [_siesTeacherDeskIconInfo[i]])
  1768. }, _frag); //
  1769. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1770. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1771. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1772. }
  1773. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1774. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1775. _content = $$("div", {
  1776. className: "U_MD_D_KO",
  1777. "onmousedown": U.UF.C.closure(function (obj) {
  1778. //防止拖动图标即打开了桌面应用
  1779. U.MD.D.click(this, obj);
  1780. }, [_longhuaTeacherDeskIconInfo[i]]),
  1781. "onclick": U.UF.C.closure(function (obj) {
  1782. //防止拖动图标即打开了桌面应用
  1783. U.MD.D.click(this, obj);
  1784. }, [_longhuaTeacherDeskIconInfo[i]])
  1785. }, _frag); //
  1786. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1787. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1788. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1789. }
  1790. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1791. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1792. _content = $$("div", {
  1793. className: "U_MD_D_KO",
  1794. "onmousedown": U.UF.C.closure(function (obj) {
  1795. //防止拖动图标即打开了桌面应用
  1796. U.MD.D.click(this, obj);
  1797. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1798. "onclick": U.UF.C.closure(function (obj) {
  1799. //防止拖动图标即打开了桌面应用
  1800. U.MD.D.click(this, obj);
  1801. }, [_yunhaiTeacherDeskIconInfo[i]])
  1802. }, _frag); //
  1803. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1804. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1805. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1806. } //_hkStudentDeskIconInfo
  1807. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1808. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1809. _content = $$("div", {
  1810. className: "U_MD_D_KO",
  1811. "onmousedown": U.UF.C.closure(function (obj) {
  1812. //防止拖动图标即打开了桌面应用
  1813. U.MD.D.click(this, obj);
  1814. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1815. "onclick": U.UF.C.closure(function (obj) {
  1816. //防止拖动图标即打开了桌面应用
  1817. U.MD.D.click(this, obj);
  1818. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1819. }, _frag); //
  1820. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1821. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1822. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1823. }
  1824. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1825. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1826. _content = $$("div", {
  1827. className: "U_MD_D_KO",
  1828. "onmousedown": U.UF.C.closure(function (obj) {
  1829. //防止拖动图标即打开了桌面应用
  1830. U.MD.D.click(this, obj);
  1831. }, [_hkTeacherDeskIconInfo[i]]),
  1832. "onclick": U.UF.C.closure(function (obj) {
  1833. //防止拖动图标即打开了桌面应用
  1834. U.MD.D.click(this, obj);
  1835. }, [_hkTeacherDeskIconInfo[i]])
  1836. }, _frag); //
  1837. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1838. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1839. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1840. }
  1841. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1842. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  1843. _content = $$("div", {
  1844. className: "U_MD_D_KO",
  1845. "onmousedown": U.UF.C.closure(function (obj) {
  1846. //防止拖动图标即打开了桌面应用
  1847. U.MD.D.click(this, obj);
  1848. }, [_hkaceTeacherDeskIconInfo[i]]),
  1849. "onclick": U.UF.C.closure(function (obj) {
  1850. //防止拖动图标即打开了桌面应用
  1851. U.MD.D.click(this, obj);
  1852. }, [_hkaceTeacherDeskIconInfo[i]])
  1853. }, _frag); //
  1854. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1855. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  1856. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  1857. }
  1858. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1859. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1860. _content = $$("div", {
  1861. className: "U_MD_D_KO",
  1862. "onmousedown": U.UF.C.closure(function (obj) {
  1863. //防止拖动图标即打开了桌面应用
  1864. U.MD.D.click(this, obj);
  1865. }, [_gdjgAdminDeskIconInfo[i]]),
  1866. "onclick": U.UF.C.closure(function (obj) {
  1867. //防止拖动图标即打开了桌面应用
  1868. U.MD.D.click(this, obj);
  1869. }, [_gdjgAdminDeskIconInfo[i]])
  1870. }, _frag); //
  1871. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1872. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1873. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1874. }
  1875. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1876. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1877. _content = $$("div", {
  1878. className: "U_MD_D_KO",
  1879. "onmousedown": U.UF.C.closure(function (obj) {
  1880. //防止拖动图标即打开了桌面应用
  1881. U.MD.D.click(this, obj);
  1882. }, [_gdjgTeacherDeskIconInfo[i]]),
  1883. "onclick": U.UF.C.closure(function (obj) {
  1884. //防止拖动图标即打开了桌面应用
  1885. U.MD.D.click(this, obj);
  1886. }, [_gdjgTeacherDeskIconInfo[i]])
  1887. }, _frag); //
  1888. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1889. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1890. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1891. }
  1892. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1893. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1894. _content = $$("div", {
  1895. className: "U_MD_D_KO",
  1896. "onmousedown": U.UF.C.closure(function (obj) {
  1897. //防止拖动图标即打开了桌面应用
  1898. U.MD.D.click(this, obj);
  1899. }, [_szherTeacherDeskIconInfo[i]]),
  1900. "onclick": U.UF.C.closure(function (obj) {
  1901. //防止拖动图标即打开了桌面应用
  1902. U.MD.D.click(this, obj);
  1903. }, [_szherTeacherDeskIconInfo[i]])
  1904. }, _frag); //
  1905. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1906. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1907. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1908. }
  1909. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1910. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1911. _content = $$("div", {
  1912. className: "U_MD_D_KO",
  1913. "onmousedown": U.UF.C.closure(function (obj) {
  1914. //防止拖动图标即打开了桌面应用
  1915. U.MD.D.click(this, obj);
  1916. }, [_heyuannAdminDeskIconInfo[i]]),
  1917. "onclick": U.UF.C.closure(function (obj) {
  1918. //防止拖动图标即打开了桌面应用
  1919. U.MD.D.click(this, obj);
  1920. }, [_heyuannAdminDeskIconInfo[i]])
  1921. }, _frag); //
  1922. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1923. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1924. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1925. }
  1926. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1927. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1928. _content = $$("div", {
  1929. className: "U_MD_D_KO",
  1930. "onmousedown": U.UF.C.closure(function (obj) {
  1931. //防止拖动图标即打开了桌面应用
  1932. U.MD.D.click(this, obj);
  1933. }, [_heyuanTeacherDeskIconInfo[i]]),
  1934. "onclick": U.UF.C.closure(function (obj) {
  1935. //防止拖动图标即打开了桌面应用
  1936. U.MD.D.click(this, obj);
  1937. }, [_heyuanTeacherDeskIconInfo[i]])
  1938. }, _frag); //
  1939. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1940. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1941. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1942. } //
  1943. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1944. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1945. _content = $$("div", {
  1946. className: "U_MD_D_KO",
  1947. "onmousedown": U.UF.C.closure(function (obj) {
  1948. //防止拖动图标即打开了桌面应用
  1949. U.MD.D.click(this, obj);
  1950. }, [_dseiAdminDeskIconInfo[i]]),
  1951. "onclick": U.UF.C.closure(function (obj) {
  1952. //防止拖动图标即打开了桌面应用
  1953. U.MD.D.click(this, obj);
  1954. }, [_dseiAdminDeskIconInfo[i]])
  1955. }, _frag); //
  1956. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1957. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1958. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1959. }
  1960. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1961. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1962. _content = $$("div", {
  1963. className: "U_MD_D_KO",
  1964. "onmousedown": U.UF.C.closure(function (obj) {
  1965. //防止拖动图标即打开了桌面应用
  1966. U.MD.D.click(this, obj);
  1967. }, [_dseiTeacherDeskIconInfo[i]]),
  1968. "onclick": U.UF.C.closure(function (obj) {
  1969. //防止拖动图标即打开了桌面应用
  1970. U.MD.D.click(this, obj);
  1971. }, [_dseiTeacherDeskIconInfo[i]])
  1972. }, _frag); //
  1973. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1974. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1975. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1976. } //
  1977. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1978. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1979. _content = $$("div", {
  1980. className: "U_MD_D_KO",
  1981. "onmousedown": U.UF.C.closure(function (obj) {
  1982. //防止拖动图标即打开了桌面应用
  1983. U.MD.D.click(this, obj);
  1984. }, [_chjyjAdminDeskIconInfo[i]]),
  1985. "onclick": U.UF.C.closure(function (obj) {
  1986. //防止拖动图标即打开了桌面应用
  1987. U.MD.D.click(this, obj);
  1988. }, [_chjyjAdminDeskIconInfo[i]])
  1989. }, _frag); //
  1990. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1991. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1992. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1993. }//
  1994. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1995. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1996. _content = $$("div", {
  1997. className: "U_MD_D_KO",
  1998. "onmousedown": U.UF.C.closure(function (obj) {
  1999. //防止拖动图标即打开了桌面应用
  2000. U.MD.D.click(this, obj);
  2001. }, [_chjyjTeacherDeskIconInfo[i]]),
  2002. "onclick": U.UF.C.closure(function (obj) {
  2003. //防止拖动图标即打开了桌面应用
  2004. U.MD.D.click(this, obj);
  2005. }, [_chjyjTeacherDeskIconInfo[i]])
  2006. }, _frag); //
  2007. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2008. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2009. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2010. }
  2011. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2012. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2013. _content = $$("div", {
  2014. className: "U_MD_D_KO",
  2015. "onmousedown": U.UF.C.closure(function (obj) {
  2016. //防止拖动图标即打开了桌面应用
  2017. U.MD.D.click(this, obj);
  2018. }, [_szjkyAdminDeskIconInfo[i]]),
  2019. "onclick": U.UF.C.closure(function (obj) {
  2020. //防止拖动图标即打开了桌面应用
  2021. U.MD.D.click(this, obj);
  2022. }, [_szjkyAdminDeskIconInfo[i]])
  2023. }, _frag); //
  2024. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2025. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2026. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2027. }//
  2028. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2029. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2030. _content = $$("div", {
  2031. className: "U_MD_D_KO",
  2032. "onmousedown": U.UF.C.closure(function (obj) {
  2033. //防止拖动图标即打开了桌面应用
  2034. U.MD.D.click(this, obj);
  2035. }, [_szjkyTeacherDeskIconInfo[i]]),
  2036. "onclick": U.UF.C.closure(function (obj) {
  2037. //防止拖动图标即打开了桌面应用
  2038. U.MD.D.click(this, obj);
  2039. }, [_szjkyTeacherDeskIconInfo[i]])
  2040. }, _frag); //
  2041. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2042. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2043. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2044. }
  2045. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2046. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2047. _content = $$("div", {
  2048. className: "U_MD_D_KO",
  2049. "onmousedown": U.UF.C.closure(function (obj) {
  2050. //防止拖动图标即打开了桌面应用
  2051. U.MD.D.click(this, obj);
  2052. }, [_futianAdminDeskIconInfo[i]]),
  2053. "onclick": U.UF.C.closure(function (obj) {
  2054. //防止拖动图标即打开了桌面应用
  2055. U.MD.D.click(this, obj);
  2056. }, [_futianAdminDeskIconInfo[i]])
  2057. }, _frag); //
  2058. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2059. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2060. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2061. }
  2062. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2063. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2064. _content = $$("div", {
  2065. className: "U_MD_D_KO",
  2066. "onmousedown": U.UF.C.closure(function (obj) {
  2067. //防止拖动图标即打开了桌面应用
  2068. U.MD.D.click(this, obj);
  2069. }, [_futianTeacherDeskIconInfo[i]]),
  2070. "onclick": U.UF.C.closure(function (obj) {
  2071. //防止拖动图标即打开了桌面应用
  2072. U.MD.D.click(this, obj);
  2073. }, [_futianTeacherDeskIconInfo[i]])
  2074. }, _frag); //
  2075. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2076. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2077. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2078. }
  2079. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2080. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2081. _content = $$("div", {
  2082. className: "U_MD_D_KO",
  2083. "onmousedown": U.UF.C.closure(function (obj) {
  2084. //防止拖动图标即打开了桌面应用
  2085. U.MD.D.click(this, obj);
  2086. }, [_MingdeTeacherDeskIcon[i]]),
  2087. "onclick": U.UF.C.closure(function (obj) {
  2088. //防止拖动图标即打开了桌面应用
  2089. U.MD.D.click(this, obj);
  2090. }, [_MingdeTeacherDeskIcon[i]])
  2091. }, _frag); //
  2092. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2093. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2094. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2095. }
  2096. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2097. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2098. _content = $$("div", {
  2099. className: "U_MD_D_KO",
  2100. "onmousedown": U.UF.C.closure(function (obj) {
  2101. //防止拖动图标即打开了桌面应用
  2102. U.MD.D.click(this, obj);
  2103. }, [_lhsAdminDesktopIconInfo[i]]),
  2104. "onclick": U.UF.C.closure(function (obj) {
  2105. //防止拖动图标即打开了桌面应用
  2106. U.MD.D.click(this, obj);
  2107. }, [_lhsAdminDesktopIconInfo[i]])
  2108. }, _frag); //
  2109. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2110. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2111. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2112. }
  2113. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2114. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2115. _content = $$("div", {
  2116. className: "U_MD_D_KO",
  2117. "onmousedown": U.UF.C.closure(function (obj) {
  2118. //防止拖动图标即打开了桌面应用
  2119. U.MD.D.click(this, obj);
  2120. }, [_lhsteacherDesktopIconInfo[i]]),
  2121. "onclick": U.UF.C.closure(function (obj) {
  2122. //防止拖动图标即打开了桌面应用
  2123. U.MD.D.click(this, obj);
  2124. }, [_lhsteacherDesktopIconInfo[i]])
  2125. }, _frag); //
  2126. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2127. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2128. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2129. }
  2130. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2131. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2132. _content = $$("div", {
  2133. className: "U_MD_D_KO",
  2134. "onmousedown": U.UF.C.closure(function (obj) {
  2135. //防止拖动图标即打开了桌面应用
  2136. U.MD.D.click(this, obj);
  2137. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2138. "onclick": U.UF.C.closure(function (obj) {
  2139. //防止拖动图标即打开了桌面应用
  2140. U.MD.D.click(this, obj);
  2141. }, [_zhoujiateacherDesktopIconInfo[i]])
  2142. }, _frag); //
  2143. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2144. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2145. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2146. }
  2147. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2148. for (i = 0; i < _hanDeskIcon.length; i++) {
  2149. _content = $$("div", {
  2150. className: "U_MD_D_KO",
  2151. "onmousedown": U.UF.C.closure(function (obj) {
  2152. //防止拖动图标即打开了桌面应用
  2153. U.MD.D.click(this, obj);
  2154. }, [_hanDeskIcon[i]]),
  2155. "onclick": U.UF.C.closure(function (obj) {
  2156. //防止拖动图标即打开了桌面应用
  2157. U.MD.D.click(this, obj);
  2158. }, [_hanDeskIcon[i]])
  2159. }, _frag); //
  2160. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2161. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2162. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2163. }
  2164. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2165. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2166. _content = $$("div", {
  2167. className: "U_MD_D_KO",
  2168. "onmousedown": U.UF.C.closure(function (obj) {
  2169. //防止拖动图标即打开了桌面应用
  2170. U.MD.D.click(this, obj);
  2171. }, [_orgStemDeskIcon[i]]),
  2172. "onclick": U.UF.C.closure(function (obj) {
  2173. //防止拖动图标即打开了桌面应用
  2174. U.MD.D.click(this, obj);
  2175. }, [_orgStemDeskIcon[i]])
  2176. }, _frag); //
  2177. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2178. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2179. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2180. }
  2181. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2182. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2183. _content = $$("div", {
  2184. className: "U_MD_D_KO",
  2185. "onmousedown": U.UF.C.closure(function (obj) {
  2186. //防止拖动图标即打开了桌面应用
  2187. U.MD.D.click(this, obj);
  2188. }, [_szulsDeskIcon[i]]),
  2189. "onclick": U.UF.C.closure(function (obj) {
  2190. //防止拖动图标即打开了桌面应用
  2191. U.MD.D.click(this, obj);
  2192. }, [_szulsDeskIcon[i]])
  2193. }, _frag); //
  2194. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2195. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2196. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2197. }
  2198. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2199. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2200. _content = $$("div", {
  2201. className: "U_MD_D_KO",
  2202. "onmousedown": U.UF.C.closure(function (obj) {
  2203. //防止拖动图标即打开了桌面应用
  2204. U.MD.D.click(this, obj);
  2205. }, [_orgDesktopIconInfo[i]]),
  2206. "onclick": U.UF.C.closure(function (obj) {
  2207. //防止拖动图标即打开了桌面应用
  2208. U.MD.D.click(this, obj);
  2209. }, [_orgDesktopIconInfo[i]])
  2210. }, _frag); //
  2211. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2212. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2213. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2214. }
  2215. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2216. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2217. _content = $$("div", {
  2218. className: "U_MD_D_KO",
  2219. "onmousedown": U.UF.C.closure(function (obj) {
  2220. //防止拖动图标即打开了桌面应用
  2221. U.MD.D.click(this, obj);
  2222. }, [_schoolDesktopIconInfo[i]]),
  2223. "onclick": U.UF.C.closure(function (obj) {
  2224. //防止拖动图标即打开了桌面应用
  2225. U.MD.D.click(this, obj);
  2226. }, [_schoolDesktopIconInfo[i]])
  2227. }, _frag); //
  2228. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2229. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2230. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2231. }
  2232. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2233. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2234. _content = $$("div", {
  2235. className: "U_MD_D_KO",
  2236. "onmousedown": U.UF.C.closure(function (obj) {
  2237. //防止拖动图标即打开了桌面应用
  2238. U.MD.D.click(this, obj);
  2239. }, [_GMteacherDesktopIconInfo[i]]),
  2240. "onclick": U.UF.C.closure(function (obj) {
  2241. //防止拖动图标即打开了桌面应用
  2242. U.MD.D.click(this, obj);
  2243. }, [_GMteacherDesktopIconInfo[i]])
  2244. }, _frag); //
  2245. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2246. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2247. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2248. }
  2249. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2250. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2251. _content = $$("div", {
  2252. className: "U_MD_D_KO",
  2253. "onmousedown": U.UF.C.closure(function (obj) {
  2254. //防止拖动图标即打开了桌面应用
  2255. U.MD.D.click(this, obj);
  2256. }, [_SONGteacherDesktopIconInfo[i]]),
  2257. "onclick": U.UF.C.closure(function (obj) {
  2258. //防止拖动图标即打开了桌面应用
  2259. U.MD.D.click(this, obj);
  2260. }, [_SONGteacherDesktopIconInfo[i]])
  2261. }, _frag); //
  2262. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2263. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2264. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2265. }
  2266. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2267. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2268. _content = $$("div", {
  2269. className: "U_MD_D_KO",
  2270. "onmousedown": U.UF.C.closure(function (obj) {
  2271. //防止拖动图标即打开了桌面应用
  2272. U.MD.D.click(this, obj);
  2273. }, [_GMstudentDesktopIconInfo[i]]),
  2274. "onclick": U.UF.C.closure(function (obj) {
  2275. //防止拖动图标即打开了桌面应用
  2276. U.MD.D.click(this, obj);
  2277. }, [_GMstudentDesktopIconInfo[i]])
  2278. }, _frag); //
  2279. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2280. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2281. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2282. }
  2283. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2284. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2285. _content = $$("div", {
  2286. className: "U_MD_D_KO",
  2287. "onmousedown": U.UF.C.closure(function (obj) {
  2288. //防止拖动图标即打开了桌面应用
  2289. U.MD.D.click(this, obj);
  2290. }, [_tcTeacherDeskIconInfo[i]]),
  2291. "onclick": U.UF.C.closure(function (obj) {
  2292. //防止拖动图标即打开了桌面应用
  2293. U.MD.D.click(this, obj);
  2294. }, [_tcTeacherDeskIconInfo[i]])
  2295. }, _frag); //
  2296. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2297. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2298. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2299. }
  2300. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2301. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2302. _content = $$("div", {
  2303. className: "U_MD_D_KO",
  2304. "onmousedown": U.UF.C.closure(function (obj) {
  2305. //防止拖动图标即打开了桌面应用
  2306. U.MD.D.click(this, obj);
  2307. }, [_tcOrganizerDeskIconInfo[i]]),
  2308. "onclick": U.UF.C.closure(function (obj) {
  2309. //防止拖动图标即打开了桌面应用
  2310. U.MD.D.click(this, obj);
  2311. }, [_tcOrganizerDeskIconInfo[i]])
  2312. }, _frag); //
  2313. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2314. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2315. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2316. }
  2317. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2318. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2319. _content = $$("div", {
  2320. className: "U_MD_D_KO",
  2321. "onmousedown": U.UF.C.closure(function (obj) {
  2322. //防止拖动图标即打开了桌面应用
  2323. U.MD.D.click(this, obj);
  2324. }, [_szscTeacherDeskIconInfo[i]]),
  2325. "onclick": U.UF.C.closure(function (obj) {
  2326. //防止拖动图标即打开了桌面应用
  2327. U.MD.D.click(this, obj);
  2328. }, [_szscTeacherDeskIconInfo[i]])
  2329. }, _frag); //
  2330. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2331. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2332. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2333. }
  2334. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2335. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2336. _content = $$("div", {
  2337. className: "U_MD_D_KO",
  2338. "onmousedown": U.UF.C.closure(function (obj) {
  2339. //防止拖动图标即打开了桌面应用
  2340. U.MD.D.click(this, obj);
  2341. }, [_szscOrganizerDeskIconInfo[i]]),
  2342. "onclick": U.UF.C.closure(function (obj) {
  2343. //防止拖动图标即打开了桌面应用
  2344. U.MD.D.click(this, obj);
  2345. }, [_szscOrganizerDeskIconInfo[i]])
  2346. }, _frag); //
  2347. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2348. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2349. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2350. }
  2351. } else {
  2352. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2353. _content = $$("div", {
  2354. className: "U_MD_D_KO",
  2355. "onmousedown": U.UF.C.closure(function (obj) {
  2356. //防止拖动图标即打开了桌面应用
  2357. U.MD.D.click(this, obj);
  2358. }, [_teacherDesktopIconInfo[i]]),
  2359. "onclick": U.UF.C.closure(function (obj) {
  2360. //防止拖动图标即打开了桌面应用
  2361. U.MD.D.click(this, obj);
  2362. }, [_teacherDesktopIconInfo[i]])
  2363. }, _frag); //
  2364. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2365. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2366. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2367. }
  2368. }
  2369. } else {
  2370. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2371. _content = $$("div", {
  2372. className: "U_MD_D_KO",
  2373. style: { 'width': '124px', 'height': '145px' },
  2374. "onmousedown": U.UF.C.closure(function (obj) {
  2375. //防止拖动图标即打开了桌面应用
  2376. U.MD.D.click(this, obj);
  2377. }, [_easyDesktopIconInfo[i]]),
  2378. "onclick": U.UF.C.closure(function (obj) {
  2379. //防止拖动图标即打开了桌面应用
  2380. U.MD.D.click(this, obj);
  2381. }, [_easyDesktopIconInfo[i]])
  2382. }, _frag); //
  2383. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2384. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2385. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2386. }
  2387. }
  2388. if (type == 1) {
  2389. //加载好后给图标定位
  2390. U.MD.D.iconPostion($(_frag).Child());
  2391. } else {
  2392. //加载好后给图标定位
  2393. U.MD.D.iconPostion2($(_frag).Child());
  2394. }
  2395. //把图标加载到页面
  2396. el.appendChild(_frag);
  2397. }
  2398. /**
  2399. * 显示任务栏
  2400. *
  2401. * @param {element} 桌面元素
  2402. */
  2403. U.MD.D.I.displayTaskbar = function (el) {
  2404. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2405. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2406. //任务栏位置变化
  2407. U.selectEl(el).css({ "bottom": "0px" });
  2408. //桌面位置变话
  2409. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2410. }
  2411. }
  2412. //#region 桌面图标拖动逻辑
  2413. /**
  2414. * 桌面排列图标
  2415. *
  2416. * @param {element} 桌面元素
  2417. * @param {object} 上下相距的距离
  2418. * @param {object} 左右相距的距离
  2419. * @return {object} 命名空间
  2420. */
  2421. U.MD.D.iconPostion = function (childs, top, left) {
  2422. var i; //用于循环处理
  2423. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2424. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2425. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2426. for (i = 0; i < childs.length; i++) {
  2427. //如果竖排top超过了范围处理
  2428. if (top + 95 > US.height - 10) {
  2429. //left超过了页面范围处理,则向上重叠打印处理
  2430. if ((left + 180) > US.width) {
  2431. top -= 110;
  2432. left -= 90;
  2433. }
  2434. //没有超过范围,那么left+90添加到下一个竖排打印
  2435. else {
  2436. left += 90;
  2437. top = 15;
  2438. };
  2439. }
  2440. //给图标的位置赋值
  2441. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2442. if (i < childs.length - 1) {
  2443. //页面图标每次向下加95
  2444. top += 95;
  2445. }
  2446. }
  2447. //返回最后调用的图标的位置
  2448. return [top, left];
  2449. }
  2450. /**
  2451. * 桌面排列图标
  2452. *
  2453. * @param {element} 桌面元素
  2454. * @param {object} 上下相距的距离
  2455. * @param {object} 左右相距的距离
  2456. * @return {object} 命名空间
  2457. */
  2458. U.MD.D.iconPostion2 = function (childs, top, left) {
  2459. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2460. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2461. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2462. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2463. for (i = 0; i < childs.length; i++) {
  2464. //如果竖排top超过了范围处理
  2465. if (left + 150 > US.width - 10) {
  2466. //left超过了页面范围处理,则向上重叠打印处理
  2467. if ((top + 180) > US.Height) {
  2468. top -= 150;
  2469. left -= 150;
  2470. }
  2471. //没有超过范围,那么left+90添加到下一个竖排打印
  2472. else {
  2473. top += 150;
  2474. left = ol;
  2475. };
  2476. }
  2477. //给图标的位置赋值
  2478. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2479. if (i < childs.length - 1) {
  2480. //页面图标每次向下加95
  2481. left += 150;
  2482. }
  2483. }
  2484. //返回最后调用的图标的位置
  2485. return [top, left];
  2486. }
  2487. /**
  2488. * 桌面点击事件逻辑
  2489. *
  2490. * @param {element} 桌面元素
  2491. * @param {object} 上下相距的距离
  2492. * @param {object} 左右相距的距离
  2493. * @return {object} 命名空间
  2494. */
  2495. U.MD.D.click = function (el, obj) {
  2496. var _buttonnumber = event.button; //点击的按钮的事件值
  2497. var _userinfo = US.userInfo;
  2498. U.UF.EV.stopBubble(); //阻止向上冒泡
  2499. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2500. if (_buttonnumber < 2) {
  2501. //如果是click事件的处理
  2502. if (event.type == "click") {
  2503. //如果元素在mousemove事件中没有移动则出发click事件
  2504. if (!U.MD.D.I.IsDrag) {
  2505. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2506. U.alert("请先登录您的账号!");
  2507. setTimeout(() => {
  2508. U.MD.U.L.login();
  2509. }, 2000);
  2510. } else {
  2511. //打开应用处理
  2512. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2513. }
  2514. }
  2515. }
  2516. //如果是mouse事件的处理
  2517. else {
  2518. if (US.Config.type == '1') {
  2519. //拖动处理,添加拖动和拖动结束事件
  2520. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2521. }
  2522. }
  2523. U.MD.D.I.IsDrag = false;
  2524. }
  2525. }
  2526. /**
  2527. * 拖动的处理
  2528. *
  2529. */
  2530. U.MD.D.iconMove = function () {
  2531. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2532. U.MD.D.I.IsDrag = true;
  2533. }
  2534. /**
  2535. * 拖动结束后,这里是定位处理,以网状的形式定位
  2536. *
  2537. * @param {element} 拖动的元素
  2538. * @return {object} 命名空间
  2539. */
  2540. U.MD.D.iconUp = function (el) {
  2541. var _top = 15,
  2542. _left = 20,
  2543. _margin,
  2544. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2545. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2546. if (_positioninfo["OT"] > 15) {
  2547. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2548. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2549. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2550. }
  2551. if (_positioninfo["OL"] > 20) {
  2552. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2553. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2554. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2555. }
  2556. //while循环判断么一个重叠的元素
  2557. do {
  2558. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2559. _top = _positioninfo[0] + 95; //得到定位后的top
  2560. _left = _positioninfo[1]; //得到定位后的left
  2561. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2562. }
  2563. /**
  2564. * 判断拖动后图标是否重叠
  2565. *
  2566. * @param {element} 拖动的元素
  2567. * @param {element} 桌面所有的元素
  2568. * @param {array} 拖动元素的位置
  2569. ----------[0] 上 top
  2570. ----------[1] 左 left
  2571. * @return {object} 命名空间
  2572. */
  2573. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2574. //循环所有的图标
  2575. for (var i = 0; i < childs.length; i++) {
  2576. //判断有没有和该图标诶子重叠的元素
  2577. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2578. return childs[i]; //如果有返回
  2579. }
  2580. }
  2581. }
  2582. //#endregion
  2583. //#endregion
  2584. //#region 桌面应用
  2585. /**
  2586. * 打开应用
  2587. *
  2588. * @param {string} 类型
  2589. -----------------Disk 网盘系统
  2590. -----------------PDisk 学习系统网盘
  2591. -----------------Poto 图片
  2592. -----------------Video 视频
  2593. -----------------Music 音乐
  2594. -----------------Word word
  2595. -----------------Excel excel
  2596. -----------------Txt 记事本
  2597. -----------------PB 学习系统
  2598. -----------------Blog 朋友圈系统
  2599. -----------------FTP ftp系统
  2600. -----------------Group 好友群
  2601. -----------------SY 首页系统
  2602. -----------------Set 个人设置
  2603. -----------------XSet 系统设置
  2604. -----------------App 我们所有的app
  2605. -----------------BC c.1473.cn 平台
  2606. -----------------CWeb d.1473.cn 变成平台
  2607. -----------------其他的外联系统 我们统一用iframe打开
  2608. * @param {array} 类型
  2609. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2610. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2611. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2612. 如果第一个参数为其他,则无第二个参数
  2613. * @returns {array}
  2614. */
  2615. window.addEventListener('message', function (e) { // 监听 message 事件
  2616. // alert(e.data.type);
  2617. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2618. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2619. //3是展示全部阶段 2学生 1老师 4专家
  2620. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2621. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2622. //3是展示全部阶段 2学生 1老师 4专家
  2623. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2624. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2625. //3是展示全部阶段 2学生 1老师 4专家
  2626. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2627. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2628. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2629. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2630. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2631. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2632. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2633. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2634. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2635. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2636. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2637. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2638. //3是展示全部阶段 2学生 1老师 4专家
  2639. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2640. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2641. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2642. U.MD.D.I.selectUser();
  2643. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2644. var _formel = document.getElementById("study");
  2645. U.UF.F.windowZooming(_formel);
  2646. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2647. var _formel = document.getElementById("studyDetail");
  2648. U.UF.F.windowZooming(_formel);
  2649. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2650. var _formel = document.getElementById("studyDetail");
  2651. U.UF.F.windowZooming(_formel);
  2652. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2653. var _formel = document.getElementById("studentStudy");
  2654. U.UF.F.windowZooming(_formel);
  2655. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2656. // var _formel = document.getElementById("study");
  2657. //如果最大化了,那么就把他缩小
  2658. // if (_formel.ismaximize) {
  2659. // return;
  2660. // }
  2661. // U.UF.F.windowZooming(_formel);
  2662. // U.UF.F.topWindow(_formel);
  2663. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2664. // var _formel = document.getElementById("studyDetail");
  2665. //如果最大化了,那么就把他缩小
  2666. // if (_formel.ismaximize) {
  2667. // return;
  2668. // }
  2669. // U.UF.F.windowZooming(_formel);
  2670. // U.UF.F.topWindow(_formel);
  2671. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2672. // var _formel = document.getElementById("studentStudy");
  2673. // if (_formel.ismaximize) {
  2674. // return;
  2675. // }
  2676. // U.UF.F.windowZooming(_formel);
  2677. // U.UF.F.topWindow(_formel);
  2678. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2679. var _formel = document.getElementById("study");
  2680. // if (_formel.ismaximize) {
  2681. // return;
  2682. // }
  2683. // U.UF.F.windowZooming(_formel);
  2684. U.UF.F.topWindow(_formel);
  2685. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2686. var _formel = document.getElementById("studentIndex");
  2687. U.UF.F.windowZooming(_formel);
  2688. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2689. var _formel = document.getElementById("studyDetailS");
  2690. U.UF.F.windowZooming(_formel);
  2691. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2692. var _formel = document.getElementById("studioIndex");
  2693. U.UF.F.windowZooming(_formel);
  2694. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2695. var _formel = document.getElementById("studyDetailStudio");
  2696. U.UF.F.windowZooming(_formel);
  2697. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2698. var _formel = document.getElementById("studyDetailStudio");
  2699. U.UF.F.windowZooming(_formel);
  2700. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2701. var _formel = document.getElementById("studyDetailNT");
  2702. U.UF.F.windowZooming(_formel);
  2703. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2704. var _formel = document.getElementById("studyDetailS");
  2705. U.UF.F.windowZooming(_formel);
  2706. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2707. var _formel = document.getElementById("studyDetailS");
  2708. U.UF.F.topWindow(_formel);
  2709. } else if (e.data.tools && e.data.tools == "1") {
  2710. // U.MD.D.I.openApplication("whiteboard")
  2711. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2712. } else if (e.data.tools && e.data.tools == "2") {
  2713. U.MD.D.I.openApplication("note")
  2714. } else if (e.data.tools && e.data.tools == "3") {
  2715. // U.MD.D.I.openApplication("mind")
  2716. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2717. } else if (e.data.tools && e.data.tools == "4") {
  2718. U.MD.D.I.openApplication("investigation")
  2719. } else if (e.data.tools && e.data.tools == "6") {
  2720. // U.MD.D.I.openApplication("doc")
  2721. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2722. } else if (e.data.tools && e.data.tools == "7") {
  2723. // U.MD.D.I.openApplication("mindNetwork")
  2724. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2725. } else if (e.data.tools && e.data.tools == "8") {
  2726. U.MD.D.I.openApplication("library")
  2727. } else if (e.data.tools && e.data.tools == "17") {
  2728. U.MD.D.I.openApplication("stuLibrary")
  2729. } else if (e.data.tools && e.data.tools == "18") {
  2730. U.MD.D.I.openApplication("train")
  2731. } else if (e.data.tools && e.data.tools == "21") {
  2732. U.MD.D.I.openApplication("program")
  2733. } else if (e.data.tools && e.data.tools == "22") {
  2734. U.MD.D.I.openApplication("AIprogram2")
  2735. } else if (e.data.tools && e.data.tools == "23") {
  2736. U.MD.D.I.openApplication("Pythonprogram")
  2737. } else if (e.data.tools && e.data.tools == "24") {
  2738. U.MD.D.I.openApplication("AIprogram")
  2739. } else if (e.data.tools && e.data.tools == "25") {
  2740. U.MD.D.I.openApplication("sys")
  2741. } else if (e.data.tools && e.data.tools == "26") {
  2742. // U.MD.D.I.openApplication("courseDesign")
  2743. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2744. } else if (e.data.tools && e.data.tools == "31") {
  2745. U.MD.D.I.openApplication("netWorkPanel")
  2746. } else if (e.data.tools && e.data.tools == "32") {
  2747. U.MD.D.I.openApplication("codeEdit")
  2748. } else if (e.data.tools && e.data.tools == "57") {
  2749. U.MD.D.I.openApplication("CocoPi")
  2750. } else if (e.data.tools && e.data.tools == "63") {
  2751. U.MD.D.I.openApplication("Wood")
  2752. } else if (e.data.tools && e.data.tools == "58") {
  2753. U.MD.D.I.openApplication("car")
  2754. } else if (e.data.tools && e.data.tools == "59") {
  2755. U.MD.D.I.openApplication("lineSearch")
  2756. } else if (e.data.tools && e.data.tools == "60") {
  2757. U.MD.D.I.openApplication("deepLearning")
  2758. } else if (e.data.tools && e.data.tools == "61") {
  2759. U.MD.D.I.openApplication("allHistory")
  2760. } else if (e.data.tools && e.data.tools == "28") {
  2761. U.MD.D.I.openApplication("translation")
  2762. } else if (e.data.tools && e.data.tools == "37") {
  2763. U.MD.D.I.openApplication("mohe")
  2764. } else if (e.data.tools && e.data.tools == "38") {
  2765. U.MD.D.I.openApplication("24game")
  2766. } else if (e.data.tools && e.data.tools == "39") {
  2767. U.MD.D.I.openApplication("GeoGebra")
  2768. } else if (e.data.tools && e.data.tools == "43") {
  2769. U.MD.D.I.openApplication("studentEvaluate")
  2770. } else if (e.data.tools && e.data.tools == "44") {
  2771. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2772. } else if (e.data.tools && e.data.tools == "46") {
  2773. U.MD.D.I.openApplication("project")
  2774. } else if (e.data.tools && e.data.tools == "1s") {
  2775. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2776. } else if (e.data.tools && e.data.tools == "3s") {
  2777. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2778. } else if (e.data.tools && e.data.tools == "6s") {
  2779. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2780. } else if (e.data.tools && e.data.tools == "1studio") {
  2781. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2782. } else if (e.data.tools && e.data.tools == "3studio") {
  2783. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2784. } else if (e.data.tools && e.data.tools == "6studio") {
  2785. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2786. } else if (e.data.tools && e.data.tools == "3y") {
  2787. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2788. } else if (e.data.tools && e.data.tools == "1y") {
  2789. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2790. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2791. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2792. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2793. U.MD.D.I.openApplication("AIAnalyse")
  2794. } else if (e.data.tools && e.data.tools == "1teacher") {
  2795. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2796. } else if (e.data.tools && e.data.tools == "3teacher") {
  2797. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2798. } else if (e.data.tools && e.data.tools == "7teacher") {
  2799. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2800. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2801. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2802. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2803. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2804. } else if (e.data.tools && e.data.tools == "1E") {
  2805. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2806. } else if (e.data.tools && e.data.tools == "3E") {
  2807. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2808. } else if (e.data.tools && e.data.tools == "57y") {
  2809. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2810. } else if (e.data.tools && e.data.tools == "57u") {
  2811. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2812. } else if (e.data.tools && e.data.tools == "57teacher") {
  2813. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2814. } else if (e.data.tools && e.data.tools == "64") {
  2815. U.MD.D.I.openApplication("AIChat")
  2816. } else if (e.data.tools && e.data.tools == "66") {
  2817. U.MD.D.I.openApplication("formulaEdi")
  2818. } else if (e.data.tools && e.data.tools == "67") {
  2819. U.MD.D.I.openApplication("molStr")
  2820. } else if (e.data.tools && e.data.tools == "68") {
  2821. U.MD.D.I.openApplication("timeAxis")
  2822. } else if (e.data.tools && e.data.tools == "openCourse") {
  2823. let _data = {
  2824. typea: e.data.typea || '',
  2825. typeb: e.data.typeb || '',
  2826. typed: e.data.typed || '',
  2827. }
  2828. U.MD.D.I.openInApplication("index", _data)
  2829. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2830. let _data = {
  2831. classid: e.data.classid || '',
  2832. }
  2833. U.MD.D.I.openInApplication("dataClass", _data)
  2834. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2835. let _data = {
  2836. cid: e.data.cid || '',
  2837. gid: e.data.gid || '',
  2838. }
  2839. U.MD.D.I.openInApplication("opencCscl", _data)
  2840. }
  2841. });
  2842. U.MD.D.I.selectUser = function () {
  2843. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2844. if (res.value[0].length > 0) {
  2845. US.userInfo = res.value[0][0];
  2846. $(".userName")[0].innerHTML = US.userInfo.username;
  2847. }
  2848. }, [], { "type": "GET", "withCredentials": true });
  2849. }
  2850. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2851. var _userinfo = US.userInfo, //登录用户信息
  2852. _userid = US.userInfo.userid, //登录用户id
  2853. _oid = _userinfo.organizeid,
  2854. _type = US.userInfo.type,
  2855. _org = US.userInfo.org,
  2856. _role = US.userInfo.role,
  2857. _classId = US.userInfo.classid;
  2858. if (_type == 4) {
  2859. tType = 4
  2860. }
  2861. switch (str) {
  2862. case "studyDetailNT": //无终端模式
  2863. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2864. setTimeout(() => {
  2865. U.MD.U.L.login();
  2866. }, 2000);
  2867. } else {
  2868. _formdiv = new U.UF.UI.form(
  2869. "课程详情",
  2870. $$("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 }), {
  2871. "id": "studyDetailNT",
  2872. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2873. "onresize": function () { }
  2874. }, {
  2875. closecallback: function () { }
  2876. }, { "style": { "height": "36px" } }).form; //创建窗体
  2877. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2878. break;
  2879. }
  2880. case "studyDetail":
  2881. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2882. setTimeout(() => {
  2883. U.MD.U.L.login();
  2884. }, 2000);
  2885. } else {
  2886. _formdiv = new U.UF.UI.form(
  2887. "课程详情",
  2888. $$("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 }), {
  2889. "id": "studyDetail",
  2890. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2891. "onresize": function () { }
  2892. }, {
  2893. closecallback: function () { }
  2894. }, { "style": { "height": "36px" } }).form; //创建窗体
  2895. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2896. break;
  2897. }
  2898. case "studyDetailS":
  2899. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2900. setTimeout(() => {
  2901. U.MD.U.L.login();
  2902. }, 2000);
  2903. } else {
  2904. _formdiv = new U.UF.UI.form(
  2905. "项目详情",
  2906. $$("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 }), {
  2907. "id": "studyDetailS",
  2908. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2909. "onresize": function () { }
  2910. }, {
  2911. closecallback: function () { }
  2912. }, { "style": { "height": "36px" } }).form; //创建窗体
  2913. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2914. break;
  2915. }
  2916. case "studyDetailStudio":
  2917. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2918. setTimeout(() => {
  2919. U.MD.U.L.login();
  2920. }, 2000);
  2921. } else {
  2922. _formdiv = new U.UF.UI.form(
  2923. "工作详情",
  2924. $$("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 }), {
  2925. "id": "studyDetailStudio",
  2926. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2927. "onresize": function () { }
  2928. }, {
  2929. closecallback: function () { }
  2930. }, { "style": { "height": "36px" } }).form; //创建窗体
  2931. _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); } }
  2932. break;
  2933. }
  2934. case "studyDetailS5":
  2935. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2936. setTimeout(() => {
  2937. U.MD.U.L.login();
  2938. }, 2000);
  2939. } else {
  2940. _formdiv = new U.UF.UI.form(
  2941. "项目详情",
  2942. $$("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 }), {
  2943. "id": "studyDetailS",
  2944. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2945. "onresize": function () { }
  2946. }, {
  2947. closecallback: function () { }
  2948. }, { "style": { "height": "36px" } }).form; //创建窗体
  2949. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2950. break;
  2951. }
  2952. case "studyDetailGM":
  2953. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2954. setTimeout(() => {
  2955. U.MD.U.L.login();
  2956. }, 2000);
  2957. } else {
  2958. _formdiv = new U.UF.UI.form(
  2959. "课程详情",
  2960. $$("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 }), {
  2961. "id": "studyDetail",
  2962. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2963. "onresize": function () { }
  2964. }, {
  2965. closecallback: function () { }
  2966. }, { "style": { "height": "36px" } }).form; //创建窗体
  2967. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2968. break;
  2969. }
  2970. case "hanUrl":
  2971. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2972. setTimeout(() => {
  2973. U.MD.U.L.login();
  2974. }, 2000);
  2975. } else {
  2976. _formdiv = new U.UF.UI.form(
  2977. "汉字宫",
  2978. $$("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" }), {
  2979. "id": "hanUrl",
  2980. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2981. "onresize": function () { }
  2982. }, {
  2983. closecallback: function () { }
  2984. }, { "style": { "height": "36px" } }).form; //创建窗体
  2985. _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); } }
  2986. break;
  2987. }
  2988. case "index":
  2989. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2990. setTimeout(() => {
  2991. U.MD.U.L.login();
  2992. }, 2000);
  2993. } else {
  2994. _formdiv = new U.UF.UI.form(
  2995. "课程中心",
  2996. $$("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 }), {
  2997. "id": "study",
  2998. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2999. "onresize": function () { }
  3000. }, {
  3001. closecallback: function () { }
  3002. }, { "style": { "height": "36px" } }).form; //创建窗体
  3003. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3004. break;
  3005. }
  3006. case "dataClass":
  3007. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3008. setTimeout(() => {
  3009. U.MD.U.L.login();
  3010. }, 2000);
  3011. } else {
  3012. _formdiv = new U.UF.UI.form(
  3013. "数据报告",
  3014. $$("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 }), {
  3015. "id": "dataClass",
  3016. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3017. "onresize": function () { }
  3018. }, {
  3019. closecallback: function () { }
  3020. }, { "style": { "height": "36px" } }).form; //创建窗体
  3021. _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); } }
  3022. break;
  3023. }
  3024. case "opencCscl":
  3025. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3026. setTimeout(() => {
  3027. U.MD.U.L.login();
  3028. }, 2000);
  3029. } else {
  3030. _formdiv = new U.UF.UI.form(
  3031. "协同建构",
  3032. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  3033. "id": "futureClass",
  3034. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3035. "onresize": function () { }
  3036. }, {
  3037. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3038. }, { "style": { "height": "36px" } }).form; //创建窗体
  3039. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/futureClass.png)" }, "name": "协同建构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3040. break;
  3041. }
  3042. }
  3043. }
  3044. U.MD.D.I.openApplication = function (str, obj, info) {
  3045. obj = obj || {};
  3046. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3047. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3048. _userinfo = US.userInfo, //登录用户信息
  3049. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3050. _oid = obj.organizeid || _userinfo.organizeid,
  3051. _type = US.userInfo.type,
  3052. _org = US.userInfo.org,
  3053. _role = US.userInfo.role,
  3054. _classId = US.userInfo.classid,
  3055. _TscreenType = 1
  3056. _screenType = 2,
  3057. _SscreenType = 3;
  3058. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3059. return;
  3060. }
  3061. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3062. switch (str) {
  3063. case "studnetProject": //好友打开
  3064. _formdiv = new U.UF.UI.form(
  3065. "我的项目",
  3066. $$("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 }), {
  3067. "id": "studnetProject",
  3068. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3069. "onresize": function () { }
  3070. }, {
  3071. closecallback: function () { }
  3072. }, { "style": { "height": "36px" } }).form; //创建窗体
  3073. _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); } }
  3074. break;
  3075. case "studentEvaluate": //好友打开
  3076. _formdiv = new U.UF.UI.form(
  3077. "我的评价",
  3078. $$("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 }), {
  3079. "id": "studentEvaluate",
  3080. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3081. "onresize": function () { }
  3082. }, {
  3083. closecallback: function () { }
  3084. }, { "style": { "height": "36px" } }).form; //创建窗体
  3085. _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); } }
  3086. break;
  3087. case "my":
  3088. _formdiv = new U.UF.UI.form(
  3089. "我的资料",
  3090. $$("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 }), {
  3091. "id": "my",
  3092. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3093. "onresize": function () { }
  3094. }, {
  3095. closecallback: function () { }
  3096. }, { "style": { "height": "36px" } }).form; //创建窗体
  3097. _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); } }
  3098. break;
  3099. case "program":
  3100. _formdiv = new U.UF.UI.form(
  3101. "编程平台",
  3102. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3103. "id": "program",
  3104. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3105. "onresize": function () { }
  3106. }, {
  3107. closecallback: function () { }
  3108. }, { "style": { "height": "36px" } }).form; //创建窗体
  3109. _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); } }
  3110. break;
  3111. case "library":
  3112. _formdiv = new U.UF.UI.form(
  3113. "素材库",
  3114. $$("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 }), {
  3115. "id": "library",
  3116. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3117. "onresize": function () { }
  3118. }, {
  3119. closecallback: function () { }
  3120. }, { "style": { "height": "36px" } }).form; //创建窗体
  3121. _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); } }
  3122. break;
  3123. case "whiteboard":
  3124. _formdiv = new U.UF.UI.form(
  3125. "电子白板",
  3126. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3127. "id": "whiteboard",
  3128. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3129. "onresize": function () { }
  3130. }, {
  3131. closecallback: function () { }
  3132. }, { "style": { "height": "36px" } }).form; //创建窗体
  3133. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3134. break;
  3135. case "investigation":
  3136. _formdiv = new U.UF.UI.form(
  3137. "问卷调查",
  3138. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3139. "id": "investigation",
  3140. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3141. "onresize": function () { }
  3142. }, {
  3143. closecallback: function () { }
  3144. }, { "style": { "height": "36px" } }).form; //创建窗体
  3145. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3146. break;
  3147. case "note":
  3148. _formdiv = new U.UF.UI.form(
  3149. "便签分类",
  3150. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3151. "id": "note",
  3152. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3153. "onresize": function () { }
  3154. }, {
  3155. closecallback: function () { }
  3156. }, { "style": { "height": "36px" } }).form; //创建窗体
  3157. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3158. break;
  3159. // case "score":
  3160. // _formdiv = new U.UF.UI.form(
  3161. // "量规评分",
  3162. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3163. // "id": "score",
  3164. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3165. // "onresize": function() {}
  3166. // }, {
  3167. // closecallback: function() {}
  3168. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3169. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3170. // break;
  3171. case "mind":
  3172. _formdiv = new U.UF.UI.form(
  3173. "思维导图",
  3174. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3175. "id": "mind",
  3176. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3177. "onresize": function () { }
  3178. }, {
  3179. closecallback: function () { }
  3180. }, { "style": { "height": "36px" } }).form; //创建窗体
  3181. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3182. break;
  3183. case "doc":
  3184. // U.MD.D.I.isRoom();
  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": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3188. "id": "doc",
  3189. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3190. "onresize": function () { }
  3191. }, {
  3192. closecallback: function () { }
  3193. }, { "style": { "height": "36px" } }).form; //创建窗体
  3194. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3195. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3196. // })
  3197. _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); } }
  3198. break;
  3199. case "studentStudy":
  3200. _formdiv = new U.UF.UI.form(
  3201. "课程中心",
  3202. $$("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
  3203. "id": "studentStudy",
  3204. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3205. "onresize": function () { }
  3206. }, {
  3207. closecallback: function () { }
  3208. }, { "style": { "height": "36px" } }).form; //创建窗体
  3209. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3210. break;
  3211. case "train": //好友打开
  3212. _formdiv = new U.UF.UI.form(
  3213. "训练平台",
  3214. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3215. "id": "train",
  3216. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3217. "onresize": function () { }
  3218. }, {
  3219. closecallback: function () { }
  3220. }, { "style": { "height": "36px" } }).form; //创建窗体
  3221. _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); } }
  3222. break;
  3223. case "mindNetwork": //好友打开
  3224. _formdiv = new U.UF.UI.form(
  3225. "思维网格",
  3226. $$("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 }), {
  3227. "id": "mindNetwork",
  3228. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3229. "onresize": function () { }
  3230. }, {
  3231. closecallback: function () { }
  3232. }, { "style": { "height": "36px" } }).form; //创建窗体
  3233. _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); } }
  3234. break;
  3235. case "studentClassRoom": //好友打开
  3236. _formdiv = new U.UF.UI.form(
  3237. "实时课堂",
  3238. $$("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 }), {
  3239. "id": "studentClassRoom",
  3240. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3241. "onresize": function () { }
  3242. }, {
  3243. closecallback: function () { }
  3244. }, { "style": { "height": "36px" } }).form; //创建窗体
  3245. _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); } }
  3246. setTimeout(() => {
  3247. U.UF.F.windowZooming(_formdiv)
  3248. }, 0);
  3249. break;
  3250. }
  3251. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3252. switch (str) {
  3253. case "studnetProject": //好友打开
  3254. _formdiv = new U.UF.UI.form(
  3255. "我的项目",
  3256. $$("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 }), {
  3257. "id": "studnetProject",
  3258. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3259. "onresize": function () { }
  3260. }, {
  3261. closecallback: function () { }
  3262. }, { "style": { "height": "36px" } }).form; //创建窗体
  3263. _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); } }
  3264. break;
  3265. case "studentEvaluate": //好友打开
  3266. _formdiv = new U.UF.UI.form(
  3267. "我的评价",
  3268. $$("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 }), {
  3269. "id": "studentEvaluate",
  3270. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3271. "onresize": function () { }
  3272. }, {
  3273. closecallback: function () { }
  3274. }, { "style": { "height": "36px" } }).form; //创建窗体
  3275. _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); } }
  3276. break;
  3277. case "my":
  3278. _formdiv = new U.UF.UI.form(
  3279. "我的资料",
  3280. $$("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 }), {
  3281. "id": "my",
  3282. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3283. "onresize": function () { }
  3284. }, {
  3285. closecallback: function () { }
  3286. }, { "style": { "height": "36px" } }).form; //创建窗体
  3287. _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); } }
  3288. break;
  3289. case "program":
  3290. _formdiv = new U.UF.UI.form(
  3291. "编程平台",
  3292. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3293. "id": "program",
  3294. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3295. "onresize": function () { }
  3296. }, {
  3297. closecallback: function () { }
  3298. }, { "style": { "height": "36px" } }).form; //创建窗体
  3299. _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); } }
  3300. break;
  3301. case "library":
  3302. _formdiv = new U.UF.UI.form(
  3303. "素材库",
  3304. $$("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 }), {
  3305. "id": "library",
  3306. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3307. "onresize": function () { }
  3308. }, {
  3309. closecallback: function () { }
  3310. }, { "style": { "height": "36px" } }).form; //创建窗体
  3311. _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); } }
  3312. break;
  3313. case "whiteboard":
  3314. _formdiv = new U.UF.UI.form(
  3315. "电子白板",
  3316. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3317. "id": "whiteboard",
  3318. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3319. "onresize": function () { }
  3320. }, {
  3321. closecallback: function () { }
  3322. }, { "style": { "height": "36px" } }).form; //创建窗体
  3323. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3324. break;
  3325. case "investigation":
  3326. _formdiv = new U.UF.UI.form(
  3327. "问卷调查",
  3328. $$("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 }), {
  3329. "id": "investigation",
  3330. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3331. "onresize": function () { }
  3332. }, {
  3333. closecallback: function () { }
  3334. }, { "style": { "height": "36px" } }).form; //创建窗体
  3335. _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); } }
  3336. break;
  3337. case "note":
  3338. _formdiv = new U.UF.UI.form(
  3339. "便签分类",
  3340. $$("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 }), {
  3341. "id": "note",
  3342. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3343. "onresize": function () { }
  3344. }, {
  3345. closecallback: function () { }
  3346. }, { "style": { "height": "36px" } }).form; //创建窗体
  3347. _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); } }
  3348. break;
  3349. // case "score":
  3350. // _formdiv = new U.UF.UI.form(
  3351. // "量规评分",
  3352. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3353. // "id": "score",
  3354. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3355. // "onresize": function() {}
  3356. // }, {
  3357. // closecallback: function() {}
  3358. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3359. // _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); } }
  3360. // break;
  3361. case "mind":
  3362. _formdiv = new U.UF.UI.form(
  3363. "思维导图",
  3364. $$("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"
  3365. "id": "mind",
  3366. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3367. "onresize": function () { }
  3368. }, {
  3369. closecallback: function () { }
  3370. }, { "style": { "height": "36px" } }).form; //创建窗体
  3371. _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); } }
  3372. break;
  3373. case "doc":
  3374. // U.MD.D.I.isRoom();
  3375. _formdiv = new U.UF.UI.form(
  3376. "协同文档",
  3377. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3378. "id": "doc",
  3379. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3380. "onresize": function () { }
  3381. }, {
  3382. closecallback: function () { }
  3383. }, { "style": { "height": "36px" } }).form; //创建窗体
  3384. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3385. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3386. })
  3387. _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); } }
  3388. break;
  3389. case "train": //好友打开
  3390. _formdiv = new U.UF.UI.form(
  3391. "训练平台",
  3392. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3393. "id": "train",
  3394. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3395. "onresize": function () { }
  3396. }, {
  3397. closecallback: function () { }
  3398. }, { "style": { "height": "36px" } }).form; //创建窗体
  3399. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3400. break;
  3401. case "studentStudy":
  3402. _formdiv = new U.UF.UI.form(
  3403. "课程中心",
  3404. $$("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
  3405. "id": "studentStudy",
  3406. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3407. "onresize": function () { }
  3408. }, {
  3409. closecallback: function () { }
  3410. }, { "style": { "height": "36px" } }).form; //创建窗体
  3411. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3412. break;
  3413. case "mindNetwork": //好友打开
  3414. _formdiv = new U.UF.UI.form(
  3415. "思维网格",
  3416. $$("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 }), {
  3417. "id": "mindNetwork",
  3418. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3419. "onresize": function () { }
  3420. }, {
  3421. closecallback: function () { }
  3422. }, { "style": { "height": "36px" } }).form; //创建窗体
  3423. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3424. break;
  3425. case "studentClassRoom": //好友打开
  3426. _formdiv = new U.UF.UI.form(
  3427. "实时课堂",
  3428. $$("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 }), {
  3429. "id": "studentClassRoom",
  3430. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3431. "onresize": function () { }
  3432. }, {
  3433. closecallback: function () { }
  3434. }, { "style": { "height": "36px" } }).form; //创建窗体
  3435. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3436. setTimeout(() => {
  3437. U.UF.F.windowZooming(_formdiv)
  3438. }, 0);
  3439. break;
  3440. }
  3441. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3442. //选择应用处理
  3443. switch (str) {
  3444. case "project": //好友打开
  3445. _formdiv = new U.UF.UI.form(
  3446. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3447. $$("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 }), {
  3448. "id": "project",
  3449. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3450. "onresize": function () { }
  3451. }, {
  3452. closecallback: function () { }
  3453. }, { "style": { "height": "36px" } }).form; //创建窗体
  3454. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3455. break;
  3456. case "student":
  3457. _formdiv = new U.UF.UI.form(
  3458. "学生管理",
  3459. $$("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 }), {
  3460. "id": "student",
  3461. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3462. "onresize": function () { }
  3463. }, {
  3464. closecallback: function () { }
  3465. }, { "style": { "height": "36px" } }).form; //创建窗体
  3466. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3467. break;
  3468. case "evaluate":
  3469. _formdiv = new U.UF.UI.form(
  3470. "学生评价",
  3471. $$("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 }), {
  3472. "id": "evaluate",
  3473. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3474. "onresize": function () { }
  3475. }, {
  3476. closecallback: function () { }
  3477. }, { "style": { "height": "36px" } }).form; //创建窗体
  3478. _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); } }
  3479. break;
  3480. case "sys":
  3481. _formdiv = new U.UF.UI.form(
  3482. "目标管理",
  3483. $$("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 }), {
  3484. "id": "sys",
  3485. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3486. "onresize": function () { }
  3487. }, {
  3488. closecallback: function () { }
  3489. }, { "style": { "height": "36px" } }).form; //创建窗体
  3490. _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); } }
  3491. break;
  3492. case "courseDesign":
  3493. _formdiv = new U.UF.UI.form(
  3494. "项目设计",
  3495. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3496. "id": "courseDesign",
  3497. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3498. "onresize": function () { }
  3499. }, {
  3500. closecallback: function () { }
  3501. }, { "style": { "height": "36px" } }).form; //创建窗体
  3502. _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); } }
  3503. break;
  3504. case "program":
  3505. _formdiv = new U.UF.UI.form(
  3506. "编程平台",
  3507. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3508. "id": "program",
  3509. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3510. "onresize": function () { }
  3511. }, {
  3512. closecallback: function () { }
  3513. }, { "style": { "height": "36px" } }).form; //创建窗体
  3514. _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); } }
  3515. break;
  3516. case "class":
  3517. _formdiv = new U.UF.UI.form(
  3518. "班级管理",
  3519. $$("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 }), {
  3520. "id": "class",
  3521. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3522. "onresize": function () { }
  3523. }, {
  3524. closecallback: function () { }
  3525. }, { "style": { "height": "36px" } }).form; //创建窗体
  3526. _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); } }
  3527. break;
  3528. case "Grade":
  3529. _formdiv = new U.UF.UI.form(
  3530. "年级管理",
  3531. $$("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 }), {
  3532. "id": "Grade",
  3533. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3534. "onresize": function () { }
  3535. }, {
  3536. closecallback: function () { }
  3537. }, { "style": { "height": "36px" } }).form; //创建窗体
  3538. _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); } }
  3539. break;
  3540. case "teacherOffice":
  3541. _formdiv = new U.UF.UI.form(
  3542. "教研室",
  3543. $$("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 }), {
  3544. "id": "teacherOffice",
  3545. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3546. "onresize": function () { }
  3547. }, {
  3548. closecallback: function () { }
  3549. }, { "style": { "height": "36px" } }).form; //创建窗体
  3550. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacherOffice.png)" }, "name": "教研室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3551. break;
  3552. case "my":
  3553. _formdiv = new U.UF.UI.form(
  3554. "我的资料",
  3555. $$("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 }), {
  3556. "id": "my",
  3557. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3558. "onresize": function () { }
  3559. }, {
  3560. closecallback: function () { }
  3561. }, { "style": { "height": "36px" } }).form; //创建窗体
  3562. _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); } }
  3563. break;
  3564. case "notice":
  3565. _formdiv = new U.UF.UI.form(
  3566. "通知公告",
  3567. $$("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 }), {
  3568. "id": "notice",
  3569. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3570. "onresize": function () { }
  3571. }, {
  3572. closecallback: function () { }
  3573. }, { "style": { "height": "36px" } }).form; //创建窗体
  3574. _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); } }
  3575. break;
  3576. case "library":
  3577. _formdiv = new U.UF.UI.form(
  3578. "素材库",
  3579. $$("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 }), {
  3580. "id": "library",
  3581. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3582. "onresize": function () { }
  3583. }, {
  3584. closecallback: function () { }
  3585. }, { "style": { "height": "36px" } }).form; //创建窗体
  3586. _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); } }
  3587. break;
  3588. case "whiteboard":
  3589. _formdiv = new U.UF.UI.form(
  3590. "电子白板",
  3591. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3592. "id": "whiteboard",
  3593. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3594. "onresize": function () { }
  3595. }, {
  3596. closecallback: function () { }
  3597. }, { "style": { "height": "36px" } }).form; //创建窗体
  3598. _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); } }
  3599. break;
  3600. case "investigation":
  3601. _formdiv = new U.UF.UI.form(
  3602. "问卷调查",
  3603. $$("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 }), {
  3604. "id": "investigation",
  3605. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3606. "onresize": function () { }
  3607. }, {
  3608. closecallback: function () { }
  3609. }, { "style": { "height": "36px" } }).form; //创建窗体
  3610. _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); } }
  3611. break;
  3612. case "note":
  3613. _formdiv = new U.UF.UI.form(
  3614. "便签分类",
  3615. $$("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 }), {
  3616. "id": "note",
  3617. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3618. "onresize": function () { }
  3619. }, {
  3620. closecallback: function () { }
  3621. }, { "style": { "height": "36px" } }).form; //创建窗体
  3622. _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); } }
  3623. break;
  3624. // case "score":
  3625. // _formdiv = new U.UF.UI.form(
  3626. // "量规评分",
  3627. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3628. // "id": "score",
  3629. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3630. // "onresize": function() {}
  3631. // }, {
  3632. // closecallback: function() {}
  3633. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3634. // _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); } }
  3635. // break;
  3636. case "mind":
  3637. _formdiv = new U.UF.UI.form(
  3638. "思维导图",
  3639. $$("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"
  3640. "id": "mind",
  3641. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3642. "onresize": function () { }
  3643. }, {
  3644. closecallback: function () { }
  3645. }, { "style": { "height": "36px" } }).form; //创建窗体
  3646. _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); } }
  3647. break;
  3648. case "doc":
  3649. // U.MD.D.I.isRoom();
  3650. _formdiv = new U.UF.UI.form(
  3651. "协同文档",
  3652. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3653. "id": "doc",
  3654. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3655. "onresize": function () { }
  3656. }, {
  3657. closecallback: function () { }
  3658. }, { "style": { "height": "36px" } }).form; //创建窗体
  3659. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3660. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3661. })
  3662. _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); } }
  3663. break;
  3664. case "study":
  3665. _formdiv = new U.UF.UI.form(
  3666. "课程中心",
  3667. $$("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
  3668. "id": "study",
  3669. "style": { "width": "100%", "height": "100%", "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/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3675. break;
  3676. case "mindNetwork": //好友打开
  3677. _formdiv = new U.UF.UI.form(
  3678. "思维网格",
  3679. $$("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 }), {
  3680. "id": "mindNetwork",
  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/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3687. break;
  3688. case "train": //好友打开
  3689. _formdiv = new U.UF.UI.form(
  3690. "训练平台",
  3691. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3692. "id": "mindNetwork",
  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/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3699. break;
  3700. case "teacherClassRoom": //好友打开
  3701. _formdiv = new U.UF.UI.form(
  3702. "实时课堂",
  3703. $$("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 }), {
  3704. "id": "teacherClassRoom",
  3705. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3706. "onresize": function () { }
  3707. }, {
  3708. closecallback: function () { }
  3709. }, { "style": { "height": "36px" } }).form; //创建窗体
  3710. _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); } }
  3711. setTimeout(() => {
  3712. U.UF.F.windowZooming(_formdiv)
  3713. }, 0);
  3714. break;
  3715. }
  3716. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3717. switch (str) {
  3718. case "project": //好友打开
  3719. _formdiv = new U.UF.UI.form(
  3720. "课程管理",
  3721. $$("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 }), {
  3722. "id": "project",
  3723. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3724. "onresize": function () { }
  3725. }, {
  3726. closecallback: function () { }
  3727. }, { "style": { "height": "36px" } }).form; //创建窗体
  3728. _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); } }
  3729. break;
  3730. case "evaluate":
  3731. _formdiv = new U.UF.UI.form(
  3732. "学生评价",
  3733. $$("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 }), {
  3734. "id": "evaluate",
  3735. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3736. "onresize": function () { }
  3737. }, {
  3738. closecallback: function () { }
  3739. }, { "style": { "height": "36px" } }).form; //创建窗体
  3740. _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); } }
  3741. break;
  3742. case "notice":
  3743. _formdiv = new U.UF.UI.form(
  3744. "通知公告",
  3745. $$("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 }), {
  3746. "id": "notice",
  3747. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3748. "onresize": function () { }
  3749. }, {
  3750. closecallback: function () { }
  3751. }, { "style": { "height": "36px" } }).form; //创建窗体
  3752. _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); } }
  3753. break;
  3754. case "stuLibrary":
  3755. _formdiv = new U.UF.UI.form(
  3756. "学习资料",
  3757. $$("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 }), {
  3758. "id": "stuLibrary",
  3759. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3760. "onresize": function () { }
  3761. }, {
  3762. closecallback: function () { }
  3763. }, { "style": { "height": "36px" } }).form; //创建窗体
  3764. _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); } }
  3765. break;
  3766. case "program":
  3767. _formdiv = new U.UF.UI.form(
  3768. "编程平台",
  3769. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3770. "id": "program",
  3771. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3772. "onresize": function () { }
  3773. }, {
  3774. closecallback: function () { }
  3775. }, { "style": { "height": "36px" } }).form; //创建窗体
  3776. _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); } }
  3777. break;
  3778. case "whiteboard":
  3779. _formdiv = new U.UF.UI.form(
  3780. "电子白板",
  3781. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3782. "id": "whiteboard",
  3783. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3784. "onresize": function () { }
  3785. }, {
  3786. closecallback: function () { }
  3787. }, { "style": { "height": "36px" } }).form; //创建窗体
  3788. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3789. break;
  3790. case "investigation":
  3791. _formdiv = new U.UF.UI.form(
  3792. "问卷调查",
  3793. $$("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 }), {
  3794. "id": "investigation",
  3795. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3796. "onresize": function () { }
  3797. }, {
  3798. closecallback: function () { }
  3799. }, { "style": { "height": "36px" } }).form; //创建窗体
  3800. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3801. break;
  3802. case "mind":
  3803. _formdiv = new U.UF.UI.form(
  3804. "思维导图",
  3805. $$("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"
  3806. "id": "mind",
  3807. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3808. "onresize": function () { }
  3809. }, {
  3810. closecallback: function () { }
  3811. }, { "style": { "height": "36px" } }).form; //创建窗体
  3812. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3813. break;
  3814. case "doc":
  3815. // U.MD.D.I.isRoom();
  3816. _formdiv = new U.UF.UI.form(
  3817. "协同文档",
  3818. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3819. "id": "doc",
  3820. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3821. "onresize": function () { }
  3822. }, {
  3823. closecallback: function () { }
  3824. }, { "style": { "height": "36px" } }).form; //创建窗体
  3825. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3826. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3827. })
  3828. _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); } }
  3829. break;
  3830. case "study":
  3831. _formdiv = new U.UF.UI.form(
  3832. "课程中心",
  3833. $$("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
  3834. "id": "study",
  3835. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3836. "onresize": function () { }
  3837. }, {
  3838. closecallback: function () { }
  3839. }, { "style": { "height": "36px" } }).form; //创建窗体
  3840. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3841. break;
  3842. case "mindNetwork": //好友打开
  3843. _formdiv = new U.UF.UI.form(
  3844. "思维网格",
  3845. $$("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 }), {
  3846. "id": "mindNetwork",
  3847. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3848. "onresize": function () { }
  3849. }, {
  3850. closecallback: function () { }
  3851. }, { "style": { "height": "36px" } }).form; //创建窗体
  3852. _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); } }
  3853. break;
  3854. case "train": //好友打开
  3855. _formdiv = new U.UF.UI.form(
  3856. "训练平台",
  3857. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3858. "id": "train",
  3859. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3860. "onresize": function () { }
  3861. }, {
  3862. closecallback: function () { }
  3863. }, { "style": { "height": "36px" } }).form; //创建窗体
  3864. _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); } }
  3865. break;
  3866. case "sys":
  3867. _formdiv = new U.UF.UI.form(
  3868. "目标管理",
  3869. $$("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 }), {
  3870. "id": "sys",
  3871. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3872. "onresize": function () { }
  3873. }, {
  3874. closecallback: function () { }
  3875. }, { "style": { "height": "36px" } }).form; //创建窗体
  3876. _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); } }
  3877. break;
  3878. case "courseDesign":
  3879. _formdiv = new U.UF.UI.form(
  3880. "项目设计",
  3881. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3882. "id": "courseDesign",
  3883. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3884. "onresize": function () { }
  3885. }, {
  3886. closecallback: function () { }
  3887. }, { "style": { "height": "36px" } }).form; //创建窗体
  3888. _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); } }
  3889. break;
  3890. }
  3891. } else if (!_type) {
  3892. switch (str) {
  3893. case "my":
  3894. _formdiv = new U.UF.UI.form(
  3895. "我的资料",
  3896. $$("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 }), {
  3897. "id": "my",
  3898. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3899. "onresize": function () { }
  3900. }, {
  3901. closecallback: function () { }
  3902. }, { "style": { "height": "36px" } }).form; //创建窗体
  3903. _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); } }
  3904. break;
  3905. }
  3906. }
  3907. switch (str) {
  3908. // AIprogram2 AI体验 aihub.cocorobo.cn
  3909. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3910. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3911. case "formulaEdi": //公式编辑
  3912. _formdiv = new U.UF.UI.form(
  3913. "公式编辑",
  3914. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3915. "id": "formulaEdi",
  3916. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3917. "onresize": function () { }
  3918. }, {
  3919. closecallback: function () { }
  3920. }, { "style": { "height": "36px" } }).form; //创建窗体
  3921. _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); } }
  3922. break;
  3923. case "molStr": //分子结构
  3924. _formdiv = new U.UF.UI.form(
  3925. "分子结构",
  3926. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3927. "id": "molStr",
  3928. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3929. "onresize": function () { }
  3930. }, {
  3931. closecallback: function () { }
  3932. }, { "style": { "height": "36px" } }).form; //创建窗体
  3933. _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); } }
  3934. break;
  3935. case "timeAxis": //时间轴
  3936. _formdiv = new U.UF.UI.form(
  3937. "时间轴",
  3938. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3939. "id": "timeAxis",
  3940. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3941. "onresize": function () { }
  3942. }, {
  3943. closecallback: function () { }
  3944. }, { "style": { "height": "36px" } }).form; //创建窗体
  3945. _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); } }
  3946. break;
  3947. case "AIprogram2": //AI体验
  3948. _formdiv = new U.UF.UI.form(
  3949. "AI体验",
  3950. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3951. "id": "AIprogram2",
  3952. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3953. "onresize": function () { }
  3954. }, {
  3955. closecallback: function () { }
  3956. }, { "style": { "height": "36px" } }).form; //创建窗体
  3957. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI体验", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3958. break;
  3959. case "Pythonprogram": //python编程
  3960. _formdiv = new U.UF.UI.form(
  3961. "Python编程",
  3962. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3963. "id": "Pythonprogram",
  3964. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3965. "onresize": function () { }
  3966. }, {
  3967. closecallback: function () { }
  3968. }, { "style": { "height": "36px" } }).form; //创建窗体
  3969. _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); } }
  3970. break;
  3971. case "AIprogram": //ai编程
  3972. _formdiv = new U.UF.UI.form(
  3973. "AI编程平台",
  3974. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3975. "id": "AIprogram",
  3976. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3977. "onresize": function () { }
  3978. }, {
  3979. closecallback: function () { }
  3980. }, { "style": { "height": "36px" } }).form; //创建窗体
  3981. _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); } }
  3982. break;
  3983. case "CocoPi": //CocoPi
  3984. _formdiv = new U.UF.UI.form(
  3985. "CocoPi",
  3986. $$("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" }), {
  3987. "id": "CocoPi",
  3988. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3989. "onresize": function () { }
  3990. }, {
  3991. closecallback: function () { }
  3992. }, { "style": { "height": "36px" } }).form; //创建窗体
  3993. _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); } }
  3994. break;
  3995. case "Wood": //Wood
  3996. _formdiv = new U.UF.UI.form(
  3997. "海龟编程",
  3998. $$("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/" }), {
  3999. "id": "Wood",
  4000. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4001. "onresize": function () { }
  4002. }, {
  4003. closecallback: function () { }
  4004. }, { "style": { "height": "36px" } }).form; //创建窗体
  4005. _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); } }
  4006. break;
  4007. case "car": //模拟驾驶
  4008. _formdiv = new U.UF.UI.form(
  4009. "模拟驾驶",
  4010. $$("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/" }), {
  4011. "id": "car",
  4012. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4013. "onresize": function () { }
  4014. }, {
  4015. closecallback: function () { }
  4016. }, { "style": { "height": "36px" } }).form; //创建窗体
  4017. _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); } }
  4018. break;
  4019. case "lineSearch": //路径搜索
  4020. _formdiv = new U.UF.UI.form(
  4021. "路径搜索",
  4022. $$("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/" }), {
  4023. "id": "lineSearch",
  4024. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4025. "onresize": function () { }
  4026. }, {
  4027. closecallback: function () { }
  4028. }, { "style": { "height": "36px" } }).form; //创建窗体
  4029. _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); } }
  4030. break;
  4031. case "deepLearning": //深度学习
  4032. _formdiv = new U.UF.UI.form(
  4033. "深度学习",
  4034. $$("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/#" }), {
  4035. "id": "deepLearning",
  4036. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4037. "onresize": function () { }
  4038. }, {
  4039. closecallback: function () { }
  4040. }, { "style": { "height": "36px" } }).form; //创建窗体
  4041. _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); } }
  4042. break;
  4043. case "allHistory": //深度学习
  4044. _formdiv = new U.UF.UI.form(
  4045. "全历史",
  4046. $$("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/" }), {
  4047. "id": "allHistory",
  4048. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4049. "onresize": function () { }
  4050. }, {
  4051. closecallback: function () { }
  4052. }, { "style": { "height": "36px" } }).form; //创建窗体
  4053. _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); } }
  4054. break;
  4055. case "chatPDF": //ai编程
  4056. _formdiv = new U.UF.UI.form(
  4057. "chatPDF",
  4058. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4059. "id": "chatPDF",
  4060. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4061. "onresize": function () { }
  4062. }, {
  4063. closecallback: function () { }
  4064. }, { "style": { "height": "36px" } }).form; //创建窗体
  4065. _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); } }
  4066. break;
  4067. case "resources": //国家教育
  4068. _formdiv = new U.UF.UI.form(
  4069. "国家教育",
  4070. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4071. "id": "resources",
  4072. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4073. "onresize": function () { }
  4074. }, {
  4075. closecallback: function () { }
  4076. }, { "style": { "height": "36px" } }).form; //创建窗体
  4077. _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); } }
  4078. break;
  4079. case "codeEdit": //源码编辑
  4080. _formdiv = new U.UF.UI.form(
  4081. "源码编辑",
  4082. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4083. "id": "codeEdit",
  4084. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4085. "onresize": function () { }
  4086. }, {
  4087. closecallback: function () { }
  4088. }, { "style": { "height": "36px" } }).form; //创建窗体
  4089. _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); } }
  4090. break; //
  4091. case "MindMap": //MindMap
  4092. _formdiv = new U.UF.UI.form(
  4093. "MindMap",
  4094. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4095. "id": "MindMap",
  4096. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4097. "onresize": function () { }
  4098. }, {
  4099. closecallback: function () { }
  4100. }, { "style": { "height": "36px" } }).form; //创建窗体
  4101. _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); } }
  4102. break;
  4103. case "netWorkPanel": //netWorkPanel
  4104. _formdiv = new U.UF.UI.form(
  4105. "netWorkPanel",
  4106. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4107. "id": "netWorkPanel",
  4108. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4109. "onresize": function () { }
  4110. }, {
  4111. closecallback: function () { }
  4112. }, { "style": { "height": "36px" } }).form; //创建窗体
  4113. _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); } }
  4114. break;
  4115. case "GeoGebra": //GeoGebra
  4116. _formdiv = new U.UF.UI.form(
  4117. "GeoGebra",
  4118. $$("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" }), {
  4119. "id": "GeoGebra",
  4120. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4121. "onresize": function () { }
  4122. }, {
  4123. closecallback: function () { }
  4124. }, { "style": { "height": "36px" } }).form; //创建窗体
  4125. _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); } }
  4126. break;
  4127. case "translation": //翻译
  4128. _formdiv = new U.UF.UI.form(
  4129. "翻译",
  4130. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4131. "id": "translation",
  4132. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4133. "onresize": function () { }
  4134. }, {
  4135. closecallback: function () { }
  4136. }, { "style": { "height": "36px" } }).form; //创建窗体
  4137. _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); } }
  4138. break;
  4139. case "mohe": //魔盒
  4140. _formdiv = new U.UF.UI.form(
  4141. "魔盒识字",
  4142. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4143. "id": "mohe",
  4144. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4145. "onresize": function () { }
  4146. }, {
  4147. closecallback: function () { }
  4148. }, { "style": { "height": "36px" } }).form; //创建窗体
  4149. _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); } }
  4150. break;
  4151. case "24game": //24点
  4152. _formdiv = new U.UF.UI.form(
  4153. "24点",
  4154. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4155. "id": "24game",
  4156. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4157. "onresize": function () { }
  4158. }, {
  4159. closecallback: function () { }
  4160. }, { "style": { "height": "36px" } }).form; //创建窗体
  4161. _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); } }
  4162. break;
  4163. case "case":
  4164. _formdiv = new U.UF.UI.form(
  4165. "课程进展",
  4166. $$("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 }), {
  4167. "id": "case",
  4168. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4169. "onresize": function () { }
  4170. }, {
  4171. closecallback: function () { }
  4172. }, { "style": { "height": "36px" } }).form; //创建窗体
  4173. _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); } }
  4174. break;
  4175. case "snf":
  4176. _formdiv = new U.UF.UI.form(
  4177. "赛诺梵",
  4178. $$("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" }), {
  4179. "id": "snf",
  4180. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4181. "onresize": function () { }
  4182. }, {
  4183. closecallback: function () { }
  4184. }, { "style": { "height": "36px" } }).form; //创建窗体
  4185. _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); } }
  4186. break;
  4187. case "hanFamily":
  4188. _formdiv = new U.UF.UI.form(
  4189. "汉字家族",
  4190. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4191. "id": "hanFamily",
  4192. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4193. "onresize": function () { }
  4194. }, {
  4195. closecallback: function () { }
  4196. }, { "style": { "height": "36px" } }).form; //创建窗体
  4197. _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); } }
  4198. break;
  4199. case "hanClassics":
  4200. _formdiv = new U.UF.UI.form(
  4201. "国学经典",
  4202. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4203. "id": "hanClassics",
  4204. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4205. "onresize": function () { }
  4206. }, {
  4207. closecallback: function () { }
  4208. }, { "style": { "height": "36px" } }).form; //创建窗体
  4209. _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); } }
  4210. break;
  4211. case "hanTraining":
  4212. _formdiv = new U.UF.UI.form(
  4213. "笔画训练",
  4214. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4215. "id": "hanTraining",
  4216. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4217. "onresize": function () { }
  4218. }, {
  4219. closecallback: function () { }
  4220. }, { "style": { "height": "36px" } }).form; //创建窗体
  4221. _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); } }
  4222. break;
  4223. case "hanClass":
  4224. _formdiv = new U.UF.UI.form(
  4225. "书法课堂",
  4226. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4227. "id": "hanClass",
  4228. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4229. "onresize": function () { }
  4230. }, {
  4231. closecallback: function () { }
  4232. }, { "style": { "height": "36px" } }).form; //创建窗体
  4233. _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); } }
  4234. break;
  4235. case "han":
  4236. _formdiv = new U.UF.UI.form(
  4237. "汉字宫",
  4238. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4239. "id": "han",
  4240. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4241. "onresize": function () { }
  4242. }, {
  4243. closecallback: function () { }
  4244. }, { "style": { "height": "36px" } }).form; //创建窗体
  4245. _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); } }
  4246. break;
  4247. case "projectGM": //课程管理
  4248. _formdiv = new U.UF.UI.form(
  4249. "课程管理",
  4250. $$("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 }), {
  4251. "id": "projectGM",
  4252. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4253. "onresize": function () { }
  4254. }, {
  4255. closecallback: function () { }
  4256. }, { "style": { "height": "36px" } }).form; //创建窗体
  4257. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/courseMange.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4258. break;
  4259. case "studyGM": //课程中心
  4260. _formdiv = new U.UF.UI.form(
  4261. "课程中心",
  4262. $$("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
  4263. "id": "study",
  4264. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4265. "onresize": function () { }
  4266. }, {
  4267. closecallback: function () { }
  4268. }, { "style": { "height": "36px" } }).form; //创建窗体
  4269. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4270. break;
  4271. // studentGM
  4272. case "studentGM": //学生管理
  4273. _formdiv = new U.UF.UI.form(
  4274. "学生管理",
  4275. $$("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 }), {
  4276. "id": "studentGM",
  4277. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4278. "onresize": function () { }
  4279. }, {
  4280. closecallback: function () { }
  4281. }, { "style": { "height": "36px" } }).form; //创建窗体
  4282. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4283. break;
  4284. case "evaluateGM": //学生评价
  4285. _formdiv = new U.UF.UI.form(
  4286. "学生评价",
  4287. $$("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 }), {
  4288. "id": "evaluateGM",
  4289. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4290. "onresize": function () { }
  4291. }, {
  4292. closecallback: function () { }
  4293. }, { "style": { "height": "36px" } }).form; //创建窗体
  4294. _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); } }
  4295. break;
  4296. // classGM
  4297. case "classGM": //班级管理
  4298. _formdiv = new U.UF.UI.form(
  4299. "班级管理",
  4300. $$("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 }), {
  4301. "id": "classGM",
  4302. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4303. "onresize": function () { }
  4304. }, {
  4305. closecallback: function () { }
  4306. }, { "style": { "height": "36px" } }).form; //创建窗体
  4307. _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); } }
  4308. break;
  4309. // dataGM
  4310. case "dataGM":
  4311. _formdiv = new U.UF.UI.form(
  4312. "我的资料",
  4313. $$("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 }), {
  4314. "id": "dataGM",
  4315. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4316. "onresize": function () { }
  4317. }, {
  4318. closecallback: function () { }
  4319. }, { "style": { "height": "36px" } }).form; //创建窗体
  4320. _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); } }
  4321. break;
  4322. // caseGM
  4323. case "caseGM": //课程进展
  4324. _formdiv = new U.UF.UI.form(
  4325. "课程进展",
  4326. $$("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 }), {
  4327. "id": "caseGM",
  4328. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4329. "onresize": function () { }
  4330. }, {
  4331. closecallback: function () { }
  4332. }, { "style": { "height": "36px" } }).form; //创建窗体
  4333. _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); } }
  4334. break;
  4335. // meterialGM
  4336. case "meterialGM": //素材库
  4337. _formdiv = new U.UF.UI.form(
  4338. "素材库",
  4339. $$("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 }), {
  4340. "id": "meterialGM",
  4341. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4342. "onresize": function () { }
  4343. }, {
  4344. closecallback: function () { }
  4345. }, { "style": { "height": "36px" } }).form; //创建窗体
  4346. _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); } }
  4347. break;
  4348. // evaluateSGM
  4349. case "evaluateSGM": //我的评价
  4350. _formdiv = new U.UF.UI.form(
  4351. "我的评价",
  4352. $$("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 }), {
  4353. "id": "evaluateSGM",
  4354. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4355. "onresize": function () { }
  4356. }, {
  4357. closecallback: function () { }
  4358. }, { "style": { "height": "36px" } }).form; //创建窗体
  4359. _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); } }
  4360. break;
  4361. case "jupyter": //jupyter
  4362. _formdiv = new U.UF.UI.form(
  4363. "jupyter",
  4364. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4365. "id": "jupyter",
  4366. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4367. "onresize": function () { }
  4368. }, {
  4369. closecallback: function () { }
  4370. }, { "style": { "height": "36px" } }).form; //创建窗体
  4371. _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); } }
  4372. break;
  4373. case "number": //数字实验室
  4374. _formdiv = new U.UF.UI.form(
  4375. "数字实验室",
  4376. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4377. "id": "number",
  4378. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4379. "onresize": function () { }
  4380. }, {
  4381. closecallback: function () { }
  4382. }, { "style": { "height": "36px" } }).form; //创建窗体
  4383. _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); } }
  4384. break;
  4385. case "studentCourse": //项目管理 学生
  4386. _formdiv = new U.UF.UI.form(
  4387. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4388. $$("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 }), {
  4389. "id": "studentCourse",
  4390. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4391. "onresize": function () { }
  4392. }, {
  4393. closecallback: function () { }
  4394. }, { "style": { "height": "36px" } }).form; //创建窗体
  4395. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4396. break;
  4397. case "studentCourseS": //项目管理 老师
  4398. _formdiv = new U.UF.UI.form(
  4399. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4400. $$("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 }), {
  4401. "id": "studentCourseS",
  4402. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4403. "onresize": function () { }
  4404. }, {
  4405. closecallback: function () { }
  4406. }, { "style": { "height": "36px" } }).form; //创建窗体
  4407. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4408. break;
  4409. case "studentIndex": //项目中心
  4410. _formdiv = new U.UF.UI.form(
  4411. "项目中心",
  4412. $$("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 }), {
  4413. "id": "studentIndex",
  4414. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4415. "onresize": function () { }
  4416. }, {
  4417. closecallback: function () { }
  4418. }, { "style": { "height": "36px" } }).form; //创建窗体
  4419. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentIndex.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4420. break;
  4421. case "CaseDesignS":
  4422. _formdiv = new U.UF.UI.form(
  4423. "项目进展",
  4424. $$("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 }), {
  4425. "id": "case",
  4426. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4427. "onresize": function () { }
  4428. }, {
  4429. closecallback: function () { }
  4430. }, { "style": { "height": "36px" } }).form; //创建窗体
  4431. _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); } }
  4432. break;
  4433. case "tcStudent": //腾讯学生管理
  4434. _formdiv = new U.UF.UI.form(
  4435. "学生管理",
  4436. $$("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 }), {
  4437. "id": "tcStudent",
  4438. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4439. "onresize": function () { }
  4440. }, {
  4441. closecallback: function () { }
  4442. }, { "style": { "height": "36px" } }).form; //创建窗体
  4443. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4444. break;
  4445. case "tcSchool": //腾讯学校管理
  4446. _formdiv = new U.UF.UI.form(
  4447. "学校管理",
  4448. $$("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 }), {
  4449. "id": "tcSchool",
  4450. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4451. "onresize": function () { }
  4452. }, {
  4453. closecallback: function () { }
  4454. }, { "style": { "height": "36px" } }).form; //创建窗体
  4455. _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); } }
  4456. break;
  4457. case "tcTeacher": //腾讯学校管理
  4458. _formdiv = new U.UF.UI.form(
  4459. "教师管理",
  4460. $$("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 }), {
  4461. "id": "tcTeacher",
  4462. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4463. "onresize": function () { }
  4464. }, {
  4465. closecallback: function () { }
  4466. }, { "style": { "height": "36px" } }).form; //创建窗体
  4467. _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); } }
  4468. break;
  4469. case "tcData": //腾讯我的资料
  4470. _formdiv = new U.UF.UI.form(
  4471. "我的资料",
  4472. $$("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 }), {
  4473. "id": "tcData",
  4474. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4475. "onresize": function () { }
  4476. }, {
  4477. closecallback: function () { }
  4478. }, { "style": { "height": "36px" } }).form; //创建窗体
  4479. _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); } }
  4480. break;
  4481. case "tcNotice": //腾讯消息通知
  4482. _formdiv = new U.UF.UI.form(
  4483. "消息通知",
  4484. $$("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 }), {
  4485. "id": "tcNotice",
  4486. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4487. "onresize": function () { }
  4488. }, {
  4489. closecallback: function () { }
  4490. }, { "style": { "height": "36px" } }).form; //创建窗体
  4491. _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); } }
  4492. break;
  4493. case "myReport": //好友打开
  4494. _formdiv = new U.UF.UI.form(
  4495. "我的评价",
  4496. $$("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 }), {
  4497. "id": "myReport",
  4498. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4499. "onresize": function () { }
  4500. }, {
  4501. closecallback: function () { }
  4502. }, { "style": { "height": "36px" } }).form; //创建窗体
  4503. _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); } }
  4504. break;
  4505. case "learnAna": //好友打开
  4506. _formdiv = new U.UF.UI.form(
  4507. "学习分析",
  4508. $$("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 }), {
  4509. "id": "learnAna",
  4510. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4511. "onresize": function () { }
  4512. }, {
  4513. closecallback: function () { }
  4514. }, { "style": { "height": "36px" } }).form; //创建窗体
  4515. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/learnAna.png)" }, "name": "学习分析", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4516. break;
  4517. case "AIChat": //AI共创
  4518. _formdiv = new U.UF.UI.form(
  4519. "AI共创",
  4520. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4521. "id": "AIChat",
  4522. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4523. "onresize": function () { }
  4524. }, {
  4525. istop: true,
  4526. closecallback: function () { $("#aichat_icon").remove(); },
  4527. narrowcallback: function () {
  4528. if (!$("#aichat_icon")[0]) {
  4529. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4530. }
  4531. },
  4532. }, { "style": { "height": "36px" } }).form; //创建窗体
  4533. _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); } }
  4534. break;
  4535. case "ainew": //AI共创
  4536. _formdiv = new U.UF.UI.form(
  4537. "AI协同",
  4538. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4539. "id": "ainew",
  4540. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4541. "onresize": function () { }
  4542. }, {
  4543. closecallback: function () { }
  4544. }, { "style": { "height": "36px" } }).form; //创建窗体
  4545. _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); } }
  4546. break;
  4547. case "gpt4": //gpt4
  4548. _formdiv = new U.UF.UI.form(
  4549. "gpt4 turbo",
  4550. $$("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.cn/gpt4/" }), {
  4551. "id": "ainew",
  4552. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4553. "onresize": function () { }
  4554. }, {
  4555. closecallback: function () { }
  4556. }, { "style": { "height": "36px" } }).form; //创建窗体
  4557. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gpt4.png)" }, "name": "gpt4 turbo", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4558. break;
  4559. case "futureClass": //AI共创
  4560. _formdiv = new U.UF.UI.form(
  4561. "协同建构",
  4562. $$("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://beta.cscl.cocorobo.cn
  4563. "id": "synergyCourse",
  4564. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4565. "onresize": function () { }
  4566. }, {
  4567. closecallback: function () {
  4568. $("iframe", _formdiv)[0].contentWindow.loginout();
  4569. }
  4570. }, { "style": { "height": "36px" } }).form; //创建窗体
  4571. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/futureClass.png)" }, "name": "协同建构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4572. break;
  4573. case "aiagent": //ai agent
  4574. _formdiv = new U.UF.UI.form(
  4575. "AI Agent",
  4576. $$("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" }), {
  4577. "id": "AIAgent",
  4578. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4579. "onresize": function () { }
  4580. }, {
  4581. closecallback: function () { }
  4582. }, { "style": { "height": "36px" } }).form; //创建窗体
  4583. _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); } }
  4584. break;
  4585. case "dataBoard": //数据看板
  4586. _formdiv = new U.UF.UI.form(
  4587. "数据看板",
  4588. $$("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 }), {
  4589. "id": "dataBoard",
  4590. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4591. "onresize": function () { }
  4592. }, {
  4593. closecallback: function () { }
  4594. }, { "style": { "height": "36px" } }).form; //创建窗体
  4595. _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); } }
  4596. break;
  4597. case "dataBoardSies": //数据融合
  4598. _formdiv = new U.UF.UI.form(
  4599. "数据融合",
  4600. $$("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 }), {
  4601. "id": "dataBoardSies",
  4602. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4603. "onresize": function () { }
  4604. }, {
  4605. closecallback: function () { }
  4606. }, { "style": { "height": "36px" } }).form; //创建窗体
  4607. _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); } }
  4608. break;
  4609. case "dataBoardNew": //数据看板
  4610. _formdiv = new U.UF.UI.form(
  4611. "综合看板",
  4612. $$("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 }), {
  4613. "id": "dataBoardNew",
  4614. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4615. "onresize": function () { }
  4616. }, {
  4617. closecallback: function () { }
  4618. }, { "style": { "height": "36px" } }).form; //创建窗体
  4619. _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); } }
  4620. break;
  4621. case "AIAnalyse": //AI共创
  4622. _formdiv = new U.UF.UI.form(
  4623. "AI分析",
  4624. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4625. "id": "AIAnalyse",
  4626. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4627. "onresize": function () { }
  4628. }, {
  4629. closecallback: function () { }
  4630. }, { "style": { "height": "36px" } }).form; //创建窗体
  4631. _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); } }
  4632. break;
  4633. case "studioCourse": //AI共创
  4634. _formdiv = new U.UF.UI.form(
  4635. "工作管理",
  4636. $$("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 }), {
  4637. "id": "studioCourse",
  4638. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4639. "onresize": function () { }
  4640. }, {
  4641. closecallback: function () { }
  4642. }, { "style": { "height": "36px" } }).form; //创建窗体
  4643. _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); } }
  4644. break;
  4645. case "studioIndex": //AI共创
  4646. _formdiv = new U.UF.UI.form(
  4647. "工作中心",
  4648. $$("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 }), {
  4649. "id": "studioIndex",
  4650. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4651. "onresize": function () { }
  4652. }, {
  4653. closecallback: function () { }
  4654. }, { "style": { "height": "36px" } }).form; //创建窗体
  4655. _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); } }
  4656. break;
  4657. case "source":
  4658. _formdiv = new U.UF.UI.form(
  4659. "教学资源",
  4660. $$("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 }), {
  4661. "id": "source",
  4662. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4663. "onresize": function () { }
  4664. }, {
  4665. closecallback: function () { }
  4666. }, { "style": { "height": "36px" } }).form; //创建窗体
  4667. _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); } }
  4668. break;
  4669. case "testTeacher":
  4670. _formdiv = new U.UF.UI.form(
  4671. "评测管理",
  4672. $$("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 }), {
  4673. "id": "testTeacher",
  4674. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4675. "onresize": function () { }
  4676. }, {
  4677. closecallback: function () { }
  4678. }, { "style": { "height": "36px" } }).form; //创建窗体
  4679. _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); } }
  4680. break;
  4681. case "testStudent":
  4682. _formdiv = new U.UF.UI.form(
  4683. "评测中心",
  4684. $$("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 }), {
  4685. "id": "testStudent",
  4686. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4687. "onresize": function () { }
  4688. }, {
  4689. closecallback: function () { }
  4690. }, { "style": { "height": "36px" } }).form; //创建窗体
  4691. _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); } }
  4692. break;
  4693. }
  4694. //U.MD.D.I.openClick(str);
  4695. //如果有任务栏信息
  4696. if (_taskbar) {
  4697. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4698. }
  4699. }
  4700. // U.MD.D.I.openClick = function(str){
  4701. // var click = '';
  4702. // switch(str){
  4703. // case 'friend':
  4704. // click = '我的好友';
  4705. // break;
  4706. // case 'domain':
  4707. // click = '域名管理';
  4708. // break;
  4709. // case 'disk':
  4710. // click = '我的云盘';
  4711. // break;
  4712. // case 'word':
  4713. // click = 'Word';
  4714. // break;
  4715. // case 'excel':
  4716. // click = 'Execl';
  4717. // break;
  4718. // case 'txt':
  4719. // click = '文本文件';
  4720. // break;
  4721. // case 'lookupFriend':
  4722. // click = '查找好友';
  4723. // break;
  4724. // case 'ftp':
  4725. // click = 'FTP';
  4726. // break;
  4727. // case 'group':
  4728. // click = '群组';
  4729. // break;
  4730. // case 'set':
  4731. // click = '我的设置';
  4732. // break;
  4733. // case 'systemSet':
  4734. // click = '系统设置';
  4735. // break;
  4736. // case 'boomYun':
  4737. // click = '互联办公';
  4738. // break;
  4739. // case 'xz':
  4740. // click = '云端下载';
  4741. // break;
  4742. // case 'client':
  4743. // click = '有思浏览器';
  4744. // break;
  4745. // case 'backEndProgramming':
  4746. // click = '在线后台编程';
  4747. // break;
  4748. // case 'frontEndProgramming':
  4749. // click = '在线前端编程';
  4750. // break;
  4751. // default: break;
  4752. // }
  4753. // if(U.MD.D.I.Ip && click){
  4754. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4755. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4756. // })
  4757. // }
  4758. // }
  4759. /**
  4760. *函数作用:ajax简易函数,使用post格式
  4761. *@param url {data} 后台地址
  4762. *@param data {data} 参数json
  4763. *@param fn {data} 回调函数
  4764. *
  4765. */
  4766. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4767. // var xhr = new XMLHttpRequest();
  4768. // xhr.open("GET",url,true);
  4769. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4770. // xhr.onreadystatechange = function(){
  4771. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4772. // fn.call(this,xhr.responseText);
  4773. // }
  4774. // };
  4775. // xhr.send();
  4776. // }
  4777. /*判断是否是内网IP*/
  4778. // U.MD.D.I.isInnerIPFn = function(str){
  4779. // var curPageUrl = str;
  4780. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4781. // curPageUrl =curPageUrl.replace(reg1,'');
  4782. // // console.log('curPageUrl-1 '+curPageUrl);
  4783. // var reg2 = /\:+/g;//替换冒号为一点
  4784. // curPageUrl =curPageUrl.replace(reg2,'.');
  4785. // // console.log('curPageUrl-2 '+curPageUrl);
  4786. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4787. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4788. // if(curPageUrl[2] != '16'){
  4789. // return ipAddress;
  4790. // }else{
  4791. // return false;
  4792. // }
  4793. // }
  4794. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4795. // //compatibility for firefox and chrome
  4796. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4797. // var pc = new myPeerConnection({
  4798. // iceServers: []
  4799. // }),
  4800. // noop = function() {},
  4801. // localIPs = {},
  4802. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4803. // key;
  4804. // function iterateIP(ip) {
  4805. // if (!localIPs[ip]) onNewIP(ip);
  4806. // localIPs[ip] = true;
  4807. // }
  4808. // //create a bogus data channel
  4809. // pc.createDataChannel("");
  4810. // // create offer and set local description
  4811. // pc.createOffer().then(function(sdp) {
  4812. // sdp.sdp.split('\n').forEach(function(line) {
  4813. // if (line.indexOf('candidate') < 0) return;
  4814. // line.match(ipRegex).forEach(iterateIP);
  4815. // });
  4816. // pc.setLocalDescription(sdp, noop, noop);
  4817. // }).catch(function(reason) {
  4818. // // An error occurred, so handle the failure to connect
  4819. // });
  4820. // //sten for candidate events
  4821. // pc.onicecandidate = function(ice) {
  4822. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4823. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4824. // };
  4825. // }
  4826. // U.MD.D.I.getUserIpBool = function(callback){
  4827. // U.MD.D.I.getUserIP(function(ip){
  4828. // alert("Got IP! :" + ip);
  4829. // });
  4830. //}
  4831. //#endregion
  4832. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4833. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4834. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4835. _userinfo = US.userInfo, //登录用户信息
  4836. _userid = US.userInfo.userid //登录用户id
  4837. let _iframe;
  4838. let _cid = cid,
  4839. _stage = stage,
  4840. _task = task,
  4841. _tool = tool;
  4842. var _jie = $$("div", {
  4843. "style": {
  4844. "position": "absolute",
  4845. "bottom": "50px",
  4846. "right": "50px",
  4847. "zIndex": "9999",
  4848. "backgroundColor": "#2268bc",
  4849. "color": "#fff",
  4850. "padding": "12px 20px",
  4851. "cursor": "pointer",
  4852. "borderRadius": "4px",
  4853. },
  4854. "innerHTML": "提交作业"
  4855. })
  4856. let aTool = ''
  4857. let _loading = document.createElement('div')
  4858. _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;"
  4859. // _loading.id = "";
  4860. let _lchild = document.createElement('div')
  4861. let _limg = document.createElement('img')
  4862. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4863. _limg.style = "width: 26px;margin-right: 10px;"
  4864. _lchild.appendChild(_limg)
  4865. let _lspan = document.createElement('span')
  4866. _lspan.innerHTML = "上传中..."
  4867. _lchild.appendChild(_lspan)
  4868. _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%);"
  4869. _loading.appendChild(_lchild)
  4870. var _box = $$('div', {
  4871. "style": {
  4872. "position": "relative",
  4873. "width": "100%",
  4874. "height": "100%",
  4875. },
  4876. })
  4877. _box.appendChild(_loading)
  4878. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4879. switch (str) {
  4880. case "whiteboard":
  4881. aTool = 1;
  4882. _iframe = $$("iframe", {
  4883. "frameborder": "no",
  4884. "border": "0",
  4885. "scrolling ": "no",
  4886. "style": {
  4887. "cssText": "border:0;width:100%;height:100%"
  4888. },
  4889. "src": "https://iwb.cocorobo.cn/"
  4890. })
  4891. _box.appendChild(_iframe);
  4892. _box.appendChild(_jie);
  4893. _formdiv = new U.UF.UI.form(
  4894. "电子白板",
  4895. _box, {
  4896. "id": "whiteboard" + cid + stage + task + tool,
  4897. "style": {
  4898. "width": "90%",
  4899. "height": "90%",
  4900. "overflow": 'hidden'
  4901. },
  4902. "onresize": function () { }
  4903. }, {
  4904. closecallback: function () { }
  4905. }, {
  4906. "style": {
  4907. "height": "36px"
  4908. }
  4909. }).form; //创建窗体
  4910. _taskbar = {
  4911. "id": str + _formdiv.id,
  4912. "style": {
  4913. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4914. },
  4915. "name": "电子白板",
  4916. "forms": _formdiv,
  4917. "click": function () {
  4918. U.MD.D.I.openApplication(str, obj, info);
  4919. }
  4920. }
  4921. break;
  4922. case "mind":
  4923. aTool = 3;
  4924. _iframe = $$("iframe", {
  4925. "frameborder": "no",
  4926. "border": "0",
  4927. "scrolling ": "no",
  4928. "style": {
  4929. "cssText": "border:0;width:100%;height:100%"
  4930. },
  4931. "src": "/kityminder-editor/dist/index.html"
  4932. })
  4933. _box.appendChild(_iframe);
  4934. _box.appendChild(_jie);
  4935. _formdiv = new U.UF.UI.form(
  4936. "思维导图",
  4937. _box, { //"/jsmind/example/demo.html"
  4938. "id": "mind" + cid + stage + task + tool,
  4939. "style": {
  4940. "width": "90%",
  4941. "height": "90%",
  4942. "overflow": 'hidden'
  4943. },
  4944. "onresize": function () { }
  4945. }, {
  4946. closecallback: function () { }
  4947. }, {
  4948. "style": {
  4949. "height": "36px"
  4950. }
  4951. }).form; //创建窗体
  4952. _taskbar = {
  4953. "id": str + _formdiv.id,
  4954. "style": {
  4955. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4956. },
  4957. "name": "思维导图",
  4958. "forms": _formdiv,
  4959. "click": function () {
  4960. U.MD.D.I.openApplication(str, obj, info);
  4961. }
  4962. }
  4963. break;
  4964. case "MindMap":
  4965. aTool = 3;
  4966. _iframe = $$("iframe", {
  4967. "frameborder": "no",
  4968. "border": "0",
  4969. "scrolling ": "no",
  4970. "style": {
  4971. "cssText": "border:0;width:100%;height:100%"
  4972. },
  4973. "src": "//cloud.cocorobo.cn/mind/"
  4974. })
  4975. _box.appendChild(_iframe);
  4976. _box.appendChild(_jie);
  4977. _formdiv = new U.UF.UI.form(
  4978. "思维导图",
  4979. _box, { //"/jsmind/example/demo.html"
  4980. "id": "mind" + cid + stage + task + tool,
  4981. "style": {
  4982. "width": "90%",
  4983. "height": "90%",
  4984. "overflow": 'hidden'
  4985. },
  4986. "onresize": function () { }
  4987. }, {
  4988. closecallback: function () { }
  4989. }, {
  4990. "style": {
  4991. "height": "36px"
  4992. }
  4993. }).form; //创建窗体
  4994. _taskbar = {
  4995. "id": str + _formdiv.id,
  4996. "style": {
  4997. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4998. },
  4999. "name": "思维导图",
  5000. "forms": _formdiv,
  5001. "click": function () {
  5002. U.MD.D.I.openApplication(str, obj, info);
  5003. }
  5004. }
  5005. break;
  5006. case "doc":
  5007. aTool = 6;
  5008. _iframe = $$("iframe", {
  5009. "frameborder": "no",
  5010. "border": "0",
  5011. "scrolling ": "no",
  5012. "style": {
  5013. "cssText": "border:0;width:100%;height:100%"
  5014. },
  5015. "src": "/Office/Word/WordEditArea.htm"
  5016. })
  5017. _box.appendChild(_iframe);
  5018. _box.appendChild(_jie);
  5019. _formdiv = new U.UF.UI.form(
  5020. "协同文档",
  5021. _box, {
  5022. "id": "doc" + cid + stage + task + tool,
  5023. "style": {
  5024. "width": "90%",
  5025. "height": "90%",
  5026. "overflow": 'hidden'
  5027. },
  5028. "onresize": function () { }
  5029. }, {
  5030. closecallback: function () { }
  5031. }, {
  5032. "style": {
  5033. "height": "36px"
  5034. }
  5035. }).form; //创建窗体
  5036. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5037. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5038. })
  5039. _taskbar = {
  5040. "id": str + _formdiv.id,
  5041. "style": {
  5042. "backgroundImage": "url(/img/icon/doc.png)"
  5043. },
  5044. "name": "协同文档",
  5045. "forms": _formdiv,
  5046. "click": function () {
  5047. U.MD.D.I.openApplication(str, obj, info);
  5048. }
  5049. }
  5050. break;
  5051. case "mindNetwork": //好友打开
  5052. aTool = 7;
  5053. _iframe = $$("iframe", {
  5054. "webkitallowfullscreen": "",
  5055. "mozallowfullscreen": "",
  5056. "allowfullscreen": "",
  5057. "frameborder": "no",
  5058. "border": "0",
  5059. "scrolling ": "no",
  5060. "style": {
  5061. "cssText": "border:0; width:100%; height:100%;"
  5062. },
  5063. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5064. })
  5065. _box.appendChild(_iframe);
  5066. _box.appendChild(_jie);
  5067. _formdiv = new U.UF.UI.form(
  5068. "思维网格",
  5069. _box, {
  5070. "id": "mindNetwork" + cid + stage + task + tool,
  5071. "style": {
  5072. "width": "90%",
  5073. "height": "90%",
  5074. "overflow": 'hidden'
  5075. },
  5076. "onresize": function () { }
  5077. }, {
  5078. closecallback: function () { }
  5079. }, {
  5080. "style": {
  5081. "height": "36px"
  5082. }
  5083. }).form; //创建窗体
  5084. _taskbar = {
  5085. "id": str + _formdiv.id,
  5086. "style": {
  5087. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5088. },
  5089. "name": "思维网格",
  5090. "forms": _formdiv,
  5091. "click": function () {
  5092. U.MD.D.I.openApplication(str, obj, info);
  5093. }
  5094. }
  5095. break;
  5096. case "courseDesign":
  5097. _iframe = $$("iframe", {
  5098. "webkitallowfullscreen": "",
  5099. "mozallowfullscreen": "",
  5100. "allowfullscreen": "",
  5101. "frameborder": "no",
  5102. "border": "0",
  5103. "scrolling ": "no",
  5104. "style": {
  5105. "cssText": "border:0; width:100%; height:100%;"
  5106. },
  5107. "src": "/course-design-vue"
  5108. })
  5109. _box.appendChild(_iframe);
  5110. _box.appendChild(_jie);
  5111. _formdiv = new U.UF.UI.form(
  5112. "项目设计",
  5113. _box, {
  5114. "id": "courseDesign" + cid + stage + task + tool,
  5115. "style": {
  5116. "width": "90%",
  5117. "height": "90%",
  5118. "overflow": 'hidden'
  5119. },
  5120. "onresize": function () { }
  5121. }, {
  5122. closecallback: function () { }
  5123. }, {
  5124. "style": {
  5125. "height": "36px"
  5126. }
  5127. }).form; //创建窗体
  5128. _taskbar = {
  5129. "id": str + _formdiv.id,
  5130. "style": {
  5131. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5132. },
  5133. "name": "项目设计",
  5134. "forms": _formdiv,
  5135. "click": function () {
  5136. U.MD.D.I.openApplication(str, obj, info);
  5137. }
  5138. }
  5139. break;
  5140. }
  5141. const script1 = document.createElement("script");
  5142. script1.type = "text/javascript";
  5143. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5144. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5145. const script2 = document.createElement("script");
  5146. script2.type = "text/javascript";
  5147. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5148. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5149. const script3 = document.createElement("script");
  5150. script3.type = "text/javascript";
  5151. script3.charset = "UTF-8";
  5152. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5153. const script4 = document.createElement("script");
  5154. script4.type = "text/javascript";
  5155. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5156. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5157. if (_iframe) {
  5158. if (str == 'doc') {
  5159. _iframe = _formdiv.querySelector('iframe')
  5160. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5161. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5162. _iframe.contentWindow.document.body.appendChild(script1);
  5163. _iframe.contentWindow.document.body.appendChild(script2);
  5164. // _iframe.contentWindow.document.body.appendChild(script3);
  5165. _iframe.contentWindow.document.body.appendChild(script4);
  5166. })
  5167. if (onloadListener) {
  5168. _iframe.contentDocument.location.reload()
  5169. } else {
  5170. _iframe.contentDocument.location.reload()
  5171. }
  5172. } else if (str == 'courseDesign') {
  5173. U.UF.DL.iframeLoad(_iframe, function () {
  5174. // _iframe.contentWindow.U.MD.O.W.load();
  5175. // _iframe.contentWindow.document.body.appendChild(script1);
  5176. _iframe.contentWindow.document.body.appendChild(script2);
  5177. _iframe.contentWindow.document.body.appendChild(script4);
  5178. })
  5179. } else if (str == 'mind') {
  5180. _iframe = _formdiv.querySelector('iframe')
  5181. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5182. //
  5183. _iframe.contentWindow.document.body.appendChild(script1);
  5184. _iframe.contentWindow.document.body.appendChild(script2);
  5185. _iframe.contentWindow.document.body.appendChild(script4);
  5186. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5187. })
  5188. if (onloadListener) {
  5189. _iframe.contentDocument.location.reload()
  5190. } else {
  5191. _iframe.contentDocument.location.reload()
  5192. }
  5193. } else if (str == 'whiteboard') {
  5194. _iframe = _formdiv.querySelector('iframe')
  5195. let onloadListener = _iframe.onload = () => {
  5196. _iframe.contentWindow.document.body.appendChild(script1);
  5197. _iframe.contentWindow.document.body.appendChild(script2);
  5198. _iframe.contentWindow.document.body.appendChild(script4);
  5199. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5200. };
  5201. if (onloadListener) {
  5202. _iframe.contentDocument.location.reload()
  5203. } else {
  5204. _iframe.contentDocument.location.reload()
  5205. }
  5206. } else {
  5207. _iframe.onload = () => {
  5208. _iframe.contentWindow.document.body.appendChild(script1);
  5209. _iframe.contentWindow.document.body.appendChild(script2);
  5210. // _iframe.contentWindow.document.body.appendChild(script3);
  5211. _iframe.contentWindow.document.body.appendChild(script4);
  5212. };
  5213. }
  5214. _jie.onclick = async () => {
  5215. let text = ''
  5216. if (aTool == 1) {
  5217. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5218. } else if (aTool == 6) {
  5219. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5220. } else if (aTool == 3) {
  5221. text = await U.MD.D.I.getEditorContent(_iframe);
  5222. }
  5223. _loading.style.display = 'flex'
  5224. console.log(_loading);
  5225. var _ajs = _iframe.contentWindow.document.createElement("script");
  5226. _ajs.type = "text/javascript";
  5227. _ajs.innerHTML =
  5228. // 'console.log(' + _loading + ');\n' +
  5229. 'var _js = document.createElement("script");\n' +
  5230. '_js.type="text/javascript";\n' +
  5231. '_js.charset="UTF-8";\n' +
  5232. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5233. "_js.onload = function(){\n" +
  5234. ' var a = document.getElementsByTagName("img")\n' +
  5235. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5236. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5237. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5238. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5239. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5240. "beforeUpload_shishi(file," +
  5241. "'" +
  5242. _userid +
  5243. "'" +
  5244. ", " +
  5245. "'" +
  5246. _cid +
  5247. "'" +
  5248. ", " +
  5249. "'" +
  5250. _stage +
  5251. "'" +
  5252. ", " +
  5253. "'" +
  5254. _task +
  5255. "'" +
  5256. ", " +
  5257. "'" +
  5258. _tool +
  5259. "'" +
  5260. ", " +
  5261. "'" +
  5262. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5263. "'" +
  5264. ", " +
  5265. "'" +
  5266. aTool +
  5267. "'" +
  5268. ", " +
  5269. "`" +
  5270. text +
  5271. "`" +
  5272. ")\n" +
  5273. " });\n" +
  5274. "}\n" +
  5275. "document.head.appendChild(_js);\n";
  5276. _iframe.contentWindow.document.head.appendChild(_ajs);
  5277. }
  5278. }
  5279. //U.MD.D.I.openClick(str);
  5280. //如果有任务栏信息
  5281. // if (_taskbar) {
  5282. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5283. // }
  5284. }
  5285. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5286. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5287. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5288. _userinfo = US.userInfo, //登录用户信息
  5289. _userid = US.userInfo.userid //登录用户id
  5290. let _iframe;
  5291. let _cid = cid,
  5292. _stage = stage,
  5293. _task = task,
  5294. _tool = tool;
  5295. var _jie = $$("div", {
  5296. "style": {
  5297. "position": "absolute",
  5298. "bottom": "50px",
  5299. "right": "50px",
  5300. "zIndex": "9999",
  5301. "backgroundColor": "#2268bc",
  5302. "color": "#fff",
  5303. "padding": "12px 20px",
  5304. "cursor": "pointer",
  5305. "borderRadius": "4px",
  5306. },
  5307. "innerHTML": "提交作业"
  5308. })
  5309. let aTool = ''
  5310. let _loading = document.createElement('div')
  5311. _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;"
  5312. // _loading.id = "";
  5313. let _lchild = document.createElement('div')
  5314. let _limg = document.createElement('img')
  5315. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5316. _limg.style = "width: 26px;margin-right: 10px;"
  5317. _lchild.appendChild(_limg)
  5318. let _lspan = document.createElement('span')
  5319. _lspan.innerHTML = "上传中..."
  5320. _lchild.appendChild(_lspan)
  5321. _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%);"
  5322. _loading.appendChild(_lchild)
  5323. var _box = $$('div', {
  5324. "style": {
  5325. "position": "relative",
  5326. "width": "100%",
  5327. "height": "100%",
  5328. },
  5329. })
  5330. _box.appendChild(_loading)
  5331. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5332. switch (str) {
  5333. case "whiteboard":
  5334. aTool = 1;
  5335. _iframe = $$("iframe", {
  5336. "frameborder": "no",
  5337. "border": "0",
  5338. "scrolling ": "no",
  5339. "style": {
  5340. "cssText": "border:0;width:100%;height:100%"
  5341. },
  5342. "src": "https://iwb.cocorobo.cn/"
  5343. })
  5344. _box.appendChild(_iframe);
  5345. _box.appendChild(_jie);
  5346. _formdiv = new U.UF.UI.form(
  5347. "电子白板",
  5348. _box, {
  5349. "id": "whiteboard" + cid + stage + task + tool,
  5350. "style": {
  5351. "width": "90%",
  5352. "height": "90%",
  5353. "overflow": 'hidden'
  5354. },
  5355. "onresize": function () { }
  5356. }, {
  5357. closecallback: function () { }
  5358. }, {
  5359. "style": {
  5360. "height": "36px"
  5361. }
  5362. }).form; //创建窗体
  5363. _taskbar = {
  5364. "id": str + _formdiv.id,
  5365. "style": {
  5366. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5367. },
  5368. "name": "电子白板",
  5369. "forms": _formdiv,
  5370. "click": function () {
  5371. U.MD.D.I.openApplication(str, obj, info);
  5372. }
  5373. }
  5374. break;
  5375. case "mind":
  5376. aTool = 3;
  5377. _iframe = $$("iframe", {
  5378. "frameborder": "no",
  5379. "border": "0",
  5380. "scrolling ": "no",
  5381. "style": {
  5382. "cssText": "border:0;width:100%;height:100%"
  5383. },
  5384. "src": "/kityminder-editor/dist/index.html"
  5385. })
  5386. _box.appendChild(_iframe);
  5387. _box.appendChild(_jie);
  5388. _formdiv = new U.UF.UI.form(
  5389. "思维导图",
  5390. _box, { //"/jsmind/example/demo.html"
  5391. "id": "mind" + cid + stage + task + tool,
  5392. "style": {
  5393. "width": "90%",
  5394. "height": "90%",
  5395. "overflow": 'hidden'
  5396. },
  5397. "onresize": function () { }
  5398. }, {
  5399. closecallback: function () { }
  5400. }, {
  5401. "style": {
  5402. "height": "36px"
  5403. }
  5404. }).form; //创建窗体
  5405. _taskbar = {
  5406. "id": str + _formdiv.id,
  5407. "style": {
  5408. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5409. },
  5410. "name": "思维导图",
  5411. "forms": _formdiv,
  5412. "click": function () {
  5413. U.MD.D.I.openApplication(str, obj, info);
  5414. }
  5415. }
  5416. break;
  5417. case "MindMap":
  5418. aTool = 3;
  5419. _iframe = $$("iframe", {
  5420. "frameborder": "no",
  5421. "border": "0",
  5422. "scrolling ": "no",
  5423. "style": {
  5424. "cssText": "border:0;width:100%;height:100%"
  5425. },
  5426. "src": "//cloud.cocorobo.cn/mind/"
  5427. })
  5428. _box.appendChild(_iframe);
  5429. _box.appendChild(_jie);
  5430. _formdiv = new U.UF.UI.form(
  5431. "思维导图",
  5432. _box, { //"/jsmind/example/demo.html"
  5433. "id": "mind" + cid + stage + task + tool,
  5434. "style": {
  5435. "width": "90%",
  5436. "height": "90%",
  5437. "overflow": 'hidden'
  5438. },
  5439. "onresize": function () { }
  5440. }, {
  5441. closecallback: function () { }
  5442. }, {
  5443. "style": {
  5444. "height": "36px"
  5445. }
  5446. }).form; //创建窗体
  5447. _taskbar = {
  5448. "id": str + _formdiv.id,
  5449. "style": {
  5450. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5451. },
  5452. "name": "思维导图",
  5453. "forms": _formdiv,
  5454. "click": function () {
  5455. U.MD.D.I.openApplication(str, obj, info);
  5456. }
  5457. }
  5458. break;
  5459. case "doc":
  5460. aTool = 6;
  5461. _iframe = $$("iframe", {
  5462. "frameborder": "no",
  5463. "border": "0",
  5464. "scrolling ": "no",
  5465. "style": {
  5466. "cssText": "border:0;width:100%;height:100%"
  5467. },
  5468. "src": "/Office/Word/WordEditArea.htm"
  5469. })
  5470. _box.appendChild(_iframe);
  5471. _box.appendChild(_jie);
  5472. _formdiv = new U.UF.UI.form(
  5473. "协同文档",
  5474. _box, {
  5475. "id": "doc" + cid + stage + task + tool,
  5476. "style": {
  5477. "width": "90%",
  5478. "height": "90%",
  5479. "overflow": 'hidden'
  5480. },
  5481. "onresize": function () { }
  5482. }, {
  5483. closecallback: function () { }
  5484. }, {
  5485. "style": {
  5486. "height": "36px"
  5487. }
  5488. }).form; //创建窗体
  5489. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5490. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5491. })
  5492. _taskbar = {
  5493. "id": str + _formdiv.id,
  5494. "style": {
  5495. "backgroundImage": "url(/img/icon/doc.png)"
  5496. },
  5497. "name": "协同文档",
  5498. "forms": _formdiv,
  5499. "click": function () {
  5500. U.MD.D.I.openApplication(str, obj, info);
  5501. }
  5502. }
  5503. break;
  5504. case "mindNetwork": //好友打开
  5505. aTool = 7;
  5506. _iframe = $$("iframe", {
  5507. "webkitallowfullscreen": "",
  5508. "mozallowfullscreen": "",
  5509. "allowfullscreen": "",
  5510. "frameborder": "no",
  5511. "border": "0",
  5512. "scrolling ": "no",
  5513. "style": {
  5514. "cssText": "border:0; width:100%; height:100%;"
  5515. },
  5516. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5517. })
  5518. _box.appendChild(_iframe);
  5519. _box.appendChild(_jie);
  5520. _formdiv = new U.UF.UI.form(
  5521. "思维网格",
  5522. _box, {
  5523. "id": "mindNetwork" + cid + stage + task + tool,
  5524. "style": {
  5525. "width": "90%",
  5526. "height": "90%",
  5527. "overflow": 'hidden'
  5528. },
  5529. "onresize": function () { }
  5530. }, {
  5531. closecallback: function () { }
  5532. }, {
  5533. "style": {
  5534. "height": "36px"
  5535. }
  5536. }).form; //创建窗体
  5537. _taskbar = {
  5538. "id": str + _formdiv.id,
  5539. "style": {
  5540. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5541. },
  5542. "name": "思维网格",
  5543. "forms": _formdiv,
  5544. "click": function () {
  5545. U.MD.D.I.openApplication(str, obj, info);
  5546. }
  5547. }
  5548. break;
  5549. case "courseDesign":
  5550. _iframe = $$("iframe", {
  5551. "webkitallowfullscreen": "",
  5552. "mozallowfullscreen": "",
  5553. "allowfullscreen": "",
  5554. "frameborder": "no",
  5555. "border": "0",
  5556. "scrolling ": "no",
  5557. "style": {
  5558. "cssText": "border:0; width:100%; height:100%;"
  5559. },
  5560. "src": "/course-design-vue"
  5561. })
  5562. _box.appendChild(_iframe);
  5563. _box.appendChild(_jie);
  5564. _formdiv = new U.UF.UI.form(
  5565. "项目设计",
  5566. _box, {
  5567. "id": "courseDesign" + cid + stage + task + tool,
  5568. "style": {
  5569. "width": "90%",
  5570. "height": "90%",
  5571. "overflow": 'hidden'
  5572. },
  5573. "onresize": function () { }
  5574. }, {
  5575. closecallback: function () { }
  5576. }, {
  5577. "style": {
  5578. "height": "36px"
  5579. }
  5580. }).form; //创建窗体
  5581. _taskbar = {
  5582. "id": str + _formdiv.id,
  5583. "style": {
  5584. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5585. },
  5586. "name": "项目设计",
  5587. "forms": _formdiv,
  5588. "click": function () {
  5589. U.MD.D.I.openApplication(str, obj, info);
  5590. }
  5591. }
  5592. break;
  5593. }
  5594. const script1 = document.createElement("script");
  5595. script1.type = "text/javascript";
  5596. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5597. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5598. const script2 = document.createElement("script");
  5599. script2.type = "text/javascript";
  5600. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5601. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5602. const script3 = document.createElement("script");
  5603. script3.type = "text/javascript";
  5604. script3.charset = "UTF-8";
  5605. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5606. const script4 = document.createElement("script");
  5607. script4.type = "text/javascript";
  5608. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5609. script4.src = window.origin + "/js/Common/jietu2E.js";
  5610. if (_iframe) {
  5611. if (str == 'doc') {
  5612. _iframe = _formdiv.querySelector('iframe')
  5613. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5614. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5615. _iframe.contentWindow.document.body.appendChild(script1);
  5616. _iframe.contentWindow.document.body.appendChild(script2);
  5617. // _iframe.contentWindow.document.body.appendChild(script3);
  5618. _iframe.contentWindow.document.body.appendChild(script4);
  5619. })
  5620. if (onloadListener) {
  5621. _iframe.contentDocument.location.reload()
  5622. } else {
  5623. _iframe.contentDocument.location.reload()
  5624. }
  5625. } else if (str == 'courseDesign') {
  5626. U.UF.DL.iframeLoad(_iframe, function () {
  5627. // _iframe.contentWindow.U.MD.O.W.load();
  5628. // _iframe.contentWindow.document.body.appendChild(script1);
  5629. _iframe.contentWindow.document.body.appendChild(script2);
  5630. _iframe.contentWindow.document.body.appendChild(script4);
  5631. })
  5632. } else if (str == 'mind') {
  5633. _iframe = _formdiv.querySelector('iframe')
  5634. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5635. //
  5636. _iframe.contentWindow.document.body.appendChild(script1);
  5637. _iframe.contentWindow.document.body.appendChild(script2);
  5638. _iframe.contentWindow.document.body.appendChild(script4);
  5639. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5640. })
  5641. if (onloadListener) {
  5642. _iframe.contentDocument.location.reload()
  5643. } else {
  5644. _iframe.contentDocument.location.reload()
  5645. }
  5646. } else if (str == 'whiteboard') {
  5647. _iframe = _formdiv.querySelector('iframe')
  5648. let onloadListener = _iframe.onload = () => {
  5649. _iframe.contentWindow.document.body.appendChild(script1);
  5650. _iframe.contentWindow.document.body.appendChild(script2);
  5651. _iframe.contentWindow.document.body.appendChild(script4);
  5652. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5653. };
  5654. if (onloadListener) {
  5655. _iframe.contentDocument.location.reload()
  5656. } else {
  5657. _iframe.contentDocument.location.reload()
  5658. }
  5659. } else {
  5660. _iframe.onload = () => {
  5661. _iframe.contentWindow.document.body.appendChild(script1);
  5662. _iframe.contentWindow.document.body.appendChild(script2);
  5663. // _iframe.contentWindow.document.body.appendChild(script3);
  5664. _iframe.contentWindow.document.body.appendChild(script4);
  5665. };
  5666. }
  5667. _jie.onclick = async () => {
  5668. let text = ''
  5669. if (aTool == 1) {
  5670. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5671. } else if (aTool == 6) {
  5672. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5673. } else if (aTool == 3) {
  5674. text = await U.MD.D.I.getEditorContent(_iframe);
  5675. }
  5676. _loading.style.display = 'flex'
  5677. console.log(_loading);
  5678. var _ajs = _iframe.contentWindow.document.createElement("script");
  5679. _ajs.type = "text/javascript";
  5680. _ajs.innerHTML =
  5681. // 'console.log(' + _loading + ');\n' +
  5682. 'var _js = document.createElement("script");\n' +
  5683. '_js.type="text/javascript";\n' +
  5684. '_js.charset="UTF-8";\n' +
  5685. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5686. "_js.onload = function(){\n" +
  5687. ' var a = document.getElementsByTagName("img")\n' +
  5688. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5689. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5690. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5691. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5692. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5693. "beforeUpload_shishi(file," +
  5694. "'" +
  5695. _userid +
  5696. "'" +
  5697. ", " +
  5698. "'" +
  5699. _cid +
  5700. "'" +
  5701. ", " +
  5702. "'" +
  5703. _stage +
  5704. "'" +
  5705. ", " +
  5706. "'" +
  5707. _task +
  5708. "'" +
  5709. ", " +
  5710. "'" +
  5711. _tool +
  5712. "'" +
  5713. ", " +
  5714. "'" +
  5715. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5716. "'" +
  5717. ", " +
  5718. "'" +
  5719. aTool +
  5720. "'" +
  5721. ", " +
  5722. "`" +
  5723. text +
  5724. "`" +
  5725. ")\n" +
  5726. " });\n" +
  5727. "}\n" +
  5728. "document.head.appendChild(_js);\n";
  5729. _iframe.contentWindow.document.head.appendChild(_ajs);
  5730. }
  5731. }
  5732. //U.MD.D.I.openClick(str);
  5733. //如果有任务栏信息
  5734. // if (_taskbar) {
  5735. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5736. // }
  5737. }
  5738. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5739. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5740. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5741. _userid = student.userid, //登录用户id
  5742. _username = student.student //用户名字
  5743. let _iframe;
  5744. let _cid = cid,
  5745. _stage = stage,
  5746. _task = task,
  5747. _tool = tool;
  5748. var _jie = $$("div", {
  5749. "style": {
  5750. "position": "absolute",
  5751. "bottom": "50px",
  5752. "right": "50px",
  5753. "zIndex": "9999",
  5754. "backgroundColor": "#2268bc",
  5755. "color": "#fff",
  5756. "padding": "12px 20px",
  5757. "cursor": "pointer",
  5758. "borderRadius": "4px",
  5759. },
  5760. "innerHTML": "提交作业"
  5761. })
  5762. let aTool = ''
  5763. let _loading = document.createElement('div')
  5764. _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;"
  5765. // _loading.id = "";
  5766. let _lchild = document.createElement('div')
  5767. let _limg = document.createElement('img')
  5768. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5769. _limg.style = "width: 26px;margin-right: 10px;"
  5770. _lchild.appendChild(_limg)
  5771. let _lspan = document.createElement('span')
  5772. _lspan.innerHTML = "上传中..."
  5773. _lchild.appendChild(_lspan)
  5774. _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%);"
  5775. _loading.appendChild(_lchild)
  5776. var _box = $$('div', {
  5777. "style": {
  5778. "position": "relative",
  5779. "width": "100%",
  5780. "height": "100%",
  5781. },
  5782. })
  5783. _box.appendChild(_loading)
  5784. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5785. switch (str) {
  5786. case "whiteboard":
  5787. aTool = 1;
  5788. _iframe = $$("iframe", {
  5789. "frameborder": "no",
  5790. "border": "0",
  5791. "scrolling ": "no",
  5792. "style": {
  5793. "cssText": "border:0;width:100%;height:100%"
  5794. },
  5795. "src": "https://iwb.cocorobo.cn/"
  5796. })
  5797. _box.appendChild(_iframe);
  5798. _box.appendChild(_jie);
  5799. _formdiv = new U.UF.UI.form(
  5800. "电子白板-" + _username,
  5801. _box, {
  5802. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5803. "style": {
  5804. "width": "90%",
  5805. "height": "90%",
  5806. "overflow": 'hidden'
  5807. },
  5808. "onresize": function () { }
  5809. }, {
  5810. closecallback: function () { }
  5811. }, {
  5812. "style": {
  5813. "height": "36px"
  5814. }
  5815. }).form; //创建窗体
  5816. _taskbar = {
  5817. "id": str + _formdiv.id,
  5818. "style": {
  5819. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5820. },
  5821. "name": "电子白板",
  5822. "forms": _formdiv,
  5823. "click": function () {
  5824. U.MD.D.I.openApplication(str, obj, info);
  5825. }
  5826. }
  5827. break;
  5828. case "mind":
  5829. aTool = 3;
  5830. _iframe = $$("iframe", {
  5831. "frameborder": "no",
  5832. "border": "0",
  5833. "scrolling ": "no",
  5834. "style": {
  5835. "cssText": "border:0;width:100%;height:100%"
  5836. },
  5837. "src": "/kityminder-editor/dist/index.html"
  5838. })
  5839. _box.appendChild(_iframe);
  5840. _box.appendChild(_jie);
  5841. _formdiv = new U.UF.UI.form(
  5842. "思维导图-" + _username,
  5843. _box, { //"/jsmind/example/demo.html"
  5844. "id": "mind" + cid + stage + task + tool + _userid,
  5845. "style": {
  5846. "width": "90%",
  5847. "height": "90%",
  5848. "overflow": 'hidden'
  5849. },
  5850. "onresize": function () { }
  5851. }, {
  5852. closecallback: function () { }
  5853. }, {
  5854. "style": {
  5855. "height": "36px"
  5856. }
  5857. }).form; //创建窗体
  5858. _taskbar = {
  5859. "id": str + _formdiv.id,
  5860. "style": {
  5861. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5862. },
  5863. "name": "思维导图",
  5864. "forms": _formdiv,
  5865. "click": function () {
  5866. U.MD.D.I.openApplication(str, obj, info);
  5867. }
  5868. }
  5869. break;
  5870. case "MindMap":
  5871. aTool = 3;
  5872. _iframe = $$("iframe", {
  5873. "frameborder": "no",
  5874. "border": "0",
  5875. "scrolling ": "no",
  5876. "style": {
  5877. "cssText": "border:0;width:100%;height:100%"
  5878. },
  5879. "src": "//cloud.cocorobo.cn/mind/"
  5880. })
  5881. _box.appendChild(_iframe);
  5882. _box.appendChild(_jie);
  5883. _formdiv = new U.UF.UI.form(
  5884. "思维导图-" + _username,
  5885. _box, { //"/jsmind/example/demo.html"
  5886. "id": "mind" + cid + stage + task + tool + _userid,
  5887. "style": {
  5888. "width": "90%",
  5889. "height": "90%",
  5890. "overflow": 'hidden'
  5891. },
  5892. "onresize": function () { }
  5893. }, {
  5894. closecallback: function () { }
  5895. }, {
  5896. "style": {
  5897. "height": "36px"
  5898. }
  5899. }).form; //创建窗体
  5900. _taskbar = {
  5901. "id": str + _formdiv.id,
  5902. "style": {
  5903. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5904. },
  5905. "name": "思维导图",
  5906. "forms": _formdiv,
  5907. "click": function () {
  5908. U.MD.D.I.openApplication(str, obj, info);
  5909. }
  5910. }
  5911. break;
  5912. case "doc":
  5913. aTool = 6;
  5914. _iframe = $$("iframe", {
  5915. "frameborder": "no",
  5916. "border": "0",
  5917. "scrolling ": "no",
  5918. "style": {
  5919. "cssText": "border:0;width:100%;height:100%"
  5920. },
  5921. "src": "/Office/Word/WordEditArea.htm"
  5922. })
  5923. _box.appendChild(_iframe);
  5924. _box.appendChild(_jie);
  5925. _formdiv = new U.UF.UI.form(
  5926. "协同文档-" + _username,
  5927. _box, {
  5928. "id": "doc" + cid + stage + task + tool + _userid,
  5929. "style": {
  5930. "width": "90%",
  5931. "height": "90%",
  5932. "overflow": 'hidden'
  5933. },
  5934. "onresize": function () { }
  5935. }, {
  5936. closecallback: function () { }
  5937. }, {
  5938. "style": {
  5939. "height": "36px"
  5940. }
  5941. }).form; //创建窗体
  5942. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5943. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5944. })
  5945. _taskbar = {
  5946. "id": str + _formdiv.id,
  5947. "style": {
  5948. "backgroundImage": "url(/img/icon/doc.png)"
  5949. },
  5950. "name": "协同文档",
  5951. "forms": _formdiv,
  5952. "click": function () {
  5953. U.MD.D.I.openApplication(str, obj, info);
  5954. }
  5955. }
  5956. break;
  5957. case "mindNetwork": //好友打开
  5958. aTool = 7;
  5959. _iframe = $$("iframe", {
  5960. "webkitallowfullscreen": "",
  5961. "mozallowfullscreen": "",
  5962. "allowfullscreen": "",
  5963. "frameborder": "no",
  5964. "border": "0",
  5965. "scrolling ": "no",
  5966. "style": {
  5967. "cssText": "border:0; width:100%; height:100%;"
  5968. },
  5969. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5970. })
  5971. _box.appendChild(_iframe);
  5972. _box.appendChild(_jie);
  5973. _formdiv = new U.UF.UI.form(
  5974. "思维网格-" + _username,
  5975. _box, {
  5976. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5977. "style": {
  5978. "width": "90%",
  5979. "height": "90%",
  5980. "overflow": 'hidden'
  5981. },
  5982. "onresize": function () { }
  5983. }, {
  5984. closecallback: function () { }
  5985. }, {
  5986. "style": {
  5987. "height": "36px"
  5988. }
  5989. }).form; //创建窗体
  5990. _taskbar = {
  5991. "id": str + _formdiv.id,
  5992. "style": {
  5993. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5994. },
  5995. "name": "思维网格",
  5996. "forms": _formdiv,
  5997. "click": function () {
  5998. U.MD.D.I.openApplication(str, obj, info);
  5999. }
  6000. }
  6001. break;
  6002. case "courseDesign":
  6003. _iframe = $$("iframe", {
  6004. "webkitallowfullscreen": "",
  6005. "mozallowfullscreen": "",
  6006. "allowfullscreen": "",
  6007. "frameborder": "no",
  6008. "border": "0",
  6009. "scrolling ": "no",
  6010. "style": {
  6011. "cssText": "border:0; width:100%; height:100%;"
  6012. },
  6013. "src": "/course-design-vue"
  6014. })
  6015. _box.appendChild(_iframe);
  6016. _box.appendChild(_jie);
  6017. _formdiv = new U.UF.UI.form(
  6018. "项目设计-" + _username,
  6019. _box, {
  6020. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6021. "style": {
  6022. "width": "90%",
  6023. "height": "90%",
  6024. "overflow": 'hidden'
  6025. },
  6026. "onresize": function () { }
  6027. }, {
  6028. closecallback: function () { }
  6029. }, {
  6030. "style": {
  6031. "height": "36px"
  6032. }
  6033. }).form; //创建窗体
  6034. _taskbar = {
  6035. "id": str + _formdiv.id,
  6036. "style": {
  6037. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6038. },
  6039. "name": "项目设计",
  6040. "forms": _formdiv,
  6041. "click": function () {
  6042. U.MD.D.I.openApplication(str, obj, info);
  6043. }
  6044. }
  6045. break;
  6046. }
  6047. const script1 = document.createElement("script");
  6048. script1.type = "text/javascript";
  6049. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6050. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6051. const script2 = document.createElement("script");
  6052. script2.type = "text/javascript";
  6053. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6054. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6055. const script3 = document.createElement("script");
  6056. script3.type = "text/javascript";
  6057. script3.charset = "UTF-8";
  6058. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6059. const script4 = document.createElement("script");
  6060. script4.type = "text/javascript";
  6061. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6062. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6063. if (_iframe) {
  6064. if (str == 'doc') {
  6065. _iframe = _formdiv.querySelector('iframe')
  6066. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6067. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6068. _iframe.contentWindow.document.body.appendChild(script1);
  6069. _iframe.contentWindow.document.body.appendChild(script2);
  6070. // _iframe.contentWindow.document.body.appendChild(script3);
  6071. _iframe.contentWindow.document.body.appendChild(script4);
  6072. })
  6073. if (onloadListener) {
  6074. _iframe.contentDocument.location.reload()
  6075. } else {
  6076. _iframe.contentDocument.location.reload()
  6077. }
  6078. } else if (str == 'courseDesign') {
  6079. U.UF.DL.iframeLoad(_iframe, function () {
  6080. // _iframe.contentWindow.U.MD.O.W.load();
  6081. // _iframe.contentWindow.document.body.appendChild(script1);
  6082. _iframe.contentWindow.document.body.appendChild(script2);
  6083. _iframe.contentWindow.document.body.appendChild(script4);
  6084. })
  6085. } else if (str == 'mind') {
  6086. _iframe = _formdiv.querySelector('iframe')
  6087. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6088. //
  6089. _iframe.contentWindow.document.body.appendChild(script1);
  6090. _iframe.contentWindow.document.body.appendChild(script2);
  6091. _iframe.contentWindow.document.body.appendChild(script4);
  6092. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6093. })
  6094. if (onloadListener) {
  6095. _iframe.contentDocument.location.reload()
  6096. } else {
  6097. _iframe.contentDocument.location.reload()
  6098. }
  6099. } else if (str == 'whiteboard') {
  6100. _iframe = _formdiv.querySelector('iframe')
  6101. let onloadListener = _iframe.onload = () => {
  6102. _iframe.contentWindow.document.body.appendChild(script1);
  6103. _iframe.contentWindow.document.body.appendChild(script2);
  6104. _iframe.contentWindow.document.body.appendChild(script4);
  6105. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6106. };
  6107. if (onloadListener) {
  6108. _iframe.contentDocument.location.reload()
  6109. } else {
  6110. _iframe.contentDocument.location.reload()
  6111. }
  6112. } else {
  6113. _iframe.onload = () => {
  6114. _iframe.contentWindow.document.body.appendChild(script1);
  6115. _iframe.contentWindow.document.body.appendChild(script2);
  6116. // _iframe.contentWindow.document.body.appendChild(script3);
  6117. _iframe.contentWindow.document.body.appendChild(script4);
  6118. };
  6119. }
  6120. _jie.onclick = async () => {
  6121. let text = ''
  6122. if (aTool == 1) {
  6123. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6124. } else if (aTool == 6) {
  6125. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6126. } else if (aTool == 3) {
  6127. text = await U.MD.D.I.getEditorContent(_iframe);
  6128. }
  6129. _loading.style.display = 'flex'
  6130. console.log(_loading);
  6131. var _ajs = _iframe.contentWindow.document.createElement("script");
  6132. _ajs.type = "text/javascript";
  6133. _ajs.innerHTML =
  6134. // 'console.log(' + _loading + ');\n' +
  6135. 'var _js = document.createElement("script");\n' +
  6136. '_js.type="text/javascript";\n' +
  6137. '_js.charset="UTF-8";\n' +
  6138. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6139. "_js.onload = function(){\n" +
  6140. ' var a = document.getElementsByTagName("img")\n' +
  6141. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6142. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6143. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6144. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6145. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6146. "beforeUpload_shishi(file," +
  6147. "'" +
  6148. _userid +
  6149. "'" +
  6150. ", " +
  6151. "'" +
  6152. _cid +
  6153. "'" +
  6154. ", " +
  6155. "'" +
  6156. _stage +
  6157. "'" +
  6158. ", " +
  6159. "'" +
  6160. _task +
  6161. "'" +
  6162. ", " +
  6163. "'" +
  6164. _tool +
  6165. "'" +
  6166. ", " +
  6167. "'" +
  6168. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6169. "'" +
  6170. ", " +
  6171. "'" +
  6172. aTool +
  6173. "'" +
  6174. ", " +
  6175. "`" +
  6176. text +
  6177. "`" +
  6178. ")\n" +
  6179. " });\n" +
  6180. "}\n" +
  6181. "document.head.appendChild(_js);\n";
  6182. _iframe.contentWindow.document.head.appendChild(_ajs);
  6183. }
  6184. }
  6185. }
  6186. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6187. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6188. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6189. _userid = student.userid, //登录用户id
  6190. _username = student.student //用户名字
  6191. let _iframe;
  6192. let _cid = cid,
  6193. _stage = stage,
  6194. _task = task,
  6195. _tool = tool;
  6196. var _jie = $$("div", {
  6197. "style": {
  6198. "position": "absolute",
  6199. "bottom": "50px",
  6200. "right": "50px",
  6201. "zIndex": "9999",
  6202. "backgroundColor": "#2268bc",
  6203. "color": "#fff",
  6204. "padding": "12px 20px",
  6205. "cursor": "pointer",
  6206. "borderRadius": "4px",
  6207. },
  6208. "innerHTML": "提交作业"
  6209. })
  6210. let aTool = ''
  6211. let _loading = document.createElement('div')
  6212. _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;"
  6213. // _loading.id = "";
  6214. let _lchild = document.createElement('div')
  6215. let _limg = document.createElement('img')
  6216. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6217. _limg.style = "width: 26px;margin-right: 10px;"
  6218. _lchild.appendChild(_limg)
  6219. let _lspan = document.createElement('span')
  6220. _lspan.innerHTML = "上传中..."
  6221. _lchild.appendChild(_lspan)
  6222. _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%);"
  6223. _loading.appendChild(_lchild)
  6224. var _box = $$('div', {
  6225. "style": {
  6226. "position": "relative",
  6227. "width": "100%",
  6228. "height": "100%",
  6229. },
  6230. })
  6231. _box.appendChild(_loading)
  6232. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6233. switch (str) {
  6234. case "whiteboard":
  6235. aTool = 1;
  6236. _iframe = $$("iframe", {
  6237. "frameborder": "no",
  6238. "border": "0",
  6239. "scrolling ": "no",
  6240. "style": {
  6241. "cssText": "border:0;width:100%;height:100%"
  6242. },
  6243. "src": "https://iwb.cocorobo.cn/"
  6244. })
  6245. _box.appendChild(_iframe);
  6246. _box.appendChild(_jie);
  6247. _formdiv = new U.UF.UI.form(
  6248. "电子白板-" + _username,
  6249. _box, {
  6250. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6251. "style": {
  6252. "width": "90%",
  6253. "height": "90%",
  6254. "overflow": 'hidden'
  6255. },
  6256. "onresize": function () { }
  6257. }, {
  6258. closecallback: function () { }
  6259. }, {
  6260. "style": {
  6261. "height": "36px"
  6262. }
  6263. }).form; //创建窗体
  6264. _taskbar = {
  6265. "id": str + _formdiv.id,
  6266. "style": {
  6267. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6268. },
  6269. "name": "电子白板",
  6270. "forms": _formdiv,
  6271. "click": function () {
  6272. U.MD.D.I.openApplication(str, obj, info);
  6273. }
  6274. }
  6275. break;
  6276. case "mind":
  6277. aTool = 3;
  6278. _iframe = $$("iframe", {
  6279. "frameborder": "no",
  6280. "border": "0",
  6281. "scrolling ": "no",
  6282. "style": {
  6283. "cssText": "border:0;width:100%;height:100%"
  6284. },
  6285. "src": "/kityminder-editor/dist/index.html"
  6286. })
  6287. _box.appendChild(_iframe);
  6288. _box.appendChild(_jie);
  6289. _formdiv = new U.UF.UI.form(
  6290. "思维导图-" + _username,
  6291. _box, { //"/jsmind/example/demo.html"
  6292. "id": "mind" + cid + stage + task + tool + _userid,
  6293. "style": {
  6294. "width": "90%",
  6295. "height": "90%",
  6296. "overflow": 'hidden'
  6297. },
  6298. "onresize": function () { }
  6299. }, {
  6300. closecallback: function () { }
  6301. }, {
  6302. "style": {
  6303. "height": "36px"
  6304. }
  6305. }).form; //创建窗体
  6306. _taskbar = {
  6307. "id": str + _formdiv.id,
  6308. "style": {
  6309. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6310. },
  6311. "name": "思维导图",
  6312. "forms": _formdiv,
  6313. "click": function () {
  6314. U.MD.D.I.openApplication(str, obj, info);
  6315. }
  6316. }
  6317. break;
  6318. case "MindMap":
  6319. aTool = 3;
  6320. _iframe = $$("iframe", {
  6321. "frameborder": "no",
  6322. "border": "0",
  6323. "scrolling ": "no",
  6324. "style": {
  6325. "cssText": "border:0;width:100%;height:100%"
  6326. },
  6327. "src": "//cloud.cocorobo.cn/mind/"
  6328. })
  6329. _box.appendChild(_iframe);
  6330. _box.appendChild(_jie);
  6331. _formdiv = new U.UF.UI.form(
  6332. "思维导图-" + _username,
  6333. _box, { //"/jsmind/example/demo.html"
  6334. "id": "mind" + cid + stage + task + tool + _userid,
  6335. "style": {
  6336. "width": "90%",
  6337. "height": "90%",
  6338. "overflow": 'hidden'
  6339. },
  6340. "onresize": function () { }
  6341. }, {
  6342. closecallback: function () { }
  6343. }, {
  6344. "style": {
  6345. "height": "36px"
  6346. }
  6347. }).form; //创建窗体
  6348. _taskbar = {
  6349. "id": str + _formdiv.id,
  6350. "style": {
  6351. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6352. },
  6353. "name": "思维导图",
  6354. "forms": _formdiv,
  6355. "click": function () {
  6356. U.MD.D.I.openApplication(str, obj, info);
  6357. }
  6358. }
  6359. break;
  6360. case "doc":
  6361. aTool = 6;
  6362. _iframe = $$("iframe", {
  6363. "frameborder": "no",
  6364. "border": "0",
  6365. "scrolling ": "no",
  6366. "style": {
  6367. "cssText": "border:0;width:100%;height:100%"
  6368. },
  6369. "src": "/Office/Word/WordEditArea.htm"
  6370. })
  6371. _box.appendChild(_iframe);
  6372. _box.appendChild(_jie);
  6373. _formdiv = new U.UF.UI.form(
  6374. "协同文档-" + _username,
  6375. _box, {
  6376. "id": "doc" + cid + stage + task + tool + _userid,
  6377. "style": {
  6378. "width": "90%",
  6379. "height": "90%",
  6380. "overflow": 'hidden'
  6381. },
  6382. "onresize": function () { }
  6383. }, {
  6384. closecallback: function () { }
  6385. }, {
  6386. "style": {
  6387. "height": "36px"
  6388. }
  6389. }).form; //创建窗体
  6390. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6391. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6392. })
  6393. _taskbar = {
  6394. "id": str + _formdiv.id,
  6395. "style": {
  6396. "backgroundImage": "url(/img/icon/doc.png)"
  6397. },
  6398. "name": "协同文档",
  6399. "forms": _formdiv,
  6400. "click": function () {
  6401. U.MD.D.I.openApplication(str, obj, info);
  6402. }
  6403. }
  6404. break;
  6405. case "mindNetwork": //好友打开
  6406. aTool = 7;
  6407. _iframe = $$("iframe", {
  6408. "webkitallowfullscreen": "",
  6409. "mozallowfullscreen": "",
  6410. "allowfullscreen": "",
  6411. "frameborder": "no",
  6412. "border": "0",
  6413. "scrolling ": "no",
  6414. "style": {
  6415. "cssText": "border:0; width:100%; height:100%;"
  6416. },
  6417. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6418. })
  6419. _box.appendChild(_iframe);
  6420. _box.appendChild(_jie);
  6421. _formdiv = new U.UF.UI.form(
  6422. "思维网格-" + _username,
  6423. _box, {
  6424. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6425. "style": {
  6426. "width": "90%",
  6427. "height": "90%",
  6428. "overflow": 'hidden'
  6429. },
  6430. "onresize": function () { }
  6431. }, {
  6432. closecallback: function () { }
  6433. }, {
  6434. "style": {
  6435. "height": "36px"
  6436. }
  6437. }).form; //创建窗体
  6438. _taskbar = {
  6439. "id": str + _formdiv.id,
  6440. "style": {
  6441. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6442. },
  6443. "name": "思维网格",
  6444. "forms": _formdiv,
  6445. "click": function () {
  6446. U.MD.D.I.openApplication(str, obj, info);
  6447. }
  6448. }
  6449. break;
  6450. case "courseDesign":
  6451. _iframe = $$("iframe", {
  6452. "webkitallowfullscreen": "",
  6453. "mozallowfullscreen": "",
  6454. "allowfullscreen": "",
  6455. "frameborder": "no",
  6456. "border": "0",
  6457. "scrolling ": "no",
  6458. "style": {
  6459. "cssText": "border:0; width:100%; height:100%;"
  6460. },
  6461. "src": "/course-design-vue"
  6462. })
  6463. _box.appendChild(_iframe);
  6464. _box.appendChild(_jie);
  6465. _formdiv = new U.UF.UI.form(
  6466. "项目设计-" + _username,
  6467. _box, {
  6468. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6469. "style": {
  6470. "width": "90%",
  6471. "height": "90%",
  6472. "overflow": 'hidden'
  6473. },
  6474. "onresize": function () { }
  6475. }, {
  6476. closecallback: function () { }
  6477. }, {
  6478. "style": {
  6479. "height": "36px"
  6480. }
  6481. }).form; //创建窗体
  6482. _taskbar = {
  6483. "id": str + _formdiv.id,
  6484. "style": {
  6485. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6486. },
  6487. "name": "项目设计",
  6488. "forms": _formdiv,
  6489. "click": function () {
  6490. U.MD.D.I.openApplication(str, obj, info);
  6491. }
  6492. }
  6493. break;
  6494. }
  6495. const script1 = document.createElement("script");
  6496. script1.type = "text/javascript";
  6497. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6498. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6499. const script2 = document.createElement("script");
  6500. script2.type = "text/javascript";
  6501. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6502. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6503. const script3 = document.createElement("script");
  6504. script3.type = "text/javascript";
  6505. script3.charset = "UTF-8";
  6506. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6507. const script4 = document.createElement("script");
  6508. script4.type = "text/javascript";
  6509. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6510. script4.src = window.origin + "/js/Common/jietu2E.js";
  6511. if (_iframe) {
  6512. if (str == 'doc') {
  6513. _iframe = _formdiv.querySelector('iframe')
  6514. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6515. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6516. _iframe.contentWindow.document.body.appendChild(script1);
  6517. _iframe.contentWindow.document.body.appendChild(script2);
  6518. // _iframe.contentWindow.document.body.appendChild(script3);
  6519. _iframe.contentWindow.document.body.appendChild(script4);
  6520. })
  6521. if (onloadListener) {
  6522. _iframe.contentDocument.location.reload()
  6523. } else {
  6524. _iframe.contentDocument.location.reload()
  6525. }
  6526. } else if (str == 'courseDesign') {
  6527. U.UF.DL.iframeLoad(_iframe, function () {
  6528. // _iframe.contentWindow.U.MD.O.W.load();
  6529. // _iframe.contentWindow.document.body.appendChild(script1);
  6530. _iframe.contentWindow.document.body.appendChild(script2);
  6531. _iframe.contentWindow.document.body.appendChild(script4);
  6532. })
  6533. } else if (str == 'mind') {
  6534. _iframe = _formdiv.querySelector('iframe')
  6535. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6536. //
  6537. _iframe.contentWindow.document.body.appendChild(script1);
  6538. _iframe.contentWindow.document.body.appendChild(script2);
  6539. _iframe.contentWindow.document.body.appendChild(script4);
  6540. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6541. })
  6542. if (onloadListener) {
  6543. _iframe.contentDocument.location.reload()
  6544. } else {
  6545. _iframe.contentDocument.location.reload()
  6546. }
  6547. } else if (str == 'whiteboard') {
  6548. _iframe = _formdiv.querySelector('iframe')
  6549. let onloadListener = _iframe.onload = () => {
  6550. _iframe.contentWindow.document.body.appendChild(script1);
  6551. _iframe.contentWindow.document.body.appendChild(script2);
  6552. _iframe.contentWindow.document.body.appendChild(script4);
  6553. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6554. };
  6555. if (onloadListener) {
  6556. _iframe.contentDocument.location.reload()
  6557. } else {
  6558. _iframe.contentDocument.location.reload()
  6559. }
  6560. } else {
  6561. _iframe.onload = () => {
  6562. _iframe.contentWindow.document.body.appendChild(script1);
  6563. _iframe.contentWindow.document.body.appendChild(script2);
  6564. // _iframe.contentWindow.document.body.appendChild(script3);
  6565. _iframe.contentWindow.document.body.appendChild(script4);
  6566. };
  6567. }
  6568. _jie.onclick = async () => {
  6569. let text = ''
  6570. if (aTool == 1) {
  6571. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6572. } else if (aTool == 6) {
  6573. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6574. } else if (aTool == 3) {
  6575. text = await U.MD.D.I.getEditorContent(_iframe);
  6576. }
  6577. _loading.style.display = 'flex'
  6578. console.log(_loading);
  6579. var _ajs = _iframe.contentWindow.document.createElement("script");
  6580. _ajs.type = "text/javascript";
  6581. _ajs.innerHTML =
  6582. // 'console.log(' + _loading + ');\n' +
  6583. 'var _js = document.createElement("script");\n' +
  6584. '_js.type="text/javascript";\n' +
  6585. '_js.charset="UTF-8";\n' +
  6586. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6587. "_js.onload = function(){\n" +
  6588. ' var a = document.getElementsByTagName("img")\n' +
  6589. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6590. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6591. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6592. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6593. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6594. "beforeUpload_shishi(file," +
  6595. "'" +
  6596. _userid +
  6597. "'" +
  6598. ", " +
  6599. "'" +
  6600. _cid +
  6601. "'" +
  6602. ", " +
  6603. "'" +
  6604. _stage +
  6605. "'" +
  6606. ", " +
  6607. "'" +
  6608. _task +
  6609. "'" +
  6610. ", " +
  6611. "'" +
  6612. _tool +
  6613. "'" +
  6614. ", " +
  6615. "'" +
  6616. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6617. "'" +
  6618. ", " +
  6619. "'" +
  6620. aTool +
  6621. "'" +
  6622. ", " +
  6623. "`" +
  6624. text +
  6625. "`" +
  6626. ")\n" +
  6627. " });\n" +
  6628. "}\n" +
  6629. "document.head.appendChild(_js);\n";
  6630. _iframe.contentWindow.document.head.appendChild(_ajs);
  6631. }
  6632. }
  6633. }
  6634. U.MD.D.I.getEditorContent = function (iframe) {
  6635. return new Promise((resolve, reject) => {
  6636. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6637. console.log(content);
  6638. resolve(content)
  6639. });
  6640. });
  6641. }
  6642. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6643. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6644. // if (res.value[0].length > 0) {
  6645. // // resolve(res.value[0][0].text);
  6646. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6647. // $(fileInput).val('');
  6648. // });
  6649. // }
  6650. // }, [], { "type": "GET", "withCredentials": true });
  6651. var xmlhttp;
  6652. var Mac, Sn, DeviceId
  6653. if (window.XMLHttpRequest) {
  6654. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6655. xmlhttp = new XMLHttpRequest();
  6656. } else {
  6657. // IE6, IE5 浏览器执行代码
  6658. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6659. }
  6660. xmlhttp.onreadystatechange = function () {
  6661. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6662. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6663. // resolve(res.value[0][0].text);
  6664. if (type == '2') {
  6665. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6666. } else if (type == '3') {
  6667. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6668. }
  6669. } else {
  6670. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6671. }
  6672. }
  6673. }
  6674. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6675. xmlhttp.send();
  6676. }
  6677. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6678. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6679. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6680. _userinfo = US.userInfo, //登录用户信息
  6681. _userid = US.userInfo.userid //登录用户id
  6682. let _iframe;
  6683. let _cid = cid,
  6684. _stage = stage,
  6685. _task = task,
  6686. _tool = tool;
  6687. var _jie = $$("div", {
  6688. "style": {
  6689. "position": "absolute",
  6690. "bottom": "50px",
  6691. "right": "50px",
  6692. "zIndex": "9999",
  6693. "backgroundColor": "#2268bc",
  6694. "color": "#fff",
  6695. "padding": "12px 20px",
  6696. "cursor": "pointer",
  6697. "borderRadius": "4px",
  6698. },
  6699. "innerHTML": "确认并提交"
  6700. })
  6701. let aTool = ''
  6702. let _loading = document.createElement('div')
  6703. _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;"
  6704. // _loading.id = "";
  6705. let _lchild = document.createElement('div')
  6706. let _limg = document.createElement('img')
  6707. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6708. _limg.style = "width: 26px;margin-right: 10px;"
  6709. _lchild.appendChild(_limg)
  6710. let _lspan = document.createElement('span')
  6711. _lspan.innerHTML = "上传中..."
  6712. _lchild.appendChild(_lspan)
  6713. _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%);"
  6714. _loading.appendChild(_lchild)
  6715. var _box = $$('div', {
  6716. "style": {
  6717. "position": "relative",
  6718. "width": "100%",
  6719. "height": "100%",
  6720. },
  6721. })
  6722. _box.appendChild(_loading)
  6723. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6724. switch (str) {
  6725. case "whiteboard":
  6726. aTool = 1;
  6727. _iframe = $$("iframe", {
  6728. "frameborder": "no",
  6729. "border": "0",
  6730. "scrolling ": "no",
  6731. "style": {
  6732. "cssText": "border:0;width:100%;height:100%"
  6733. },
  6734. "src": "https://iwb.cocorobo.cn/"
  6735. })
  6736. _box.appendChild(_iframe);
  6737. _box.appendChild(_jie);
  6738. _formdiv = new U.UF.UI.form(
  6739. "电子白板",
  6740. _box, {
  6741. "id": "whiteboards" + cid + stage + task + tool,
  6742. "style": {
  6743. "width": "90%",
  6744. "height": "90%",
  6745. "overflow": 'hidden'
  6746. },
  6747. "onresize": function () { }
  6748. }, {
  6749. closecallback: function () { }
  6750. }, {
  6751. "style": {
  6752. "height": "36px"
  6753. }
  6754. }).form; //创建窗体
  6755. _taskbar = {
  6756. "id": str + _formdiv.id,
  6757. "style": {
  6758. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6759. },
  6760. "name": "电子白板",
  6761. "forms": _formdiv,
  6762. "click": function () {
  6763. U.MD.D.I.openApplication(str, obj, info);
  6764. }
  6765. }
  6766. break;
  6767. case "mind":
  6768. aTool = 3;
  6769. _iframe = $$("iframe", {
  6770. "frameborder": "no",
  6771. "border": "0",
  6772. "scrolling ": "no",
  6773. "style": {
  6774. "cssText": "border:0;width:100%;height:100%"
  6775. },
  6776. "src": "/kityminder-editor/dist/index.html"
  6777. });
  6778. _box.appendChild(_iframe);
  6779. _box.appendChild(_jie);
  6780. _formdiv = new U.UF.UI.form(
  6781. "思维导图",
  6782. _box, { //"/jsmind/example/demo.html"
  6783. "id": "minds" + cid + stage + task + tool,
  6784. "style": {
  6785. "width": "90%",
  6786. "height": "90%",
  6787. "overflow": 'hidden'
  6788. },
  6789. "onresize": function () { }
  6790. }, {
  6791. closecallback: function () { }
  6792. }, {
  6793. "style": {
  6794. "height": "36px"
  6795. }
  6796. }).form; //创建窗体
  6797. _taskbar = {
  6798. "id": str + _formdiv.id,
  6799. "style": {
  6800. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6801. },
  6802. "name": "思维导图",
  6803. "forms": _formdiv,
  6804. "click": function () {
  6805. U.MD.D.I.openApplication(str, obj, info);
  6806. }
  6807. }
  6808. break;
  6809. case "doc":
  6810. aTool = 6;
  6811. _iframe = $$("iframe", {
  6812. "frameborder": "no",
  6813. "border": "0",
  6814. "scrolling ": "no",
  6815. "style": {
  6816. "cssText": "border:0;width:100%;height:100%"
  6817. },
  6818. "src": "/Office/Word/WordEditArea.htm"
  6819. })
  6820. _box.appendChild(_iframe);
  6821. _box.appendChild(_jie);
  6822. _formdiv = new U.UF.UI.form(
  6823. "协同文档",
  6824. _box, {
  6825. "id": "docs" + cid + stage + task + tool,
  6826. "style": {
  6827. "width": "90%",
  6828. "height": "90%",
  6829. "overflow": 'hidden'
  6830. },
  6831. "onresize": function () { }
  6832. }, {
  6833. closecallback: function () { }
  6834. }, {
  6835. "style": {
  6836. "height": "36px"
  6837. }
  6838. }).form; //创建窗体
  6839. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6840. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6841. })
  6842. _taskbar = {
  6843. "id": str + _formdiv.id,
  6844. "style": {
  6845. "backgroundImage": "url(/img/icon/doc.png)"
  6846. },
  6847. "name": "协同文档",
  6848. "forms": _formdiv,
  6849. "click": function () {
  6850. U.MD.D.I.openApplication(str, obj, info);
  6851. }
  6852. }
  6853. break;
  6854. }
  6855. const script1 = document.createElement("script");
  6856. script1.type = "text/javascript";
  6857. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6858. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6859. const script2 = document.createElement("script");
  6860. script2.type = "text/javascript";
  6861. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6862. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6863. const script3 = document.createElement("script");
  6864. script3.type = "text/javascript";
  6865. script3.charset = "UTF-8";
  6866. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6867. const script4 = document.createElement("script");
  6868. script4.type = "text/javascript";
  6869. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6870. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6871. if (_iframe) {
  6872. if (str == 'doc') {
  6873. _iframe = _formdiv.querySelector('iframe')
  6874. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6875. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6876. _iframe.contentWindow.document.body.appendChild(script1);
  6877. _iframe.contentWindow.document.body.appendChild(script2);
  6878. // _iframe.contentWindow.document.body.appendChild(script3);
  6879. _iframe.contentWindow.document.body.appendChild(script4);
  6880. })
  6881. if (onloadListener) {
  6882. _iframe.contentDocument.location.reload()
  6883. } else {
  6884. _iframe.contentDocument.location.reload()
  6885. }
  6886. } else if (str == 'mind') {
  6887. _iframe = _formdiv.querySelector('iframe')
  6888. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6889. _iframe.contentWindow.document.body.appendChild(script1);
  6890. _iframe.contentWindow.document.body.appendChild(script2);
  6891. _iframe.contentWindow.document.body.appendChild(script4);
  6892. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6893. })
  6894. if (onloadListener) {
  6895. _iframe.contentDocument.location.reload()
  6896. } else {
  6897. _iframe.contentDocument.location.reload()
  6898. }
  6899. } else {
  6900. _iframe.onload = () => {
  6901. _iframe.contentWindow.document.body.appendChild(script1);
  6902. _iframe.contentWindow.document.body.appendChild(script2);
  6903. // _iframe.contentWindow.document.body.appendChild(script3);
  6904. _iframe.contentWindow.document.body.appendChild(script4);
  6905. };
  6906. }
  6907. _jie.onclick = async () => {
  6908. let text = ''
  6909. if (aTool == 6) {
  6910. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6911. } else if (aTool == 3) {
  6912. text = await U.MD.D.I.getEditorContent(_iframe);
  6913. }
  6914. _loading.style.display = 'flex'
  6915. console.log(_loading);
  6916. var _ajs = _iframe.contentWindow.document.createElement("script");
  6917. _ajs.type = "text/javascript";
  6918. _ajs.innerHTML =
  6919. // 'console.log(' + _loading + ');\n' +
  6920. 'var _js = document.createElement("script");\n' +
  6921. '_js.type="text/javascript";\n' +
  6922. '_js.charset="UTF-8";\n' +
  6923. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6924. "_js.onload = function(){\n" +
  6925. ' var a = document.getElementsByTagName("img")\n' +
  6926. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6927. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6928. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6929. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6930. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6931. "beforeUpload_shishi(file," +
  6932. "'" +
  6933. _userid +
  6934. "'" +
  6935. ", " +
  6936. "'" +
  6937. _cid +
  6938. "'" +
  6939. ", " +
  6940. "'" +
  6941. _stage +
  6942. "'" +
  6943. ", " +
  6944. "'" +
  6945. _task +
  6946. "'" +
  6947. ", " +
  6948. "'" +
  6949. _tool +
  6950. "'" +
  6951. ", " +
  6952. "'" +
  6953. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6954. "'" +
  6955. ", " +
  6956. "'" +
  6957. aTool +
  6958. "'" +
  6959. ", " +
  6960. "`" +
  6961. text +
  6962. "`" +
  6963. ")\n" +
  6964. " });\n" +
  6965. "}\n" +
  6966. "document.head.appendChild(_js);\n";
  6967. _iframe.contentWindow.document.head.appendChild(_ajs);
  6968. }
  6969. }
  6970. //U.MD.D.I.openClick(str);
  6971. //如果有任务栏信息
  6972. // if (_taskbar) {
  6973. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6974. // }
  6975. }
  6976. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  6977. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6978. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6979. _userinfo = US.userInfo, //登录用户信息
  6980. _userid = US.userInfo.userid //登录用户id
  6981. let _iframe;
  6982. let _cid = cid,
  6983. _stage = stage,
  6984. _task = task,
  6985. _tool = tool;
  6986. var _jie = $$("div", {
  6987. "style": {
  6988. "position": "absolute",
  6989. "bottom": "50px",
  6990. "right": "50px",
  6991. "zIndex": "9999",
  6992. "backgroundColor": "#2268bc",
  6993. "color": "#fff",
  6994. "padding": "12px 20px",
  6995. "cursor": "pointer",
  6996. "borderRadius": "4px",
  6997. },
  6998. "innerHTML": "确认并提交"
  6999. })
  7000. let aTool = ''
  7001. let _loading = document.createElement('div')
  7002. _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;"
  7003. // _loading.id = "";
  7004. let _lchild = document.createElement('div')
  7005. let _limg = document.createElement('img')
  7006. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7007. _limg.style = "width: 26px;margin-right: 10px;"
  7008. _lchild.appendChild(_limg)
  7009. let _lspan = document.createElement('span')
  7010. _lspan.innerHTML = "上传中..."
  7011. _lchild.appendChild(_lspan)
  7012. _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%);"
  7013. _loading.appendChild(_lchild)
  7014. var _box = $$('div', {
  7015. "style": {
  7016. "position": "relative",
  7017. "width": "100%",
  7018. "height": "100%",
  7019. },
  7020. })
  7021. _box.appendChild(_loading)
  7022. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7023. switch (str) {
  7024. case "whiteboard":
  7025. aTool = 1;
  7026. _iframe = $$("iframe", {
  7027. "frameborder": "no",
  7028. "border": "0",
  7029. "scrolling ": "no",
  7030. "style": {
  7031. "cssText": "border:0;width:100%;height:100%"
  7032. },
  7033. "src": "https://iwb.cocorobo.cn/"
  7034. })
  7035. _box.appendChild(_iframe);
  7036. _box.appendChild(_jie);
  7037. _formdiv = new U.UF.UI.form(
  7038. "电子白板",
  7039. _box, {
  7040. "id": "whiteboards" + cid + stage + task + tool,
  7041. "style": {
  7042. "width": "90%",
  7043. "height": "90%",
  7044. "overflow": 'hidden'
  7045. },
  7046. "onresize": function () { }
  7047. }, {
  7048. closecallback: function () { }
  7049. }, {
  7050. "style": {
  7051. "height": "36px"
  7052. }
  7053. }).form; //创建窗体
  7054. _taskbar = {
  7055. "id": str + _formdiv.id,
  7056. "style": {
  7057. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7058. },
  7059. "name": "电子白板",
  7060. "forms": _formdiv,
  7061. "click": function () {
  7062. U.MD.D.I.openApplication(str, obj, info);
  7063. }
  7064. }
  7065. break;
  7066. case "mind":
  7067. aTool = 3;
  7068. _iframe = $$("iframe", {
  7069. "frameborder": "no",
  7070. "border": "0",
  7071. "scrolling ": "no",
  7072. "style": {
  7073. "cssText": "border:0;width:100%;height:100%"
  7074. },
  7075. "src": "/kityminder-editor/dist/index.html"
  7076. });
  7077. _box.appendChild(_iframe);
  7078. _box.appendChild(_jie);
  7079. _formdiv = new U.UF.UI.form(
  7080. "思维导图",
  7081. _box, { //"/jsmind/example/demo.html"
  7082. "id": "minds" + cid + stage + task + tool,
  7083. "style": {
  7084. "width": "90%",
  7085. "height": "90%",
  7086. "overflow": 'hidden'
  7087. },
  7088. "onresize": function () { }
  7089. }, {
  7090. closecallback: function () { }
  7091. }, {
  7092. "style": {
  7093. "height": "36px"
  7094. }
  7095. }).form; //创建窗体
  7096. _taskbar = {
  7097. "id": str + _formdiv.id,
  7098. "style": {
  7099. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7100. },
  7101. "name": "思维导图",
  7102. "forms": _formdiv,
  7103. "click": function () {
  7104. U.MD.D.I.openApplication(str, obj, info);
  7105. }
  7106. }
  7107. break;
  7108. case "doc":
  7109. aTool = 6;
  7110. _iframe = $$("iframe", {
  7111. "frameborder": "no",
  7112. "border": "0",
  7113. "scrolling ": "no",
  7114. "style": {
  7115. "cssText": "border:0;width:100%;height:100%"
  7116. },
  7117. "src": "/Office/Word/WordEditArea.htm"
  7118. })
  7119. _box.appendChild(_iframe);
  7120. _box.appendChild(_jie);
  7121. _formdiv = new U.UF.UI.form(
  7122. "协同文档",
  7123. _box, {
  7124. "id": "docs" + cid + stage + task + tool,
  7125. "style": {
  7126. "width": "90%",
  7127. "height": "90%",
  7128. "overflow": 'hidden'
  7129. },
  7130. "onresize": function () { }
  7131. }, {
  7132. closecallback: function () { }
  7133. }, {
  7134. "style": {
  7135. "height": "36px"
  7136. }
  7137. }).form; //创建窗体
  7138. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7139. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7140. })
  7141. _taskbar = {
  7142. "id": str + _formdiv.id,
  7143. "style": {
  7144. "backgroundImage": "url(/img/icon/doc.png)"
  7145. },
  7146. "name": "协同文档",
  7147. "forms": _formdiv,
  7148. "click": function () {
  7149. U.MD.D.I.openApplication(str, obj, info);
  7150. }
  7151. }
  7152. break;
  7153. }
  7154. const script1 = document.createElement("script");
  7155. script1.type = "text/javascript";
  7156. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7157. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7158. const script2 = document.createElement("script");
  7159. script2.type = "text/javascript";
  7160. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7161. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7162. const script3 = document.createElement("script");
  7163. script3.type = "text/javascript";
  7164. script3.charset = "UTF-8";
  7165. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7166. const script4 = document.createElement("script");
  7167. script4.type = "text/javascript";
  7168. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7169. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7170. if (_iframe) {
  7171. if (str == 'doc') {
  7172. _iframe = _formdiv.querySelector('iframe')
  7173. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7174. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7175. _iframe.contentWindow.document.body.appendChild(script1);
  7176. _iframe.contentWindow.document.body.appendChild(script2);
  7177. // _iframe.contentWindow.document.body.appendChild(script3);
  7178. _iframe.contentWindow.document.body.appendChild(script4);
  7179. })
  7180. if (onloadListener) {
  7181. _iframe.contentDocument.location.reload()
  7182. } else {
  7183. _iframe.contentDocument.location.reload()
  7184. }
  7185. } else if (str == 'mind') {
  7186. _iframe = _formdiv.querySelector('iframe')
  7187. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7188. _iframe.contentWindow.document.body.appendChild(script1);
  7189. _iframe.contentWindow.document.body.appendChild(script2);
  7190. _iframe.contentWindow.document.body.appendChild(script4);
  7191. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7192. })
  7193. if (onloadListener) {
  7194. _iframe.contentDocument.location.reload()
  7195. } else {
  7196. _iframe.contentDocument.location.reload()
  7197. }
  7198. } else {
  7199. _iframe.onload = () => {
  7200. _iframe.contentWindow.document.body.appendChild(script1);
  7201. _iframe.contentWindow.document.body.appendChild(script2);
  7202. // _iframe.contentWindow.document.body.appendChild(script3);
  7203. _iframe.contentWindow.document.body.appendChild(script4);
  7204. };
  7205. }
  7206. _jie.onclick = async () => {
  7207. let text = ''
  7208. if (aTool == 6) {
  7209. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7210. } else if (aTool == 3) {
  7211. text = await U.MD.D.I.getEditorContent(_iframe);
  7212. }
  7213. _loading.style.display = 'flex'
  7214. console.log(_loading);
  7215. var _ajs = _iframe.contentWindow.document.createElement("script");
  7216. _ajs.type = "text/javascript";
  7217. _ajs.innerHTML =
  7218. // 'console.log(' + _loading + ');\n' +
  7219. 'var _js = document.createElement("script");\n' +
  7220. '_js.type="text/javascript";\n' +
  7221. '_js.charset="UTF-8";\n' +
  7222. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7223. "_js.onload = function(){\n" +
  7224. ' var a = document.getElementsByTagName("img")\n' +
  7225. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7226. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7227. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7228. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7229. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7230. "beforeUpload_shishi(file," +
  7231. "'" +
  7232. _userid +
  7233. "'" +
  7234. ", " +
  7235. "'" +
  7236. _cid +
  7237. "'" +
  7238. ", " +
  7239. "'" +
  7240. _stage +
  7241. "'" +
  7242. ", " +
  7243. "'" +
  7244. _task +
  7245. "'" +
  7246. ", " +
  7247. "'" +
  7248. _tool +
  7249. "'" +
  7250. ", " +
  7251. "'" +
  7252. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7253. "'" +
  7254. ", " +
  7255. "'" +
  7256. aTool +
  7257. "'" +
  7258. ", " +
  7259. "`" +
  7260. text +
  7261. "`" +
  7262. ")\n" +
  7263. " });\n" +
  7264. "}\n" +
  7265. "document.head.appendChild(_js);\n";
  7266. _iframe.contentWindow.document.head.appendChild(_ajs);
  7267. }
  7268. }
  7269. //U.MD.D.I.openClick(str);
  7270. //如果有任务栏信息
  7271. // if (_taskbar) {
  7272. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7273. // }
  7274. }
  7275. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7276. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7277. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7278. _userinfo = US.userInfo, //登录用户信息
  7279. _userid = US.userInfo.userid //登录用户id
  7280. let _iframe;
  7281. let _cid = cid,
  7282. _stage = stage,
  7283. _task = task,
  7284. _tool = tool;
  7285. var _jie = $$("div", {
  7286. "style": {
  7287. "position": "absolute",
  7288. "bottom": "50px",
  7289. "right": "50px",
  7290. "zIndex": "9999",
  7291. "backgroundColor": "#2268bc",
  7292. "color": "#fff",
  7293. "padding": "12px 20px",
  7294. "cursor": "pointer",
  7295. "borderRadius": "4px",
  7296. },
  7297. "innerHTML": "上传模板"
  7298. })
  7299. let aTool = ''
  7300. let _loading = document.createElement('div')
  7301. _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;"
  7302. // _loading.id = "";
  7303. let _lchild = document.createElement('div')
  7304. let _limg = document.createElement('img')
  7305. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7306. _limg.style = "width: 26px;margin-right: 10px;"
  7307. _lchild.appendChild(_limg)
  7308. let _lspan = document.createElement('span')
  7309. _lspan.innerHTML = "上传中..."
  7310. _lchild.appendChild(_lspan)
  7311. _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%);"
  7312. _loading.appendChild(_lchild)
  7313. var _box = $$('div', {
  7314. "style": {
  7315. "position": "relative",
  7316. "width": "100%",
  7317. "height": "100%",
  7318. },
  7319. })
  7320. _box.appendChild(_loading)
  7321. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7322. switch (str) {
  7323. case "whiteboard":
  7324. aTool = 1;
  7325. _iframe = $$("iframe", {
  7326. "frameborder": "no",
  7327. "border": "0",
  7328. "scrolling ": "no",
  7329. "style": {
  7330. "cssText": "border:0;width:100%;height:100%"
  7331. },
  7332. "src": "https://iwb.cocorobo.cn/"
  7333. })
  7334. _box.appendChild(_iframe);
  7335. _box.appendChild(_jie);
  7336. _formdiv = new U.UF.UI.form(
  7337. "电子白板",
  7338. _box, {
  7339. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7340. "style": {
  7341. "width": "90%",
  7342. "height": "90%",
  7343. "overflow": 'hidden'
  7344. },
  7345. "onresize": function () { }
  7346. }, {
  7347. closecallback: function () { }
  7348. }, {
  7349. "style": {
  7350. "height": "36px"
  7351. }
  7352. }).form; //创建窗体
  7353. _taskbar = {
  7354. "id": str + _formdiv.id,
  7355. "style": {
  7356. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7357. },
  7358. "name": "电子白板",
  7359. "forms": _formdiv,
  7360. "click": function () {
  7361. U.MD.D.I.openApplication(str, obj, info);
  7362. }
  7363. }
  7364. break;
  7365. case "mind":
  7366. aTool = 3;
  7367. _iframe = $$("iframe", {
  7368. "frameborder": "no",
  7369. "border": "0",
  7370. "scrolling ": "no",
  7371. "style": {
  7372. "cssText": "border:0;width:100%;height:100%"
  7373. },
  7374. "src": "/kityminder-editor/dist/index.html"
  7375. });
  7376. _box.appendChild(_iframe);
  7377. _box.appendChild(_jie);
  7378. _formdiv = new U.UF.UI.form(
  7379. "思维导图",
  7380. _box, { //"/jsmind/example/demo.html"
  7381. "id": "minds_Yu" + cid + stage + task + tool,
  7382. "style": {
  7383. "width": "90%",
  7384. "height": "90%",
  7385. "overflow": 'hidden'
  7386. },
  7387. "onresize": function () { }
  7388. }, {
  7389. closecallback: function () { }
  7390. }, {
  7391. "style": {
  7392. "height": "36px"
  7393. }
  7394. }).form; //创建窗体
  7395. _taskbar = {
  7396. "id": str + _formdiv.id,
  7397. "style": {
  7398. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7399. },
  7400. "name": "思维导图",
  7401. "forms": _formdiv,
  7402. "click": function () {
  7403. U.MD.D.I.openApplication(str, obj, info);
  7404. }
  7405. }
  7406. break;
  7407. case "doc":
  7408. aTool = 6;
  7409. _iframe = $$("iframe", {
  7410. "frameborder": "no",
  7411. "border": "0",
  7412. "scrolling ": "no",
  7413. "style": {
  7414. "cssText": "border:0;width:100%;height:100%"
  7415. },
  7416. "src": "/Office/Word/WordEditArea.htm"
  7417. })
  7418. _box.appendChild(_iframe);
  7419. _box.appendChild(_jie);
  7420. _formdiv = new U.UF.UI.form(
  7421. "协同文档",
  7422. _box, {
  7423. "id": "docs_Yu" + cid + stage + task + tool,
  7424. "style": {
  7425. "width": "90%",
  7426. "height": "90%",
  7427. "overflow": 'hidden'
  7428. },
  7429. "onresize": function () { }
  7430. }, {
  7431. closecallback: function () { }
  7432. }, {
  7433. "style": {
  7434. "height": "36px"
  7435. }
  7436. }).form; //创建窗体
  7437. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7438. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7439. })
  7440. _taskbar = {
  7441. "id": str + _formdiv.id,
  7442. "style": {
  7443. "backgroundImage": "url(/img/icon/doc.png)"
  7444. },
  7445. "name": "协同文档",
  7446. "forms": _formdiv,
  7447. "click": function () {
  7448. U.MD.D.I.openApplication(str, obj, info);
  7449. }
  7450. }
  7451. break;
  7452. case "CocoPi":
  7453. aTool = 57;
  7454. _iframe = $$("iframe", {
  7455. "allowpaymentrequest": "allowpaymentrequest",
  7456. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7457. "webkitallowfullscreen": "",
  7458. "mozallowfullscreen": "",
  7459. "frameborder": "no",
  7460. "border": "0",
  7461. "scrolling ": "no",
  7462. "style": {
  7463. "cssText": "border:0;width:100%;height:100%"
  7464. },
  7465. "src": "https://pi.cocorobo.cn/"
  7466. })
  7467. _box.appendChild(_iframe);
  7468. _box.appendChild(_jie);
  7469. _formdiv = new U.UF.UI.form(
  7470. "CocoPi",
  7471. _box, {
  7472. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7473. "style": {
  7474. "width": "90%",
  7475. "height": "90%",
  7476. "overflow": 'hidden'
  7477. },
  7478. "onresize": function () { }
  7479. }, {
  7480. closecallback: function () { }
  7481. }, {
  7482. "style": {
  7483. "height": "36px"
  7484. }
  7485. }).form; //创建窗体
  7486. _taskbar = {
  7487. "id": str + _formdiv.id,
  7488. "style": {
  7489. "backgroundImage": "url(/img/icon/cocopi.png)"
  7490. },
  7491. "name": "CocoPi",
  7492. "forms": _formdiv,
  7493. "click": function () {
  7494. U.MD.D.I.openApplication(str, obj, info);
  7495. }
  7496. }
  7497. break;
  7498. }
  7499. if (_iframe) {
  7500. if (str == 'doc') {
  7501. _iframe = _formdiv.querySelector('iframe')
  7502. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7503. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7504. })
  7505. if (onloadListener) {
  7506. _iframe.contentDocument.location.reload()
  7507. } else {
  7508. _iframe.contentDocument.location.reload()
  7509. }
  7510. } else if (str == 'mind') {
  7511. _iframe = _formdiv.querySelector('iframe')
  7512. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7513. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7514. })
  7515. if (onloadListener) {
  7516. _iframe.contentDocument.location.reload()
  7517. } else {
  7518. _iframe.contentDocument.location.reload()
  7519. }
  7520. } else if (str == 'whiteboard') {
  7521. _iframe = _formdiv.querySelector('iframe')
  7522. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7523. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7524. })
  7525. if (onloadListener) {
  7526. _iframe.contentDocument.location.reload()
  7527. } else {
  7528. _iframe.contentDocument.location.reload()
  7529. }
  7530. } else if (str == 'CocoPi') {
  7531. _iframe = _formdiv.querySelector('iframe')
  7532. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7533. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7534. })
  7535. if (onloadListener) {
  7536. _iframe.contentDocument.location.reload()
  7537. } else {
  7538. _iframe.contentDocument.location.reload()
  7539. }
  7540. } else {
  7541. _iframe.onload = () => { };
  7542. }
  7543. _jie.onclick = async () => {
  7544. let text = ''
  7545. let type = '2'
  7546. if (aTool == 1) {
  7547. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7548. type = '3'
  7549. } else if (aTool == 6) {
  7550. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7551. type = '1'
  7552. } else if (aTool == 3) {
  7553. text = await U.MD.D.I.getEditorContent(_iframe);
  7554. type = '2'
  7555. } else if (aTool == 57) {
  7556. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7557. type = '4'
  7558. }
  7559. _loading.style.display = 'flex'
  7560. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7561. }
  7562. }
  7563. //U.MD.D.I.openClick(str);
  7564. //如果有任务栏信息
  7565. // if (_taskbar) {
  7566. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7567. // }
  7568. }
  7569. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7570. var xmlhttp;
  7571. var Mac, Sn, DeviceId
  7572. if (window.XMLHttpRequest) {
  7573. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7574. xmlhttp = new XMLHttpRequest();
  7575. } else {
  7576. // IE6, IE5 浏览器执行代码
  7577. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7578. }
  7579. xmlhttp.onreadystatechange = function () {
  7580. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7581. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7582. // resolve(res.value[0][0].text);
  7583. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7584. }
  7585. }
  7586. }
  7587. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7588. xmlhttp.send();
  7589. }
  7590. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7591. var xmlhttp;
  7592. var Mac, Sn, DeviceId
  7593. if (window.XMLHttpRequest) {
  7594. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7595. xmlhttp = new XMLHttpRequest();
  7596. } else {
  7597. // IE6, IE5 浏览器执行代码
  7598. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7599. }
  7600. xmlhttp.onreadystatechange = function () {
  7601. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7602. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7603. // resolve(res.value[0][0].text);
  7604. if (type == '2') {
  7605. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7606. } else if (type == '3') {
  7607. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7608. } else if (type == '4') {
  7609. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7610. }
  7611. } else {
  7612. if (type == '2') {
  7613. iframe.contentWindow.editor.minder.importData('json', '')
  7614. } else if (type == '3') {
  7615. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7616. } else if (type == '4') {
  7617. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7618. }
  7619. }
  7620. }
  7621. }
  7622. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7623. xmlhttp.send();
  7624. }
  7625. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7626. var xmlhttp;
  7627. var Mac, Sn, DeviceId
  7628. if (window.XMLHttpRequest) {
  7629. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7630. xmlhttp = new XMLHttpRequest();
  7631. } else {
  7632. // IE6, IE5 浏览器执行代码
  7633. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7634. }
  7635. xmlhttp.onreadystatechange = function () {
  7636. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7637. if (xmlhttp.response) {
  7638. // resolve(res.value[0][0].text);
  7639. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7640. // $(fileInput).val('');
  7641. // });
  7642. span.innerHTML = '上传成功'
  7643. setTimeout(() => {
  7644. loading.style.display = 'none'
  7645. }, 1000);
  7646. }
  7647. }
  7648. }
  7649. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7650. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7651. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7652. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7653. // 设置请求头,表示请求体的编码格式
  7654. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7655. // 设置请求体,使用url-encoded格式的数据
  7656. }
  7657. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7658. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7659. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7660. _userinfo = US.userInfo, //登录用户信息
  7661. _userid = US.userInfo.userid //登录用户id
  7662. let _iframe;
  7663. let _cid = cid,
  7664. _stage = stage,
  7665. _task = task,
  7666. _tool = tool;
  7667. var _jie = $$("div", {
  7668. "style": {
  7669. "position": "absolute",
  7670. "bottom": "50px",
  7671. "right": "50px",
  7672. "zIndex": "9999",
  7673. "backgroundColor": "#2268bc",
  7674. "color": "#fff",
  7675. "padding": "12px 20px",
  7676. "cursor": "pointer",
  7677. "borderRadius": "4px",
  7678. },
  7679. "innerHTML": "提交作业"
  7680. })
  7681. let aTool = ''
  7682. let _loading = document.createElement('div')
  7683. _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;"
  7684. // _loading.id = "";
  7685. let _lchild = document.createElement('div')
  7686. let _limg = document.createElement('img')
  7687. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7688. _limg.style = "width: 26px;margin-right: 10px;"
  7689. _lchild.appendChild(_limg)
  7690. let _lspan = document.createElement('span')
  7691. _lspan.innerHTML = "上传中..."
  7692. _lchild.appendChild(_lspan)
  7693. _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%);"
  7694. _loading.appendChild(_lchild)
  7695. var _box = $$('div', {
  7696. "style": {
  7697. "position": "relative",
  7698. "width": "100%",
  7699. "height": "100%",
  7700. },
  7701. })
  7702. _box.appendChild(_loading)
  7703. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7704. switch (str) {
  7705. case "CocoPi":
  7706. aTool = 57;
  7707. _iframe = $$("iframe", {
  7708. "allowpaymentrequest": "allowpaymentrequest",
  7709. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7710. "webkitallowfullscreen": "",
  7711. "mozallowfullscreen": "",
  7712. "frameborder": "no",
  7713. "border": "0",
  7714. "scrolling ": "no",
  7715. "style": {
  7716. "cssText": "border:0;width:100%;height:100%"
  7717. },
  7718. "src": "https://pi.cocorobo.cn/"
  7719. })
  7720. _box.appendChild(_iframe);
  7721. _box.appendChild(_jie);
  7722. _formdiv = new U.UF.UI.form(
  7723. "CocoPi",
  7724. _box, {
  7725. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7726. "style": {
  7727. "width": "90%",
  7728. "height": "90%",
  7729. "overflow": 'hidden'
  7730. },
  7731. "onresize": function () { }
  7732. }, {
  7733. closecallback: function () { }
  7734. }, {
  7735. "style": {
  7736. "height": "36px"
  7737. }
  7738. }).form; //创建窗体
  7739. _taskbar = {
  7740. "id": str + _formdiv.id,
  7741. "style": {
  7742. "backgroundImage": "url(/img/icon/cocopi.png)"
  7743. },
  7744. "name": "CocoPi",
  7745. "forms": _formdiv,
  7746. "click": function () {
  7747. U.MD.D.I.openApplication(str, obj, info);
  7748. }
  7749. }
  7750. break;
  7751. }
  7752. if (_iframe) {
  7753. if (str == 'CocoPi') {
  7754. _iframe = _formdiv.querySelector('iframe')
  7755. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7756. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7757. })
  7758. if (onloadListener) {
  7759. _iframe.contentDocument.location.reload()
  7760. } else {
  7761. _iframe.contentDocument.location.reload()
  7762. }
  7763. }
  7764. _jie.onclick = async () => {
  7765. let text = ''
  7766. if (aTool == 57) {
  7767. text = _iframe.contentWindow.getLoadXmlStr()
  7768. }
  7769. _loading.style.display = 'flex'
  7770. console.log(_loading);
  7771. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7772. _loading.style.display = 'none'
  7773. let _div = document.createElement('div')
  7774. _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;"
  7775. let _inner = document.createElement('div')
  7776. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7777. _inner.innerHTML = "上传成功"
  7778. _div.appendChild(_inner)
  7779. _iframe.contentWindow.window.document.body.appendChild(_div)
  7780. _div.onclick = () => {
  7781. _iframe.contentWindow.window.document.body.removeChild(_div)
  7782. }
  7783. setTimeout(() => {
  7784. _iframe.contentWindow.window.document.body.removeChild(_div)
  7785. }, 1000);
  7786. }, [], { "type": "POST", "withCredentials": true });
  7787. }
  7788. }
  7789. }
  7790. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7791. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7792. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7793. _userid = student.userid, //登录用户id
  7794. _username = student.student //用户名字
  7795. let _iframe;
  7796. let _cid = cid,
  7797. _stage = stage,
  7798. _task = task,
  7799. _tool = tool;
  7800. var _jie = $$("div", {
  7801. "style": {
  7802. "position": "absolute",
  7803. "bottom": "50px",
  7804. "right": "50px",
  7805. "zIndex": "9999",
  7806. "backgroundColor": "#2268bc",
  7807. "color": "#fff",
  7808. "padding": "12px 20px",
  7809. "cursor": "pointer",
  7810. "borderRadius": "4px",
  7811. },
  7812. "innerHTML": "提交作业"
  7813. })
  7814. let aTool = ''
  7815. let _loading = document.createElement('div')
  7816. _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;"
  7817. // _loading.id = "";
  7818. let _lchild = document.createElement('div')
  7819. let _limg = document.createElement('img')
  7820. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7821. _limg.style = "width: 26px;margin-right: 10px;"
  7822. _lchild.appendChild(_limg)
  7823. let _lspan = document.createElement('span')
  7824. _lspan.innerHTML = "上传中..."
  7825. _lchild.appendChild(_lspan)
  7826. _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%);"
  7827. _loading.appendChild(_lchild)
  7828. var _box = $$('div', {
  7829. "style": {
  7830. "position": "relative",
  7831. "width": "100%",
  7832. "height": "100%",
  7833. },
  7834. })
  7835. _box.appendChild(_loading)
  7836. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7837. switch (str) {
  7838. case "CocoPi":
  7839. aTool = 57;
  7840. _iframe = $$("iframe", {
  7841. "allowpaymentrequest": "allowpaymentrequest",
  7842. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7843. "webkitallowfullscreen": "",
  7844. "mozallowfullscreen": "",
  7845. "frameborder": "no",
  7846. "border": "0",
  7847. "scrolling ": "no",
  7848. "style": {
  7849. "cssText": "border:0;width:100%;height:100%"
  7850. },
  7851. "src": "https://pi.cocorobo.cn/"
  7852. })
  7853. _box.appendChild(_iframe);
  7854. _box.appendChild(_jie);
  7855. _formdiv = new U.UF.UI.form(
  7856. "CocoPi-" + _username,
  7857. _box, {
  7858. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7859. "style": {
  7860. "width": "90%",
  7861. "height": "90%",
  7862. "overflow": 'hidden'
  7863. },
  7864. "onresize": function () { }
  7865. }, {
  7866. closecallback: function () { }
  7867. }, {
  7868. "style": {
  7869. "height": "36px"
  7870. }
  7871. }).form; //创建窗体
  7872. _taskbar = {
  7873. "id": str + _formdiv.id,
  7874. "style": {
  7875. "backgroundImage": "url(/img/icon/cocopi.png)"
  7876. },
  7877. "name": "CocoPi",
  7878. "forms": _formdiv,
  7879. "click": function () {
  7880. U.MD.D.I.openApplication(str, obj, info);
  7881. }
  7882. }
  7883. break;
  7884. }
  7885. if (_iframe) {
  7886. if (str == 'CocoPi') {
  7887. _iframe = _formdiv.querySelector('iframe')
  7888. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7889. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7890. })
  7891. if (onloadListener) {
  7892. _iframe.contentDocument.location.reload()
  7893. } else {
  7894. _iframe.contentDocument.location.reload()
  7895. }
  7896. }
  7897. _jie.onclick = async () => {
  7898. let text = ''
  7899. if (aTool == 57) {
  7900. text = _iframe.contentWindow.getLoadXmlStr()
  7901. }
  7902. _loading.style.display = 'flex'
  7903. console.log(_loading);
  7904. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7905. _loading.style.display = 'none'
  7906. let _div = document.createElement('div')
  7907. _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;"
  7908. let _inner = document.createElement('div')
  7909. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7910. _inner.innerHTML = "上传成功"
  7911. _div.appendChild(_inner)
  7912. _iframe.contentWindow.window.document.body.appendChild(_div)
  7913. _div.onclick = () => {
  7914. _iframe.contentWindow.window.document.body.removeChild(_div)
  7915. }
  7916. setTimeout(() => {
  7917. _iframe.contentWindow.window.document.body.removeChild(_div)
  7918. }, 1000);
  7919. }, [], { "type": "POST", "withCredentials": true });
  7920. }
  7921. }
  7922. }
  7923. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7924. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7925. if (res.value[0].length > 0) {
  7926. if (atool == 57) {
  7927. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7928. }
  7929. } else {
  7930. if (atool == 57) {
  7931. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7932. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7933. }
  7934. }
  7935. }, [], { "type": "POST", "withCredentials": true });
  7936. }