DeskTop.js 512 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498
  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. { "Name": "案例征集", "Url": "ytpbl", "style": { "cssText": "background-image:url(/img/icon/gpbl2.png)" } },
  190. ];
  191. U.MD.D.I.orgStemDeskIcon = [
  192. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  193. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  194. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  195. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  196. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  197. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  198. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  199. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  200. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  201. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  202. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  203. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  204. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  205. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  206. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  207. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  208. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  209. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  210. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  211. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  212. ];
  213. U.MD.D.I.szulsDeskIcon = [
  214. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  215. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  216. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  217. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  218. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  219. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  220. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  221. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  222. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  223. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  224. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  225. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  226. ];
  227. U.MD.D.I.hanDeskIcon = [
  228. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  229. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  230. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  231. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  232. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  233. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  234. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  235. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  236. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  237. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  238. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  239. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  240. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  241. ];
  242. U.MD.D.I.GMteacherDeskIcon = [
  243. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  244. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  245. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  246. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  247. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  248. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  249. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  250. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  251. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  252. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  253. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  254. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  255. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  256. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  257. ];
  258. U.MD.D.I.GMstudentDeskIcon = [
  259. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  260. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  261. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  262. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  263. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  264. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  265. ];
  266. //北师大
  267. U.MD.D.I.BSDNSteacherDeskIcon = [
  268. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  269. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  270. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  271. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  272. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  273. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  274. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  275. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  276. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  277. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  278. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  279. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  280. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  281. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  282. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  283. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  284. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  285. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  286. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  287. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  288. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  289. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  290. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  291. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  292. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  293. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  294. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  295. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  296. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  297. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  298. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  299. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  300. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  301. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  302. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  303. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  304. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  305. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  306. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  307. ];
  308. //松山湖
  309. U.MD.D.I.SONGteacherDeskIcon = [
  310. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  311. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  312. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  313. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  314. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  315. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  316. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  317. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  318. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  319. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  320. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  321. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  322. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  323. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  324. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  325. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  326. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  327. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  328. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  329. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  330. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  331. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  332. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  333. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  334. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  335. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  336. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  337. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  338. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  339. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  340. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  341. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  342. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  343. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  344. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  345. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  346. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  347. ];
  348. U.MD.D.I.tcStudentDeskIcon = [
  349. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  350. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  351. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  352. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  353. ];
  354. U.MD.D.I.tcTeacherDeskIcon = [
  355. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  356. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  357. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  358. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  359. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  360. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  361. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  362. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  363. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  364. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  365. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  366. ];
  367. U.MD.D.I.tcOrganizerDeskIcon = [
  368. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  369. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  370. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  371. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  372. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  373. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  374. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  375. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  376. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  377. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  378. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  379. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  380. ];
  381. U.MD.D.I.szscStudentDeskIcon = [
  382. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  383. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  384. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  385. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  386. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  387. ];
  388. U.MD.D.I.szscTeacherDeskIcon = [
  389. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  390. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  391. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  392. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  393. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  394. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  395. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  396. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  397. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  398. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  399. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  400. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  401. ];
  402. U.MD.D.I.szscOrganizerDeskIcon = [
  403. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  404. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  405. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  406. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  407. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  408. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  409. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  410. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  411. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  412. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  413. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  414. ];
  415. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  416. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  417. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  418. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  419. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  420. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  421. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  422. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  423. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  424. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  425. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  426. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  427. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  428. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  429. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  430. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  431. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  432. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  433. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  434. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  435. ];
  436. U.MD.D.I.wankeAdminDeskIcon = [
  437. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  438. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  439. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  440. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  441. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  442. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  443. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  444. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  445. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  446. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  447. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  448. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  449. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  450. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  451. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  452. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  453. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  454. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  455. ];
  456. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  457. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  458. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  459. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  460. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  461. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  462. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  463. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  464. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  465. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  466. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  467. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  468. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  469. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  470. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  471. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  472. ];
  473. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  474. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  475. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  476. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  477. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  478. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  479. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  480. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  481. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  482. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  483. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  484. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  485. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  486. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  487. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  488. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  489. ];
  490. //明德教师桌面图标的全局变量
  491. U.MD.D.I.MingdeTeacherDeskIcon = [
  492. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  493. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  494. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  495. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  496. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  497. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  498. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  499. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  500. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  501. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  502. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  503. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  504. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  505. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  506. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  507. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  508. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  509. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  510. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  511. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  512. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  513. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  514. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  515. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  516. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  517. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  518. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  519. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  520. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  521. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  522. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  523. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  524. ];
  525. //97c4ee8b-d010-4042-986d-e9d3c217264f
  526. //教师桌面图标的全局变量
  527. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  528. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  529. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  530. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  531. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  532. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  533. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  534. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  535. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  536. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  537. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  538. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  539. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  540. ];
  541. //福田
  542. U.MD.D.I.futianTeacherDeskIcon = [
  543. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  544. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  545. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  546. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  547. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  548. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  549. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  550. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  551. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  552. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  553. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  554. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  555. ];
  556. //福田
  557. U.MD.D.I.futianAdminDeskIcon = [
  558. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  559. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  560. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  561. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  562. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  563. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  564. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  565. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  566. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  567. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  568. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  569. ];
  570. //lotech
  571. U.MD.D.I.lotechTeacherDeskIcon = [
  572. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  573. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  574. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  575. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  576. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  577. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  578. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  579. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  580. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  581. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  582. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  583. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  584. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  585. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  586. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  587. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  588. ];
  589. //龙华中心小学教师桌面图标的全局变量
  590. U.MD.D.I.longhuateacherDeskIcon = [
  591. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  592. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  593. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  594. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  595. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  596. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  597. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  598. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  599. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  600. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  601. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  602. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  603. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  604. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  605. ];
  606. //教科院实小教师桌面图标的全局变量
  607. U.MD.D.I.siesteacherDeskIcon = [
  608. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  609. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  610. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  611. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  612. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  613. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  614. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  615. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  616. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  617. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  618. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  619. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  620. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  621. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  622. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  623. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  624. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  625. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  626. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  627. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  628. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  629. { "Name": "评测看板", "Url": "dataBoardTest", "style": { "cssText": "background-image:url(/img/icon/databoardTest.png)" } },
  630. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  631. { "Name": "教师管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  632. { "Name": "教师中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  633. ];
  634. //教科院实小教师桌面图标的全局变量
  635. U.MD.D.I.siesStudentDeskIcon = [
  636. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  637. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  638. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  639. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  640. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  641. ];
  642. //福田
  643. U.MD.D.I.gdjgTeacherDeskIcon = [
  644. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  645. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  646. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  647. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  648. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  649. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  650. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  651. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  652. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  653. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  654. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  655. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  656. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  657. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  658. ];
  659. //gdjg
  660. U.MD.D.I.gdjgAdminDeskIcon = [
  661. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  662. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  663. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  664. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  665. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  666. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  667. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  668. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  669. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  670. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  671. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  672. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  673. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  674. ];
  675. //hk
  676. U.MD.D.I.hkteacherDeskIcon = [
  677. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  678. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  679. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  680. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  681. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  682. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  683. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  684. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  685. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  686. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  687. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  688. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  689. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  690. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  691. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  692. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  693. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  694. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  695. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  696. ];
  697. //hk
  698. U.MD.D.I.hkStudentDeskIcon = [
  699. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  700. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  701. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  702. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  703. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  704. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  705. ];
  706. //hk
  707. U.MD.D.I.hkaceteacherDeskIcon = [
  708. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  709. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  710. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  711. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  712. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  713. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  714. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  715. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  716. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  717. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  718. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  719. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  720. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  721. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  722. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  723. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  724. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  725. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  726. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  727. ];
  728. //hk
  729. U.MD.D.I.hkaceStudentDeskIcon = [
  730. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  731. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  732. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  733. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  734. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  735. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  736. ];
  737. //香海正覺蓮社佛教正覺中學
  738. U.MD.D.I.hkZJLSteacherDeskIcon = [
  739. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  740. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  741. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  742. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  743. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  744. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  745. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  746. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  747. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  748. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  749. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  750. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  751. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  752. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  753. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  754. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  755. ];
  756. //香海正覺蓮社佛教正覺中學
  757. U.MD.D.I.hkZJLSStudentDeskIcon = [
  758. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  759. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  760. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  761. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  762. ];
  763. //云海
  764. U.MD.D.I.yunhaiTeacherDeskIcon = [
  765. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  766. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  767. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  768. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  769. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  770. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  771. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  772. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  773. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  774. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  775. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  776. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  777. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  778. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  779. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  780. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  781. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  782. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  783. ];
  784. //福田
  785. U.MD.D.I.heyuanTeacherDeskIcon = [
  786. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  787. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  788. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  789. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  790. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  791. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  792. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  793. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  794. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  795. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  796. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  797. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  798. ];
  799. //福田
  800. U.MD.D.I.heyuanAdminDeskIcon = [
  801. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  802. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  803. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  804. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  805. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  806. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  807. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  808. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  809. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  810. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  811. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  812. ];
  813. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  814. U.MD.D.I.szherTeacherDeskIcon = [
  815. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  816. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  817. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  818. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  819. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  820. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  821. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  822. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  823. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  824. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  825. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  826. ];
  827. //dsei
  828. U.MD.D.I.dseiTeacherDeskIcon = [
  829. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  830. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  831. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  832. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  833. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  834. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  835. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  836. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  837. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  838. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  839. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  840. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  841. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  842. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  843. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  844. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  845. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  846. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  847. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  848. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  849. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  850. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  851. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  852. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  853. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  854. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  855. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  856. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  857. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  858. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  859. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  860. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  861. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  862. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  863. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  864. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  865. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  866. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  867. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  868. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  869. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  870. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  871. ];
  872. //dsei
  873. U.MD.D.I.dseiAdminDeskIcon = [
  874. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  875. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  876. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  877. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  878. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  879. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  880. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  881. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  882. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  883. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  884. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  885. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  886. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  887. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  888. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  889. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  890. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  891. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  892. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  893. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  894. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  895. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  896. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  897. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  898. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  899. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  900. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  901. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  902. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  903. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  904. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  905. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  906. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  907. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  908. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  909. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  910. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  911. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  912. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  913. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  914. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  915. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  916. ];
  917. //dsei
  918. U.MD.D.I.dseiStudentDeskIcon = [
  919. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  920. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  921. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  922. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  923. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  924. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  925. ];
  926. //未来教育基地
  927. U.MD.D.I.szjkyTeacherDeskIcon = [
  928. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  929. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  930. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  931. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  932. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  933. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  934. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  935. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  936. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  937. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  938. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  939. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  940. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  941. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  942. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  943. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  944. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  945. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  946. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  947. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  948. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  949. ];
  950. //未来教育基地
  951. U.MD.D.I.szjkyAdminDeskIcon = [
  952. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  953. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  954. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  955. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  956. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  957. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  958. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  959. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  960. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  961. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  962. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  963. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  964. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  965. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  966. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  967. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  968. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  969. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  970. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  971. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  972. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  973. ];
  974. //未来教育基地
  975. U.MD.D.I.szjkyStudentDeskIcon = [
  976. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  977. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  978. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  979. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  980. ];
  981. //成华教育局
  982. U.MD.D.I.chjyjTeacherDeskIcon = [
  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": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  994. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  995. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  996. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  997. ];
  998. //成华教育局chjyj
  999. U.MD.D.I.chjyjAdminDeskIcon = [
  1000. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1001. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1002. { "Name": "项目管理", "Url": "studentCourseS", "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": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1005. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1006. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1007. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1008. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1009. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1010. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1011. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1012. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1013. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1014. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1015. ];
  1016. //成华教育局chjyj
  1017. U.MD.D.I.chjyjStudentDeskIcon = [
  1018. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1019. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1020. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1021. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1022. ];
  1023. //tpc
  1024. U.MD.D.I.tpcStudentDeskIcon = [
  1025. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1026. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1027. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1028. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1029. ];
  1030. //tpc
  1031. U.MD.D.I.tpcTeacherDeskIcon = [
  1032. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1033. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1034. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1035. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1036. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1037. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1038. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1039. ];
  1040. //tpc
  1041. U.MD.D.I.tpcAdminDeskIcon = [
  1042. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1043. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1044. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1045. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1046. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1047. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1048. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1049. ];
  1050. //THU-IOE
  1051. U.MD.D.I.thuioeTeacherDeskIcon = [
  1052. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1053. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1054. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1055. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1056. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1057. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1058. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1059. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1060. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1061. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1062. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1063. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1064. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1065. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1066. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1067. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1068. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1069. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1070. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1071. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1072. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1073. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1074. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1075. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1076. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1077. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1078. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1079. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1080. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1081. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1082. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1083. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1084. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1085. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1086. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1087. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1088. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1089. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1090. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1091. ];
  1092. //THU-IOE
  1093. U.MD.D.I.thuioeStudentDeskIcon = [
  1094. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1095. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1096. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1097. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1098. ];
  1099. //jccssyl
  1100. U.MD.D.I.jccssylTeacherDeskIcon = [
  1101. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1102. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1103. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1104. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1105. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1106. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1107. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1108. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1109. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1110. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1111. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1112. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1113. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1114. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1115. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1116. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1117. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1118. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1119. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1120. ];
  1121. //jccssyl
  1122. U.MD.D.I.jccssylStudentDeskIcon = [
  1123. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1124. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1125. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1126. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1127. ];
  1128. //cale
  1129. U.MD.D.I.caleTeacherDeskIcon = [
  1130. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1131. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1132. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1133. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1134. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1135. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1136. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1137. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1138. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1139. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1140. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1141. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1142. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1143. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1144. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1145. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1146. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1147. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1148. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1149. ];
  1150. //cale
  1151. U.MD.D.I.caleStudentDeskIcon = [
  1152. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1153. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1154. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1155. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1156. ];
  1157. //lqwmsgzs
  1158. U.MD.D.I.lqwmsgzsTeacherDeskIcon = [
  1159. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1160. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1161. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1162. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1163. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1164. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1165. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1166. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1167. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1168. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1169. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1170. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1171. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1172. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1173. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1174. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1175. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1176. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1177. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1178. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1179. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1180. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1181. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1182. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1183. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1184. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1185. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1186. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1187. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1188. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1189. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1190. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1191. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1192. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1193. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1194. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1195. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1196. ];
  1197. //lqwmsgzs
  1198. U.MD.D.I.lqwmsgzsStudentDeskIcon = [
  1199. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1200. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1201. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1202. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1203. ];
  1204. //#region 桌面初始化a
  1205. /**
  1206. * 初始化桌面的起始函数
  1207. *
  1208. */
  1209. U.MD.D.I.init = function () {
  1210. if ($("#U_MD_D_K")[0]) {
  1211. //初始化桌面图标
  1212. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1213. // var clickUrl = ':12588/requestIp.php';
  1214. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1215. // U.MD.D.I.Ip = data;
  1216. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1217. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1218. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1219. // })
  1220. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1221. // })
  1222. }
  1223. }
  1224. /**
  1225. * 模式切换
  1226. *
  1227. */
  1228. U.MD.D.I.ModeCheck = function (type) {
  1229. if (US.Config.type == type) {
  1230. return
  1231. }
  1232. US.Config.type = type
  1233. $('.U_PBL_Check .active')[0].className = ''
  1234. if (type == 1) {
  1235. $('.U_PBL_Check div')[0].className = 'active'
  1236. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1237. } else {
  1238. $('.U_PBL_Check div')[1].className = 'active'
  1239. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1240. }
  1241. //初始化桌面图标
  1242. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1243. if (type == 2) {
  1244. U.MD.D.I.openApplication("project")
  1245. }
  1246. }
  1247. /**
  1248. * 隐藏任务栏
  1249. *
  1250. * @param {element} 桌面元素
  1251. */
  1252. U.MD.D.I.hiddenTaskbar = function (el) {
  1253. //任务栏位置变小
  1254. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1255. //桌面的位置变大
  1256. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1257. }
  1258. /**
  1259. * 隐藏任务栏
  1260. *
  1261. * @param {element} 桌面元素
  1262. */
  1263. U.MD.D.I.hiddenTaskbarout = function (el) {
  1264. //任务栏位置变小
  1265. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1266. //任务栏位置变化
  1267. U.selectEl(el).css({ "bottom": "-60px" });
  1268. //桌面的位置变大
  1269. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1270. }
  1271. }
  1272. /**
  1273. * 初始化打印桌面图标
  1274. *
  1275. * @param {element} 桌面元素
  1276. */
  1277. U.MD.D.I.initDesktopIcons = function (el, type) {
  1278. var i, //用于循环
  1279. _content, //桌面图标元素
  1280. _iconcontent, //桌面图标元素
  1281. _frag = $$("frag"), //定义一个碎片元素
  1282. _type = US.userInfo.type,
  1283. _org = US.userInfo.org,
  1284. _oid = US.userInfo.organizeid,
  1285. _role = US.userInfo.role,
  1286. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1287. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1288. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1289. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1290. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1291. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1292. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1293. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1294. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1295. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1296. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1297. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1298. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1299. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1300. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1301. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1302. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1303. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1304. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1305. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1306. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1307. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1308. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1309. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1310. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1311. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1312. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1313. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1314. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1315. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1316. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1317. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1318. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1319. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1320. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1321. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1322. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1323. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1324. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1325. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1326. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1327. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1328. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1329. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1330. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1331. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1332. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1333. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1334. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1335. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1336. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1337. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1338. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1339. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1340. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1341. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1342. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1343. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1344. _caleStudentDeskIconInfo = U.MD.D.I.caleStudentDeskIcon, // jccssyl
  1345. _caleTeacherDeskIconInfo = U.MD.D.I.caleTeacherDeskIcon, // jccssyl
  1346. _lqwmsgzsStudentDeskIconInfo = U.MD.D.I.lqwmsgzsStudentDeskIcon, // lqwmsgzs
  1347. _lqwmsgzsTeacherDeskIconInfo = U.MD.D.I.lqwmsgzsTeacherDeskIcon, // lqwmsgzs
  1348. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1349. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1350. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1351. 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','2f30fe58-a94f-11ee-b534-005056b86db5'];
  1352. 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','03d24cf9-4fbc-4aeb-bb02-6f84f66e6344'];
  1353. //清楚桌面图标
  1354. el.innerHTML = "";
  1355. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1356. _teacherDesktopIconInfo.push(
  1357. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1358. { "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)" } },
  1359. )
  1360. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1361. }
  1362. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1363. _teacherDesktopIconInfo.push(
  1364. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1365. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1366. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1367. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1368. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1369. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1370. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1371. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1372. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1373. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1374. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1375. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1376. )
  1377. }
  1378. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1379. // _teacherDesktopIconInfo.push(
  1380. // )
  1381. // }
  1382. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1383. _teacherDesktopIconInfo.push(
  1384. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1385. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1386. )
  1387. }
  1388. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1389. _teacherDesktopIconInfo.push(
  1390. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1391. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1392. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1393. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1394. )
  1395. _studentDesktopIconInfo.push(
  1396. )
  1397. }
  1398. if (_org == '1ef7bdf6-c300-11ed-8d51-005056b86db5') {
  1399. _teacherDesktopIconInfo.push(
  1400. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1401. )
  1402. _studentDesktopIconInfo.push(
  1403. )
  1404. }
  1405. //麒麟二中 和 民新小学
  1406. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1407. _teacherDesktopIconInfo.push(
  1408. )
  1409. }
  1410. if (_oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1411. _teacherDesktopIconInfo.push(
  1412. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1413. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1414. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1415. )
  1416. }
  1417. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1418. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1419. _teacherDesktopIconInfo.push(
  1420. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1421. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1422. )
  1423. }
  1424. //麒麟二中
  1425. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1426. _studentDesktopIconInfo.push(
  1427. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1428. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1429. )
  1430. }
  1431. //万科双语
  1432. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1433. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1434. if (el.Name == '项目管理') {
  1435. el.Name = 'PBL项目'
  1436. }
  1437. return el
  1438. })
  1439. _studentDesktopIconInfo3.push(
  1440. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1441. )
  1442. }
  1443. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1444. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1445. return el.Name != '魔盒识字' && el.Name != '24点'
  1446. })
  1447. }
  1448. 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) {
  1449. _studentDesktopIconInfo.push(
  1450. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1451. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1452. )
  1453. }
  1454. //循环创建桌面图标
  1455. if (type == 1) {
  1456. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1457. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1458. _content = $$("div", {
  1459. className: "U_MD_D_KO",
  1460. "onmousedown": U.UF.C.closure(function (obj) {
  1461. //防止拖动图标即打开了桌面应用
  1462. U.MD.D.click(this, obj);
  1463. }, [_studentDesktopIconInfo[i]]),
  1464. "onclick": U.UF.C.closure(function (obj) {
  1465. //防止拖动图标即打开了桌面应用
  1466. U.MD.D.click(this, obj);
  1467. }, [_studentDesktopIconInfo[i]])
  1468. }, _frag); //
  1469. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1470. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1471. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1472. }
  1473. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1474. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1475. _content = $$("div", {
  1476. className: "U_MD_D_KO",
  1477. "onmousedown": U.UF.C.closure(function (obj) {
  1478. //防止拖动图标即打开了桌面应用
  1479. U.MD.D.click(this, obj);
  1480. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1481. "onclick": U.UF.C.closure(function (obj) {
  1482. //防止拖动图标即打开了桌面应用
  1483. U.MD.D.click(this, obj);
  1484. }, [_hkZJLSStudentDeskIconInfo[i]])
  1485. }, _frag); //
  1486. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1487. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1488. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1489. } //
  1490. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1491. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1492. _content = $$("div", {
  1493. className: "U_MD_D_KO",
  1494. "onmousedown": U.UF.C.closure(function (obj) {
  1495. //防止拖动图标即打开了桌面应用
  1496. U.MD.D.click(this, obj);
  1497. }, [_jccssylStudentDeskIconInfo[i]]),
  1498. "onclick": U.UF.C.closure(function (obj) {
  1499. //防止拖动图标即打开了桌面应用
  1500. U.MD.D.click(this, obj);
  1501. }, [_jccssylStudentDeskIconInfo[i]])
  1502. }, _frag); //
  1503. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1504. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1505. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1506. }
  1507. } else if (_type == 2 && (_org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344")) {
  1508. for (i = 0; i < _caleStudentDeskIconInfo.length; i++) {
  1509. _content = $$("div", {
  1510. className: "U_MD_D_KO",
  1511. "onmousedown": U.UF.C.closure(function (obj) {
  1512. //防止拖动图标即打开了桌面应用
  1513. U.MD.D.click(this, obj);
  1514. }, [_caleStudentDeskIconInfo[i]]),
  1515. "onclick": U.UF.C.closure(function (obj) {
  1516. //防止拖动图标即打开了桌面应用
  1517. U.MD.D.click(this, obj);
  1518. }, [_caleStudentDeskIconInfo[i]])
  1519. }, _frag); //
  1520. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1521. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleStudentDeskIconInfo[i].style }, _iconcontent);
  1522. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleStudentDeskIconInfo[i].Name }, _iconcontent);
  1523. }
  1524. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1525. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1526. _content = $$("div", {
  1527. className: "U_MD_D_KO",
  1528. "onmousedown": U.UF.C.closure(function (obj) {
  1529. //防止拖动图标即打开了桌面应用
  1530. U.MD.D.click(this, obj);
  1531. }, [_thuioeStudentDeskIconInfo[i]]),
  1532. "onclick": U.UF.C.closure(function (obj) {
  1533. //防止拖动图标即打开了桌面应用
  1534. U.MD.D.click(this, obj);
  1535. }, [_thuioeStudentDeskIconInfo[i]])
  1536. }, _frag); //
  1537. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1538. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1539. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1540. }
  1541. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1542. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1543. _content = $$("div", {
  1544. className: "U_MD_D_KO",
  1545. "onmousedown": U.UF.C.closure(function (obj) {
  1546. //防止拖动图标即打开了桌面应用
  1547. U.MD.D.click(this, obj);
  1548. }, [_tpcStudentDeskIconInfo[i]]),
  1549. "onclick": U.UF.C.closure(function (obj) {
  1550. //防止拖动图标即打开了桌面应用
  1551. U.MD.D.click(this, obj);
  1552. }, [_tpcStudentDeskIconInfo[i]])
  1553. }, _frag); //
  1554. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1555. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1556. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1557. } //
  1558. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1559. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1560. _content = $$("div", {
  1561. className: "U_MD_D_KO",
  1562. "onmousedown": U.UF.C.closure(function (obj) {
  1563. //防止拖动图标即打开了桌面应用
  1564. U.MD.D.click(this, obj);
  1565. }, [_chjyjStudentDeskIconInfo[i]]),
  1566. "onclick": U.UF.C.closure(function (obj) {
  1567. //防止拖动图标即打开了桌面应用
  1568. U.MD.D.click(this, obj);
  1569. }, [_chjyjStudentDeskIconInfo[i]])
  1570. }, _frag); //
  1571. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1572. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1573. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1574. }
  1575. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1576. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1577. _content = $$("div", {
  1578. className: "U_MD_D_KO",
  1579. "onmousedown": U.UF.C.closure(function (obj) {
  1580. //防止拖动图标即打开了桌面应用
  1581. U.MD.D.click(this, obj);
  1582. }, [_szjkyStudentDeskIconInfo[i]]),
  1583. "onclick": U.UF.C.closure(function (obj) {
  1584. //防止拖动图标即打开了桌面应用
  1585. U.MD.D.click(this, obj);
  1586. }, [_szjkyStudentDeskIconInfo[i]])
  1587. }, _frag); //
  1588. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1589. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1590. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1591. }
  1592. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1593. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1594. _content = $$("div", {
  1595. className: "U_MD_D_KO",
  1596. "onmousedown": U.UF.C.closure(function (obj) {
  1597. //防止拖动图标即打开了桌面应用
  1598. U.MD.D.click(this, obj);
  1599. }, [_dseiStudentDeskIconInfo[i]]),
  1600. "onclick": U.UF.C.closure(function (obj) {
  1601. //防止拖动图标即打开了桌面应用
  1602. U.MD.D.click(this, obj);
  1603. }, [_dseiStudentDeskIconInfo[i]])
  1604. }, _frag); //
  1605. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1606. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1607. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1608. }
  1609. } else if (_type == 2 && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1610. for (i = 0; i < _lqwmsgzsStudentDeskIconInfo.length; i++) {
  1611. _content = $$("div", {
  1612. className: "U_MD_D_KO",
  1613. "onmousedown": U.UF.C.closure(function (obj) {
  1614. //防止拖动图标即打开了桌面应用
  1615. U.MD.D.click(this, obj);
  1616. }, [_lqwmsgzsStudentDeskIconInfo[i]]),
  1617. "onclick": U.UF.C.closure(function (obj) {
  1618. //防止拖动图标即打开了桌面应用
  1619. U.MD.D.click(this, obj);
  1620. }, [_lqwmsgzsStudentDeskIconInfo[i]])
  1621. }, _frag); //
  1622. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1623. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsStudentDeskIconInfo[i].style }, _iconcontent);
  1624. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsStudentDeskIconInfo[i].Name }, _iconcontent);
  1625. }
  1626. }else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1627. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1628. _content = $$("div", {
  1629. className: "U_MD_D_KO",
  1630. "onmousedown": U.UF.C.closure(function (obj) {
  1631. //防止拖动图标即打开了桌面应用
  1632. U.MD.D.click(this, obj);
  1633. }, [_siesStudentDeskIconInfo[i]]),
  1634. "onclick": U.UF.C.closure(function (obj) {
  1635. //防止拖动图标即打开了桌面应用
  1636. U.MD.D.click(this, obj);
  1637. }, [_siesStudentDeskIconInfo[i]])
  1638. }, _frag); //
  1639. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1640. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1641. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1642. }
  1643. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1644. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1645. _content = $$("div", {
  1646. className: "U_MD_D_KO",
  1647. "onmousedown": U.UF.C.closure(function (obj) {
  1648. //防止拖动图标即打开了桌面应用
  1649. U.MD.D.click(this, obj);
  1650. }, [_hkStudentDeskIconInfo[i]]),
  1651. "onclick": U.UF.C.closure(function (obj) {
  1652. //防止拖动图标即打开了桌面应用
  1653. U.MD.D.click(this, obj);
  1654. }, [_hkStudentDeskIconInfo[i]])
  1655. }, _frag); //
  1656. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1657. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1658. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1659. }
  1660. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1661. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1662. _content = $$("div", {
  1663. className: "U_MD_D_KO",
  1664. "onmousedown": U.UF.C.closure(function (obj) {
  1665. //防止拖动图标即打开了桌面应用
  1666. U.MD.D.click(this, obj);
  1667. }, [_hkaceStudentDeskIconInfo[i]]),
  1668. "onclick": U.UF.C.closure(function (obj) {
  1669. //防止拖动图标即打开了桌面应用
  1670. U.MD.D.click(this, obj);
  1671. }, [_hkaceStudentDeskIconInfo[i]])
  1672. }, _frag); //
  1673. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1674. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1675. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1676. }
  1677. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1678. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1679. _content = $$("div", {
  1680. className: "U_MD_D_KO",
  1681. "onmousedown": U.UF.C.closure(function (obj) {
  1682. //防止拖动图标即打开了桌面应用
  1683. U.MD.D.click(this, obj);
  1684. }, [_studentDesktopIconInfo[i]]),
  1685. "onclick": U.UF.C.closure(function (obj) {
  1686. //防止拖动图标即打开了桌面应用
  1687. U.MD.D.click(this, obj);
  1688. }, [_studentDesktopIconInfo[i]])
  1689. }, _frag); //
  1690. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1691. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1692. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1693. }
  1694. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1695. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1696. _content = $$("div", {
  1697. className: "U_MD_D_KO",
  1698. "onmousedown": U.UF.C.closure(function (obj) {
  1699. //防止拖动图标即打开了桌面应用
  1700. U.MD.D.click(this, obj);
  1701. }, [_tcStudentDeskIconInfo[i]]),
  1702. "onclick": U.UF.C.closure(function (obj) {
  1703. //防止拖动图标即打开了桌面应用
  1704. U.MD.D.click(this, obj);
  1705. }, [_tcStudentDeskIconInfo[i]])
  1706. }, _frag); //
  1707. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1708. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1709. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1710. }
  1711. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1712. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1713. _content = $$("div", {
  1714. className: "U_MD_D_KO",
  1715. "onmousedown": U.UF.C.closure(function (obj) {
  1716. //防止拖动图标即打开了桌面应用
  1717. U.MD.D.click(this, obj);
  1718. }, [_szscStudentDeskIconInfo[i]]),
  1719. "onclick": U.UF.C.closure(function (obj) {
  1720. //防止拖动图标即打开了桌面应用
  1721. U.MD.D.click(this, obj);
  1722. }, [_szscStudentDeskIconInfo[i]])
  1723. }, _frag); //
  1724. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1725. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1726. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1727. }
  1728. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1729. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1730. _content = $$("div", {
  1731. className: "U_MD_D_KO",
  1732. "onmousedown": U.UF.C.closure(function (obj) {
  1733. //防止拖动图标即打开了桌面应用
  1734. U.MD.D.click(this, obj);
  1735. }, [_studentDesktopIconInfo3[i]]),
  1736. "onclick": U.UF.C.closure(function (obj) {
  1737. //防止拖动图标即打开了桌面应用
  1738. U.MD.D.click(this, obj);
  1739. }, [_studentDesktopIconInfo3[i]])
  1740. }, _frag); //
  1741. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1742. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1743. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1744. }
  1745. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1746. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1747. _content = $$("div", {
  1748. className: "U_MD_D_KO",
  1749. "onmousedown": U.UF.C.closure(function (obj) {
  1750. //防止拖动图标即打开了桌面应用
  1751. U.MD.D.click(this, obj);
  1752. }, [_studentDesktopIconInfo2[i]]),
  1753. "onclick": U.UF.C.closure(function (obj) {
  1754. //防止拖动图标即打开了桌面应用
  1755. U.MD.D.click(this, obj);
  1756. }, [_studentDesktopIconInfo2[i]])
  1757. }, _frag); //
  1758. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1759. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1760. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1761. }
  1762. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1763. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1764. _content = $$("div", {
  1765. className: "U_MD_D_KO",
  1766. "onmousedown": U.UF.C.closure(function (obj) {
  1767. //防止拖动图标即打开了桌面应用
  1768. U.MD.D.click(this, obj);
  1769. }, [_wanketeacherDesktopIconInfo[i]]),
  1770. "onclick": U.UF.C.closure(function (obj) {
  1771. //防止拖动图标即打开了桌面应用
  1772. U.MD.D.click(this, obj);
  1773. }, [_wanketeacherDesktopIconInfo[i]])
  1774. }, _frag); //
  1775. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1776. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1777. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1778. }
  1779. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1780. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1781. _content = $$("div", {
  1782. className: "U_MD_D_KO",
  1783. "onmousedown": U.UF.C.closure(function (obj) {
  1784. //防止拖动图标即打开了桌面应用
  1785. U.MD.D.click(this, obj);
  1786. }, [_wankeAdminDesktopIconInfo[i]]),
  1787. "onclick": U.UF.C.closure(function (obj) {
  1788. //防止拖动图标即打开了桌面应用
  1789. U.MD.D.click(this, obj);
  1790. }, [_wankeAdminDesktopIconInfo[i]])
  1791. }, _frag); //
  1792. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1793. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1794. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1795. }
  1796. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1797. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1798. _content = $$("div", {
  1799. className: "U_MD_D_KO",
  1800. "onmousedown": U.UF.C.closure(function (obj) {
  1801. //防止拖动图标即打开了桌面应用
  1802. U.MD.D.click(this, obj);
  1803. }, [_jccssylTeacherDeskIconInfo[i]]),
  1804. "onclick": U.UF.C.closure(function (obj) {
  1805. //防止拖动图标即打开了桌面应用
  1806. U.MD.D.click(this, obj);
  1807. }, [_jccssylTeacherDeskIconInfo[i]])
  1808. }, _frag); //
  1809. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1810. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1811. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1812. }
  1813. } else if ((_type == 1 || _type == 4) && _org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344") {
  1814. for (i = 0; i < _caleTeacherDeskIconInfo.length; i++) {
  1815. _content = $$("div", {
  1816. className: "U_MD_D_KO",
  1817. "onmousedown": U.UF.C.closure(function (obj) {
  1818. //防止拖动图标即打开了桌面应用
  1819. U.MD.D.click(this, obj);
  1820. }, [_caleTeacherDeskIconInfo[i]]),
  1821. "onclick": U.UF.C.closure(function (obj) {
  1822. //防止拖动图标即打开了桌面应用
  1823. U.MD.D.click(this, obj);
  1824. }, [_caleTeacherDeskIconInfo[i]])
  1825. }, _frag); //
  1826. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1827. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleTeacherDeskIconInfo[i].style }, _iconcontent);
  1828. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleTeacherDeskIconInfo[i].Name }, _iconcontent);
  1829. }
  1830. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1831. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1832. _content = $$("div", {
  1833. className: "U_MD_D_KO",
  1834. "onmousedown": U.UF.C.closure(function (obj) {
  1835. //防止拖动图标即打开了桌面应用
  1836. U.MD.D.click(this, obj);
  1837. }, [_tpcOrganizerDeskIconInfo[i]]),
  1838. "onclick": U.UF.C.closure(function (obj) {
  1839. //防止拖动图标即打开了桌面应用
  1840. U.MD.D.click(this, obj);
  1841. }, [_tpcOrganizerDeskIconInfo[i]])
  1842. }, _frag); //
  1843. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1844. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1845. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1846. }
  1847. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1848. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1849. _content = $$("div", {
  1850. className: "U_MD_D_KO",
  1851. "onmousedown": U.UF.C.closure(function (obj) {
  1852. //防止拖动图标即打开了桌面应用
  1853. U.MD.D.click(this, obj);
  1854. }, [_tpcTeacherDeskIconInfo[i]]),
  1855. "onclick": U.UF.C.closure(function (obj) {
  1856. //防止拖动图标即打开了桌面应用
  1857. U.MD.D.click(this, obj);
  1858. }, [_tpcTeacherDeskIconInfo[i]])
  1859. }, _frag); //
  1860. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1861. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1862. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1863. }
  1864. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1865. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1866. _content = $$("div", {
  1867. className: "U_MD_D_KO",
  1868. "onmousedown": U.UF.C.closure(function (obj) {
  1869. //防止拖动图标即打开了桌面应用
  1870. U.MD.D.click(this, obj);
  1871. }, [_teacherDesktopIconInfo2[i]]),
  1872. "onclick": U.UF.C.closure(function (obj) {
  1873. //防止拖动图标即打开了桌面应用
  1874. U.MD.D.click(this, obj);
  1875. }, [_teacherDesktopIconInfo2[i]])
  1876. }, _frag); //
  1877. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1878. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1879. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1880. }
  1881. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1882. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1883. _content = $$("div", {
  1884. className: "U_MD_D_KO",
  1885. "onmousedown": U.UF.C.closure(function (obj) {
  1886. //防止拖动图标即打开了桌面应用
  1887. U.MD.D.click(this, obj);
  1888. }, [_thuioeTeacherDeskIconInfo[i]]),
  1889. "onclick": U.UF.C.closure(function (obj) {
  1890. //防止拖动图标即打开了桌面应用
  1891. U.MD.D.click(this, obj);
  1892. }, [_thuioeTeacherDeskIconInfo[i]])
  1893. }, _frag); //
  1894. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1895. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1896. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1897. }
  1898. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1899. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1900. _content = $$("div", {
  1901. className: "U_MD_D_KO",
  1902. "onmousedown": U.UF.C.closure(function (obj) {
  1903. //防止拖动图标即打开了桌面应用
  1904. U.MD.D.click(this, obj);
  1905. }, [_lotechTeacherDeskIconInfo[i]]),
  1906. "onclick": U.UF.C.closure(function (obj) {
  1907. //防止拖动图标即打开了桌面应用
  1908. U.MD.D.click(this, obj);
  1909. }, [_lotechTeacherDeskIconInfo[i]])
  1910. }, _frag); //
  1911. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1912. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1913. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1914. }//
  1915. } else if ((_type == 1 || _type == 4) && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1916. for (i = 0; i < _lqwmsgzsTeacherDeskIconInfo.length; i++) {
  1917. _content = $$("div", {
  1918. className: "U_MD_D_KO",
  1919. "onmousedown": U.UF.C.closure(function (obj) {
  1920. //防止拖动图标即打开了桌面应用
  1921. U.MD.D.click(this, obj);
  1922. }, [_lqwmsgzsTeacherDeskIconInfo[i]]),
  1923. "onclick": U.UF.C.closure(function (obj) {
  1924. //防止拖动图标即打开了桌面应用
  1925. U.MD.D.click(this, obj);
  1926. }, [_lqwmsgzsTeacherDeskIconInfo[i]])
  1927. }, _frag); //
  1928. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1929. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsTeacherDeskIconInfo[i].style }, _iconcontent);
  1930. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsTeacherDeskIconInfo[i].Name }, _iconcontent);
  1931. }
  1932. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1933. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1934. _content = $$("div", {
  1935. className: "U_MD_D_KO",
  1936. "onmousedown": U.UF.C.closure(function (obj) {
  1937. //防止拖动图标即打开了桌面应用
  1938. U.MD.D.click(this, obj);
  1939. }, [_siesTeacherDeskIconInfo[i]]),
  1940. "onclick": U.UF.C.closure(function (obj) {
  1941. //防止拖动图标即打开了桌面应用
  1942. U.MD.D.click(this, obj);
  1943. }, [_siesTeacherDeskIconInfo[i]])
  1944. }, _frag); //
  1945. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1946. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1947. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1948. }
  1949. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1950. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1951. _content = $$("div", {
  1952. className: "U_MD_D_KO",
  1953. "onmousedown": U.UF.C.closure(function (obj) {
  1954. //防止拖动图标即打开了桌面应用
  1955. U.MD.D.click(this, obj);
  1956. }, [_longhuaTeacherDeskIconInfo[i]]),
  1957. "onclick": U.UF.C.closure(function (obj) {
  1958. //防止拖动图标即打开了桌面应用
  1959. U.MD.D.click(this, obj);
  1960. }, [_longhuaTeacherDeskIconInfo[i]])
  1961. }, _frag); //
  1962. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1963. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1964. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1965. }
  1966. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1967. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1968. _content = $$("div", {
  1969. className: "U_MD_D_KO",
  1970. "onmousedown": U.UF.C.closure(function (obj) {
  1971. //防止拖动图标即打开了桌面应用
  1972. U.MD.D.click(this, obj);
  1973. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1974. "onclick": U.UF.C.closure(function (obj) {
  1975. //防止拖动图标即打开了桌面应用
  1976. U.MD.D.click(this, obj);
  1977. }, [_yunhaiTeacherDeskIconInfo[i]])
  1978. }, _frag); //
  1979. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1980. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1981. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1982. } //_hkStudentDeskIconInfo
  1983. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1984. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1985. _content = $$("div", {
  1986. className: "U_MD_D_KO",
  1987. "onmousedown": U.UF.C.closure(function (obj) {
  1988. //防止拖动图标即打开了桌面应用
  1989. U.MD.D.click(this, obj);
  1990. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1991. "onclick": U.UF.C.closure(function (obj) {
  1992. //防止拖动图标即打开了桌面应用
  1993. U.MD.D.click(this, obj);
  1994. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1995. }, _frag); //
  1996. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1997. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1998. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1999. }
  2000. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  2001. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  2002. _content = $$("div", {
  2003. className: "U_MD_D_KO",
  2004. "onmousedown": U.UF.C.closure(function (obj) {
  2005. //防止拖动图标即打开了桌面应用
  2006. U.MD.D.click(this, obj);
  2007. }, [_hkTeacherDeskIconInfo[i]]),
  2008. "onclick": U.UF.C.closure(function (obj) {
  2009. //防止拖动图标即打开了桌面应用
  2010. U.MD.D.click(this, obj);
  2011. }, [_hkTeacherDeskIconInfo[i]])
  2012. }, _frag); //
  2013. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2014. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  2015. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  2016. }
  2017. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  2018. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  2019. _content = $$("div", {
  2020. className: "U_MD_D_KO",
  2021. "onmousedown": U.UF.C.closure(function (obj) {
  2022. //防止拖动图标即打开了桌面应用
  2023. U.MD.D.click(this, obj);
  2024. }, [_hkaceTeacherDeskIconInfo[i]]),
  2025. "onclick": U.UF.C.closure(function (obj) {
  2026. //防止拖动图标即打开了桌面应用
  2027. U.MD.D.click(this, obj);
  2028. }, [_hkaceTeacherDeskIconInfo[i]])
  2029. }, _frag); //
  2030. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2031. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  2032. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  2033. }
  2034. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  2035. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  2036. _content = $$("div", {
  2037. className: "U_MD_D_KO",
  2038. "onmousedown": U.UF.C.closure(function (obj) {
  2039. //防止拖动图标即打开了桌面应用
  2040. U.MD.D.click(this, obj);
  2041. }, [_gdjgAdminDeskIconInfo[i]]),
  2042. "onclick": U.UF.C.closure(function (obj) {
  2043. //防止拖动图标即打开了桌面应用
  2044. U.MD.D.click(this, obj);
  2045. }, [_gdjgAdminDeskIconInfo[i]])
  2046. }, _frag); //
  2047. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2048. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  2049. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  2050. }
  2051. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  2052. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  2053. _content = $$("div", {
  2054. className: "U_MD_D_KO",
  2055. "onmousedown": U.UF.C.closure(function (obj) {
  2056. //防止拖动图标即打开了桌面应用
  2057. U.MD.D.click(this, obj);
  2058. }, [_gdjgTeacherDeskIconInfo[i]]),
  2059. "onclick": U.UF.C.closure(function (obj) {
  2060. //防止拖动图标即打开了桌面应用
  2061. U.MD.D.click(this, obj);
  2062. }, [_gdjgTeacherDeskIconInfo[i]])
  2063. }, _frag); //
  2064. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2065. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  2066. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  2067. }
  2068. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  2069. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  2070. _content = $$("div", {
  2071. className: "U_MD_D_KO",
  2072. "onmousedown": U.UF.C.closure(function (obj) {
  2073. //防止拖动图标即打开了桌面应用
  2074. U.MD.D.click(this, obj);
  2075. }, [_szherTeacherDeskIconInfo[i]]),
  2076. "onclick": U.UF.C.closure(function (obj) {
  2077. //防止拖动图标即打开了桌面应用
  2078. U.MD.D.click(this, obj);
  2079. }, [_szherTeacherDeskIconInfo[i]])
  2080. }, _frag); //
  2081. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2082. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  2083. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  2084. }
  2085. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  2086. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  2087. _content = $$("div", {
  2088. className: "U_MD_D_KO",
  2089. "onmousedown": U.UF.C.closure(function (obj) {
  2090. //防止拖动图标即打开了桌面应用
  2091. U.MD.D.click(this, obj);
  2092. }, [_heyuannAdminDeskIconInfo[i]]),
  2093. "onclick": U.UF.C.closure(function (obj) {
  2094. //防止拖动图标即打开了桌面应用
  2095. U.MD.D.click(this, obj);
  2096. }, [_heyuannAdminDeskIconInfo[i]])
  2097. }, _frag); //
  2098. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2099. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  2100. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  2101. }
  2102. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  2103. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  2104. _content = $$("div", {
  2105. className: "U_MD_D_KO",
  2106. "onmousedown": U.UF.C.closure(function (obj) {
  2107. //防止拖动图标即打开了桌面应用
  2108. U.MD.D.click(this, obj);
  2109. }, [_heyuanTeacherDeskIconInfo[i]]),
  2110. "onclick": U.UF.C.closure(function (obj) {
  2111. //防止拖动图标即打开了桌面应用
  2112. U.MD.D.click(this, obj);
  2113. }, [_heyuanTeacherDeskIconInfo[i]])
  2114. }, _frag); //
  2115. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2116. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  2117. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  2118. } //
  2119. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  2120. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  2121. _content = $$("div", {
  2122. className: "U_MD_D_KO",
  2123. "onmousedown": U.UF.C.closure(function (obj) {
  2124. //防止拖动图标即打开了桌面应用
  2125. U.MD.D.click(this, obj);
  2126. }, [_dseiAdminDeskIconInfo[i]]),
  2127. "onclick": U.UF.C.closure(function (obj) {
  2128. //防止拖动图标即打开了桌面应用
  2129. U.MD.D.click(this, obj);
  2130. }, [_dseiAdminDeskIconInfo[i]])
  2131. }, _frag); //
  2132. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2133. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  2134. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  2135. }
  2136. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  2137. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  2138. _content = $$("div", {
  2139. className: "U_MD_D_KO",
  2140. "onmousedown": U.UF.C.closure(function (obj) {
  2141. //防止拖动图标即打开了桌面应用
  2142. U.MD.D.click(this, obj);
  2143. }, [_dseiTeacherDeskIconInfo[i]]),
  2144. "onclick": U.UF.C.closure(function (obj) {
  2145. //防止拖动图标即打开了桌面应用
  2146. U.MD.D.click(this, obj);
  2147. }, [_dseiTeacherDeskIconInfo[i]])
  2148. }, _frag); //
  2149. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2150. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  2151. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2152. } //
  2153. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  2154. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  2155. _content = $$("div", {
  2156. className: "U_MD_D_KO",
  2157. "onmousedown": U.UF.C.closure(function (obj) {
  2158. //防止拖动图标即打开了桌面应用
  2159. U.MD.D.click(this, obj);
  2160. }, [_chjyjAdminDeskIconInfo[i]]),
  2161. "onclick": U.UF.C.closure(function (obj) {
  2162. //防止拖动图标即打开了桌面应用
  2163. U.MD.D.click(this, obj);
  2164. }, [_chjyjAdminDeskIconInfo[i]])
  2165. }, _frag); //
  2166. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2167. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  2168. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  2169. }//
  2170. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  2171. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  2172. _content = $$("div", {
  2173. className: "U_MD_D_KO",
  2174. "onmousedown": U.UF.C.closure(function (obj) {
  2175. //防止拖动图标即打开了桌面应用
  2176. U.MD.D.click(this, obj);
  2177. }, [_chjyjTeacherDeskIconInfo[i]]),
  2178. "onclick": U.UF.C.closure(function (obj) {
  2179. //防止拖动图标即打开了桌面应用
  2180. U.MD.D.click(this, obj);
  2181. }, [_chjyjTeacherDeskIconInfo[i]])
  2182. }, _frag); //
  2183. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2184. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2185. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2186. }
  2187. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2188. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2189. _content = $$("div", {
  2190. className: "U_MD_D_KO",
  2191. "onmousedown": U.UF.C.closure(function (obj) {
  2192. //防止拖动图标即打开了桌面应用
  2193. U.MD.D.click(this, obj);
  2194. }, [_szjkyAdminDeskIconInfo[i]]),
  2195. "onclick": U.UF.C.closure(function (obj) {
  2196. //防止拖动图标即打开了桌面应用
  2197. U.MD.D.click(this, obj);
  2198. }, [_szjkyAdminDeskIconInfo[i]])
  2199. }, _frag); //
  2200. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2201. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2202. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2203. }//
  2204. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2205. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2206. _content = $$("div", {
  2207. className: "U_MD_D_KO",
  2208. "onmousedown": U.UF.C.closure(function (obj) {
  2209. //防止拖动图标即打开了桌面应用
  2210. U.MD.D.click(this, obj);
  2211. }, [_szjkyTeacherDeskIconInfo[i]]),
  2212. "onclick": U.UF.C.closure(function (obj) {
  2213. //防止拖动图标即打开了桌面应用
  2214. U.MD.D.click(this, obj);
  2215. }, [_szjkyTeacherDeskIconInfo[i]])
  2216. }, _frag); //
  2217. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2218. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2219. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2220. }
  2221. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2222. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2223. _content = $$("div", {
  2224. className: "U_MD_D_KO",
  2225. "onmousedown": U.UF.C.closure(function (obj) {
  2226. //防止拖动图标即打开了桌面应用
  2227. U.MD.D.click(this, obj);
  2228. }, [_futianAdminDeskIconInfo[i]]),
  2229. "onclick": U.UF.C.closure(function (obj) {
  2230. //防止拖动图标即打开了桌面应用
  2231. U.MD.D.click(this, obj);
  2232. }, [_futianAdminDeskIconInfo[i]])
  2233. }, _frag); //
  2234. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2235. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2236. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2237. }
  2238. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2239. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2240. _content = $$("div", {
  2241. className: "U_MD_D_KO",
  2242. "onmousedown": U.UF.C.closure(function (obj) {
  2243. //防止拖动图标即打开了桌面应用
  2244. U.MD.D.click(this, obj);
  2245. }, [_futianTeacherDeskIconInfo[i]]),
  2246. "onclick": U.UF.C.closure(function (obj) {
  2247. //防止拖动图标即打开了桌面应用
  2248. U.MD.D.click(this, obj);
  2249. }, [_futianTeacherDeskIconInfo[i]])
  2250. }, _frag); //
  2251. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2252. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2253. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2254. }
  2255. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2256. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2257. _content = $$("div", {
  2258. className: "U_MD_D_KO",
  2259. "onmousedown": U.UF.C.closure(function (obj) {
  2260. //防止拖动图标即打开了桌面应用
  2261. U.MD.D.click(this, obj);
  2262. }, [_MingdeTeacherDeskIcon[i]]),
  2263. "onclick": U.UF.C.closure(function (obj) {
  2264. //防止拖动图标即打开了桌面应用
  2265. U.MD.D.click(this, obj);
  2266. }, [_MingdeTeacherDeskIcon[i]])
  2267. }, _frag); //
  2268. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2269. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2270. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2271. }
  2272. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2273. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2274. _content = $$("div", {
  2275. className: "U_MD_D_KO",
  2276. "onmousedown": U.UF.C.closure(function (obj) {
  2277. //防止拖动图标即打开了桌面应用
  2278. U.MD.D.click(this, obj);
  2279. }, [_lhsAdminDesktopIconInfo[i]]),
  2280. "onclick": U.UF.C.closure(function (obj) {
  2281. //防止拖动图标即打开了桌面应用
  2282. U.MD.D.click(this, obj);
  2283. }, [_lhsAdminDesktopIconInfo[i]])
  2284. }, _frag); //
  2285. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2286. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2287. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2288. }
  2289. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2290. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2291. _content = $$("div", {
  2292. className: "U_MD_D_KO",
  2293. "onmousedown": U.UF.C.closure(function (obj) {
  2294. //防止拖动图标即打开了桌面应用
  2295. U.MD.D.click(this, obj);
  2296. }, [_lhsteacherDesktopIconInfo[i]]),
  2297. "onclick": U.UF.C.closure(function (obj) {
  2298. //防止拖动图标即打开了桌面应用
  2299. U.MD.D.click(this, obj);
  2300. }, [_lhsteacherDesktopIconInfo[i]])
  2301. }, _frag); //
  2302. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2303. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2304. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2305. }
  2306. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2307. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2308. _content = $$("div", {
  2309. className: "U_MD_D_KO",
  2310. "onmousedown": U.UF.C.closure(function (obj) {
  2311. //防止拖动图标即打开了桌面应用
  2312. U.MD.D.click(this, obj);
  2313. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2314. "onclick": U.UF.C.closure(function (obj) {
  2315. //防止拖动图标即打开了桌面应用
  2316. U.MD.D.click(this, obj);
  2317. }, [_zhoujiateacherDesktopIconInfo[i]])
  2318. }, _frag); //
  2319. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2320. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2321. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2322. }
  2323. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2324. for (i = 0; i < _hanDeskIcon.length; i++) {
  2325. _content = $$("div", {
  2326. className: "U_MD_D_KO",
  2327. "onmousedown": U.UF.C.closure(function (obj) {
  2328. //防止拖动图标即打开了桌面应用
  2329. U.MD.D.click(this, obj);
  2330. }, [_hanDeskIcon[i]]),
  2331. "onclick": U.UF.C.closure(function (obj) {
  2332. //防止拖动图标即打开了桌面应用
  2333. U.MD.D.click(this, obj);
  2334. }, [_hanDeskIcon[i]])
  2335. }, _frag); //
  2336. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2337. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2338. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2339. }
  2340. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2341. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2342. _content = $$("div", {
  2343. className: "U_MD_D_KO",
  2344. "onmousedown": U.UF.C.closure(function (obj) {
  2345. //防止拖动图标即打开了桌面应用
  2346. U.MD.D.click(this, obj);
  2347. }, [_orgStemDeskIcon[i]]),
  2348. "onclick": U.UF.C.closure(function (obj) {
  2349. //防止拖动图标即打开了桌面应用
  2350. U.MD.D.click(this, obj);
  2351. }, [_orgStemDeskIcon[i]])
  2352. }, _frag); //
  2353. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2354. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2355. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2356. }
  2357. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2358. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2359. _content = $$("div", {
  2360. className: "U_MD_D_KO",
  2361. "onmousedown": U.UF.C.closure(function (obj) {
  2362. //防止拖动图标即打开了桌面应用
  2363. U.MD.D.click(this, obj);
  2364. }, [_szulsDeskIcon[i]]),
  2365. "onclick": U.UF.C.closure(function (obj) {
  2366. //防止拖动图标即打开了桌面应用
  2367. U.MD.D.click(this, obj);
  2368. }, [_szulsDeskIcon[i]])
  2369. }, _frag); //
  2370. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2371. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2372. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2373. }
  2374. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2375. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2376. _content = $$("div", {
  2377. className: "U_MD_D_KO",
  2378. "onmousedown": U.UF.C.closure(function (obj) {
  2379. //防止拖动图标即打开了桌面应用
  2380. U.MD.D.click(this, obj);
  2381. }, [_orgDesktopIconInfo[i]]),
  2382. "onclick": U.UF.C.closure(function (obj) {
  2383. //防止拖动图标即打开了桌面应用
  2384. U.MD.D.click(this, obj);
  2385. }, [_orgDesktopIconInfo[i]])
  2386. }, _frag); //
  2387. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2388. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2389. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2390. }
  2391. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2392. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2393. _content = $$("div", {
  2394. className: "U_MD_D_KO",
  2395. "onmousedown": U.UF.C.closure(function (obj) {
  2396. //防止拖动图标即打开了桌面应用
  2397. U.MD.D.click(this, obj);
  2398. }, [_schoolDesktopIconInfo[i]]),
  2399. "onclick": U.UF.C.closure(function (obj) {
  2400. //防止拖动图标即打开了桌面应用
  2401. U.MD.D.click(this, obj);
  2402. }, [_schoolDesktopIconInfo[i]])
  2403. }, _frag); //
  2404. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2405. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2406. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2407. }
  2408. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2409. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2410. _content = $$("div", {
  2411. className: "U_MD_D_KO",
  2412. "onmousedown": U.UF.C.closure(function (obj) {
  2413. //防止拖动图标即打开了桌面应用
  2414. U.MD.D.click(this, obj);
  2415. }, [_GMteacherDesktopIconInfo[i]]),
  2416. "onclick": U.UF.C.closure(function (obj) {
  2417. //防止拖动图标即打开了桌面应用
  2418. U.MD.D.click(this, obj);
  2419. }, [_GMteacherDesktopIconInfo[i]])
  2420. }, _frag); //
  2421. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2422. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2423. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2424. }
  2425. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2426. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2427. _content = $$("div", {
  2428. className: "U_MD_D_KO",
  2429. "onmousedown": U.UF.C.closure(function (obj) {
  2430. //防止拖动图标即打开了桌面应用
  2431. U.MD.D.click(this, obj);
  2432. }, [_SONGteacherDesktopIconInfo[i]]),
  2433. "onclick": U.UF.C.closure(function (obj) {
  2434. //防止拖动图标即打开了桌面应用
  2435. U.MD.D.click(this, obj);
  2436. }, [_SONGteacherDesktopIconInfo[i]])
  2437. }, _frag); //
  2438. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2439. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2440. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2441. }
  2442. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2443. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2444. _content = $$("div", {
  2445. className: "U_MD_D_KO",
  2446. "onmousedown": U.UF.C.closure(function (obj) {
  2447. //防止拖动图标即打开了桌面应用
  2448. U.MD.D.click(this, obj);
  2449. }, [_GMstudentDesktopIconInfo[i]]),
  2450. "onclick": U.UF.C.closure(function (obj) {
  2451. //防止拖动图标即打开了桌面应用
  2452. U.MD.D.click(this, obj);
  2453. }, [_GMstudentDesktopIconInfo[i]])
  2454. }, _frag); //
  2455. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2456. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2457. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2458. }
  2459. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2460. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2461. _content = $$("div", {
  2462. className: "U_MD_D_KO",
  2463. "onmousedown": U.UF.C.closure(function (obj) {
  2464. //防止拖动图标即打开了桌面应用
  2465. U.MD.D.click(this, obj);
  2466. }, [_tcTeacherDeskIconInfo[i]]),
  2467. "onclick": U.UF.C.closure(function (obj) {
  2468. //防止拖动图标即打开了桌面应用
  2469. U.MD.D.click(this, obj);
  2470. }, [_tcTeacherDeskIconInfo[i]])
  2471. }, _frag); //
  2472. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2473. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2474. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2475. }
  2476. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2477. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2478. _content = $$("div", {
  2479. className: "U_MD_D_KO",
  2480. "onmousedown": U.UF.C.closure(function (obj) {
  2481. //防止拖动图标即打开了桌面应用
  2482. U.MD.D.click(this, obj);
  2483. }, [_tcOrganizerDeskIconInfo[i]]),
  2484. "onclick": U.UF.C.closure(function (obj) {
  2485. //防止拖动图标即打开了桌面应用
  2486. U.MD.D.click(this, obj);
  2487. }, [_tcOrganizerDeskIconInfo[i]])
  2488. }, _frag); //
  2489. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2490. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2491. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2492. }
  2493. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2494. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2495. _content = $$("div", {
  2496. className: "U_MD_D_KO",
  2497. "onmousedown": U.UF.C.closure(function (obj) {
  2498. //防止拖动图标即打开了桌面应用
  2499. U.MD.D.click(this, obj);
  2500. }, [_szscTeacherDeskIconInfo[i]]),
  2501. "onclick": U.UF.C.closure(function (obj) {
  2502. //防止拖动图标即打开了桌面应用
  2503. U.MD.D.click(this, obj);
  2504. }, [_szscTeacherDeskIconInfo[i]])
  2505. }, _frag); //
  2506. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2507. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2508. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2509. }
  2510. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2511. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2512. _content = $$("div", {
  2513. className: "U_MD_D_KO",
  2514. "onmousedown": U.UF.C.closure(function (obj) {
  2515. //防止拖动图标即打开了桌面应用
  2516. U.MD.D.click(this, obj);
  2517. }, [_szscOrganizerDeskIconInfo[i]]),
  2518. "onclick": U.UF.C.closure(function (obj) {
  2519. //防止拖动图标即打开了桌面应用
  2520. U.MD.D.click(this, obj);
  2521. }, [_szscOrganizerDeskIconInfo[i]])
  2522. }, _frag); //
  2523. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2524. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2525. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2526. }
  2527. } else {
  2528. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2529. _content = $$("div", {
  2530. className: "U_MD_D_KO",
  2531. "onmousedown": U.UF.C.closure(function (obj) {
  2532. //防止拖动图标即打开了桌面应用
  2533. U.MD.D.click(this, obj);
  2534. }, [_teacherDesktopIconInfo[i]]),
  2535. "onclick": U.UF.C.closure(function (obj) {
  2536. //防止拖动图标即打开了桌面应用
  2537. U.MD.D.click(this, obj);
  2538. }, [_teacherDesktopIconInfo[i]])
  2539. }, _frag); //
  2540. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2541. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2542. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2543. }
  2544. }
  2545. } else {
  2546. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2547. _content = $$("div", {
  2548. className: "U_MD_D_KO",
  2549. style: { 'width': '124px', 'height': '145px' },
  2550. "onmousedown": U.UF.C.closure(function (obj) {
  2551. //防止拖动图标即打开了桌面应用
  2552. U.MD.D.click(this, obj);
  2553. }, [_easyDesktopIconInfo[i]]),
  2554. "onclick": U.UF.C.closure(function (obj) {
  2555. //防止拖动图标即打开了桌面应用
  2556. U.MD.D.click(this, obj);
  2557. }, [_easyDesktopIconInfo[i]])
  2558. }, _frag); //
  2559. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2560. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2561. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2562. }
  2563. }
  2564. if (type == 1) {
  2565. //加载好后给图标定位
  2566. U.MD.D.iconPostion($(_frag).Child());
  2567. } else {
  2568. //加载好后给图标定位
  2569. U.MD.D.iconPostion2($(_frag).Child());
  2570. }
  2571. //把图标加载到页面
  2572. el.appendChild(_frag);
  2573. }
  2574. /**
  2575. * 显示任务栏
  2576. *
  2577. * @param {element} 桌面元素
  2578. */
  2579. U.MD.D.I.displayTaskbar = function (el) {
  2580. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2581. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2582. //任务栏位置变化
  2583. U.selectEl(el).css({ "bottom": "0px" });
  2584. //桌面位置变话
  2585. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2586. }
  2587. }
  2588. //#region 桌面图标拖动逻辑
  2589. /**
  2590. * 桌面排列图标
  2591. *
  2592. * @param {element} 桌面元素
  2593. * @param {object} 上下相距的距离
  2594. * @param {object} 左右相距的距离
  2595. * @return {object} 命名空间
  2596. */
  2597. U.MD.D.iconPostion = function (childs, top, left) {
  2598. var i; //用于循环处理
  2599. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2600. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2601. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2602. for (i = 0; i < childs.length; i++) {
  2603. //如果竖排top超过了范围处理
  2604. if (top + 95 > US.height - 10) {
  2605. //left超过了页面范围处理,则向上重叠打印处理
  2606. if ((left + 180) > US.width) {
  2607. top -= 110;
  2608. left -= 90;
  2609. }
  2610. //没有超过范围,那么left+90添加到下一个竖排打印
  2611. else {
  2612. left += 90;
  2613. top = 15;
  2614. };
  2615. }
  2616. //给图标的位置赋值
  2617. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2618. if (i < childs.length - 1) {
  2619. //页面图标每次向下加95
  2620. top += 95;
  2621. }
  2622. }
  2623. //返回最后调用的图标的位置
  2624. return [top, left];
  2625. }
  2626. /**
  2627. * 桌面排列图标
  2628. *
  2629. * @param {element} 桌面元素
  2630. * @param {object} 上下相距的距离
  2631. * @param {object} 左右相距的距离
  2632. * @return {object} 命名空间
  2633. */
  2634. U.MD.D.iconPostion2 = function (childs, top, left) {
  2635. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2636. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2637. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2638. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2639. for (i = 0; i < childs.length; i++) {
  2640. //如果竖排top超过了范围处理
  2641. if (left + 150 > US.width - 10) {
  2642. //left超过了页面范围处理,则向上重叠打印处理
  2643. if ((top + 180) > US.Height) {
  2644. top -= 150;
  2645. left -= 150;
  2646. }
  2647. //没有超过范围,那么left+90添加到下一个竖排打印
  2648. else {
  2649. top += 150;
  2650. left = ol;
  2651. };
  2652. }
  2653. //给图标的位置赋值
  2654. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2655. if (i < childs.length - 1) {
  2656. //页面图标每次向下加95
  2657. left += 150;
  2658. }
  2659. }
  2660. //返回最后调用的图标的位置
  2661. return [top, left];
  2662. }
  2663. /**
  2664. * 桌面点击事件逻辑
  2665. *
  2666. * @param {element} 桌面元素
  2667. * @param {object} 上下相距的距离
  2668. * @param {object} 左右相距的距离
  2669. * @return {object} 命名空间
  2670. */
  2671. U.MD.D.click = function (el, obj) {
  2672. var _buttonnumber = event.button; //点击的按钮的事件值
  2673. var _userinfo = US.userInfo;
  2674. U.UF.EV.stopBubble(); //阻止向上冒泡
  2675. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2676. if (_buttonnumber < 2) {
  2677. //如果是click事件的处理
  2678. if (event.type == "click") {
  2679. //如果元素在mousemove事件中没有移动则出发click事件
  2680. if (!U.MD.D.I.IsDrag) {
  2681. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2682. U.alert("请先登录您的账号!");
  2683. setTimeout(() => {
  2684. U.MD.U.L.login();
  2685. }, 2000);
  2686. } else {
  2687. //打开应用处理
  2688. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2689. }
  2690. }
  2691. }
  2692. //如果是mouse事件的处理
  2693. else {
  2694. if (US.Config.type == '1') {
  2695. //拖动处理,添加拖动和拖动结束事件
  2696. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2697. }
  2698. }
  2699. U.MD.D.I.IsDrag = false;
  2700. }
  2701. }
  2702. /**
  2703. * 拖动的处理
  2704. *
  2705. */
  2706. U.MD.D.iconMove = function () {
  2707. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2708. U.MD.D.I.IsDrag = true;
  2709. }
  2710. /**
  2711. * 拖动结束后,这里是定位处理,以网状的形式定位
  2712. *
  2713. * @param {element} 拖动的元素
  2714. * @return {object} 命名空间
  2715. */
  2716. U.MD.D.iconUp = function (el) {
  2717. var _top = 15,
  2718. _left = 20,
  2719. _margin,
  2720. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2721. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2722. if (_positioninfo["OT"] > 15) {
  2723. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2724. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2725. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2726. }
  2727. if (_positioninfo["OL"] > 20) {
  2728. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2729. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2730. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2731. }
  2732. //while循环判断么一个重叠的元素
  2733. do {
  2734. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2735. _top = _positioninfo[0] + 95; //得到定位后的top
  2736. _left = _positioninfo[1]; //得到定位后的left
  2737. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2738. }
  2739. /**
  2740. * 判断拖动后图标是否重叠
  2741. *
  2742. * @param {element} 拖动的元素
  2743. * @param {element} 桌面所有的元素
  2744. * @param {array} 拖动元素的位置
  2745. ----------[0] 上 top
  2746. ----------[1] 左 left
  2747. * @return {object} 命名空间
  2748. */
  2749. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2750. //循环所有的图标
  2751. for (var i = 0; i < childs.length; i++) {
  2752. //判断有没有和该图标诶子重叠的元素
  2753. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2754. return childs[i]; //如果有返回
  2755. }
  2756. }
  2757. }
  2758. //#endregion
  2759. //#endregion
  2760. //#region 桌面应用
  2761. /**
  2762. * 打开应用
  2763. *
  2764. * @param {string} 类型
  2765. -----------------Disk 网盘系统
  2766. -----------------PDisk 学习系统网盘
  2767. -----------------Poto 图片
  2768. -----------------Video 视频
  2769. -----------------Music 音乐
  2770. -----------------Word word
  2771. -----------------Excel excel
  2772. -----------------Txt 记事本
  2773. -----------------PB 学习系统
  2774. -----------------Blog 朋友圈系统
  2775. -----------------FTP ftp系统
  2776. -----------------Group 好友群
  2777. -----------------SY 首页系统
  2778. -----------------Set 个人设置
  2779. -----------------XSet 系统设置
  2780. -----------------App 我们所有的app
  2781. -----------------BC c.1473.cn 平台
  2782. -----------------CWeb d.1473.cn 变成平台
  2783. -----------------其他的外联系统 我们统一用iframe打开
  2784. * @param {array} 类型
  2785. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2786. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2787. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2788. 如果第一个参数为其他,则无第二个参数
  2789. * @returns {array}
  2790. */
  2791. window.addEventListener('message', function (e) { // 监听 message 事件
  2792. // alert(e.data.type);
  2793. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2794. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2795. //3是展示全部阶段 2学生 1老师 4专家
  2796. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2797. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2798. //3是展示全部阶段 2学生 1老师 4专家
  2799. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2800. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2801. //3是展示全部阶段 2学生 1老师 4专家
  2802. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2803. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2804. } else if (e.data.screenType && e.data.screenType == "3train") { //培训管理传入
  2805. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  2806. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2807. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2808. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2809. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2810. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2811. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2812. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2813. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2814. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2815. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2816. //3是展示全部阶段 2学生 1老师 4专家
  2817. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2818. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2819. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2820. U.MD.D.I.selectUser();
  2821. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2822. var _formel = document.getElementById("study");
  2823. U.UF.F.windowZooming(_formel);
  2824. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2825. var _formel = document.getElementById("studyDetail");
  2826. U.UF.F.windowZooming(_formel);
  2827. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2828. var _formel = document.getElementById("studyDetail");
  2829. U.UF.F.windowZooming(_formel);
  2830. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2831. var _formel = document.getElementById("studentStudy");
  2832. U.UF.F.windowZooming(_formel);
  2833. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2834. // var _formel = document.getElementById("study");
  2835. //如果最大化了,那么就把他缩小
  2836. // if (_formel.ismaximize) {
  2837. // return;
  2838. // }
  2839. // U.UF.F.windowZooming(_formel);
  2840. // U.UF.F.topWindow(_formel);
  2841. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2842. // var _formel = document.getElementById("studyDetail");
  2843. //如果最大化了,那么就把他缩小
  2844. // if (_formel.ismaximize) {
  2845. // return;
  2846. // }
  2847. // U.UF.F.windowZooming(_formel);
  2848. // U.UF.F.topWindow(_formel);
  2849. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2850. // var _formel = document.getElementById("studentStudy");
  2851. // if (_formel.ismaximize) {
  2852. // return;
  2853. // }
  2854. // U.UF.F.windowZooming(_formel);
  2855. // U.UF.F.topWindow(_formel);
  2856. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2857. var _formel = document.getElementById("study");
  2858. // if (_formel.ismaximize) {
  2859. // return;
  2860. // }
  2861. // U.UF.F.windowZooming(_formel);
  2862. U.UF.F.topWindow(_formel);
  2863. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2864. var _formel = document.getElementById("studentIndex");
  2865. U.UF.F.windowZooming(_formel);
  2866. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2867. var _formel = document.getElementById("studyDetailS");
  2868. U.UF.F.windowZooming(_formel);
  2869. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2870. var _formel = document.getElementById("studioIndex");
  2871. U.UF.F.windowZooming(_formel);
  2872. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2873. var _formel = document.getElementById("studyDetailStudio");
  2874. U.UF.F.windowZooming(_formel);
  2875. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2876. var _formel = document.getElementById("studyDetailStudio");
  2877. U.UF.F.windowZooming(_formel);
  2878. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2879. var _formel = document.getElementById("studyDetailNT");
  2880. U.UF.F.windowZooming(_formel);
  2881. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2882. var _formel = document.getElementById("studyDetailS");
  2883. U.UF.F.windowZooming(_formel);
  2884. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2885. var _formel = document.getElementById("studyDetailS");
  2886. U.UF.F.topWindow(_formel);
  2887. } else if (e.data.tools && e.data.tools == "1") {
  2888. // U.MD.D.I.openApplication("whiteboard")
  2889. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2890. } else if (e.data.tools && e.data.tools == "2") {
  2891. U.MD.D.I.openApplication("note")
  2892. } else if (e.data.tools && e.data.tools == "3") {
  2893. // U.MD.D.I.openApplication("mind")
  2894. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2895. } else if (e.data.tools && e.data.tools == "4") {
  2896. U.MD.D.I.openApplication("investigation")
  2897. } else if (e.data.tools && e.data.tools == "6") {
  2898. // U.MD.D.I.openApplication("doc")
  2899. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2900. } else if (e.data.tools && e.data.tools == "7") {
  2901. // U.MD.D.I.openApplication("mindNetwork")
  2902. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2903. } else if (e.data.tools && e.data.tools == "8") {
  2904. U.MD.D.I.openApplication("library")
  2905. } else if (e.data.tools && e.data.tools == "17") {
  2906. U.MD.D.I.openApplication("stuLibrary")
  2907. } else if (e.data.tools && e.data.tools == "18") {
  2908. U.MD.D.I.openApplication("train")
  2909. } else if (e.data.tools && e.data.tools == "21") {
  2910. U.MD.D.I.openApplication("program")
  2911. } else if (e.data.tools && e.data.tools == "22") {
  2912. U.MD.D.I.openApplication("AIprogram2")
  2913. } else if (e.data.tools && e.data.tools == "23") {
  2914. U.MD.D.I.openApplication("Pythonprogram")
  2915. } else if (e.data.tools && e.data.tools == "24") {
  2916. U.MD.D.I.openApplication("AIprogram")
  2917. } else if (e.data.tools && e.data.tools == "25") {
  2918. U.MD.D.I.openApplication("sys")
  2919. } else if (e.data.tools && e.data.tools == "26") {
  2920. // U.MD.D.I.openApplication("courseDesign")
  2921. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2922. } else if (e.data.tools && e.data.tools == "31") {
  2923. U.MD.D.I.openApplication("netWorkPanel")
  2924. } else if (e.data.tools && e.data.tools == "32") {
  2925. U.MD.D.I.openApplication("codeEdit")
  2926. } else if (e.data.tools && e.data.tools == "57") {
  2927. U.MD.D.I.openApplication("CocoPi")
  2928. } else if (e.data.tools && e.data.tools == "63") {
  2929. U.MD.D.I.openApplication("Wood")
  2930. } else if (e.data.tools && e.data.tools == "58") {
  2931. U.MD.D.I.openApplication("car")
  2932. } else if (e.data.tools && e.data.tools == "59") {
  2933. U.MD.D.I.openApplication("lineSearch")
  2934. } else if (e.data.tools && e.data.tools == "60") {
  2935. U.MD.D.I.openApplication("deepLearning")
  2936. } else if (e.data.tools && e.data.tools == "61") {
  2937. U.MD.D.I.openApplication("allHistory")
  2938. } else if (e.data.tools && e.data.tools == "28") {
  2939. U.MD.D.I.openApplication("translation")
  2940. } else if (e.data.tools && e.data.tools == "37") {
  2941. U.MD.D.I.openApplication("mohe")
  2942. } else if (e.data.tools && e.data.tools == "38") {
  2943. U.MD.D.I.openApplication("24game")
  2944. } else if (e.data.tools && e.data.tools == "39") {
  2945. U.MD.D.I.openApplication("GeoGebra")
  2946. } else if (e.data.tools && e.data.tools == "43") {
  2947. U.MD.D.I.openApplication("studentEvaluate")
  2948. } else if (e.data.tools && e.data.tools == "44") {
  2949. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2950. } else if (e.data.tools && e.data.tools == "46") {
  2951. U.MD.D.I.openApplication("project")
  2952. } else if (e.data.tools && e.data.tools == "1s") {
  2953. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2954. } else if (e.data.tools && e.data.tools == "3s") {
  2955. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2956. } else if (e.data.tools && e.data.tools == "6s") {
  2957. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2958. } else if (e.data.tools && e.data.tools == "1studio") {
  2959. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2960. } else if (e.data.tools && e.data.tools == "3studio") {
  2961. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2962. } else if (e.data.tools && e.data.tools == "6studio") {
  2963. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2964. } else if (e.data.tools && e.data.tools == "3y") {
  2965. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2966. } else if (e.data.tools && e.data.tools == "1y") {
  2967. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2968. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2969. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2970. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2971. U.MD.D.I.openApplication("AIAnalyse")
  2972. } else if (e.data.tools && e.data.tools == "1teacher") {
  2973. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2974. } else if (e.data.tools && e.data.tools == "3teacher") {
  2975. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2976. } else if (e.data.tools && e.data.tools == "7teacher") {
  2977. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2978. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2979. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2980. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2981. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2982. } else if (e.data.tools && e.data.tools == "1E") {
  2983. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2984. } else if (e.data.tools && e.data.tools == "3E") {
  2985. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2986. } else if (e.data.tools && e.data.tools == "57y") {
  2987. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2988. } else if (e.data.tools && e.data.tools == "57u") {
  2989. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2990. } else if (e.data.tools && e.data.tools == "57teacher") {
  2991. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2992. } else if (e.data.tools && e.data.tools == "64") {
  2993. U.MD.D.I.openApplication("AIChat")
  2994. } else if (e.data.tools && e.data.tools == "66") {
  2995. U.MD.D.I.openApplication("formulaEdi")
  2996. } else if (e.data.tools && e.data.tools == "67") {
  2997. U.MD.D.I.openApplication("molStr")
  2998. } else if (e.data.tools && e.data.tools == "68") {
  2999. U.MD.D.I.openApplication("timeAxis")
  3000. } else if (e.data.tools && e.data.tools == "openCourse") {
  3001. let _data = {
  3002. typea: e.data.typea || '',
  3003. typeb: e.data.typeb || '',
  3004. typed: e.data.typed || '',
  3005. }
  3006. U.MD.D.I.openInApplication("index", _data)
  3007. } else if (e.data.tools && e.data.tools == "openDataClass") {
  3008. let _data = {
  3009. classid: e.data.classid || '',
  3010. }
  3011. U.MD.D.I.openInApplication("dataClass", _data)
  3012. } else if (e.data.tools && e.data.tools == "opencCscl") {
  3013. let _data = {
  3014. cid: e.data.cid || '',
  3015. gid: e.data.gid || '',
  3016. }
  3017. U.MD.D.I.openInApplication("opencCscl", _data)
  3018. } else if (e.data.tools && e.data.tools == "dataBoardTest") {
  3019. U.MD.D.I.openApplication("dataBoardTest")
  3020. }
  3021. });
  3022. U.MD.D.I.selectUser = function () {
  3023. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  3024. if (res.value[0].length > 0) {
  3025. US.userInfo = res.value[0][0];
  3026. $(".userName")[0].innerHTML = US.userInfo.username;
  3027. }
  3028. }, [], { "type": "GET", "withCredentials": true });
  3029. }
  3030. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  3031. var _userinfo = US.userInfo, //登录用户信息
  3032. _userid = US.userInfo.userid, //登录用户id
  3033. _oid = _userinfo.organizeid,
  3034. _type = US.userInfo.type,
  3035. _org = US.userInfo.org,
  3036. _role = US.userInfo.role,
  3037. _classId = US.userInfo.classid;
  3038. if (_type == 4) {
  3039. tType = 4
  3040. }
  3041. switch (str) {
  3042. case "studyDetailNT": //无终端模式
  3043. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3044. setTimeout(() => {
  3045. U.MD.U.L.login();
  3046. }, 2000);
  3047. } else {
  3048. _formdiv = new U.UF.UI.form(
  3049. "课程详情",
  3050. $$("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 }), {
  3051. "id": "studyDetailNT",
  3052. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3053. "onresize": function () { }
  3054. }, {
  3055. closecallback: function () { }
  3056. }, { "style": { "height": "36px" } }).form; //创建窗体
  3057. _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); } }
  3058. break;
  3059. }
  3060. case "studyDetail":
  3061. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3062. setTimeout(() => {
  3063. U.MD.U.L.login();
  3064. }, 2000);
  3065. } else {
  3066. _formdiv = new U.UF.UI.form(
  3067. "课程详情",
  3068. $$("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 }), {
  3069. "id": "studyDetail",
  3070. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3071. "onresize": function () { }
  3072. }, {
  3073. closecallback: function () { }
  3074. }, { "style": { "height": "36px" } }).form; //创建窗体
  3075. _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); } }
  3076. break;
  3077. }
  3078. case "studyDetailTrain":
  3079. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3080. setTimeout(() => {
  3081. U.MD.U.L.login();
  3082. }, 2000);
  3083. } else {
  3084. _formdiv = new U.UF.UI.form(
  3085. "培训详情",
  3086. $$("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/#/courseDetailTrain?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  3087. "id": "studyDetailTrain",
  3088. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3089. "onresize": function () { }
  3090. }, {
  3091. closecallback: function () { }
  3092. }, { "style": { "height": "36px" } }).form; //创建窗体
  3093. _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); } }
  3094. break;
  3095. }
  3096. case "studyDetailS":
  3097. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3098. setTimeout(() => {
  3099. U.MD.U.L.login();
  3100. }, 2000);
  3101. } else {
  3102. _formdiv = new U.UF.UI.form(
  3103. "项目详情",
  3104. $$("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 }), {
  3105. "id": "studyDetailS",
  3106. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3107. "onresize": function () { }
  3108. }, {
  3109. closecallback: function () { }
  3110. }, { "style": { "height": "36px" } }).form; //创建窗体
  3111. _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); } }
  3112. break;
  3113. }
  3114. case "studyDetailStudio":
  3115. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3116. setTimeout(() => {
  3117. U.MD.U.L.login();
  3118. }, 2000);
  3119. } else {
  3120. _formdiv = new U.UF.UI.form(
  3121. "工作详情",
  3122. $$("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 }), {
  3123. "id": "studyDetailStudio",
  3124. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3125. "onresize": function () { }
  3126. }, {
  3127. closecallback: function () { }
  3128. }, { "style": { "height": "36px" } }).form; //创建窗体
  3129. _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); } }
  3130. break;
  3131. }
  3132. case "studyDetailS5":
  3133. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3134. setTimeout(() => {
  3135. U.MD.U.L.login();
  3136. }, 2000);
  3137. } else {
  3138. _formdiv = new U.UF.UI.form(
  3139. "项目详情",
  3140. $$("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 }), {
  3141. "id": "studyDetailS",
  3142. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3143. "onresize": function () { }
  3144. }, {
  3145. closecallback: function () { }
  3146. }, { "style": { "height": "36px" } }).form; //创建窗体
  3147. _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); } }
  3148. break;
  3149. }
  3150. case "studyDetailGM":
  3151. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3152. setTimeout(() => {
  3153. U.MD.U.L.login();
  3154. }, 2000);
  3155. } else {
  3156. _formdiv = new U.UF.UI.form(
  3157. "课程详情",
  3158. $$("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 }), {
  3159. "id": "studyDetail",
  3160. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3161. "onresize": function () { }
  3162. }, {
  3163. closecallback: function () { }
  3164. }, { "style": { "height": "36px" } }).form; //创建窗体
  3165. _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); } }
  3166. break;
  3167. }
  3168. case "hanUrl":
  3169. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3170. setTimeout(() => {
  3171. U.MD.U.L.login();
  3172. }, 2000);
  3173. } else {
  3174. _formdiv = new U.UF.UI.form(
  3175. "汉字宫",
  3176. $$("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" }), {
  3177. "id": "hanUrl",
  3178. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3179. "onresize": function () { }
  3180. }, {
  3181. closecallback: function () { }
  3182. }, { "style": { "height": "36px" } }).form; //创建窗体
  3183. _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); } }
  3184. break;
  3185. }
  3186. case "index":
  3187. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3188. setTimeout(() => {
  3189. U.MD.U.L.login();
  3190. }, 2000);
  3191. } else {
  3192. _formdiv = new U.UF.UI.form(
  3193. "课程中心",
  3194. $$("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 }), {
  3195. "id": "study",
  3196. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3197. "onresize": function () { }
  3198. }, {
  3199. closecallback: function () { }
  3200. }, { "style": { "height": "36px" } }).form; //创建窗体
  3201. _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); } }
  3202. break;
  3203. }
  3204. case "dataClass":
  3205. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3206. setTimeout(() => {
  3207. U.MD.U.L.login();
  3208. }, 2000);
  3209. } else {
  3210. _formdiv = new U.UF.UI.form(
  3211. "数据报告",
  3212. $$("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 }), {
  3213. "id": "dataClass",
  3214. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3215. "onresize": function () { }
  3216. }, {
  3217. closecallback: function () { }
  3218. }, { "style": { "height": "36px" } }).form; //创建窗体
  3219. _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); } }
  3220. break;
  3221. }
  3222. case "opencCscl":
  3223. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3224. setTimeout(() => {
  3225. U.MD.U.L.login();
  3226. }, 2000);
  3227. } else {
  3228. _formdiv = new U.UF.UI.form(
  3229. "协同建构",
  3230. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  3231. "id": "futureClass",
  3232. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3233. "onresize": function () { }
  3234. }, {
  3235. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3236. }, { "style": { "height": "36px" } }).form; //创建窗体
  3237. _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); } }
  3238. break;
  3239. }
  3240. }
  3241. }
  3242. U.MD.D.I.openApplication = function (str, obj, info) {
  3243. obj = obj || {};
  3244. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3245. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3246. _userinfo = US.userInfo, //登录用户信息
  3247. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3248. _oid = obj.organizeid || _userinfo.organizeid,
  3249. _type = US.userInfo.type,
  3250. _org = US.userInfo.org,
  3251. _role = US.userInfo.role,
  3252. _classId = US.userInfo.classid,
  3253. _TscreenType = 1
  3254. _screenType = 2,
  3255. _SscreenType = 3;
  3256. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3257. return;
  3258. }
  3259. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3260. switch (str) {
  3261. case "studnetProject": //好友打开
  3262. _formdiv = new U.UF.UI.form(
  3263. "我的项目",
  3264. $$("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 }), {
  3265. "id": "studnetProject",
  3266. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3267. "onresize": function () { }
  3268. }, {
  3269. closecallback: function () { }
  3270. }, { "style": { "height": "36px" } }).form; //创建窗体
  3271. _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); } }
  3272. break;
  3273. case "studentEvaluate": //好友打开
  3274. _formdiv = new U.UF.UI.form(
  3275. "我的评价",
  3276. $$("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 }), {
  3277. "id": "studentEvaluate",
  3278. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3279. "onresize": function () { }
  3280. }, {
  3281. closecallback: function () { }
  3282. }, { "style": { "height": "36px" } }).form; //创建窗体
  3283. _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); } }
  3284. break;
  3285. case "my":
  3286. _formdiv = new U.UF.UI.form(
  3287. "我的资料",
  3288. $$("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 }), {
  3289. "id": "my",
  3290. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3291. "onresize": function () { }
  3292. }, {
  3293. closecallback: function () { }
  3294. }, { "style": { "height": "36px" } }).form; //创建窗体
  3295. _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); } }
  3296. break;
  3297. case "program":
  3298. _formdiv = new U.UF.UI.form(
  3299. "编程平台",
  3300. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3301. "id": "program",
  3302. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3303. "onresize": function () { }
  3304. }, {
  3305. closecallback: function () { }
  3306. }, { "style": { "height": "36px" } }).form; //创建窗体
  3307. _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); } }
  3308. break;
  3309. case "library":
  3310. _formdiv = new U.UF.UI.form(
  3311. "素材库",
  3312. $$("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 }), {
  3313. "id": "library",
  3314. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3315. "onresize": function () { }
  3316. }, {
  3317. closecallback: function () { }
  3318. }, { "style": { "height": "36px" } }).form; //创建窗体
  3319. _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); } }
  3320. break;
  3321. case "whiteboard":
  3322. _formdiv = new U.UF.UI.form(
  3323. "电子白板",
  3324. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3325. "id": "whiteboard",
  3326. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3327. "onresize": function () { }
  3328. }, {
  3329. closecallback: function () { }
  3330. }, { "style": { "height": "36px" } }).form; //创建窗体
  3331. _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); } }
  3332. break;
  3333. case "investigation":
  3334. _formdiv = new U.UF.UI.form(
  3335. "问卷调查",
  3336. $$("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 }), {
  3337. "id": "investigation",
  3338. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3339. "onresize": function () { }
  3340. }, {
  3341. closecallback: function () { }
  3342. }, { "style": { "height": "36px" } }).form; //创建窗体
  3343. _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); } }
  3344. break;
  3345. case "note":
  3346. _formdiv = new U.UF.UI.form(
  3347. "便签分类",
  3348. $$("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 }), {
  3349. "id": "note",
  3350. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3351. "onresize": function () { }
  3352. }, {
  3353. closecallback: function () { }
  3354. }, { "style": { "height": "36px" } }).form; //创建窗体
  3355. _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); } }
  3356. break;
  3357. // case "score":
  3358. // _formdiv = new U.UF.UI.form(
  3359. // "量规评分",
  3360. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3361. // "id": "score",
  3362. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3363. // "onresize": function() {}
  3364. // }, {
  3365. // closecallback: function() {}
  3366. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3367. // _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); } }
  3368. // break;
  3369. case "mind":
  3370. _formdiv = new U.UF.UI.form(
  3371. "思维导图",
  3372. $$("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"
  3373. "id": "mind",
  3374. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3375. "onresize": function () { }
  3376. }, {
  3377. closecallback: function () { }
  3378. }, { "style": { "height": "36px" } }).form; //创建窗体
  3379. _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); } }
  3380. break;
  3381. case "doc":
  3382. // U.MD.D.I.isRoom();
  3383. _formdiv = new U.UF.UI.form(
  3384. "协同文档",
  3385. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3386. "id": "doc",
  3387. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3388. "onresize": function () { }
  3389. }, {
  3390. closecallback: function () { }
  3391. }, { "style": { "height": "36px" } }).form; //创建窗体
  3392. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3393. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3394. // })
  3395. _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); } }
  3396. break;
  3397. case "studentStudy":
  3398. _formdiv = new U.UF.UI.form(
  3399. "课程中心",
  3400. $$("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
  3401. "id": "studentStudy",
  3402. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3403. "onresize": function () { }
  3404. }, {
  3405. closecallback: function () { }
  3406. }, { "style": { "height": "36px" } }).form; //创建窗体
  3407. _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); } }
  3408. break;
  3409. case "train": //好友打开
  3410. _formdiv = new U.UF.UI.form(
  3411. "训练平台",
  3412. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3413. "id": "train",
  3414. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3415. "onresize": function () { }
  3416. }, {
  3417. closecallback: function () { }
  3418. }, { "style": { "height": "36px" } }).form; //创建窗体
  3419. _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); } }
  3420. break;
  3421. case "mindNetwork": //好友打开
  3422. _formdiv = new U.UF.UI.form(
  3423. "思维网格",
  3424. $$("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 }), {
  3425. "id": "mindNetwork",
  3426. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3427. "onresize": function () { }
  3428. }, {
  3429. closecallback: function () { }
  3430. }, { "style": { "height": "36px" } }).form; //创建窗体
  3431. _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); } }
  3432. break;
  3433. case "studentClassRoom": //好友打开
  3434. _formdiv = new U.UF.UI.form(
  3435. "实时课堂",
  3436. $$("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 }), {
  3437. "id": "studentClassRoom",
  3438. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3439. "onresize": function () { }
  3440. }, {
  3441. closecallback: function () { }
  3442. }, { "style": { "height": "36px" } }).form; //创建窗体
  3443. _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); } }
  3444. setTimeout(() => {
  3445. U.UF.F.windowZooming(_formdiv)
  3446. }, 0);
  3447. break;
  3448. }
  3449. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3450. switch (str) {
  3451. case "studnetProject": //好友打开
  3452. _formdiv = new U.UF.UI.form(
  3453. "我的项目",
  3454. $$("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 }), {
  3455. "id": "studnetProject",
  3456. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3457. "onresize": function () { }
  3458. }, {
  3459. closecallback: function () { }
  3460. }, { "style": { "height": "36px" } }).form; //创建窗体
  3461. _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); } }
  3462. break;
  3463. case "studentEvaluate": //好友打开
  3464. _formdiv = new U.UF.UI.form(
  3465. "我的评价",
  3466. $$("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 }), {
  3467. "id": "studentEvaluate",
  3468. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3469. "onresize": function () { }
  3470. }, {
  3471. closecallback: function () { }
  3472. }, { "style": { "height": "36px" } }).form; //创建窗体
  3473. _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); } }
  3474. break;
  3475. case "my":
  3476. _formdiv = new U.UF.UI.form(
  3477. "我的资料",
  3478. $$("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 }), {
  3479. "id": "my",
  3480. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3481. "onresize": function () { }
  3482. }, {
  3483. closecallback: function () { }
  3484. }, { "style": { "height": "36px" } }).form; //创建窗体
  3485. _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); } }
  3486. break;
  3487. case "program":
  3488. _formdiv = new U.UF.UI.form(
  3489. "编程平台",
  3490. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3491. "id": "program",
  3492. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3493. "onresize": function () { }
  3494. }, {
  3495. closecallback: function () { }
  3496. }, { "style": { "height": "36px" } }).form; //创建窗体
  3497. _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); } }
  3498. break;
  3499. case "library":
  3500. _formdiv = new U.UF.UI.form(
  3501. "素材库",
  3502. $$("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 }), {
  3503. "id": "library",
  3504. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3505. "onresize": function () { }
  3506. }, {
  3507. closecallback: function () { }
  3508. }, { "style": { "height": "36px" } }).form; //创建窗体
  3509. _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); } }
  3510. break;
  3511. case "whiteboard":
  3512. _formdiv = new U.UF.UI.form(
  3513. "电子白板",
  3514. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3515. "id": "whiteboard",
  3516. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3517. "onresize": function () { }
  3518. }, {
  3519. closecallback: function () { }
  3520. }, { "style": { "height": "36px" } }).form; //创建窗体
  3521. _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); } }
  3522. break;
  3523. case "investigation":
  3524. _formdiv = new U.UF.UI.form(
  3525. "问卷调查",
  3526. $$("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 }), {
  3527. "id": "investigation",
  3528. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3529. "onresize": function () { }
  3530. }, {
  3531. closecallback: function () { }
  3532. }, { "style": { "height": "36px" } }).form; //创建窗体
  3533. _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); } }
  3534. break;
  3535. case "note":
  3536. _formdiv = new U.UF.UI.form(
  3537. "便签分类",
  3538. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3539. "id": "note",
  3540. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3541. "onresize": function () { }
  3542. }, {
  3543. closecallback: function () { }
  3544. }, { "style": { "height": "36px" } }).form; //创建窗体
  3545. _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); } }
  3546. break;
  3547. // case "score":
  3548. // _formdiv = new U.UF.UI.form(
  3549. // "量规评分",
  3550. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3551. // "id": "score",
  3552. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3553. // "onresize": function() {}
  3554. // }, {
  3555. // closecallback: function() {}
  3556. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3557. // _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); } }
  3558. // break;
  3559. case "mind":
  3560. _formdiv = new U.UF.UI.form(
  3561. "思维导图",
  3562. $$("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"
  3563. "id": "mind",
  3564. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3565. "onresize": function () { }
  3566. }, {
  3567. closecallback: function () { }
  3568. }, { "style": { "height": "36px" } }).form; //创建窗体
  3569. _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); } }
  3570. break;
  3571. case "doc":
  3572. // U.MD.D.I.isRoom();
  3573. _formdiv = new U.UF.UI.form(
  3574. "协同文档",
  3575. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3576. "id": "doc",
  3577. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3578. "onresize": function () { }
  3579. }, {
  3580. closecallback: function () { }
  3581. }, { "style": { "height": "36px" } }).form; //创建窗体
  3582. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3583. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3584. })
  3585. _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); } }
  3586. break;
  3587. case "train": //好友打开
  3588. _formdiv = new U.UF.UI.form(
  3589. "训练平台",
  3590. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3591. "id": "train",
  3592. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3593. "onresize": function () { }
  3594. }, {
  3595. closecallback: function () { }
  3596. }, { "style": { "height": "36px" } }).form; //创建窗体
  3597. _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); } }
  3598. break;
  3599. case "studentStudy":
  3600. _formdiv = new U.UF.UI.form(
  3601. "课程中心",
  3602. $$("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
  3603. "id": "studentStudy",
  3604. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3605. "onresize": function () { }
  3606. }, {
  3607. closecallback: function () { }
  3608. }, { "style": { "height": "36px" } }).form; //创建窗体
  3609. _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); } }
  3610. break;
  3611. case "mindNetwork": //好友打开
  3612. _formdiv = new U.UF.UI.form(
  3613. "思维网格",
  3614. $$("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 }), {
  3615. "id": "mindNetwork",
  3616. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3617. "onresize": function () { }
  3618. }, {
  3619. closecallback: function () { }
  3620. }, { "style": { "height": "36px" } }).form; //创建窗体
  3621. _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); } }
  3622. break;
  3623. case "studentClassRoom": //好友打开
  3624. _formdiv = new U.UF.UI.form(
  3625. "实时课堂",
  3626. $$("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 }), {
  3627. "id": "studentClassRoom",
  3628. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3629. "onresize": function () { }
  3630. }, {
  3631. closecallback: function () { }
  3632. }, { "style": { "height": "36px" } }).form; //创建窗体
  3633. _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); } }
  3634. setTimeout(() => {
  3635. U.UF.F.windowZooming(_formdiv)
  3636. }, 0);
  3637. break;
  3638. }
  3639. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3640. //选择应用处理
  3641. switch (str) {
  3642. case "project": //好友打开
  3643. _formdiv = new U.UF.UI.form(
  3644. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3645. $$("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 }), {
  3646. "id": "project",
  3647. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3648. "onresize": function () { }
  3649. }, {
  3650. closecallback: function () { }
  3651. }, { "style": { "height": "36px" } }).form; //创建窗体
  3652. _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); } }
  3653. break;
  3654. case "student":
  3655. _formdiv = new U.UF.UI.form(
  3656. "学生管理",
  3657. $$("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 }), {
  3658. "id": "student",
  3659. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3660. "onresize": function () { }
  3661. }, {
  3662. closecallback: function () { }
  3663. }, { "style": { "height": "36px" } }).form; //创建窗体
  3664. _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); } }
  3665. break;
  3666. case "evaluate":
  3667. _formdiv = new U.UF.UI.form(
  3668. "学生评价",
  3669. $$("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 }), {
  3670. "id": "evaluate",
  3671. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3672. "onresize": function () { }
  3673. }, {
  3674. closecallback: function () { }
  3675. }, { "style": { "height": "36px" } }).form; //创建窗体
  3676. _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); } }
  3677. break;
  3678. case "sys":
  3679. _formdiv = new U.UF.UI.form(
  3680. "目标管理",
  3681. $$("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 }), {
  3682. "id": "sys",
  3683. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3684. "onresize": function () { }
  3685. }, {
  3686. closecallback: function () { }
  3687. }, { "style": { "height": "36px" } }).form; //创建窗体
  3688. _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); } }
  3689. break;
  3690. case "courseDesign":
  3691. _formdiv = new U.UF.UI.form(
  3692. "项目设计",
  3693. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3694. "id": "courseDesign",
  3695. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3696. "onresize": function () { }
  3697. }, {
  3698. closecallback: function () { }
  3699. }, { "style": { "height": "36px" } }).form; //创建窗体
  3700. _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); } }
  3701. break;
  3702. case "program":
  3703. _formdiv = new U.UF.UI.form(
  3704. "编程平台",
  3705. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3706. "id": "program",
  3707. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3708. "onresize": function () { }
  3709. }, {
  3710. closecallback: function () { }
  3711. }, { "style": { "height": "36px" } }).form; //创建窗体
  3712. _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); } }
  3713. break;
  3714. case "class":
  3715. _formdiv = new U.UF.UI.form(
  3716. "班级管理",
  3717. $$("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 }), {
  3718. "id": "class",
  3719. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3720. "onresize": function () { }
  3721. }, {
  3722. closecallback: function () { }
  3723. }, { "style": { "height": "36px" } }).form; //创建窗体
  3724. _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); } }
  3725. break;
  3726. case "Grade":
  3727. _formdiv = new U.UF.UI.form(
  3728. "年级管理",
  3729. $$("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 }), {
  3730. "id": "Grade",
  3731. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3732. "onresize": function () { }
  3733. }, {
  3734. closecallback: function () { }
  3735. }, { "style": { "height": "36px" } }).form; //创建窗体
  3736. _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); } }
  3737. break;
  3738. case "teacherOffice":
  3739. _formdiv = new U.UF.UI.form(
  3740. "教研室",
  3741. $$("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 }), {
  3742. "id": "teacherOffice",
  3743. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3744. "onresize": function () { }
  3745. }, {
  3746. closecallback: function () { }
  3747. }, { "style": { "height": "36px" } }).form; //创建窗体
  3748. _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); } }
  3749. break;
  3750. case "my":
  3751. _formdiv = new U.UF.UI.form(
  3752. "我的资料",
  3753. $$("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 }), {
  3754. "id": "my",
  3755. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3756. "onresize": function () { }
  3757. }, {
  3758. closecallback: function () { }
  3759. }, { "style": { "height": "36px" } }).form; //创建窗体
  3760. _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); } }
  3761. break;
  3762. case "notice":
  3763. _formdiv = new U.UF.UI.form(
  3764. "通知公告",
  3765. $$("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 }), {
  3766. "id": "notice",
  3767. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3768. "onresize": function () { }
  3769. }, {
  3770. closecallback: function () { }
  3771. }, { "style": { "height": "36px" } }).form; //创建窗体
  3772. _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); } }
  3773. break;
  3774. case "library":
  3775. _formdiv = new U.UF.UI.form(
  3776. "素材库",
  3777. $$("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 }), {
  3778. "id": "library",
  3779. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3780. "onresize": function () { }
  3781. }, {
  3782. closecallback: function () { }
  3783. }, { "style": { "height": "36px" } }).form; //创建窗体
  3784. _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); } }
  3785. break;
  3786. case "whiteboard":
  3787. _formdiv = new U.UF.UI.form(
  3788. "电子白板",
  3789. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3790. "id": "whiteboard",
  3791. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3792. "onresize": function () { }
  3793. }, {
  3794. closecallback: function () { }
  3795. }, { "style": { "height": "36px" } }).form; //创建窗体
  3796. _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); } }
  3797. break;
  3798. case "investigation":
  3799. _formdiv = new U.UF.UI.form(
  3800. "问卷调查",
  3801. $$("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 }), {
  3802. "id": "investigation",
  3803. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3804. "onresize": function () { }
  3805. }, {
  3806. closecallback: function () { }
  3807. }, { "style": { "height": "36px" } }).form; //创建窗体
  3808. _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); } }
  3809. break;
  3810. case "note":
  3811. _formdiv = new U.UF.UI.form(
  3812. "便签分类",
  3813. $$("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 }), {
  3814. "id": "note",
  3815. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3816. "onresize": function () { }
  3817. }, {
  3818. closecallback: function () { }
  3819. }, { "style": { "height": "36px" } }).form; //创建窗体
  3820. _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); } }
  3821. break;
  3822. // case "score":
  3823. // _formdiv = new U.UF.UI.form(
  3824. // "量规评分",
  3825. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3826. // "id": "score",
  3827. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3828. // "onresize": function() {}
  3829. // }, {
  3830. // closecallback: function() {}
  3831. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3832. // _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); } }
  3833. // break;
  3834. case "mind":
  3835. _formdiv = new U.UF.UI.form(
  3836. "思维导图",
  3837. $$("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"
  3838. "id": "mind",
  3839. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3840. "onresize": function () { }
  3841. }, {
  3842. closecallback: function () { }
  3843. }, { "style": { "height": "36px" } }).form; //创建窗体
  3844. _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); } }
  3845. break;
  3846. case "doc":
  3847. // U.MD.D.I.isRoom();
  3848. _formdiv = new U.UF.UI.form(
  3849. "协同文档",
  3850. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3851. "id": "doc",
  3852. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3853. "onresize": function () { }
  3854. }, {
  3855. closecallback: function () { }
  3856. }, { "style": { "height": "36px" } }).form; //创建窗体
  3857. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3858. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3859. })
  3860. _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); } }
  3861. break;
  3862. case "study":
  3863. _formdiv = new U.UF.UI.form(
  3864. "课程中心",
  3865. $$("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
  3866. "id": "study",
  3867. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3868. "onresize": function () { }
  3869. }, {
  3870. closecallback: function () { }
  3871. }, { "style": { "height": "36px" } }).form; //创建窗体
  3872. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3873. break;
  3874. case "mindNetwork": //好友打开
  3875. _formdiv = new U.UF.UI.form(
  3876. "思维网格",
  3877. $$("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 }), {
  3878. "id": "mindNetwork",
  3879. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3880. "onresize": function () { }
  3881. }, {
  3882. closecallback: function () { }
  3883. }, { "style": { "height": "36px" } }).form; //创建窗体
  3884. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3885. break;
  3886. case "train": //好友打开
  3887. _formdiv = new U.UF.UI.form(
  3888. "训练平台",
  3889. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3890. "id": "mindNetwork",
  3891. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3892. "onresize": function () { }
  3893. }, {
  3894. closecallback: function () { }
  3895. }, { "style": { "height": "36px" } }).form; //创建窗体
  3896. _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); } }
  3897. break;
  3898. case "teacherClassRoom": //好友打开
  3899. _formdiv = new U.UF.UI.form(
  3900. "实时课堂",
  3901. $$("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 }), {
  3902. "id": "teacherClassRoom",
  3903. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3904. "onresize": function () { }
  3905. }, {
  3906. closecallback: function () { }
  3907. }, { "style": { "height": "36px" } }).form; //创建窗体
  3908. _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); } }
  3909. setTimeout(() => {
  3910. U.UF.F.windowZooming(_formdiv)
  3911. }, 0);
  3912. break;
  3913. }
  3914. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3915. switch (str) {
  3916. case "project": //好友打开
  3917. _formdiv = new U.UF.UI.form(
  3918. "课程管理",
  3919. $$("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 }), {
  3920. "id": "project",
  3921. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3922. "onresize": function () { }
  3923. }, {
  3924. closecallback: function () { }
  3925. }, { "style": { "height": "36px" } }).form; //创建窗体
  3926. _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); } }
  3927. break;
  3928. case "evaluate":
  3929. _formdiv = new U.UF.UI.form(
  3930. "学生评价",
  3931. $$("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 }), {
  3932. "id": "evaluate",
  3933. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3934. "onresize": function () { }
  3935. }, {
  3936. closecallback: function () { }
  3937. }, { "style": { "height": "36px" } }).form; //创建窗体
  3938. _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); } }
  3939. break;
  3940. case "notice":
  3941. _formdiv = new U.UF.UI.form(
  3942. "通知公告",
  3943. $$("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 }), {
  3944. "id": "notice",
  3945. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3946. "onresize": function () { }
  3947. }, {
  3948. closecallback: function () { }
  3949. }, { "style": { "height": "36px" } }).form; //创建窗体
  3950. _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); } }
  3951. break;
  3952. case "stuLibrary":
  3953. _formdiv = new U.UF.UI.form(
  3954. "学习资料",
  3955. $$("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 }), {
  3956. "id": "stuLibrary",
  3957. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3958. "onresize": function () { }
  3959. }, {
  3960. closecallback: function () { }
  3961. }, { "style": { "height": "36px" } }).form; //创建窗体
  3962. _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); } }
  3963. break;
  3964. case "program":
  3965. _formdiv = new U.UF.UI.form(
  3966. "编程平台",
  3967. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3968. "id": "program",
  3969. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3970. "onresize": function () { }
  3971. }, {
  3972. closecallback: function () { }
  3973. }, { "style": { "height": "36px" } }).form; //创建窗体
  3974. _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); } }
  3975. break;
  3976. case "whiteboard":
  3977. _formdiv = new U.UF.UI.form(
  3978. "电子白板",
  3979. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3980. "id": "whiteboard",
  3981. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3982. "onresize": function () { }
  3983. }, {
  3984. closecallback: function () { }
  3985. }, { "style": { "height": "36px" } }).form; //创建窗体
  3986. _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); } }
  3987. break;
  3988. case "investigation":
  3989. _formdiv = new U.UF.UI.form(
  3990. "问卷调查",
  3991. $$("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 }), {
  3992. "id": "investigation",
  3993. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3994. "onresize": function () { }
  3995. }, {
  3996. closecallback: function () { }
  3997. }, { "style": { "height": "36px" } }).form; //创建窗体
  3998. _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); } }
  3999. break;
  4000. case "mind":
  4001. _formdiv = new U.UF.UI.form(
  4002. "思维导图",
  4003. $$("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"
  4004. "id": "mind",
  4005. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4006. "onresize": function () { }
  4007. }, {
  4008. closecallback: function () { }
  4009. }, { "style": { "height": "36px" } }).form; //创建窗体
  4010. _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); } }
  4011. break;
  4012. case "doc":
  4013. // U.MD.D.I.isRoom();
  4014. _formdiv = new U.UF.UI.form(
  4015. "协同文档",
  4016. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4017. "id": "doc",
  4018. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4019. "onresize": function () { }
  4020. }, {
  4021. closecallback: function () { }
  4022. }, { "style": { "height": "36px" } }).form; //创建窗体
  4023. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4024. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4025. })
  4026. _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); } }
  4027. break;
  4028. case "study":
  4029. _formdiv = new U.UF.UI.form(
  4030. "课程中心",
  4031. $$("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
  4032. "id": "study",
  4033. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4034. "onresize": function () { }
  4035. }, {
  4036. closecallback: function () { }
  4037. }, { "style": { "height": "36px" } }).form; //创建窗体
  4038. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4039. break;
  4040. case "mindNetwork": //好友打开
  4041. _formdiv = new U.UF.UI.form(
  4042. "思维网格",
  4043. $$("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 }), {
  4044. "id": "mindNetwork",
  4045. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4046. "onresize": function () { }
  4047. }, {
  4048. closecallback: function () { }
  4049. }, { "style": { "height": "36px" } }).form; //创建窗体
  4050. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4051. break;
  4052. case "train": //好友打开
  4053. _formdiv = new U.UF.UI.form(
  4054. "训练平台",
  4055. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4056. "id": "train",
  4057. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4058. "onresize": function () { }
  4059. }, {
  4060. closecallback: function () { }
  4061. }, { "style": { "height": "36px" } }).form; //创建窗体
  4062. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4063. break;
  4064. case "sys":
  4065. _formdiv = new U.UF.UI.form(
  4066. "目标管理",
  4067. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4068. "id": "sys",
  4069. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4070. "onresize": function () { }
  4071. }, {
  4072. closecallback: function () { }
  4073. }, { "style": { "height": "36px" } }).form; //创建窗体
  4074. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4075. break;
  4076. case "courseDesign":
  4077. _formdiv = new U.UF.UI.form(
  4078. "项目设计",
  4079. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  4080. "id": "courseDesign",
  4081. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4082. "onresize": function () { }
  4083. }, {
  4084. closecallback: function () { }
  4085. }, { "style": { "height": "36px" } }).form; //创建窗体
  4086. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4087. break;
  4088. }
  4089. } else if (!_type) {
  4090. switch (str) {
  4091. case "my":
  4092. _formdiv = new U.UF.UI.form(
  4093. "我的资料",
  4094. $$("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 }), {
  4095. "id": "my",
  4096. "style": { "width": "42%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4102. break;
  4103. }
  4104. }
  4105. switch (str) {
  4106. // AIprogram2 AI体验 aihub.cocorobo.cn
  4107. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  4108. // AIprogram AI编程 ai-blockly.cocorobo.cn
  4109. case "formulaEdi": //公式编辑
  4110. _formdiv = new U.UF.UI.form(
  4111. "公式编辑",
  4112. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  4113. "id": "formulaEdi",
  4114. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4115. "onresize": function () { }
  4116. }, {
  4117. closecallback: function () { }
  4118. }, { "style": { "height": "36px" } }).form; //创建窗体
  4119. _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); } }
  4120. break;
  4121. case "molStr": //分子结构
  4122. _formdiv = new U.UF.UI.form(
  4123. "分子结构",
  4124. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  4125. "id": "molStr",
  4126. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4127. "onresize": function () { }
  4128. }, {
  4129. closecallback: function () { }
  4130. }, { "style": { "height": "36px" } }).form; //创建窗体
  4131. _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); } }
  4132. break;
  4133. case "timeAxis": //时间轴
  4134. _formdiv = new U.UF.UI.form(
  4135. "时间轴",
  4136. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  4137. "id": "timeAxis",
  4138. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4139. "onresize": function () { }
  4140. }, {
  4141. closecallback: function () { }
  4142. }, { "style": { "height": "36px" } }).form; //创建窗体
  4143. _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); } }
  4144. break;
  4145. case "AIprogram2": //AI体验
  4146. _formdiv = new U.UF.UI.form(
  4147. "AI体验",
  4148. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  4149. "id": "AIprogram2",
  4150. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4151. "onresize": function () { }
  4152. }, {
  4153. closecallback: function () { }
  4154. }, { "style": { "height": "36px" } }).form; //创建窗体
  4155. _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); } }
  4156. break;
  4157. case "Pythonprogram": //python编程
  4158. _formdiv = new U.UF.UI.form(
  4159. "Python编程",
  4160. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  4161. "id": "Pythonprogram",
  4162. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4163. "onresize": function () { }
  4164. }, {
  4165. closecallback: function () { }
  4166. }, { "style": { "height": "36px" } }).form; //创建窗体
  4167. _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); } }
  4168. break;
  4169. case "AIprogram": //ai编程
  4170. _formdiv = new U.UF.UI.form(
  4171. "AI编程平台",
  4172. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4173. "id": "AIprogram",
  4174. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4175. "onresize": function () { }
  4176. }, {
  4177. closecallback: function () { }
  4178. }, { "style": { "height": "36px" } }).form; //创建窗体
  4179. _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); } }
  4180. break;
  4181. case "CocoPi": //CocoPi
  4182. _formdiv = new U.UF.UI.form(
  4183. "CocoPi",
  4184. $$("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" }), {
  4185. "id": "CocoPi",
  4186. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4187. "onresize": function () { }
  4188. }, {
  4189. closecallback: function () { }
  4190. }, { "style": { "height": "36px" } }).form; //创建窗体
  4191. _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); } }
  4192. break;
  4193. case "Wood": //Wood
  4194. _formdiv = new U.UF.UI.form(
  4195. "海龟编程",
  4196. $$("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/" }), {
  4197. "id": "Wood",
  4198. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4199. "onresize": function () { }
  4200. }, {
  4201. closecallback: function () { }
  4202. }, { "style": { "height": "36px" } }).form; //创建窗体
  4203. _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); } }
  4204. break;
  4205. case "car": //模拟驾驶
  4206. _formdiv = new U.UF.UI.form(
  4207. "模拟驾驶",
  4208. $$("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/" }), {
  4209. "id": "car",
  4210. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4211. "onresize": function () { }
  4212. }, {
  4213. closecallback: function () { }
  4214. }, { "style": { "height": "36px" } }).form; //创建窗体
  4215. _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); } }
  4216. break;
  4217. case "lineSearch": //路径搜索
  4218. _formdiv = new U.UF.UI.form(
  4219. "路径搜索",
  4220. $$("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/" }), {
  4221. "id": "lineSearch",
  4222. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4223. "onresize": function () { }
  4224. }, {
  4225. closecallback: function () { }
  4226. }, { "style": { "height": "36px" } }).form; //创建窗体
  4227. _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); } }
  4228. break;
  4229. case "deepLearning": //深度学习
  4230. _formdiv = new U.UF.UI.form(
  4231. "深度学习",
  4232. $$("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/#" }), {
  4233. "id": "deepLearning",
  4234. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4235. "onresize": function () { }
  4236. }, {
  4237. closecallback: function () { }
  4238. }, { "style": { "height": "36px" } }).form; //创建窗体
  4239. _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); } }
  4240. break;
  4241. case "allHistory": //深度学习
  4242. _formdiv = new U.UF.UI.form(
  4243. "全历史",
  4244. $$("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/" }), {
  4245. "id": "allHistory",
  4246. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4247. "onresize": function () { }
  4248. }, {
  4249. closecallback: function () { }
  4250. }, { "style": { "height": "36px" } }).form; //创建窗体
  4251. _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); } }
  4252. break;
  4253. case "chatPDF": //ai编程
  4254. _formdiv = new U.UF.UI.form(
  4255. "chatPDF",
  4256. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4257. "id": "chatPDF",
  4258. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4259. "onresize": function () { }
  4260. }, {
  4261. closecallback: function () { }
  4262. }, { "style": { "height": "36px" } }).form; //创建窗体
  4263. _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); } }
  4264. break;
  4265. case "resources": //国家教育
  4266. _formdiv = new U.UF.UI.form(
  4267. "国家教育",
  4268. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4269. "id": "resources",
  4270. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4271. "onresize": function () { }
  4272. }, {
  4273. closecallback: function () { }
  4274. }, { "style": { "height": "36px" } }).form; //创建窗体
  4275. _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); } }
  4276. break;
  4277. case "codeEdit": //源码编辑
  4278. _formdiv = new U.UF.UI.form(
  4279. "源码编辑",
  4280. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4281. "id": "codeEdit",
  4282. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4283. "onresize": function () { }
  4284. }, {
  4285. closecallback: function () { }
  4286. }, { "style": { "height": "36px" } }).form; //创建窗体
  4287. _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); } }
  4288. break; //
  4289. case "MindMap": //MindMap
  4290. _formdiv = new U.UF.UI.form(
  4291. "MindMap",
  4292. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4293. "id": "MindMap",
  4294. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4295. "onresize": function () { }
  4296. }, {
  4297. closecallback: function () { }
  4298. }, { "style": { "height": "36px" } }).form; //创建窗体
  4299. _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); } }
  4300. break;
  4301. case "netWorkPanel": //netWorkPanel
  4302. _formdiv = new U.UF.UI.form(
  4303. "netWorkPanel",
  4304. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4305. "id": "netWorkPanel",
  4306. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4307. "onresize": function () { }
  4308. }, {
  4309. closecallback: function () { }
  4310. }, { "style": { "height": "36px" } }).form; //创建窗体
  4311. _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); } }
  4312. break;
  4313. case "GeoGebra": //GeoGebra
  4314. _formdiv = new U.UF.UI.form(
  4315. "GeoGebra",
  4316. $$("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" }), {
  4317. "id": "GeoGebra",
  4318. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4319. "onresize": function () { }
  4320. }, {
  4321. closecallback: function () { }
  4322. }, { "style": { "height": "36px" } }).form; //创建窗体
  4323. _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); } }
  4324. break;
  4325. case "translation": //翻译
  4326. _formdiv = new U.UF.UI.form(
  4327. "翻译",
  4328. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4329. "id": "translation",
  4330. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4331. "onresize": function () { }
  4332. }, {
  4333. closecallback: function () { }
  4334. }, { "style": { "height": "36px" } }).form; //创建窗体
  4335. _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); } }
  4336. break;
  4337. case "mohe": //魔盒
  4338. _formdiv = new U.UF.UI.form(
  4339. "魔盒识字",
  4340. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4341. "id": "mohe",
  4342. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4343. "onresize": function () { }
  4344. }, {
  4345. closecallback: function () { }
  4346. }, { "style": { "height": "36px" } }).form; //创建窗体
  4347. _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); } }
  4348. break;
  4349. case "24game": //24点
  4350. _formdiv = new U.UF.UI.form(
  4351. "24点",
  4352. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4353. "id": "24game",
  4354. "style": { "width": "375px", "height": "667px", "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/24game.png)" }, "name": "24点", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4360. break;
  4361. case "case":
  4362. _formdiv = new U.UF.UI.form(
  4363. "课程进展",
  4364. $$("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 }), {
  4365. "id": "case",
  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/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4372. break;
  4373. case "snf":
  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": "//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" }), {
  4377. "id": "snf",
  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/snf.png)" }, "name": "赛诺梵", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4384. break;
  4385. case "hanFamily":
  4386. _formdiv = new U.UF.UI.form(
  4387. "汉字家族",
  4388. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4389. "id": "hanFamily",
  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/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4396. break;
  4397. case "hanClassics":
  4398. _formdiv = new U.UF.UI.form(
  4399. "国学经典",
  4400. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4401. "id": "hanClassics",
  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/hanClassics.png)" }, "name": "国学经典", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4408. break;
  4409. case "hanTraining":
  4410. _formdiv = new U.UF.UI.form(
  4411. "笔画训练",
  4412. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4413. "id": "hanTraining",
  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/hanTraining.png)" }, "name": "笔画训练", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4420. break;
  4421. case "hanClass":
  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": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4425. "id": "hanClass",
  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/hanClass.png)" }, "name": "书法课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4432. break;
  4433. case "han":
  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": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4437. "id": "han",
  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/han.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4444. break;
  4445. case "projectGM": //课程管理
  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/#/courseGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4449. "id": "projectGM",
  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/gm/courseMange.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4456. break;
  4457. case "studyGM": //课程中心
  4458. _formdiv = new U.UF.UI.form(
  4459. "课程中心",
  4460. $$("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
  4461. "id": "study",
  4462. "style": { "width": "100%", "height": "100%", "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/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4468. break;
  4469. // studentGM
  4470. case "studentGM": //学生管理
  4471. _formdiv = new U.UF.UI.form(
  4472. "学生管理",
  4473. $$("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 }), {
  4474. "id": "studentGM",
  4475. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4476. "onresize": function () { }
  4477. }, {
  4478. closecallback: function () { }
  4479. }, { "style": { "height": "36px" } }).form; //创建窗体
  4480. _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); } }
  4481. break;
  4482. case "evaluateGM": //学生评价
  4483. _formdiv = new U.UF.UI.form(
  4484. "学生评价",
  4485. $$("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 }), {
  4486. "id": "evaluateGM",
  4487. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4488. "onresize": function () { }
  4489. }, {
  4490. closecallback: function () { }
  4491. }, { "style": { "height": "36px" } }).form; //创建窗体
  4492. _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); } }
  4493. break;
  4494. // classGM
  4495. case "classGM": //班级管理
  4496. _formdiv = new U.UF.UI.form(
  4497. "班级管理",
  4498. $$("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 }), {
  4499. "id": "classGM",
  4500. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4501. "onresize": function () { }
  4502. }, {
  4503. closecallback: function () { }
  4504. }, { "style": { "height": "36px" } }).form; //创建窗体
  4505. _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); } }
  4506. break;
  4507. // dataGM
  4508. case "dataGM":
  4509. _formdiv = new U.UF.UI.form(
  4510. "我的资料",
  4511. $$("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 }), {
  4512. "id": "dataGM",
  4513. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4514. "onresize": function () { }
  4515. }, {
  4516. closecallback: function () { }
  4517. }, { "style": { "height": "36px" } }).form; //创建窗体
  4518. _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); } }
  4519. break;
  4520. // caseGM
  4521. case "caseGM": //课程进展
  4522. _formdiv = new U.UF.UI.form(
  4523. "课程进展",
  4524. $$("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 }), {
  4525. "id": "caseGM",
  4526. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4527. "onresize": function () { }
  4528. }, {
  4529. closecallback: function () { }
  4530. }, { "style": { "height": "36px" } }).form; //创建窗体
  4531. _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); } }
  4532. break;
  4533. // meterialGM
  4534. case "meterialGM": //素材库
  4535. _formdiv = new U.UF.UI.form(
  4536. "素材库",
  4537. $$("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 }), {
  4538. "id": "meterialGM",
  4539. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4540. "onresize": function () { }
  4541. }, {
  4542. closecallback: function () { }
  4543. }, { "style": { "height": "36px" } }).form; //创建窗体
  4544. _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); } }
  4545. break;
  4546. // evaluateSGM
  4547. case "evaluateSGM": //我的评价
  4548. _formdiv = new U.UF.UI.form(
  4549. "我的评价",
  4550. $$("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 }), {
  4551. "id": "evaluateSGM",
  4552. "style": { "width": "70%", "height": "90%", "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/gm/evaluate.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4558. break;
  4559. case "jupyter": //jupyter
  4560. _formdiv = new U.UF.UI.form(
  4561. "jupyter",
  4562. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4563. "id": "jupyter",
  4564. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4565. "onresize": function () { }
  4566. }, {
  4567. closecallback: function () { }
  4568. }, { "style": { "height": "36px" } }).form; //创建窗体
  4569. _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); } }
  4570. break;
  4571. case "number": //数字实验室
  4572. _formdiv = new U.UF.UI.form(
  4573. "数字实验室",
  4574. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4575. "id": "number",
  4576. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4577. "onresize": function () { }
  4578. }, {
  4579. closecallback: function () { }
  4580. }, { "style": { "height": "36px" } }).form; //创建窗体
  4581. _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); } }
  4582. break;
  4583. case "studentCourse": //项目管理 学生
  4584. _formdiv = new U.UF.UI.form(
  4585. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4586. $$("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 }), {
  4587. "id": "studentCourse",
  4588. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4589. "onresize": function () { }
  4590. }, {
  4591. closecallback: function () { }
  4592. }, { "style": { "height": "36px" } }).form; //创建窗体
  4593. _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); } }
  4594. break;
  4595. case "studentCourseS": //项目管理 老师
  4596. _formdiv = new U.UF.UI.form(
  4597. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4598. $$("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 }), {
  4599. "id": "studentCourseS",
  4600. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4601. "onresize": function () { }
  4602. }, {
  4603. closecallback: function () { }
  4604. }, { "style": { "height": "36px" } }).form; //创建窗体
  4605. _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); } }
  4606. break;
  4607. case "studentIndex": //项目中心
  4608. _formdiv = new U.UF.UI.form(
  4609. "项目中心",
  4610. $$("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 }), {
  4611. "id": "studentIndex",
  4612. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4613. "onresize": function () { }
  4614. }, {
  4615. closecallback: function () { }
  4616. }, { "style": { "height": "36px" } }).form; //创建窗体
  4617. _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); } }
  4618. break;
  4619. case "CaseDesignS":
  4620. _formdiv = new U.UF.UI.form(
  4621. "项目进展",
  4622. $$("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 }), {
  4623. "id": "case",
  4624. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4625. "onresize": function () { }
  4626. }, {
  4627. closecallback: function () { }
  4628. }, { "style": { "height": "36px" } }).form; //创建窗体
  4629. _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); } }
  4630. break;
  4631. case "tcStudent": //腾讯学生管理
  4632. _formdiv = new U.UF.UI.form(
  4633. "学生管理",
  4634. $$("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 }), {
  4635. "id": "tcStudent",
  4636. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4637. "onresize": function () { }
  4638. }, {
  4639. closecallback: function () { }
  4640. }, { "style": { "height": "36px" } }).form; //创建窗体
  4641. _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); } }
  4642. break;
  4643. case "tcSchool": //腾讯学校管理
  4644. _formdiv = new U.UF.UI.form(
  4645. "学校管理",
  4646. $$("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 }), {
  4647. "id": "tcSchool",
  4648. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4649. "onresize": function () { }
  4650. }, {
  4651. closecallback: function () { }
  4652. }, { "style": { "height": "36px" } }).form; //创建窗体
  4653. _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); } }
  4654. break;
  4655. case "tcTeacher": //腾讯学校管理
  4656. _formdiv = new U.UF.UI.form(
  4657. "教师管理",
  4658. $$("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 }), {
  4659. "id": "tcTeacher",
  4660. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4661. "onresize": function () { }
  4662. }, {
  4663. closecallback: function () { }
  4664. }, { "style": { "height": "36px" } }).form; //创建窗体
  4665. _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); } }
  4666. break;
  4667. case "tcData": //腾讯我的资料
  4668. _formdiv = new U.UF.UI.form(
  4669. "我的资料",
  4670. $$("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 }), {
  4671. "id": "tcData",
  4672. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4673. "onresize": function () { }
  4674. }, {
  4675. closecallback: function () { }
  4676. }, { "style": { "height": "36px" } }).form; //创建窗体
  4677. _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); } }
  4678. break;
  4679. case "tcNotice": //腾讯消息通知
  4680. _formdiv = new U.UF.UI.form(
  4681. "消息通知",
  4682. $$("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 }), {
  4683. "id": "tcNotice",
  4684. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4685. "onresize": function () { }
  4686. }, {
  4687. closecallback: function () { }
  4688. }, { "style": { "height": "36px" } }).form; //创建窗体
  4689. _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); } }
  4690. break;
  4691. case "myReport": //好友打开
  4692. _formdiv = new U.UF.UI.form(
  4693. "我的评价",
  4694. $$("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 }), {
  4695. "id": "myReport",
  4696. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4697. "onresize": function () { }
  4698. }, {
  4699. closecallback: function () { }
  4700. }, { "style": { "height": "36px" } }).form; //创建窗体
  4701. _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); } }
  4702. break;
  4703. case "learnAna": //好友打开
  4704. _formdiv = new U.UF.UI.form(
  4705. "学习分析",
  4706. $$("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 }), {
  4707. "id": "learnAna",
  4708. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4709. "onresize": function () { }
  4710. }, {
  4711. closecallback: function () { }
  4712. }, { "style": { "height": "36px" } }).form; //创建窗体
  4713. _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); } }
  4714. break;
  4715. case "AIChat": //AI共创
  4716. _formdiv = new U.UF.UI.form(
  4717. "AI共创",
  4718. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4719. "id": "AIChat",
  4720. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4721. "onresize": function () { }
  4722. }, {
  4723. istop: true,
  4724. closecallback: function () { $("#aichat_icon").remove(); },
  4725. narrowcallback: function () {
  4726. if (!$("#aichat_icon")[0]) {
  4727. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4728. }
  4729. },
  4730. }, { "style": { "height": "36px" } }).form; //创建窗体
  4731. _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); } }
  4732. break;
  4733. case "ainew": //AI共创
  4734. _formdiv = new U.UF.UI.form(
  4735. "AI协同",
  4736. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4737. "id": "ainew",
  4738. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4739. "onresize": function () { }
  4740. }, {
  4741. closecallback: function () { }
  4742. }, { "style": { "height": "36px" } }).form; //创建窗体
  4743. _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); } }
  4744. break;
  4745. case "gpt4": //gpt4
  4746. _formdiv = new U.UF.UI.form(
  4747. "AI助手",
  4748. $$("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/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4749. "id": "gpt4",
  4750. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4751. "onresize": function () { }
  4752. }, {
  4753. closecallback: function () { }
  4754. }, { "style": { "height": "36px" } }).form; //创建窗体
  4755. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gpt4.png)" }, "name": "AI助手", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4756. break;
  4757. case "aigpt": //gpt4
  4758. _formdiv = new U.UF.UI.form(
  4759. "AI助手+",
  4760. $$("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/aigpt/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4761. "id": "aigpt",
  4762. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4763. "onresize": function () { }
  4764. }, {
  4765. closecallback: function () { }
  4766. }, { "style": { "height": "36px" } }).form; //创建窗体
  4767. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aigpt.png)" }, "name": "AI助手+", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4768. break;
  4769. case "futureClass": //AI共创
  4770. _formdiv = new U.UF.UI.form(
  4771. "协同建构",
  4772. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {//https://cscl.cocorobo.cn
  4773. "id": "synergyCourse",
  4774. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4775. "onresize": function () { }
  4776. }, {
  4777. closecallback: function () {
  4778. $("iframe", _formdiv)[0].contentWindow.loginout();
  4779. }
  4780. }, { "style": { "height": "36px" } }).form; //创建窗体
  4781. _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); } }
  4782. break;
  4783. case "aiagent": //ai agent
  4784. _formdiv = new U.UF.UI.form(
  4785. "AI Agent",
  4786. $$("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" }), {
  4787. "id": "AIAgent",
  4788. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4789. "onresize": function () { }
  4790. }, {
  4791. closecallback: function () { }
  4792. }, { "style": { "height": "36px" } }).form; //创建窗体
  4793. _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); } }
  4794. break;
  4795. case "dataBoard": //数据看板
  4796. _formdiv = new U.UF.UI.form(
  4797. "数据看板",
  4798. $$("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 }), {
  4799. "id": "dataBoard",
  4800. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4801. "onresize": function () { }
  4802. }, {
  4803. closecallback: function () { }
  4804. }, { "style": { "height": "36px" } }).form; //创建窗体
  4805. _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); } }
  4806. break;
  4807. case "dataBoardSies": //数据融合
  4808. _formdiv = new U.UF.UI.form(
  4809. "数据融合",
  4810. $$("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 }), {
  4811. "id": "dataBoardSies",
  4812. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4813. "onresize": function () { }
  4814. }, {
  4815. closecallback: function () { }
  4816. }, { "style": { "height": "36px" } }).form; //创建窗体
  4817. _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); } }
  4818. break;
  4819. case "dataBoardNew": //数据看板
  4820. _formdiv = new U.UF.UI.form(
  4821. "综合看板",
  4822. $$("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 }), {
  4823. "id": "dataBoardNew",
  4824. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4825. "onresize": function () { }
  4826. }, {
  4827. closecallback: function () { }
  4828. }, { "style": { "height": "36px" } }).form; //创建窗体
  4829. _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); } }
  4830. break;
  4831. case "dataBoardTest": //数据看板
  4832. _formdiv = new U.UF.UI.form(
  4833. "评测看板",
  4834. $$("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/#/dataBoardTest?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4835. "id": "dataBoardTest",
  4836. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4837. "onresize": function () { }
  4838. }, {
  4839. closecallback: function () { }
  4840. }, { "style": { "height": "36px" } }).form; //创建窗体
  4841. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardTest.png)" }, "name": "评测看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4842. break;
  4843. case "AIAnalyse": //AI共创
  4844. _formdiv = new U.UF.UI.form(
  4845. "AI分析",
  4846. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4847. "id": "AIAnalyse",
  4848. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4849. "onresize": function () { }
  4850. }, {
  4851. closecallback: function () { }
  4852. }, { "style": { "height": "36px" } }).form; //创建窗体
  4853. _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); } }
  4854. break;
  4855. case "studioCourse": //AI共创
  4856. _formdiv = new U.UF.UI.form(
  4857. "工作管理",
  4858. $$("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 }), {
  4859. "id": "studioCourse",
  4860. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4861. "onresize": function () { }
  4862. }, {
  4863. closecallback: function () { }
  4864. }, { "style": { "height": "36px" } }).form; //创建窗体
  4865. _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); } }
  4866. break;
  4867. case "studioIndex": //AI共创
  4868. _formdiv = new U.UF.UI.form(
  4869. "工作中心",
  4870. $$("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 }), {
  4871. "id": "studioIndex",
  4872. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4873. "onresize": function () { }
  4874. }, {
  4875. closecallback: function () { }
  4876. }, { "style": { "height": "36px" } }).form; //创建窗体
  4877. _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); } }
  4878. break;
  4879. case "source":
  4880. _formdiv = new U.UF.UI.form(
  4881. "教学资源",
  4882. $$("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 }), {
  4883. "id": "source",
  4884. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4885. "onresize": function () { }
  4886. }, {
  4887. closecallback: function () { }
  4888. }, { "style": { "height": "36px" } }).form; //创建窗体
  4889. _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); } }
  4890. break;
  4891. case "testTeacher":
  4892. _formdiv = new U.UF.UI.form(
  4893. "教师管理",
  4894. $$("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 }), {
  4895. "id": "testTeacher",
  4896. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4897. "onresize": function () { }
  4898. }, {
  4899. closecallback: function () { }
  4900. }, { "style": { "height": "36px" } }).form; //创建窗体
  4901. _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); } }
  4902. break;
  4903. case "testStudent":
  4904. _formdiv = new U.UF.UI.form(
  4905. "教师中心",
  4906. $$("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 }), {
  4907. "id": "testStudent",
  4908. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4909. "onresize": function () { }
  4910. }, {
  4911. closecallback: function () { }
  4912. }, { "style": { "height": "36px" } }).form; //创建窗体
  4913. _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); } }
  4914. break;
  4915. case "testTeacherSies":
  4916. _formdiv = new U.UF.UI.form(
  4917. "教师管理",
  4918. $$("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 }), {
  4919. "id": "testTeacherSies",
  4920. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4921. "onresize": function () { }
  4922. }, {
  4923. closecallback: function () { }
  4924. }, { "style": { "height": "36px" } }).form; //创建窗体
  4925. _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); } }
  4926. break;
  4927. case "testStudentSies":
  4928. _formdiv = new U.UF.UI.form(
  4929. "教师中心",
  4930. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/testPerson?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId + "&role=" + _role }), {
  4931. "id": "testStudentSies",
  4932. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4933. "onresize": function () { }
  4934. }, {
  4935. closecallback: function () { }
  4936. }, { "style": { "height": "36px" } }).form; //创建窗体
  4937. _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); } }
  4938. break;
  4939. case "ytpbl": //消息通知
  4940. _formdiv = new U.UF.UI.form(
  4941. "案例征集",
  4942. $$("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://pblyt.cocorobo.cn/#/login?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4943. "id": "ytpbl",
  4944. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4945. "onresize": function () { }
  4946. }, {
  4947. closecallback: function () { }
  4948. }, { "style": { "height": "36px" } }).form; //创建窗体
  4949. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gpbl2.png)" }, "name": "案例征集", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4950. // window.open("https://gdpbl.cocorobo.cn/#/login", "案例征集", "height=" + US.height + ", width=" + US.width + ", top=100, left=100, toolbar=no, menubar=0, resizable=0, location=0, status=no");
  4951. break;
  4952. }
  4953. //U.MD.D.I.openClick(str);
  4954. //如果有任务栏信息
  4955. if (_taskbar) {
  4956. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4957. }
  4958. }
  4959. // U.MD.D.I.openClick = function(str){
  4960. // var click = '';
  4961. // switch(str){
  4962. // case 'friend':
  4963. // click = '我的好友';
  4964. // break;
  4965. // case 'domain':
  4966. // click = '域名管理';
  4967. // break;
  4968. // case 'disk':
  4969. // click = '我的云盘';
  4970. // break;
  4971. // case 'word':
  4972. // click = 'Word';
  4973. // break;
  4974. // case 'excel':
  4975. // click = 'Execl';
  4976. // break;
  4977. // case 'txt':
  4978. // click = '文本文件';
  4979. // break;
  4980. // case 'lookupFriend':
  4981. // click = '查找好友';
  4982. // break;
  4983. // case 'ftp':
  4984. // click = 'FTP';
  4985. // break;
  4986. // case 'group':
  4987. // click = '群组';
  4988. // break;
  4989. // case 'set':
  4990. // click = '我的设置';
  4991. // break;
  4992. // case 'systemSet':
  4993. // click = '系统设置';
  4994. // break;
  4995. // case 'boomYun':
  4996. // click = '互联办公';
  4997. // break;
  4998. // case 'xz':
  4999. // click = '云端下载';
  5000. // break;
  5001. // case 'client':
  5002. // click = '有思浏览器';
  5003. // break;
  5004. // case 'backEndProgramming':
  5005. // click = '在线后台编程';
  5006. // break;
  5007. // case 'frontEndProgramming':
  5008. // click = '在线前端编程';
  5009. // break;
  5010. // default: break;
  5011. // }
  5012. // if(U.MD.D.I.Ip && click){
  5013. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  5014. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  5015. // })
  5016. // }
  5017. // }
  5018. /**
  5019. *函数作用:ajax简易函数,使用post格式
  5020. *@param url {data} 后台地址
  5021. *@param data {data} 参数json
  5022. *@param fn {data} 回调函数
  5023. *
  5024. */
  5025. // U.MD.D.I.Mysqlrequest = function(url,fn){
  5026. // var xhr = new XMLHttpRequest();
  5027. // xhr.open("GET",url,true);
  5028. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  5029. // xhr.onreadystatechange = function(){
  5030. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  5031. // fn.call(this,xhr.responseText);
  5032. // }
  5033. // };
  5034. // xhr.send();
  5035. // }
  5036. /*判断是否是内网IP*/
  5037. // U.MD.D.I.isInnerIPFn = function(str){
  5038. // var curPageUrl = str;
  5039. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  5040. // curPageUrl =curPageUrl.replace(reg1,'');
  5041. // // console.log('curPageUrl-1 '+curPageUrl);
  5042. // var reg2 = /\:+/g;//替换冒号为一点
  5043. // curPageUrl =curPageUrl.replace(reg2,'.');
  5044. // // console.log('curPageUrl-2 '+curPageUrl);
  5045. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  5046. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  5047. // if(curPageUrl[2] != '16'){
  5048. // return ipAddress;
  5049. // }else{
  5050. // return false;
  5051. // }
  5052. // }
  5053. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  5054. // //compatibility for firefox and chrome
  5055. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  5056. // var pc = new myPeerConnection({
  5057. // iceServers: []
  5058. // }),
  5059. // noop = function() {},
  5060. // localIPs = {},
  5061. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  5062. // key;
  5063. // function iterateIP(ip) {
  5064. // if (!localIPs[ip]) onNewIP(ip);
  5065. // localIPs[ip] = true;
  5066. // }
  5067. // //create a bogus data channel
  5068. // pc.createDataChannel("");
  5069. // // create offer and set local description
  5070. // pc.createOffer().then(function(sdp) {
  5071. // sdp.sdp.split('\n').forEach(function(line) {
  5072. // if (line.indexOf('candidate') < 0) return;
  5073. // line.match(ipRegex).forEach(iterateIP);
  5074. // });
  5075. // pc.setLocalDescription(sdp, noop, noop);
  5076. // }).catch(function(reason) {
  5077. // // An error occurred, so handle the failure to connect
  5078. // });
  5079. // //sten for candidate events
  5080. // pc.onicecandidate = function(ice) {
  5081. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  5082. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  5083. // };
  5084. // }
  5085. // U.MD.D.I.getUserIpBool = function(callback){
  5086. // U.MD.D.I.getUserIP(function(ip){
  5087. // alert("Got IP! :" + ip);
  5088. // });
  5089. //}
  5090. //#endregion
  5091. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  5092. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5093. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5094. _userinfo = US.userInfo, //登录用户信息
  5095. _userid = US.userInfo.userid //登录用户id
  5096. let _iframe;
  5097. let _cid = cid,
  5098. _stage = stage,
  5099. _task = task,
  5100. _tool = tool;
  5101. var _jie = $$("div", {
  5102. "style": {
  5103. "position": "absolute",
  5104. "bottom": "50px",
  5105. "right": "50px",
  5106. "zIndex": "9999",
  5107. "backgroundColor": "#2268bc",
  5108. "color": "#fff",
  5109. "padding": "12px 20px",
  5110. "cursor": "pointer",
  5111. "borderRadius": "4px",
  5112. },
  5113. "innerHTML": "提交作业"
  5114. })
  5115. let aTool = ''
  5116. let _loading = document.createElement('div')
  5117. _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;"
  5118. // _loading.id = "";
  5119. let _lchild = document.createElement('div')
  5120. let _limg = document.createElement('img')
  5121. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5122. _limg.style = "width: 26px;margin-right: 10px;"
  5123. _lchild.appendChild(_limg)
  5124. let _lspan = document.createElement('span')
  5125. _lspan.innerHTML = "上传中..."
  5126. _lchild.appendChild(_lspan)
  5127. _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%);"
  5128. _loading.appendChild(_lchild)
  5129. var _box = $$('div', {
  5130. "style": {
  5131. "position": "relative",
  5132. "width": "100%",
  5133. "height": "100%",
  5134. },
  5135. })
  5136. _box.appendChild(_loading)
  5137. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  5138. switch (str) {
  5139. case "whiteboard":
  5140. aTool = 1;
  5141. _iframe = $$("iframe", {
  5142. "frameborder": "no",
  5143. "border": "0",
  5144. "scrolling ": "no",
  5145. "style": {
  5146. "cssText": "border:0;width:100%;height:100%"
  5147. },
  5148. "src": "https://iwb.cocorobo.cn/"
  5149. })
  5150. _box.appendChild(_iframe);
  5151. _box.appendChild(_jie);
  5152. _formdiv = new U.UF.UI.form(
  5153. "电子白板",
  5154. _box, {
  5155. "id": "whiteboard" + cid + stage + task + tool,
  5156. "style": {
  5157. "width": "90%",
  5158. "height": "90%",
  5159. "overflow": 'hidden'
  5160. },
  5161. "onresize": function () { }
  5162. }, {
  5163. closecallback: function () { }
  5164. }, {
  5165. "style": {
  5166. "height": "36px"
  5167. }
  5168. }).form; //创建窗体
  5169. _taskbar = {
  5170. "id": str + _formdiv.id,
  5171. "style": {
  5172. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5173. },
  5174. "name": "电子白板",
  5175. "forms": _formdiv,
  5176. "click": function () {
  5177. U.MD.D.I.openApplication(str, obj, info);
  5178. }
  5179. }
  5180. break;
  5181. case "mind":
  5182. aTool = 3;
  5183. _iframe = $$("iframe", {
  5184. "frameborder": "no",
  5185. "border": "0",
  5186. "scrolling ": "no",
  5187. "style": {
  5188. "cssText": "border:0;width:100%;height:100%"
  5189. },
  5190. "src": "/kityminder-editor/dist/index.html"
  5191. })
  5192. _box.appendChild(_iframe);
  5193. _box.appendChild(_jie);
  5194. _formdiv = new U.UF.UI.form(
  5195. "思维导图",
  5196. _box, { //"/jsmind/example/demo.html"
  5197. "id": "mind" + cid + stage + task + tool,
  5198. "style": {
  5199. "width": "90%",
  5200. "height": "90%",
  5201. "overflow": 'hidden'
  5202. },
  5203. "onresize": function () { }
  5204. }, {
  5205. closecallback: function () { }
  5206. }, {
  5207. "style": {
  5208. "height": "36px"
  5209. }
  5210. }).form; //创建窗体
  5211. _taskbar = {
  5212. "id": str + _formdiv.id,
  5213. "style": {
  5214. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5215. },
  5216. "name": "思维导图",
  5217. "forms": _formdiv,
  5218. "click": function () {
  5219. U.MD.D.I.openApplication(str, obj, info);
  5220. }
  5221. }
  5222. break;
  5223. case "MindMap":
  5224. aTool = 3;
  5225. _iframe = $$("iframe", {
  5226. "frameborder": "no",
  5227. "border": "0",
  5228. "scrolling ": "no",
  5229. "style": {
  5230. "cssText": "border:0;width:100%;height:100%"
  5231. },
  5232. "src": "//cloud.cocorobo.cn/mind/"
  5233. })
  5234. _box.appendChild(_iframe);
  5235. _box.appendChild(_jie);
  5236. _formdiv = new U.UF.UI.form(
  5237. "思维导图",
  5238. _box, { //"/jsmind/example/demo.html"
  5239. "id": "mind" + cid + stage + task + tool,
  5240. "style": {
  5241. "width": "90%",
  5242. "height": "90%",
  5243. "overflow": 'hidden'
  5244. },
  5245. "onresize": function () { }
  5246. }, {
  5247. closecallback: function () { }
  5248. }, {
  5249. "style": {
  5250. "height": "36px"
  5251. }
  5252. }).form; //创建窗体
  5253. _taskbar = {
  5254. "id": str + _formdiv.id,
  5255. "style": {
  5256. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5257. },
  5258. "name": "思维导图",
  5259. "forms": _formdiv,
  5260. "click": function () {
  5261. U.MD.D.I.openApplication(str, obj, info);
  5262. }
  5263. }
  5264. break;
  5265. case "doc":
  5266. aTool = 6;
  5267. _iframe = $$("iframe", {
  5268. "frameborder": "no",
  5269. "border": "0",
  5270. "scrolling ": "no",
  5271. "style": {
  5272. "cssText": "border:0;width:100%;height:100%"
  5273. },
  5274. "src": "/Office/Word/WordEditArea.htm"
  5275. })
  5276. _box.appendChild(_iframe);
  5277. _box.appendChild(_jie);
  5278. _formdiv = new U.UF.UI.form(
  5279. "协同文档",
  5280. _box, {
  5281. "id": "doc" + cid + stage + task + tool,
  5282. "style": {
  5283. "width": "90%",
  5284. "height": "90%",
  5285. "overflow": 'hidden'
  5286. },
  5287. "onresize": function () { }
  5288. }, {
  5289. closecallback: function () { }
  5290. }, {
  5291. "style": {
  5292. "height": "36px"
  5293. }
  5294. }).form; //创建窗体
  5295. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5296. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5297. })
  5298. _taskbar = {
  5299. "id": str + _formdiv.id,
  5300. "style": {
  5301. "backgroundImage": "url(/img/icon/doc.png)"
  5302. },
  5303. "name": "协同文档",
  5304. "forms": _formdiv,
  5305. "click": function () {
  5306. U.MD.D.I.openApplication(str, obj, info);
  5307. }
  5308. }
  5309. break;
  5310. case "mindNetwork": //好友打开
  5311. aTool = 7;
  5312. _iframe = $$("iframe", {
  5313. "webkitallowfullscreen": "",
  5314. "mozallowfullscreen": "",
  5315. "allowfullscreen": "",
  5316. "frameborder": "no",
  5317. "border": "0",
  5318. "scrolling ": "no",
  5319. "style": {
  5320. "cssText": "border:0; width:100%; height:100%;"
  5321. },
  5322. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5323. })
  5324. _box.appendChild(_iframe);
  5325. _box.appendChild(_jie);
  5326. _formdiv = new U.UF.UI.form(
  5327. "思维网格",
  5328. _box, {
  5329. "id": "mindNetwork" + cid + stage + task + tool,
  5330. "style": {
  5331. "width": "90%",
  5332. "height": "90%",
  5333. "overflow": 'hidden'
  5334. },
  5335. "onresize": function () { }
  5336. }, {
  5337. closecallback: function () { }
  5338. }, {
  5339. "style": {
  5340. "height": "36px"
  5341. }
  5342. }).form; //创建窗体
  5343. _taskbar = {
  5344. "id": str + _formdiv.id,
  5345. "style": {
  5346. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5347. },
  5348. "name": "思维网格",
  5349. "forms": _formdiv,
  5350. "click": function () {
  5351. U.MD.D.I.openApplication(str, obj, info);
  5352. }
  5353. }
  5354. break;
  5355. case "courseDesign":
  5356. _iframe = $$("iframe", {
  5357. "webkitallowfullscreen": "",
  5358. "mozallowfullscreen": "",
  5359. "allowfullscreen": "",
  5360. "frameborder": "no",
  5361. "border": "0",
  5362. "scrolling ": "no",
  5363. "style": {
  5364. "cssText": "border:0; width:100%; height:100%;"
  5365. },
  5366. "src": "/course-design-vue"
  5367. })
  5368. _box.appendChild(_iframe);
  5369. _box.appendChild(_jie);
  5370. _formdiv = new U.UF.UI.form(
  5371. "项目设计",
  5372. _box, {
  5373. "id": "courseDesign" + cid + stage + task + tool,
  5374. "style": {
  5375. "width": "90%",
  5376. "height": "90%",
  5377. "overflow": 'hidden'
  5378. },
  5379. "onresize": function () { }
  5380. }, {
  5381. closecallback: function () { }
  5382. }, {
  5383. "style": {
  5384. "height": "36px"
  5385. }
  5386. }).form; //创建窗体
  5387. _taskbar = {
  5388. "id": str + _formdiv.id,
  5389. "style": {
  5390. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5391. },
  5392. "name": "项目设计",
  5393. "forms": _formdiv,
  5394. "click": function () {
  5395. U.MD.D.I.openApplication(str, obj, info);
  5396. }
  5397. }
  5398. break;
  5399. }
  5400. const script1 = document.createElement("script");
  5401. script1.type = "text/javascript";
  5402. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5403. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5404. const script2 = document.createElement("script");
  5405. script2.type = "text/javascript";
  5406. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5407. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5408. const script3 = document.createElement("script");
  5409. script3.type = "text/javascript";
  5410. script3.charset = "UTF-8";
  5411. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5412. const script4 = document.createElement("script");
  5413. script4.type = "text/javascript";
  5414. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5415. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5416. if (_iframe) {
  5417. if (str == 'doc') {
  5418. _iframe = _formdiv.querySelector('iframe')
  5419. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5420. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5421. _iframe.contentWindow.document.body.appendChild(script1);
  5422. _iframe.contentWindow.document.body.appendChild(script2);
  5423. // _iframe.contentWindow.document.body.appendChild(script3);
  5424. _iframe.contentWindow.document.body.appendChild(script4);
  5425. })
  5426. if (onloadListener) {
  5427. _iframe.contentDocument.location.reload()
  5428. } else {
  5429. _iframe.contentDocument.location.reload()
  5430. }
  5431. } else if (str == 'courseDesign') {
  5432. U.UF.DL.iframeLoad(_iframe, function () {
  5433. // _iframe.contentWindow.U.MD.O.W.load();
  5434. // _iframe.contentWindow.document.body.appendChild(script1);
  5435. _iframe.contentWindow.document.body.appendChild(script2);
  5436. _iframe.contentWindow.document.body.appendChild(script4);
  5437. })
  5438. } else if (str == 'mind') {
  5439. _iframe = _formdiv.querySelector('iframe')
  5440. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5441. //
  5442. _iframe.contentWindow.document.body.appendChild(script1);
  5443. _iframe.contentWindow.document.body.appendChild(script2);
  5444. _iframe.contentWindow.document.body.appendChild(script4);
  5445. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5446. })
  5447. if (onloadListener) {
  5448. _iframe.contentDocument.location.reload()
  5449. } else {
  5450. _iframe.contentDocument.location.reload()
  5451. }
  5452. } else if (str == 'whiteboard') {
  5453. _iframe = _formdiv.querySelector('iframe')
  5454. let onloadListener = _iframe.onload = () => {
  5455. _iframe.contentWindow.document.body.appendChild(script1);
  5456. _iframe.contentWindow.document.body.appendChild(script2);
  5457. _iframe.contentWindow.document.body.appendChild(script4);
  5458. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5459. };
  5460. if (onloadListener) {
  5461. _iframe.contentDocument.location.reload()
  5462. } else {
  5463. _iframe.contentDocument.location.reload()
  5464. }
  5465. } else {
  5466. _iframe.onload = () => {
  5467. _iframe.contentWindow.document.body.appendChild(script1);
  5468. _iframe.contentWindow.document.body.appendChild(script2);
  5469. // _iframe.contentWindow.document.body.appendChild(script3);
  5470. _iframe.contentWindow.document.body.appendChild(script4);
  5471. };
  5472. }
  5473. _jie.onclick = async () => {
  5474. let text = ''
  5475. if (aTool == 1) {
  5476. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5477. } else if (aTool == 6) {
  5478. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5479. } else if (aTool == 3) {
  5480. text = await U.MD.D.I.getEditorContent(_iframe);
  5481. }
  5482. _loading.style.display = 'flex'
  5483. console.log(_loading);
  5484. var _ajs = _iframe.contentWindow.document.createElement("script");
  5485. _ajs.type = "text/javascript";
  5486. _ajs.innerHTML =
  5487. // 'console.log(' + _loading + ');\n' +
  5488. 'var _js = document.createElement("script");\n' +
  5489. '_js.type="text/javascript";\n' +
  5490. '_js.charset="UTF-8";\n' +
  5491. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5492. "_js.onload = function(){\n" +
  5493. ' var a = document.getElementsByTagName("img")\n' +
  5494. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5495. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5496. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5497. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5498. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5499. "beforeUpload_shishi(file," +
  5500. "'" +
  5501. _userid +
  5502. "'" +
  5503. ", " +
  5504. "'" +
  5505. _cid +
  5506. "'" +
  5507. ", " +
  5508. "'" +
  5509. _stage +
  5510. "'" +
  5511. ", " +
  5512. "'" +
  5513. _task +
  5514. "'" +
  5515. ", " +
  5516. "'" +
  5517. _tool +
  5518. "'" +
  5519. ", " +
  5520. "'" +
  5521. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5522. "'" +
  5523. ", " +
  5524. "'" +
  5525. aTool +
  5526. "'" +
  5527. ", " +
  5528. "`" +
  5529. text +
  5530. "`" +
  5531. ")\n" +
  5532. " });\n" +
  5533. "}\n" +
  5534. "document.head.appendChild(_js);\n";
  5535. _iframe.contentWindow.document.head.appendChild(_ajs);
  5536. }
  5537. }
  5538. //U.MD.D.I.openClick(str);
  5539. //如果有任务栏信息
  5540. // if (_taskbar) {
  5541. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5542. // }
  5543. }
  5544. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5545. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5546. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5547. _userinfo = US.userInfo, //登录用户信息
  5548. _userid = US.userInfo.userid //登录用户id
  5549. let _iframe;
  5550. let _cid = cid,
  5551. _stage = stage,
  5552. _task = task,
  5553. _tool = tool;
  5554. var _jie = $$("div", {
  5555. "style": {
  5556. "position": "absolute",
  5557. "bottom": "50px",
  5558. "right": "50px",
  5559. "zIndex": "9999",
  5560. "backgroundColor": "#2268bc",
  5561. "color": "#fff",
  5562. "padding": "12px 20px",
  5563. "cursor": "pointer",
  5564. "borderRadius": "4px",
  5565. },
  5566. "innerHTML": "提交作业"
  5567. })
  5568. let aTool = ''
  5569. let _loading = document.createElement('div')
  5570. _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;"
  5571. // _loading.id = "";
  5572. let _lchild = document.createElement('div')
  5573. let _limg = document.createElement('img')
  5574. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5575. _limg.style = "width: 26px;margin-right: 10px;"
  5576. _lchild.appendChild(_limg)
  5577. let _lspan = document.createElement('span')
  5578. _lspan.innerHTML = "上传中..."
  5579. _lchild.appendChild(_lspan)
  5580. _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%);"
  5581. _loading.appendChild(_lchild)
  5582. var _box = $$('div', {
  5583. "style": {
  5584. "position": "relative",
  5585. "width": "100%",
  5586. "height": "100%",
  5587. },
  5588. })
  5589. _box.appendChild(_loading)
  5590. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5591. switch (str) {
  5592. case "whiteboard":
  5593. aTool = 1;
  5594. _iframe = $$("iframe", {
  5595. "frameborder": "no",
  5596. "border": "0",
  5597. "scrolling ": "no",
  5598. "style": {
  5599. "cssText": "border:0;width:100%;height:100%"
  5600. },
  5601. "src": "https://iwb.cocorobo.cn/"
  5602. })
  5603. _box.appendChild(_iframe);
  5604. _box.appendChild(_jie);
  5605. _formdiv = new U.UF.UI.form(
  5606. "电子白板",
  5607. _box, {
  5608. "id": "whiteboard" + cid + stage + task + tool,
  5609. "style": {
  5610. "width": "90%",
  5611. "height": "90%",
  5612. "overflow": 'hidden'
  5613. },
  5614. "onresize": function () { }
  5615. }, {
  5616. closecallback: function () { }
  5617. }, {
  5618. "style": {
  5619. "height": "36px"
  5620. }
  5621. }).form; //创建窗体
  5622. _taskbar = {
  5623. "id": str + _formdiv.id,
  5624. "style": {
  5625. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5626. },
  5627. "name": "电子白板",
  5628. "forms": _formdiv,
  5629. "click": function () {
  5630. U.MD.D.I.openApplication(str, obj, info);
  5631. }
  5632. }
  5633. break;
  5634. case "mind":
  5635. aTool = 3;
  5636. _iframe = $$("iframe", {
  5637. "frameborder": "no",
  5638. "border": "0",
  5639. "scrolling ": "no",
  5640. "style": {
  5641. "cssText": "border:0;width:100%;height:100%"
  5642. },
  5643. "src": "/kityminder-editor/dist/index.html"
  5644. })
  5645. _box.appendChild(_iframe);
  5646. _box.appendChild(_jie);
  5647. _formdiv = new U.UF.UI.form(
  5648. "思维导图",
  5649. _box, { //"/jsmind/example/demo.html"
  5650. "id": "mind" + cid + stage + task + tool,
  5651. "style": {
  5652. "width": "90%",
  5653. "height": "90%",
  5654. "overflow": 'hidden'
  5655. },
  5656. "onresize": function () { }
  5657. }, {
  5658. closecallback: function () { }
  5659. }, {
  5660. "style": {
  5661. "height": "36px"
  5662. }
  5663. }).form; //创建窗体
  5664. _taskbar = {
  5665. "id": str + _formdiv.id,
  5666. "style": {
  5667. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5668. },
  5669. "name": "思维导图",
  5670. "forms": _formdiv,
  5671. "click": function () {
  5672. U.MD.D.I.openApplication(str, obj, info);
  5673. }
  5674. }
  5675. break;
  5676. case "MindMap":
  5677. aTool = 3;
  5678. _iframe = $$("iframe", {
  5679. "frameborder": "no",
  5680. "border": "0",
  5681. "scrolling ": "no",
  5682. "style": {
  5683. "cssText": "border:0;width:100%;height:100%"
  5684. },
  5685. "src": "//cloud.cocorobo.cn/mind/"
  5686. })
  5687. _box.appendChild(_iframe);
  5688. _box.appendChild(_jie);
  5689. _formdiv = new U.UF.UI.form(
  5690. "思维导图",
  5691. _box, { //"/jsmind/example/demo.html"
  5692. "id": "mind" + cid + stage + task + tool,
  5693. "style": {
  5694. "width": "90%",
  5695. "height": "90%",
  5696. "overflow": 'hidden'
  5697. },
  5698. "onresize": function () { }
  5699. }, {
  5700. closecallback: function () { }
  5701. }, {
  5702. "style": {
  5703. "height": "36px"
  5704. }
  5705. }).form; //创建窗体
  5706. _taskbar = {
  5707. "id": str + _formdiv.id,
  5708. "style": {
  5709. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5710. },
  5711. "name": "思维导图",
  5712. "forms": _formdiv,
  5713. "click": function () {
  5714. U.MD.D.I.openApplication(str, obj, info);
  5715. }
  5716. }
  5717. break;
  5718. case "doc":
  5719. aTool = 6;
  5720. _iframe = $$("iframe", {
  5721. "frameborder": "no",
  5722. "border": "0",
  5723. "scrolling ": "no",
  5724. "style": {
  5725. "cssText": "border:0;width:100%;height:100%"
  5726. },
  5727. "src": "/Office/Word/WordEditArea.htm"
  5728. })
  5729. _box.appendChild(_iframe);
  5730. _box.appendChild(_jie);
  5731. _formdiv = new U.UF.UI.form(
  5732. "协同文档",
  5733. _box, {
  5734. "id": "doc" + cid + stage + task + tool,
  5735. "style": {
  5736. "width": "90%",
  5737. "height": "90%",
  5738. "overflow": 'hidden'
  5739. },
  5740. "onresize": function () { }
  5741. }, {
  5742. closecallback: function () { }
  5743. }, {
  5744. "style": {
  5745. "height": "36px"
  5746. }
  5747. }).form; //创建窗体
  5748. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5749. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5750. })
  5751. _taskbar = {
  5752. "id": str + _formdiv.id,
  5753. "style": {
  5754. "backgroundImage": "url(/img/icon/doc.png)"
  5755. },
  5756. "name": "协同文档",
  5757. "forms": _formdiv,
  5758. "click": function () {
  5759. U.MD.D.I.openApplication(str, obj, info);
  5760. }
  5761. }
  5762. break;
  5763. case "mindNetwork": //好友打开
  5764. aTool = 7;
  5765. _iframe = $$("iframe", {
  5766. "webkitallowfullscreen": "",
  5767. "mozallowfullscreen": "",
  5768. "allowfullscreen": "",
  5769. "frameborder": "no",
  5770. "border": "0",
  5771. "scrolling ": "no",
  5772. "style": {
  5773. "cssText": "border:0; width:100%; height:100%;"
  5774. },
  5775. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5776. })
  5777. _box.appendChild(_iframe);
  5778. _box.appendChild(_jie);
  5779. _formdiv = new U.UF.UI.form(
  5780. "思维网格",
  5781. _box, {
  5782. "id": "mindNetwork" + cid + stage + task + tool,
  5783. "style": {
  5784. "width": "90%",
  5785. "height": "90%",
  5786. "overflow": 'hidden'
  5787. },
  5788. "onresize": function () { }
  5789. }, {
  5790. closecallback: function () { }
  5791. }, {
  5792. "style": {
  5793. "height": "36px"
  5794. }
  5795. }).form; //创建窗体
  5796. _taskbar = {
  5797. "id": str + _formdiv.id,
  5798. "style": {
  5799. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5800. },
  5801. "name": "思维网格",
  5802. "forms": _formdiv,
  5803. "click": function () {
  5804. U.MD.D.I.openApplication(str, obj, info);
  5805. }
  5806. }
  5807. break;
  5808. case "courseDesign":
  5809. _iframe = $$("iframe", {
  5810. "webkitallowfullscreen": "",
  5811. "mozallowfullscreen": "",
  5812. "allowfullscreen": "",
  5813. "frameborder": "no",
  5814. "border": "0",
  5815. "scrolling ": "no",
  5816. "style": {
  5817. "cssText": "border:0; width:100%; height:100%;"
  5818. },
  5819. "src": "/course-design-vue"
  5820. })
  5821. _box.appendChild(_iframe);
  5822. _box.appendChild(_jie);
  5823. _formdiv = new U.UF.UI.form(
  5824. "项目设计",
  5825. _box, {
  5826. "id": "courseDesign" + cid + stage + task + tool,
  5827. "style": {
  5828. "width": "90%",
  5829. "height": "90%",
  5830. "overflow": 'hidden'
  5831. },
  5832. "onresize": function () { }
  5833. }, {
  5834. closecallback: function () { }
  5835. }, {
  5836. "style": {
  5837. "height": "36px"
  5838. }
  5839. }).form; //创建窗体
  5840. _taskbar = {
  5841. "id": str + _formdiv.id,
  5842. "style": {
  5843. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5844. },
  5845. "name": "项目设计",
  5846. "forms": _formdiv,
  5847. "click": function () {
  5848. U.MD.D.I.openApplication(str, obj, info);
  5849. }
  5850. }
  5851. break;
  5852. }
  5853. const script1 = document.createElement("script");
  5854. script1.type = "text/javascript";
  5855. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5856. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5857. const script2 = document.createElement("script");
  5858. script2.type = "text/javascript";
  5859. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5860. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5861. const script3 = document.createElement("script");
  5862. script3.type = "text/javascript";
  5863. script3.charset = "UTF-8";
  5864. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5865. const script4 = document.createElement("script");
  5866. script4.type = "text/javascript";
  5867. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5868. script4.src = window.origin + "/js/Common/jietu2E.js";
  5869. if (_iframe) {
  5870. if (str == 'doc') {
  5871. _iframe = _formdiv.querySelector('iframe')
  5872. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5873. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5874. _iframe.contentWindow.document.body.appendChild(script1);
  5875. _iframe.contentWindow.document.body.appendChild(script2);
  5876. // _iframe.contentWindow.document.body.appendChild(script3);
  5877. _iframe.contentWindow.document.body.appendChild(script4);
  5878. })
  5879. if (onloadListener) {
  5880. _iframe.contentDocument.location.reload()
  5881. } else {
  5882. _iframe.contentDocument.location.reload()
  5883. }
  5884. } else if (str == 'courseDesign') {
  5885. U.UF.DL.iframeLoad(_iframe, function () {
  5886. // _iframe.contentWindow.U.MD.O.W.load();
  5887. // _iframe.contentWindow.document.body.appendChild(script1);
  5888. _iframe.contentWindow.document.body.appendChild(script2);
  5889. _iframe.contentWindow.document.body.appendChild(script4);
  5890. })
  5891. } else if (str == 'mind') {
  5892. _iframe = _formdiv.querySelector('iframe')
  5893. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5894. //
  5895. _iframe.contentWindow.document.body.appendChild(script1);
  5896. _iframe.contentWindow.document.body.appendChild(script2);
  5897. _iframe.contentWindow.document.body.appendChild(script4);
  5898. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5899. })
  5900. if (onloadListener) {
  5901. _iframe.contentDocument.location.reload()
  5902. } else {
  5903. _iframe.contentDocument.location.reload()
  5904. }
  5905. } else if (str == 'whiteboard') {
  5906. _iframe = _formdiv.querySelector('iframe')
  5907. let onloadListener = _iframe.onload = () => {
  5908. _iframe.contentWindow.document.body.appendChild(script1);
  5909. _iframe.contentWindow.document.body.appendChild(script2);
  5910. _iframe.contentWindow.document.body.appendChild(script4);
  5911. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5912. };
  5913. if (onloadListener) {
  5914. _iframe.contentDocument.location.reload()
  5915. } else {
  5916. _iframe.contentDocument.location.reload()
  5917. }
  5918. } else {
  5919. _iframe.onload = () => {
  5920. _iframe.contentWindow.document.body.appendChild(script1);
  5921. _iframe.contentWindow.document.body.appendChild(script2);
  5922. // _iframe.contentWindow.document.body.appendChild(script3);
  5923. _iframe.contentWindow.document.body.appendChild(script4);
  5924. };
  5925. }
  5926. _jie.onclick = async () => {
  5927. let text = ''
  5928. if (aTool == 1) {
  5929. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5930. } else if (aTool == 6) {
  5931. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5932. } else if (aTool == 3) {
  5933. text = await U.MD.D.I.getEditorContent(_iframe);
  5934. }
  5935. _loading.style.display = 'flex'
  5936. console.log(_loading);
  5937. var _ajs = _iframe.contentWindow.document.createElement("script");
  5938. _ajs.type = "text/javascript";
  5939. _ajs.innerHTML =
  5940. // 'console.log(' + _loading + ');\n' +
  5941. 'var _js = document.createElement("script");\n' +
  5942. '_js.type="text/javascript";\n' +
  5943. '_js.charset="UTF-8";\n' +
  5944. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5945. "_js.onload = function(){\n" +
  5946. ' var a = document.getElementsByTagName("img")\n' +
  5947. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5948. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5949. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5950. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5951. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5952. "beforeUpload_shishi(file," +
  5953. "'" +
  5954. _userid +
  5955. "'" +
  5956. ", " +
  5957. "'" +
  5958. _cid +
  5959. "'" +
  5960. ", " +
  5961. "'" +
  5962. _stage +
  5963. "'" +
  5964. ", " +
  5965. "'" +
  5966. _task +
  5967. "'" +
  5968. ", " +
  5969. "'" +
  5970. _tool +
  5971. "'" +
  5972. ", " +
  5973. "'" +
  5974. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5975. "'" +
  5976. ", " +
  5977. "'" +
  5978. aTool +
  5979. "'" +
  5980. ", " +
  5981. "`" +
  5982. text +
  5983. "`" +
  5984. ")\n" +
  5985. " });\n" +
  5986. "}\n" +
  5987. "document.head.appendChild(_js);\n";
  5988. _iframe.contentWindow.document.head.appendChild(_ajs);
  5989. }
  5990. }
  5991. //U.MD.D.I.openClick(str);
  5992. //如果有任务栏信息
  5993. // if (_taskbar) {
  5994. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5995. // }
  5996. }
  5997. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5998. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5999. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6000. _userid = student.userid, //登录用户id
  6001. _username = student.student //用户名字
  6002. let _iframe;
  6003. let _cid = cid,
  6004. _stage = stage,
  6005. _task = task,
  6006. _tool = tool;
  6007. var _jie = $$("div", {
  6008. "style": {
  6009. "position": "absolute",
  6010. "bottom": "50px",
  6011. "right": "50px",
  6012. "zIndex": "9999",
  6013. "backgroundColor": "#2268bc",
  6014. "color": "#fff",
  6015. "padding": "12px 20px",
  6016. "cursor": "pointer",
  6017. "borderRadius": "4px",
  6018. },
  6019. "innerHTML": "提交作业"
  6020. })
  6021. let aTool = ''
  6022. let _loading = document.createElement('div')
  6023. _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;"
  6024. // _loading.id = "";
  6025. let _lchild = document.createElement('div')
  6026. let _limg = document.createElement('img')
  6027. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6028. _limg.style = "width: 26px;margin-right: 10px;"
  6029. _lchild.appendChild(_limg)
  6030. let _lspan = document.createElement('span')
  6031. _lspan.innerHTML = "上传中..."
  6032. _lchild.appendChild(_lspan)
  6033. _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%);"
  6034. _loading.appendChild(_lchild)
  6035. var _box = $$('div', {
  6036. "style": {
  6037. "position": "relative",
  6038. "width": "100%",
  6039. "height": "100%",
  6040. },
  6041. })
  6042. _box.appendChild(_loading)
  6043. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  6044. switch (str) {
  6045. case "whiteboard":
  6046. aTool = 1;
  6047. _iframe = $$("iframe", {
  6048. "frameborder": "no",
  6049. "border": "0",
  6050. "scrolling ": "no",
  6051. "style": {
  6052. "cssText": "border:0;width:100%;height:100%"
  6053. },
  6054. "src": "https://iwb.cocorobo.cn/"
  6055. })
  6056. _box.appendChild(_iframe);
  6057. _box.appendChild(_jie);
  6058. _formdiv = new U.UF.UI.form(
  6059. "电子白板-" + _username,
  6060. _box, {
  6061. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6062. "style": {
  6063. "width": "90%",
  6064. "height": "90%",
  6065. "overflow": 'hidden'
  6066. },
  6067. "onresize": function () { }
  6068. }, {
  6069. closecallback: function () { }
  6070. }, {
  6071. "style": {
  6072. "height": "36px"
  6073. }
  6074. }).form; //创建窗体
  6075. _taskbar = {
  6076. "id": str + _formdiv.id,
  6077. "style": {
  6078. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6079. },
  6080. "name": "电子白板",
  6081. "forms": _formdiv,
  6082. "click": function () {
  6083. U.MD.D.I.openApplication(str, obj, info);
  6084. }
  6085. }
  6086. break;
  6087. case "mind":
  6088. aTool = 3;
  6089. _iframe = $$("iframe", {
  6090. "frameborder": "no",
  6091. "border": "0",
  6092. "scrolling ": "no",
  6093. "style": {
  6094. "cssText": "border:0;width:100%;height:100%"
  6095. },
  6096. "src": "/kityminder-editor/dist/index.html"
  6097. })
  6098. _box.appendChild(_iframe);
  6099. _box.appendChild(_jie);
  6100. _formdiv = new U.UF.UI.form(
  6101. "思维导图-" + _username,
  6102. _box, { //"/jsmind/example/demo.html"
  6103. "id": "mind" + cid + stage + task + tool + _userid,
  6104. "style": {
  6105. "width": "90%",
  6106. "height": "90%",
  6107. "overflow": 'hidden'
  6108. },
  6109. "onresize": function () { }
  6110. }, {
  6111. closecallback: function () { }
  6112. }, {
  6113. "style": {
  6114. "height": "36px"
  6115. }
  6116. }).form; //创建窗体
  6117. _taskbar = {
  6118. "id": str + _formdiv.id,
  6119. "style": {
  6120. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6121. },
  6122. "name": "思维导图",
  6123. "forms": _formdiv,
  6124. "click": function () {
  6125. U.MD.D.I.openApplication(str, obj, info);
  6126. }
  6127. }
  6128. break;
  6129. case "MindMap":
  6130. aTool = 3;
  6131. _iframe = $$("iframe", {
  6132. "frameborder": "no",
  6133. "border": "0",
  6134. "scrolling ": "no",
  6135. "style": {
  6136. "cssText": "border:0;width:100%;height:100%"
  6137. },
  6138. "src": "//cloud.cocorobo.cn/mind/"
  6139. })
  6140. _box.appendChild(_iframe);
  6141. _box.appendChild(_jie);
  6142. _formdiv = new U.UF.UI.form(
  6143. "思维导图-" + _username,
  6144. _box, { //"/jsmind/example/demo.html"
  6145. "id": "mind" + cid + stage + task + tool + _userid,
  6146. "style": {
  6147. "width": "90%",
  6148. "height": "90%",
  6149. "overflow": 'hidden'
  6150. },
  6151. "onresize": function () { }
  6152. }, {
  6153. closecallback: function () { }
  6154. }, {
  6155. "style": {
  6156. "height": "36px"
  6157. }
  6158. }).form; //创建窗体
  6159. _taskbar = {
  6160. "id": str + _formdiv.id,
  6161. "style": {
  6162. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6163. },
  6164. "name": "思维导图",
  6165. "forms": _formdiv,
  6166. "click": function () {
  6167. U.MD.D.I.openApplication(str, obj, info);
  6168. }
  6169. }
  6170. break;
  6171. case "doc":
  6172. aTool = 6;
  6173. _iframe = $$("iframe", {
  6174. "frameborder": "no",
  6175. "border": "0",
  6176. "scrolling ": "no",
  6177. "style": {
  6178. "cssText": "border:0;width:100%;height:100%"
  6179. },
  6180. "src": "/Office/Word/WordEditArea.htm"
  6181. })
  6182. _box.appendChild(_iframe);
  6183. _box.appendChild(_jie);
  6184. _formdiv = new U.UF.UI.form(
  6185. "协同文档-" + _username,
  6186. _box, {
  6187. "id": "doc" + cid + stage + task + tool + _userid,
  6188. "style": {
  6189. "width": "90%",
  6190. "height": "90%",
  6191. "overflow": 'hidden'
  6192. },
  6193. "onresize": function () { }
  6194. }, {
  6195. closecallback: function () { }
  6196. }, {
  6197. "style": {
  6198. "height": "36px"
  6199. }
  6200. }).form; //创建窗体
  6201. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6202. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6203. })
  6204. _taskbar = {
  6205. "id": str + _formdiv.id,
  6206. "style": {
  6207. "backgroundImage": "url(/img/icon/doc.png)"
  6208. },
  6209. "name": "协同文档",
  6210. "forms": _formdiv,
  6211. "click": function () {
  6212. U.MD.D.I.openApplication(str, obj, info);
  6213. }
  6214. }
  6215. break;
  6216. case "mindNetwork": //好友打开
  6217. aTool = 7;
  6218. _iframe = $$("iframe", {
  6219. "webkitallowfullscreen": "",
  6220. "mozallowfullscreen": "",
  6221. "allowfullscreen": "",
  6222. "frameborder": "no",
  6223. "border": "0",
  6224. "scrolling ": "no",
  6225. "style": {
  6226. "cssText": "border:0; width:100%; height:100%;"
  6227. },
  6228. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6229. })
  6230. _box.appendChild(_iframe);
  6231. _box.appendChild(_jie);
  6232. _formdiv = new U.UF.UI.form(
  6233. "思维网格-" + _username,
  6234. _box, {
  6235. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6236. "style": {
  6237. "width": "90%",
  6238. "height": "90%",
  6239. "overflow": 'hidden'
  6240. },
  6241. "onresize": function () { }
  6242. }, {
  6243. closecallback: function () { }
  6244. }, {
  6245. "style": {
  6246. "height": "36px"
  6247. }
  6248. }).form; //创建窗体
  6249. _taskbar = {
  6250. "id": str + _formdiv.id,
  6251. "style": {
  6252. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6253. },
  6254. "name": "思维网格",
  6255. "forms": _formdiv,
  6256. "click": function () {
  6257. U.MD.D.I.openApplication(str, obj, info);
  6258. }
  6259. }
  6260. break;
  6261. case "courseDesign":
  6262. _iframe = $$("iframe", {
  6263. "webkitallowfullscreen": "",
  6264. "mozallowfullscreen": "",
  6265. "allowfullscreen": "",
  6266. "frameborder": "no",
  6267. "border": "0",
  6268. "scrolling ": "no",
  6269. "style": {
  6270. "cssText": "border:0; width:100%; height:100%;"
  6271. },
  6272. "src": "/course-design-vue"
  6273. })
  6274. _box.appendChild(_iframe);
  6275. _box.appendChild(_jie);
  6276. _formdiv = new U.UF.UI.form(
  6277. "项目设计-" + _username,
  6278. _box, {
  6279. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6280. "style": {
  6281. "width": "90%",
  6282. "height": "90%",
  6283. "overflow": 'hidden'
  6284. },
  6285. "onresize": function () { }
  6286. }, {
  6287. closecallback: function () { }
  6288. }, {
  6289. "style": {
  6290. "height": "36px"
  6291. }
  6292. }).form; //创建窗体
  6293. _taskbar = {
  6294. "id": str + _formdiv.id,
  6295. "style": {
  6296. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6297. },
  6298. "name": "项目设计",
  6299. "forms": _formdiv,
  6300. "click": function () {
  6301. U.MD.D.I.openApplication(str, obj, info);
  6302. }
  6303. }
  6304. break;
  6305. }
  6306. const script1 = document.createElement("script");
  6307. script1.type = "text/javascript";
  6308. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6309. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6310. const script2 = document.createElement("script");
  6311. script2.type = "text/javascript";
  6312. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6313. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6314. const script3 = document.createElement("script");
  6315. script3.type = "text/javascript";
  6316. script3.charset = "UTF-8";
  6317. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6318. const script4 = document.createElement("script");
  6319. script4.type = "text/javascript";
  6320. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6321. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6322. if (_iframe) {
  6323. if (str == 'doc') {
  6324. _iframe = _formdiv.querySelector('iframe')
  6325. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6326. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6327. _iframe.contentWindow.document.body.appendChild(script1);
  6328. _iframe.contentWindow.document.body.appendChild(script2);
  6329. // _iframe.contentWindow.document.body.appendChild(script3);
  6330. _iframe.contentWindow.document.body.appendChild(script4);
  6331. })
  6332. if (onloadListener) {
  6333. _iframe.contentDocument.location.reload()
  6334. } else {
  6335. _iframe.contentDocument.location.reload()
  6336. }
  6337. } else if (str == 'courseDesign') {
  6338. U.UF.DL.iframeLoad(_iframe, function () {
  6339. // _iframe.contentWindow.U.MD.O.W.load();
  6340. // _iframe.contentWindow.document.body.appendChild(script1);
  6341. _iframe.contentWindow.document.body.appendChild(script2);
  6342. _iframe.contentWindow.document.body.appendChild(script4);
  6343. })
  6344. } else if (str == 'mind') {
  6345. _iframe = _formdiv.querySelector('iframe')
  6346. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6347. //
  6348. _iframe.contentWindow.document.body.appendChild(script1);
  6349. _iframe.contentWindow.document.body.appendChild(script2);
  6350. _iframe.contentWindow.document.body.appendChild(script4);
  6351. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6352. })
  6353. if (onloadListener) {
  6354. _iframe.contentDocument.location.reload()
  6355. } else {
  6356. _iframe.contentDocument.location.reload()
  6357. }
  6358. } else if (str == 'whiteboard') {
  6359. _iframe = _formdiv.querySelector('iframe')
  6360. let onloadListener = _iframe.onload = () => {
  6361. _iframe.contentWindow.document.body.appendChild(script1);
  6362. _iframe.contentWindow.document.body.appendChild(script2);
  6363. _iframe.contentWindow.document.body.appendChild(script4);
  6364. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6365. };
  6366. if (onloadListener) {
  6367. _iframe.contentDocument.location.reload()
  6368. } else {
  6369. _iframe.contentDocument.location.reload()
  6370. }
  6371. } else {
  6372. _iframe.onload = () => {
  6373. _iframe.contentWindow.document.body.appendChild(script1);
  6374. _iframe.contentWindow.document.body.appendChild(script2);
  6375. // _iframe.contentWindow.document.body.appendChild(script3);
  6376. _iframe.contentWindow.document.body.appendChild(script4);
  6377. };
  6378. }
  6379. _jie.onclick = async () => {
  6380. let text = ''
  6381. if (aTool == 1) {
  6382. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6383. } else if (aTool == 6) {
  6384. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6385. } else if (aTool == 3) {
  6386. text = await U.MD.D.I.getEditorContent(_iframe);
  6387. }
  6388. _loading.style.display = 'flex'
  6389. console.log(_loading);
  6390. var _ajs = _iframe.contentWindow.document.createElement("script");
  6391. _ajs.type = "text/javascript";
  6392. _ajs.innerHTML =
  6393. // 'console.log(' + _loading + ');\n' +
  6394. 'var _js = document.createElement("script");\n' +
  6395. '_js.type="text/javascript";\n' +
  6396. '_js.charset="UTF-8";\n' +
  6397. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6398. "_js.onload = function(){\n" +
  6399. ' var a = document.getElementsByTagName("img")\n' +
  6400. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6401. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6402. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6403. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6404. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6405. "beforeUpload_shishi(file," +
  6406. "'" +
  6407. _userid +
  6408. "'" +
  6409. ", " +
  6410. "'" +
  6411. _cid +
  6412. "'" +
  6413. ", " +
  6414. "'" +
  6415. _stage +
  6416. "'" +
  6417. ", " +
  6418. "'" +
  6419. _task +
  6420. "'" +
  6421. ", " +
  6422. "'" +
  6423. _tool +
  6424. "'" +
  6425. ", " +
  6426. "'" +
  6427. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6428. "'" +
  6429. ", " +
  6430. "'" +
  6431. aTool +
  6432. "'" +
  6433. ", " +
  6434. "`" +
  6435. text +
  6436. "`" +
  6437. ")\n" +
  6438. " });\n" +
  6439. "}\n" +
  6440. "document.head.appendChild(_js);\n";
  6441. _iframe.contentWindow.document.head.appendChild(_ajs);
  6442. }
  6443. }
  6444. }
  6445. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6446. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6447. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6448. _userid = student.userid, //登录用户id
  6449. _username = student.student //用户名字
  6450. let _iframe;
  6451. let _cid = cid,
  6452. _stage = stage,
  6453. _task = task,
  6454. _tool = tool;
  6455. var _jie = $$("div", {
  6456. "style": {
  6457. "position": "absolute",
  6458. "bottom": "50px",
  6459. "right": "50px",
  6460. "zIndex": "9999",
  6461. "backgroundColor": "#2268bc",
  6462. "color": "#fff",
  6463. "padding": "12px 20px",
  6464. "cursor": "pointer",
  6465. "borderRadius": "4px",
  6466. },
  6467. "innerHTML": "提交作业"
  6468. })
  6469. let aTool = ''
  6470. let _loading = document.createElement('div')
  6471. _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;"
  6472. // _loading.id = "";
  6473. let _lchild = document.createElement('div')
  6474. let _limg = document.createElement('img')
  6475. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6476. _limg.style = "width: 26px;margin-right: 10px;"
  6477. _lchild.appendChild(_limg)
  6478. let _lspan = document.createElement('span')
  6479. _lspan.innerHTML = "上传中..."
  6480. _lchild.appendChild(_lspan)
  6481. _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%);"
  6482. _loading.appendChild(_lchild)
  6483. var _box = $$('div', {
  6484. "style": {
  6485. "position": "relative",
  6486. "width": "100%",
  6487. "height": "100%",
  6488. },
  6489. })
  6490. _box.appendChild(_loading)
  6491. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6492. switch (str) {
  6493. case "whiteboard":
  6494. aTool = 1;
  6495. _iframe = $$("iframe", {
  6496. "frameborder": "no",
  6497. "border": "0",
  6498. "scrolling ": "no",
  6499. "style": {
  6500. "cssText": "border:0;width:100%;height:100%"
  6501. },
  6502. "src": "https://iwb.cocorobo.cn/"
  6503. })
  6504. _box.appendChild(_iframe);
  6505. _box.appendChild(_jie);
  6506. _formdiv = new U.UF.UI.form(
  6507. "电子白板-" + _username,
  6508. _box, {
  6509. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6510. "style": {
  6511. "width": "90%",
  6512. "height": "90%",
  6513. "overflow": 'hidden'
  6514. },
  6515. "onresize": function () { }
  6516. }, {
  6517. closecallback: function () { }
  6518. }, {
  6519. "style": {
  6520. "height": "36px"
  6521. }
  6522. }).form; //创建窗体
  6523. _taskbar = {
  6524. "id": str + _formdiv.id,
  6525. "style": {
  6526. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6527. },
  6528. "name": "电子白板",
  6529. "forms": _formdiv,
  6530. "click": function () {
  6531. U.MD.D.I.openApplication(str, obj, info);
  6532. }
  6533. }
  6534. break;
  6535. case "mind":
  6536. aTool = 3;
  6537. _iframe = $$("iframe", {
  6538. "frameborder": "no",
  6539. "border": "0",
  6540. "scrolling ": "no",
  6541. "style": {
  6542. "cssText": "border:0;width:100%;height:100%"
  6543. },
  6544. "src": "/kityminder-editor/dist/index.html"
  6545. })
  6546. _box.appendChild(_iframe);
  6547. _box.appendChild(_jie);
  6548. _formdiv = new U.UF.UI.form(
  6549. "思维导图-" + _username,
  6550. _box, { //"/jsmind/example/demo.html"
  6551. "id": "mind" + cid + stage + task + tool + _userid,
  6552. "style": {
  6553. "width": "90%",
  6554. "height": "90%",
  6555. "overflow": 'hidden'
  6556. },
  6557. "onresize": function () { }
  6558. }, {
  6559. closecallback: function () { }
  6560. }, {
  6561. "style": {
  6562. "height": "36px"
  6563. }
  6564. }).form; //创建窗体
  6565. _taskbar = {
  6566. "id": str + _formdiv.id,
  6567. "style": {
  6568. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6569. },
  6570. "name": "思维导图",
  6571. "forms": _formdiv,
  6572. "click": function () {
  6573. U.MD.D.I.openApplication(str, obj, info);
  6574. }
  6575. }
  6576. break;
  6577. case "MindMap":
  6578. aTool = 3;
  6579. _iframe = $$("iframe", {
  6580. "frameborder": "no",
  6581. "border": "0",
  6582. "scrolling ": "no",
  6583. "style": {
  6584. "cssText": "border:0;width:100%;height:100%"
  6585. },
  6586. "src": "//cloud.cocorobo.cn/mind/"
  6587. })
  6588. _box.appendChild(_iframe);
  6589. _box.appendChild(_jie);
  6590. _formdiv = new U.UF.UI.form(
  6591. "思维导图-" + _username,
  6592. _box, { //"/jsmind/example/demo.html"
  6593. "id": "mind" + cid + stage + task + tool + _userid,
  6594. "style": {
  6595. "width": "90%",
  6596. "height": "90%",
  6597. "overflow": 'hidden'
  6598. },
  6599. "onresize": function () { }
  6600. }, {
  6601. closecallback: function () { }
  6602. }, {
  6603. "style": {
  6604. "height": "36px"
  6605. }
  6606. }).form; //创建窗体
  6607. _taskbar = {
  6608. "id": str + _formdiv.id,
  6609. "style": {
  6610. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6611. },
  6612. "name": "思维导图",
  6613. "forms": _formdiv,
  6614. "click": function () {
  6615. U.MD.D.I.openApplication(str, obj, info);
  6616. }
  6617. }
  6618. break;
  6619. case "doc":
  6620. aTool = 6;
  6621. _iframe = $$("iframe", {
  6622. "frameborder": "no",
  6623. "border": "0",
  6624. "scrolling ": "no",
  6625. "style": {
  6626. "cssText": "border:0;width:100%;height:100%"
  6627. },
  6628. "src": "/Office/Word/WordEditArea.htm"
  6629. })
  6630. _box.appendChild(_iframe);
  6631. _box.appendChild(_jie);
  6632. _formdiv = new U.UF.UI.form(
  6633. "协同文档-" + _username,
  6634. _box, {
  6635. "id": "doc" + cid + stage + task + tool + _userid,
  6636. "style": {
  6637. "width": "90%",
  6638. "height": "90%",
  6639. "overflow": 'hidden'
  6640. },
  6641. "onresize": function () { }
  6642. }, {
  6643. closecallback: function () { }
  6644. }, {
  6645. "style": {
  6646. "height": "36px"
  6647. }
  6648. }).form; //创建窗体
  6649. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6650. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6651. })
  6652. _taskbar = {
  6653. "id": str + _formdiv.id,
  6654. "style": {
  6655. "backgroundImage": "url(/img/icon/doc.png)"
  6656. },
  6657. "name": "协同文档",
  6658. "forms": _formdiv,
  6659. "click": function () {
  6660. U.MD.D.I.openApplication(str, obj, info);
  6661. }
  6662. }
  6663. break;
  6664. case "mindNetwork": //好友打开
  6665. aTool = 7;
  6666. _iframe = $$("iframe", {
  6667. "webkitallowfullscreen": "",
  6668. "mozallowfullscreen": "",
  6669. "allowfullscreen": "",
  6670. "frameborder": "no",
  6671. "border": "0",
  6672. "scrolling ": "no",
  6673. "style": {
  6674. "cssText": "border:0; width:100%; height:100%;"
  6675. },
  6676. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6677. })
  6678. _box.appendChild(_iframe);
  6679. _box.appendChild(_jie);
  6680. _formdiv = new U.UF.UI.form(
  6681. "思维网格-" + _username,
  6682. _box, {
  6683. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6684. "style": {
  6685. "width": "90%",
  6686. "height": "90%",
  6687. "overflow": 'hidden'
  6688. },
  6689. "onresize": function () { }
  6690. }, {
  6691. closecallback: function () { }
  6692. }, {
  6693. "style": {
  6694. "height": "36px"
  6695. }
  6696. }).form; //创建窗体
  6697. _taskbar = {
  6698. "id": str + _formdiv.id,
  6699. "style": {
  6700. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6701. },
  6702. "name": "思维网格",
  6703. "forms": _formdiv,
  6704. "click": function () {
  6705. U.MD.D.I.openApplication(str, obj, info);
  6706. }
  6707. }
  6708. break;
  6709. case "courseDesign":
  6710. _iframe = $$("iframe", {
  6711. "webkitallowfullscreen": "",
  6712. "mozallowfullscreen": "",
  6713. "allowfullscreen": "",
  6714. "frameborder": "no",
  6715. "border": "0",
  6716. "scrolling ": "no",
  6717. "style": {
  6718. "cssText": "border:0; width:100%; height:100%;"
  6719. },
  6720. "src": "/course-design-vue"
  6721. })
  6722. _box.appendChild(_iframe);
  6723. _box.appendChild(_jie);
  6724. _formdiv = new U.UF.UI.form(
  6725. "项目设计-" + _username,
  6726. _box, {
  6727. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6728. "style": {
  6729. "width": "90%",
  6730. "height": "90%",
  6731. "overflow": 'hidden'
  6732. },
  6733. "onresize": function () { }
  6734. }, {
  6735. closecallback: function () { }
  6736. }, {
  6737. "style": {
  6738. "height": "36px"
  6739. }
  6740. }).form; //创建窗体
  6741. _taskbar = {
  6742. "id": str + _formdiv.id,
  6743. "style": {
  6744. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6745. },
  6746. "name": "项目设计",
  6747. "forms": _formdiv,
  6748. "click": function () {
  6749. U.MD.D.I.openApplication(str, obj, info);
  6750. }
  6751. }
  6752. break;
  6753. }
  6754. const script1 = document.createElement("script");
  6755. script1.type = "text/javascript";
  6756. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6757. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6758. const script2 = document.createElement("script");
  6759. script2.type = "text/javascript";
  6760. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6761. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6762. const script3 = document.createElement("script");
  6763. script3.type = "text/javascript";
  6764. script3.charset = "UTF-8";
  6765. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6766. const script4 = document.createElement("script");
  6767. script4.type = "text/javascript";
  6768. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6769. script4.src = window.origin + "/js/Common/jietu2E.js";
  6770. if (_iframe) {
  6771. if (str == 'doc') {
  6772. _iframe = _formdiv.querySelector('iframe')
  6773. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6774. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6775. _iframe.contentWindow.document.body.appendChild(script1);
  6776. _iframe.contentWindow.document.body.appendChild(script2);
  6777. // _iframe.contentWindow.document.body.appendChild(script3);
  6778. _iframe.contentWindow.document.body.appendChild(script4);
  6779. })
  6780. if (onloadListener) {
  6781. _iframe.contentDocument.location.reload()
  6782. } else {
  6783. _iframe.contentDocument.location.reload()
  6784. }
  6785. } else if (str == 'courseDesign') {
  6786. U.UF.DL.iframeLoad(_iframe, function () {
  6787. // _iframe.contentWindow.U.MD.O.W.load();
  6788. // _iframe.contentWindow.document.body.appendChild(script1);
  6789. _iframe.contentWindow.document.body.appendChild(script2);
  6790. _iframe.contentWindow.document.body.appendChild(script4);
  6791. })
  6792. } else if (str == 'mind') {
  6793. _iframe = _formdiv.querySelector('iframe')
  6794. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6795. //
  6796. _iframe.contentWindow.document.body.appendChild(script1);
  6797. _iframe.contentWindow.document.body.appendChild(script2);
  6798. _iframe.contentWindow.document.body.appendChild(script4);
  6799. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6800. })
  6801. if (onloadListener) {
  6802. _iframe.contentDocument.location.reload()
  6803. } else {
  6804. _iframe.contentDocument.location.reload()
  6805. }
  6806. } else if (str == 'whiteboard') {
  6807. _iframe = _formdiv.querySelector('iframe')
  6808. let onloadListener = _iframe.onload = () => {
  6809. _iframe.contentWindow.document.body.appendChild(script1);
  6810. _iframe.contentWindow.document.body.appendChild(script2);
  6811. _iframe.contentWindow.document.body.appendChild(script4);
  6812. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6813. };
  6814. if (onloadListener) {
  6815. _iframe.contentDocument.location.reload()
  6816. } else {
  6817. _iframe.contentDocument.location.reload()
  6818. }
  6819. } else {
  6820. _iframe.onload = () => {
  6821. _iframe.contentWindow.document.body.appendChild(script1);
  6822. _iframe.contentWindow.document.body.appendChild(script2);
  6823. // _iframe.contentWindow.document.body.appendChild(script3);
  6824. _iframe.contentWindow.document.body.appendChild(script4);
  6825. };
  6826. }
  6827. _jie.onclick = async () => {
  6828. let text = ''
  6829. if (aTool == 1) {
  6830. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6831. } else if (aTool == 6) {
  6832. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6833. } else if (aTool == 3) {
  6834. text = await U.MD.D.I.getEditorContent(_iframe);
  6835. }
  6836. _loading.style.display = 'flex'
  6837. console.log(_loading);
  6838. var _ajs = _iframe.contentWindow.document.createElement("script");
  6839. _ajs.type = "text/javascript";
  6840. _ajs.innerHTML =
  6841. // 'console.log(' + _loading + ');\n' +
  6842. 'var _js = document.createElement("script");\n' +
  6843. '_js.type="text/javascript";\n' +
  6844. '_js.charset="UTF-8";\n' +
  6845. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6846. "_js.onload = function(){\n" +
  6847. ' var a = document.getElementsByTagName("img")\n' +
  6848. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6849. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6850. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6851. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6852. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6853. "beforeUpload_shishi(file," +
  6854. "'" +
  6855. _userid +
  6856. "'" +
  6857. ", " +
  6858. "'" +
  6859. _cid +
  6860. "'" +
  6861. ", " +
  6862. "'" +
  6863. _stage +
  6864. "'" +
  6865. ", " +
  6866. "'" +
  6867. _task +
  6868. "'" +
  6869. ", " +
  6870. "'" +
  6871. _tool +
  6872. "'" +
  6873. ", " +
  6874. "'" +
  6875. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6876. "'" +
  6877. ", " +
  6878. "'" +
  6879. aTool +
  6880. "'" +
  6881. ", " +
  6882. "`" +
  6883. text +
  6884. "`" +
  6885. ")\n" +
  6886. " });\n" +
  6887. "}\n" +
  6888. "document.head.appendChild(_js);\n";
  6889. _iframe.contentWindow.document.head.appendChild(_ajs);
  6890. }
  6891. }
  6892. }
  6893. U.MD.D.I.getEditorContent = function (iframe) {
  6894. return new Promise((resolve, reject) => {
  6895. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6896. console.log(content);
  6897. resolve(content)
  6898. });
  6899. });
  6900. }
  6901. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6902. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6903. // if (res.value[0].length > 0) {
  6904. // // resolve(res.value[0][0].text);
  6905. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6906. // $(fileInput).val('');
  6907. // });
  6908. // }
  6909. // }, [], { "type": "GET", "withCredentials": true });
  6910. var xmlhttp;
  6911. var Mac, Sn, DeviceId
  6912. if (window.XMLHttpRequest) {
  6913. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6914. xmlhttp = new XMLHttpRequest();
  6915. } else {
  6916. // IE6, IE5 浏览器执行代码
  6917. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6918. }
  6919. xmlhttp.onreadystatechange = function () {
  6920. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6921. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6922. // resolve(res.value[0][0].text);
  6923. if (type == '2') {
  6924. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6925. } else if (type == '3') {
  6926. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6927. }
  6928. } else {
  6929. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6930. }
  6931. }
  6932. }
  6933. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6934. xmlhttp.send();
  6935. }
  6936. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6937. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6938. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6939. _userinfo = US.userInfo, //登录用户信息
  6940. _userid = US.userInfo.userid //登录用户id
  6941. let _iframe;
  6942. let _cid = cid,
  6943. _stage = stage,
  6944. _task = task,
  6945. _tool = tool;
  6946. var _jie = $$("div", {
  6947. "style": {
  6948. "position": "absolute",
  6949. "bottom": "50px",
  6950. "right": "50px",
  6951. "zIndex": "9999",
  6952. "backgroundColor": "#2268bc",
  6953. "color": "#fff",
  6954. "padding": "12px 20px",
  6955. "cursor": "pointer",
  6956. "borderRadius": "4px",
  6957. },
  6958. "innerHTML": "确认并提交"
  6959. })
  6960. let aTool = ''
  6961. let _loading = document.createElement('div')
  6962. _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;"
  6963. // _loading.id = "";
  6964. let _lchild = document.createElement('div')
  6965. let _limg = document.createElement('img')
  6966. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6967. _limg.style = "width: 26px;margin-right: 10px;"
  6968. _lchild.appendChild(_limg)
  6969. let _lspan = document.createElement('span')
  6970. _lspan.innerHTML = "上传中..."
  6971. _lchild.appendChild(_lspan)
  6972. _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%);"
  6973. _loading.appendChild(_lchild)
  6974. var _box = $$('div', {
  6975. "style": {
  6976. "position": "relative",
  6977. "width": "100%",
  6978. "height": "100%",
  6979. },
  6980. })
  6981. _box.appendChild(_loading)
  6982. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6983. switch (str) {
  6984. case "whiteboard":
  6985. aTool = 1;
  6986. _iframe = $$("iframe", {
  6987. "frameborder": "no",
  6988. "border": "0",
  6989. "scrolling ": "no",
  6990. "style": {
  6991. "cssText": "border:0;width:100%;height:100%"
  6992. },
  6993. "src": "https://iwb.cocorobo.cn/"
  6994. })
  6995. _box.appendChild(_iframe);
  6996. _box.appendChild(_jie);
  6997. _formdiv = new U.UF.UI.form(
  6998. "电子白板",
  6999. _box, {
  7000. "id": "whiteboards" + cid + stage + task + tool,
  7001. "style": {
  7002. "width": "90%",
  7003. "height": "90%",
  7004. "overflow": 'hidden'
  7005. },
  7006. "onresize": function () { }
  7007. }, {
  7008. closecallback: function () { }
  7009. }, {
  7010. "style": {
  7011. "height": "36px"
  7012. }
  7013. }).form; //创建窗体
  7014. _taskbar = {
  7015. "id": str + _formdiv.id,
  7016. "style": {
  7017. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7018. },
  7019. "name": "电子白板",
  7020. "forms": _formdiv,
  7021. "click": function () {
  7022. U.MD.D.I.openApplication(str, obj, info);
  7023. }
  7024. }
  7025. break;
  7026. case "mind":
  7027. aTool = 3;
  7028. _iframe = $$("iframe", {
  7029. "frameborder": "no",
  7030. "border": "0",
  7031. "scrolling ": "no",
  7032. "style": {
  7033. "cssText": "border:0;width:100%;height:100%"
  7034. },
  7035. "src": "/kityminder-editor/dist/index.html"
  7036. });
  7037. _box.appendChild(_iframe);
  7038. _box.appendChild(_jie);
  7039. _formdiv = new U.UF.UI.form(
  7040. "思维导图",
  7041. _box, { //"/jsmind/example/demo.html"
  7042. "id": "minds" + cid + stage + task + tool,
  7043. "style": {
  7044. "width": "90%",
  7045. "height": "90%",
  7046. "overflow": 'hidden'
  7047. },
  7048. "onresize": function () { }
  7049. }, {
  7050. closecallback: function () { }
  7051. }, {
  7052. "style": {
  7053. "height": "36px"
  7054. }
  7055. }).form; //创建窗体
  7056. _taskbar = {
  7057. "id": str + _formdiv.id,
  7058. "style": {
  7059. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7060. },
  7061. "name": "思维导图",
  7062. "forms": _formdiv,
  7063. "click": function () {
  7064. U.MD.D.I.openApplication(str, obj, info);
  7065. }
  7066. }
  7067. break;
  7068. case "doc":
  7069. aTool = 6;
  7070. _iframe = $$("iframe", {
  7071. "frameborder": "no",
  7072. "border": "0",
  7073. "scrolling ": "no",
  7074. "style": {
  7075. "cssText": "border:0;width:100%;height:100%"
  7076. },
  7077. "src": "/Office/Word/WordEditArea.htm"
  7078. })
  7079. _box.appendChild(_iframe);
  7080. _box.appendChild(_jie);
  7081. _formdiv = new U.UF.UI.form(
  7082. "协同文档",
  7083. _box, {
  7084. "id": "docs" + cid + stage + task + tool,
  7085. "style": {
  7086. "width": "90%",
  7087. "height": "90%",
  7088. "overflow": 'hidden'
  7089. },
  7090. "onresize": function () { }
  7091. }, {
  7092. closecallback: function () { }
  7093. }, {
  7094. "style": {
  7095. "height": "36px"
  7096. }
  7097. }).form; //创建窗体
  7098. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7099. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7100. })
  7101. _taskbar = {
  7102. "id": str + _formdiv.id,
  7103. "style": {
  7104. "backgroundImage": "url(/img/icon/doc.png)"
  7105. },
  7106. "name": "协同文档",
  7107. "forms": _formdiv,
  7108. "click": function () {
  7109. U.MD.D.I.openApplication(str, obj, info);
  7110. }
  7111. }
  7112. break;
  7113. }
  7114. const script1 = document.createElement("script");
  7115. script1.type = "text/javascript";
  7116. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7117. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7118. const script2 = document.createElement("script");
  7119. script2.type = "text/javascript";
  7120. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7121. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7122. const script3 = document.createElement("script");
  7123. script3.type = "text/javascript";
  7124. script3.charset = "UTF-8";
  7125. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7126. const script4 = document.createElement("script");
  7127. script4.type = "text/javascript";
  7128. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7129. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  7130. if (_iframe) {
  7131. if (str == 'doc') {
  7132. _iframe = _formdiv.querySelector('iframe')
  7133. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7134. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7135. _iframe.contentWindow.document.body.appendChild(script1);
  7136. _iframe.contentWindow.document.body.appendChild(script2);
  7137. // _iframe.contentWindow.document.body.appendChild(script3);
  7138. _iframe.contentWindow.document.body.appendChild(script4);
  7139. })
  7140. if (onloadListener) {
  7141. _iframe.contentDocument.location.reload()
  7142. } else {
  7143. _iframe.contentDocument.location.reload()
  7144. }
  7145. } else if (str == 'mind') {
  7146. _iframe = _formdiv.querySelector('iframe')
  7147. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7148. _iframe.contentWindow.document.body.appendChild(script1);
  7149. _iframe.contentWindow.document.body.appendChild(script2);
  7150. _iframe.contentWindow.document.body.appendChild(script4);
  7151. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7152. })
  7153. if (onloadListener) {
  7154. _iframe.contentDocument.location.reload()
  7155. } else {
  7156. _iframe.contentDocument.location.reload()
  7157. }
  7158. } else {
  7159. _iframe.onload = () => {
  7160. _iframe.contentWindow.document.body.appendChild(script1);
  7161. _iframe.contentWindow.document.body.appendChild(script2);
  7162. // _iframe.contentWindow.document.body.appendChild(script3);
  7163. _iframe.contentWindow.document.body.appendChild(script4);
  7164. };
  7165. }
  7166. _jie.onclick = async () => {
  7167. let text = ''
  7168. if (aTool == 6) {
  7169. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7170. } else if (aTool == 3) {
  7171. text = await U.MD.D.I.getEditorContent(_iframe);
  7172. }
  7173. _loading.style.display = 'flex'
  7174. console.log(_loading);
  7175. var _ajs = _iframe.contentWindow.document.createElement("script");
  7176. _ajs.type = "text/javascript";
  7177. _ajs.innerHTML =
  7178. // 'console.log(' + _loading + ');\n' +
  7179. 'var _js = document.createElement("script");\n' +
  7180. '_js.type="text/javascript";\n' +
  7181. '_js.charset="UTF-8";\n' +
  7182. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7183. "_js.onload = function(){\n" +
  7184. ' var a = document.getElementsByTagName("img")\n' +
  7185. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7186. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7187. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7188. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7189. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7190. "beforeUpload_shishi(file," +
  7191. "'" +
  7192. _userid +
  7193. "'" +
  7194. ", " +
  7195. "'" +
  7196. _cid +
  7197. "'" +
  7198. ", " +
  7199. "'" +
  7200. _stage +
  7201. "'" +
  7202. ", " +
  7203. "'" +
  7204. _task +
  7205. "'" +
  7206. ", " +
  7207. "'" +
  7208. _tool +
  7209. "'" +
  7210. ", " +
  7211. "'" +
  7212. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7213. "'" +
  7214. ", " +
  7215. "'" +
  7216. aTool +
  7217. "'" +
  7218. ", " +
  7219. "`" +
  7220. text +
  7221. "`" +
  7222. ")\n" +
  7223. " });\n" +
  7224. "}\n" +
  7225. "document.head.appendChild(_js);\n";
  7226. _iframe.contentWindow.document.head.appendChild(_ajs);
  7227. }
  7228. }
  7229. //U.MD.D.I.openClick(str);
  7230. //如果有任务栏信息
  7231. // if (_taskbar) {
  7232. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7233. // }
  7234. }
  7235. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7236. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7237. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7238. _userinfo = US.userInfo, //登录用户信息
  7239. _userid = US.userInfo.userid //登录用户id
  7240. let _iframe;
  7241. let _cid = cid,
  7242. _stage = stage,
  7243. _task = task,
  7244. _tool = tool;
  7245. var _jie = $$("div", {
  7246. "style": {
  7247. "position": "absolute",
  7248. "bottom": "50px",
  7249. "right": "50px",
  7250. "zIndex": "9999",
  7251. "backgroundColor": "#2268bc",
  7252. "color": "#fff",
  7253. "padding": "12px 20px",
  7254. "cursor": "pointer",
  7255. "borderRadius": "4px",
  7256. },
  7257. "innerHTML": "确认并提交"
  7258. })
  7259. let aTool = ''
  7260. let _loading = document.createElement('div')
  7261. _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;"
  7262. // _loading.id = "";
  7263. let _lchild = document.createElement('div')
  7264. let _limg = document.createElement('img')
  7265. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7266. _limg.style = "width: 26px;margin-right: 10px;"
  7267. _lchild.appendChild(_limg)
  7268. let _lspan = document.createElement('span')
  7269. _lspan.innerHTML = "上传中..."
  7270. _lchild.appendChild(_lspan)
  7271. _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%);"
  7272. _loading.appendChild(_lchild)
  7273. var _box = $$('div', {
  7274. "style": {
  7275. "position": "relative",
  7276. "width": "100%",
  7277. "height": "100%",
  7278. },
  7279. })
  7280. _box.appendChild(_loading)
  7281. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7282. switch (str) {
  7283. case "whiteboard":
  7284. aTool = 1;
  7285. _iframe = $$("iframe", {
  7286. "frameborder": "no",
  7287. "border": "0",
  7288. "scrolling ": "no",
  7289. "style": {
  7290. "cssText": "border:0;width:100%;height:100%"
  7291. },
  7292. "src": "https://iwb.cocorobo.cn/"
  7293. })
  7294. _box.appendChild(_iframe);
  7295. _box.appendChild(_jie);
  7296. _formdiv = new U.UF.UI.form(
  7297. "电子白板",
  7298. _box, {
  7299. "id": "whiteboards" + cid + stage + task + tool,
  7300. "style": {
  7301. "width": "90%",
  7302. "height": "90%",
  7303. "overflow": 'hidden'
  7304. },
  7305. "onresize": function () { }
  7306. }, {
  7307. closecallback: function () { }
  7308. }, {
  7309. "style": {
  7310. "height": "36px"
  7311. }
  7312. }).form; //创建窗体
  7313. _taskbar = {
  7314. "id": str + _formdiv.id,
  7315. "style": {
  7316. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7317. },
  7318. "name": "电子白板",
  7319. "forms": _formdiv,
  7320. "click": function () {
  7321. U.MD.D.I.openApplication(str, obj, info);
  7322. }
  7323. }
  7324. break;
  7325. case "mind":
  7326. aTool = 3;
  7327. _iframe = $$("iframe", {
  7328. "frameborder": "no",
  7329. "border": "0",
  7330. "scrolling ": "no",
  7331. "style": {
  7332. "cssText": "border:0;width:100%;height:100%"
  7333. },
  7334. "src": "/kityminder-editor/dist/index.html"
  7335. });
  7336. _box.appendChild(_iframe);
  7337. _box.appendChild(_jie);
  7338. _formdiv = new U.UF.UI.form(
  7339. "思维导图",
  7340. _box, { //"/jsmind/example/demo.html"
  7341. "id": "minds" + cid + stage + task + tool,
  7342. "style": {
  7343. "width": "90%",
  7344. "height": "90%",
  7345. "overflow": 'hidden'
  7346. },
  7347. "onresize": function () { }
  7348. }, {
  7349. closecallback: function () { }
  7350. }, {
  7351. "style": {
  7352. "height": "36px"
  7353. }
  7354. }).form; //创建窗体
  7355. _taskbar = {
  7356. "id": str + _formdiv.id,
  7357. "style": {
  7358. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7359. },
  7360. "name": "思维导图",
  7361. "forms": _formdiv,
  7362. "click": function () {
  7363. U.MD.D.I.openApplication(str, obj, info);
  7364. }
  7365. }
  7366. break;
  7367. case "doc":
  7368. aTool = 6;
  7369. _iframe = $$("iframe", {
  7370. "frameborder": "no",
  7371. "border": "0",
  7372. "scrolling ": "no",
  7373. "style": {
  7374. "cssText": "border:0;width:100%;height:100%"
  7375. },
  7376. "src": "/Office/Word/WordEditArea.htm"
  7377. })
  7378. _box.appendChild(_iframe);
  7379. _box.appendChild(_jie);
  7380. _formdiv = new U.UF.UI.form(
  7381. "协同文档",
  7382. _box, {
  7383. "id": "docs" + cid + stage + task + tool,
  7384. "style": {
  7385. "width": "90%",
  7386. "height": "90%",
  7387. "overflow": 'hidden'
  7388. },
  7389. "onresize": function () { }
  7390. }, {
  7391. closecallback: function () { }
  7392. }, {
  7393. "style": {
  7394. "height": "36px"
  7395. }
  7396. }).form; //创建窗体
  7397. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7398. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7399. })
  7400. _taskbar = {
  7401. "id": str + _formdiv.id,
  7402. "style": {
  7403. "backgroundImage": "url(/img/icon/doc.png)"
  7404. },
  7405. "name": "协同文档",
  7406. "forms": _formdiv,
  7407. "click": function () {
  7408. U.MD.D.I.openApplication(str, obj, info);
  7409. }
  7410. }
  7411. break;
  7412. }
  7413. const script1 = document.createElement("script");
  7414. script1.type = "text/javascript";
  7415. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7416. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7417. const script2 = document.createElement("script");
  7418. script2.type = "text/javascript";
  7419. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7420. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7421. const script3 = document.createElement("script");
  7422. script3.type = "text/javascript";
  7423. script3.charset = "UTF-8";
  7424. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7425. const script4 = document.createElement("script");
  7426. script4.type = "text/javascript";
  7427. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7428. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7429. if (_iframe) {
  7430. if (str == 'doc') {
  7431. _iframe = _formdiv.querySelector('iframe')
  7432. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7433. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7434. _iframe.contentWindow.document.body.appendChild(script1);
  7435. _iframe.contentWindow.document.body.appendChild(script2);
  7436. // _iframe.contentWindow.document.body.appendChild(script3);
  7437. _iframe.contentWindow.document.body.appendChild(script4);
  7438. })
  7439. if (onloadListener) {
  7440. _iframe.contentDocument.location.reload()
  7441. } else {
  7442. _iframe.contentDocument.location.reload()
  7443. }
  7444. } else if (str == 'mind') {
  7445. _iframe = _formdiv.querySelector('iframe')
  7446. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7447. _iframe.contentWindow.document.body.appendChild(script1);
  7448. _iframe.contentWindow.document.body.appendChild(script2);
  7449. _iframe.contentWindow.document.body.appendChild(script4);
  7450. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7451. })
  7452. if (onloadListener) {
  7453. _iframe.contentDocument.location.reload()
  7454. } else {
  7455. _iframe.contentDocument.location.reload()
  7456. }
  7457. } else {
  7458. _iframe.onload = () => {
  7459. _iframe.contentWindow.document.body.appendChild(script1);
  7460. _iframe.contentWindow.document.body.appendChild(script2);
  7461. // _iframe.contentWindow.document.body.appendChild(script3);
  7462. _iframe.contentWindow.document.body.appendChild(script4);
  7463. };
  7464. }
  7465. _jie.onclick = async () => {
  7466. let text = ''
  7467. if (aTool == 6) {
  7468. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7469. } else if (aTool == 3) {
  7470. text = await U.MD.D.I.getEditorContent(_iframe);
  7471. }
  7472. _loading.style.display = 'flex'
  7473. console.log(_loading);
  7474. var _ajs = _iframe.contentWindow.document.createElement("script");
  7475. _ajs.type = "text/javascript";
  7476. _ajs.innerHTML =
  7477. // 'console.log(' + _loading + ');\n' +
  7478. 'var _js = document.createElement("script");\n' +
  7479. '_js.type="text/javascript";\n' +
  7480. '_js.charset="UTF-8";\n' +
  7481. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7482. "_js.onload = function(){\n" +
  7483. ' var a = document.getElementsByTagName("img")\n' +
  7484. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7485. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7486. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7487. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7488. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7489. "beforeUpload_shishi(file," +
  7490. "'" +
  7491. _userid +
  7492. "'" +
  7493. ", " +
  7494. "'" +
  7495. _cid +
  7496. "'" +
  7497. ", " +
  7498. "'" +
  7499. _stage +
  7500. "'" +
  7501. ", " +
  7502. "'" +
  7503. _task +
  7504. "'" +
  7505. ", " +
  7506. "'" +
  7507. _tool +
  7508. "'" +
  7509. ", " +
  7510. "'" +
  7511. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7512. "'" +
  7513. ", " +
  7514. "'" +
  7515. aTool +
  7516. "'" +
  7517. ", " +
  7518. "`" +
  7519. text +
  7520. "`" +
  7521. ")\n" +
  7522. " });\n" +
  7523. "}\n" +
  7524. "document.head.appendChild(_js);\n";
  7525. _iframe.contentWindow.document.head.appendChild(_ajs);
  7526. }
  7527. }
  7528. //U.MD.D.I.openClick(str);
  7529. //如果有任务栏信息
  7530. // if (_taskbar) {
  7531. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7532. // }
  7533. }
  7534. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7535. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7536. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7537. _userinfo = US.userInfo, //登录用户信息
  7538. _userid = US.userInfo.userid //登录用户id
  7539. let _iframe;
  7540. let _cid = cid,
  7541. _stage = stage,
  7542. _task = task,
  7543. _tool = tool;
  7544. var _jie = $$("div", {
  7545. "style": {
  7546. "position": "absolute",
  7547. "bottom": "50px",
  7548. "right": "50px",
  7549. "zIndex": "9999",
  7550. "backgroundColor": "#2268bc",
  7551. "color": "#fff",
  7552. "padding": "12px 20px",
  7553. "cursor": "pointer",
  7554. "borderRadius": "4px",
  7555. },
  7556. "innerHTML": "上传模板"
  7557. })
  7558. let aTool = ''
  7559. let _loading = document.createElement('div')
  7560. _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;"
  7561. // _loading.id = "";
  7562. let _lchild = document.createElement('div')
  7563. let _limg = document.createElement('img')
  7564. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7565. _limg.style = "width: 26px;margin-right: 10px;"
  7566. _lchild.appendChild(_limg)
  7567. let _lspan = document.createElement('span')
  7568. _lspan.innerHTML = "上传中..."
  7569. _lchild.appendChild(_lspan)
  7570. _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%);"
  7571. _loading.appendChild(_lchild)
  7572. var _box = $$('div', {
  7573. "style": {
  7574. "position": "relative",
  7575. "width": "100%",
  7576. "height": "100%",
  7577. },
  7578. })
  7579. _box.appendChild(_loading)
  7580. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7581. switch (str) {
  7582. case "whiteboard":
  7583. aTool = 1;
  7584. _iframe = $$("iframe", {
  7585. "frameborder": "no",
  7586. "border": "0",
  7587. "scrolling ": "no",
  7588. "style": {
  7589. "cssText": "border:0;width:100%;height:100%"
  7590. },
  7591. "src": "https://iwb.cocorobo.cn/"
  7592. })
  7593. _box.appendChild(_iframe);
  7594. _box.appendChild(_jie);
  7595. _formdiv = new U.UF.UI.form(
  7596. "电子白板",
  7597. _box, {
  7598. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7599. "style": {
  7600. "width": "90%",
  7601. "height": "90%",
  7602. "overflow": 'hidden'
  7603. },
  7604. "onresize": function () { }
  7605. }, {
  7606. closecallback: function () { }
  7607. }, {
  7608. "style": {
  7609. "height": "36px"
  7610. }
  7611. }).form; //创建窗体
  7612. _taskbar = {
  7613. "id": str + _formdiv.id,
  7614. "style": {
  7615. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7616. },
  7617. "name": "电子白板",
  7618. "forms": _formdiv,
  7619. "click": function () {
  7620. U.MD.D.I.openApplication(str, obj, info);
  7621. }
  7622. }
  7623. break;
  7624. case "mind":
  7625. aTool = 3;
  7626. _iframe = $$("iframe", {
  7627. "frameborder": "no",
  7628. "border": "0",
  7629. "scrolling ": "no",
  7630. "style": {
  7631. "cssText": "border:0;width:100%;height:100%"
  7632. },
  7633. "src": "/kityminder-editor/dist/index.html"
  7634. });
  7635. _box.appendChild(_iframe);
  7636. _box.appendChild(_jie);
  7637. _formdiv = new U.UF.UI.form(
  7638. "思维导图",
  7639. _box, { //"/jsmind/example/demo.html"
  7640. "id": "minds_Yu" + cid + stage + task + tool,
  7641. "style": {
  7642. "width": "90%",
  7643. "height": "90%",
  7644. "overflow": 'hidden'
  7645. },
  7646. "onresize": function () { }
  7647. }, {
  7648. closecallback: function () { }
  7649. }, {
  7650. "style": {
  7651. "height": "36px"
  7652. }
  7653. }).form; //创建窗体
  7654. _taskbar = {
  7655. "id": str + _formdiv.id,
  7656. "style": {
  7657. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7658. },
  7659. "name": "思维导图",
  7660. "forms": _formdiv,
  7661. "click": function () {
  7662. U.MD.D.I.openApplication(str, obj, info);
  7663. }
  7664. }
  7665. break;
  7666. case "doc":
  7667. aTool = 6;
  7668. _iframe = $$("iframe", {
  7669. "frameborder": "no",
  7670. "border": "0",
  7671. "scrolling ": "no",
  7672. "style": {
  7673. "cssText": "border:0;width:100%;height:100%"
  7674. },
  7675. "src": "/Office/Word/WordEditArea.htm"
  7676. })
  7677. _box.appendChild(_iframe);
  7678. _box.appendChild(_jie);
  7679. _formdiv = new U.UF.UI.form(
  7680. "协同文档",
  7681. _box, {
  7682. "id": "docs_Yu" + cid + stage + task + tool,
  7683. "style": {
  7684. "width": "90%",
  7685. "height": "90%",
  7686. "overflow": 'hidden'
  7687. },
  7688. "onresize": function () { }
  7689. }, {
  7690. closecallback: function () { }
  7691. }, {
  7692. "style": {
  7693. "height": "36px"
  7694. }
  7695. }).form; //创建窗体
  7696. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7697. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7698. })
  7699. _taskbar = {
  7700. "id": str + _formdiv.id,
  7701. "style": {
  7702. "backgroundImage": "url(/img/icon/doc.png)"
  7703. },
  7704. "name": "协同文档",
  7705. "forms": _formdiv,
  7706. "click": function () {
  7707. U.MD.D.I.openApplication(str, obj, info);
  7708. }
  7709. }
  7710. break;
  7711. case "CocoPi":
  7712. aTool = 57;
  7713. _iframe = $$("iframe", {
  7714. "allowpaymentrequest": "allowpaymentrequest",
  7715. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7716. "webkitallowfullscreen": "",
  7717. "mozallowfullscreen": "",
  7718. "frameborder": "no",
  7719. "border": "0",
  7720. "scrolling ": "no",
  7721. "style": {
  7722. "cssText": "border:0;width:100%;height:100%"
  7723. },
  7724. "src": "https://pi.cocorobo.cn/"
  7725. })
  7726. _box.appendChild(_iframe);
  7727. _box.appendChild(_jie);
  7728. _formdiv = new U.UF.UI.form(
  7729. "CocoPi",
  7730. _box, {
  7731. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7732. "style": {
  7733. "width": "90%",
  7734. "height": "90%",
  7735. "overflow": 'hidden'
  7736. },
  7737. "onresize": function () { }
  7738. }, {
  7739. closecallback: function () { }
  7740. }, {
  7741. "style": {
  7742. "height": "36px"
  7743. }
  7744. }).form; //创建窗体
  7745. _taskbar = {
  7746. "id": str + _formdiv.id,
  7747. "style": {
  7748. "backgroundImage": "url(/img/icon/cocopi.png)"
  7749. },
  7750. "name": "CocoPi",
  7751. "forms": _formdiv,
  7752. "click": function () {
  7753. U.MD.D.I.openApplication(str, obj, info);
  7754. }
  7755. }
  7756. break;
  7757. }
  7758. if (_iframe) {
  7759. if (str == 'doc') {
  7760. _iframe = _formdiv.querySelector('iframe')
  7761. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7762. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7763. })
  7764. if (onloadListener) {
  7765. _iframe.contentDocument.location.reload()
  7766. } else {
  7767. _iframe.contentDocument.location.reload()
  7768. }
  7769. } else if (str == 'mind') {
  7770. _iframe = _formdiv.querySelector('iframe')
  7771. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7772. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7773. })
  7774. if (onloadListener) {
  7775. _iframe.contentDocument.location.reload()
  7776. } else {
  7777. _iframe.contentDocument.location.reload()
  7778. }
  7779. } else if (str == 'whiteboard') {
  7780. _iframe = _formdiv.querySelector('iframe')
  7781. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7782. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7783. })
  7784. if (onloadListener) {
  7785. _iframe.contentDocument.location.reload()
  7786. } else {
  7787. _iframe.contentDocument.location.reload()
  7788. }
  7789. } else if (str == 'CocoPi') {
  7790. _iframe = _formdiv.querySelector('iframe')
  7791. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7792. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7793. })
  7794. if (onloadListener) {
  7795. _iframe.contentDocument.location.reload()
  7796. } else {
  7797. _iframe.contentDocument.location.reload()
  7798. }
  7799. } else {
  7800. _iframe.onload = () => { };
  7801. }
  7802. _jie.onclick = async () => {
  7803. let text = ''
  7804. let type = '2'
  7805. if (aTool == 1) {
  7806. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7807. type = '3'
  7808. } else if (aTool == 6) {
  7809. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7810. type = '1'
  7811. } else if (aTool == 3) {
  7812. text = await U.MD.D.I.getEditorContent(_iframe);
  7813. type = '2'
  7814. } else if (aTool == 57) {
  7815. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7816. type = '4'
  7817. }
  7818. _loading.style.display = 'flex'
  7819. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7820. }
  7821. }
  7822. //U.MD.D.I.openClick(str);
  7823. //如果有任务栏信息
  7824. // if (_taskbar) {
  7825. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7826. // }
  7827. }
  7828. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7829. var xmlhttp;
  7830. var Mac, Sn, DeviceId
  7831. if (window.XMLHttpRequest) {
  7832. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7833. xmlhttp = new XMLHttpRequest();
  7834. } else {
  7835. // IE6, IE5 浏览器执行代码
  7836. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7837. }
  7838. xmlhttp.onreadystatechange = function () {
  7839. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7840. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7841. // resolve(res.value[0][0].text);
  7842. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7843. }
  7844. }
  7845. }
  7846. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7847. xmlhttp.send();
  7848. }
  7849. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7850. var xmlhttp;
  7851. var Mac, Sn, DeviceId
  7852. if (window.XMLHttpRequest) {
  7853. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7854. xmlhttp = new XMLHttpRequest();
  7855. } else {
  7856. // IE6, IE5 浏览器执行代码
  7857. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7858. }
  7859. xmlhttp.onreadystatechange = function () {
  7860. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7861. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7862. // resolve(res.value[0][0].text);
  7863. if (type == '2') {
  7864. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7865. } else if (type == '3') {
  7866. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7867. } else if (type == '4') {
  7868. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7869. }
  7870. } else {
  7871. if (type == '2') {
  7872. iframe.contentWindow.editor.minder.importData('json', '')
  7873. } else if (type == '3') {
  7874. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7875. } else if (type == '4') {
  7876. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7877. }
  7878. }
  7879. }
  7880. }
  7881. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7882. xmlhttp.send();
  7883. }
  7884. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7885. var xmlhttp;
  7886. var Mac, Sn, DeviceId
  7887. if (window.XMLHttpRequest) {
  7888. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7889. xmlhttp = new XMLHttpRequest();
  7890. } else {
  7891. // IE6, IE5 浏览器执行代码
  7892. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7893. }
  7894. xmlhttp.onreadystatechange = function () {
  7895. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7896. if (xmlhttp.response) {
  7897. // resolve(res.value[0][0].text);
  7898. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7899. // $(fileInput).val('');
  7900. // });
  7901. span.innerHTML = '上传成功'
  7902. setTimeout(() => {
  7903. loading.style.display = 'none'
  7904. }, 1000);
  7905. }
  7906. }
  7907. }
  7908. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7909. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7910. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7911. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7912. // 设置请求头,表示请求体的编码格式
  7913. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7914. // 设置请求体,使用url-encoded格式的数据
  7915. }
  7916. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7917. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7918. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7919. _userinfo = US.userInfo, //登录用户信息
  7920. _userid = US.userInfo.userid //登录用户id
  7921. let _iframe;
  7922. let _cid = cid,
  7923. _stage = stage,
  7924. _task = task,
  7925. _tool = tool;
  7926. var _jie = $$("div", {
  7927. "style": {
  7928. "position": "absolute",
  7929. "bottom": "50px",
  7930. "right": "50px",
  7931. "zIndex": "9999",
  7932. "backgroundColor": "#2268bc",
  7933. "color": "#fff",
  7934. "padding": "12px 20px",
  7935. "cursor": "pointer",
  7936. "borderRadius": "4px",
  7937. },
  7938. "innerHTML": "提交作业"
  7939. })
  7940. let aTool = ''
  7941. let _loading = document.createElement('div')
  7942. _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;"
  7943. // _loading.id = "";
  7944. let _lchild = document.createElement('div')
  7945. let _limg = document.createElement('img')
  7946. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7947. _limg.style = "width: 26px;margin-right: 10px;"
  7948. _lchild.appendChild(_limg)
  7949. let _lspan = document.createElement('span')
  7950. _lspan.innerHTML = "上传中..."
  7951. _lchild.appendChild(_lspan)
  7952. _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%);"
  7953. _loading.appendChild(_lchild)
  7954. var _box = $$('div', {
  7955. "style": {
  7956. "position": "relative",
  7957. "width": "100%",
  7958. "height": "100%",
  7959. },
  7960. })
  7961. _box.appendChild(_loading)
  7962. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7963. switch (str) {
  7964. case "CocoPi":
  7965. aTool = 57;
  7966. _iframe = $$("iframe", {
  7967. "allowpaymentrequest": "allowpaymentrequest",
  7968. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7969. "webkitallowfullscreen": "",
  7970. "mozallowfullscreen": "",
  7971. "frameborder": "no",
  7972. "border": "0",
  7973. "scrolling ": "no",
  7974. "style": {
  7975. "cssText": "border:0;width:100%;height:100%"
  7976. },
  7977. "src": "https://pi.cocorobo.cn/"
  7978. })
  7979. _box.appendChild(_iframe);
  7980. _box.appendChild(_jie);
  7981. _formdiv = new U.UF.UI.form(
  7982. "CocoPi",
  7983. _box, {
  7984. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7985. "style": {
  7986. "width": "90%",
  7987. "height": "90%",
  7988. "overflow": 'hidden'
  7989. },
  7990. "onresize": function () { }
  7991. }, {
  7992. closecallback: function () { }
  7993. }, {
  7994. "style": {
  7995. "height": "36px"
  7996. }
  7997. }).form; //创建窗体
  7998. _taskbar = {
  7999. "id": str + _formdiv.id,
  8000. "style": {
  8001. "backgroundImage": "url(/img/icon/cocopi.png)"
  8002. },
  8003. "name": "CocoPi",
  8004. "forms": _formdiv,
  8005. "click": function () {
  8006. U.MD.D.I.openApplication(str, obj, info);
  8007. }
  8008. }
  8009. break;
  8010. }
  8011. if (_iframe) {
  8012. if (str == 'CocoPi') {
  8013. _iframe = _formdiv.querySelector('iframe')
  8014. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8015. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8016. })
  8017. if (onloadListener) {
  8018. _iframe.contentDocument.location.reload()
  8019. } else {
  8020. _iframe.contentDocument.location.reload()
  8021. }
  8022. }
  8023. _jie.onclick = async () => {
  8024. let text = ''
  8025. if (aTool == 57) {
  8026. text = _iframe.contentWindow.getLoadXmlStr()
  8027. }
  8028. _loading.style.display = 'flex'
  8029. console.log(_loading);
  8030. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8031. _loading.style.display = 'none'
  8032. let _div = document.createElement('div')
  8033. _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;"
  8034. let _inner = document.createElement('div')
  8035. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8036. _inner.innerHTML = "上传成功"
  8037. _div.appendChild(_inner)
  8038. _iframe.contentWindow.window.document.body.appendChild(_div)
  8039. _div.onclick = () => {
  8040. _iframe.contentWindow.window.document.body.removeChild(_div)
  8041. }
  8042. setTimeout(() => {
  8043. _iframe.contentWindow.window.document.body.removeChild(_div)
  8044. }, 1000);
  8045. }, [], { "type": "POST", "withCredentials": true });
  8046. }
  8047. }
  8048. }
  8049. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  8050. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8051. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8052. _userid = student.userid, //登录用户id
  8053. _username = student.student //用户名字
  8054. let _iframe;
  8055. let _cid = cid,
  8056. _stage = stage,
  8057. _task = task,
  8058. _tool = tool;
  8059. var _jie = $$("div", {
  8060. "style": {
  8061. "position": "absolute",
  8062. "bottom": "50px",
  8063. "right": "50px",
  8064. "zIndex": "9999",
  8065. "backgroundColor": "#2268bc",
  8066. "color": "#fff",
  8067. "padding": "12px 20px",
  8068. "cursor": "pointer",
  8069. "borderRadius": "4px",
  8070. },
  8071. "innerHTML": "提交作业"
  8072. })
  8073. let aTool = ''
  8074. let _loading = document.createElement('div')
  8075. _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;"
  8076. // _loading.id = "";
  8077. let _lchild = document.createElement('div')
  8078. let _limg = document.createElement('img')
  8079. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8080. _limg.style = "width: 26px;margin-right: 10px;"
  8081. _lchild.appendChild(_limg)
  8082. let _lspan = document.createElement('span')
  8083. _lspan.innerHTML = "上传中..."
  8084. _lchild.appendChild(_lspan)
  8085. _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%);"
  8086. _loading.appendChild(_lchild)
  8087. var _box = $$('div', {
  8088. "style": {
  8089. "position": "relative",
  8090. "width": "100%",
  8091. "height": "100%",
  8092. },
  8093. })
  8094. _box.appendChild(_loading)
  8095. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  8096. switch (str) {
  8097. case "CocoPi":
  8098. aTool = 57;
  8099. _iframe = $$("iframe", {
  8100. "allowpaymentrequest": "allowpaymentrequest",
  8101. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8102. "webkitallowfullscreen": "",
  8103. "mozallowfullscreen": "",
  8104. "frameborder": "no",
  8105. "border": "0",
  8106. "scrolling ": "no",
  8107. "style": {
  8108. "cssText": "border:0;width:100%;height:100%"
  8109. },
  8110. "src": "https://pi.cocorobo.cn/"
  8111. })
  8112. _box.appendChild(_iframe);
  8113. _box.appendChild(_jie);
  8114. _formdiv = new U.UF.UI.form(
  8115. "CocoPi-" + _username,
  8116. _box, {
  8117. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  8118. "style": {
  8119. "width": "90%",
  8120. "height": "90%",
  8121. "overflow": 'hidden'
  8122. },
  8123. "onresize": function () { }
  8124. }, {
  8125. closecallback: function () { }
  8126. }, {
  8127. "style": {
  8128. "height": "36px"
  8129. }
  8130. }).form; //创建窗体
  8131. _taskbar = {
  8132. "id": str + _formdiv.id,
  8133. "style": {
  8134. "backgroundImage": "url(/img/icon/cocopi.png)"
  8135. },
  8136. "name": "CocoPi",
  8137. "forms": _formdiv,
  8138. "click": function () {
  8139. U.MD.D.I.openApplication(str, obj, info);
  8140. }
  8141. }
  8142. break;
  8143. }
  8144. if (_iframe) {
  8145. if (str == 'CocoPi') {
  8146. _iframe = _formdiv.querySelector('iframe')
  8147. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8148. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8149. })
  8150. if (onloadListener) {
  8151. _iframe.contentDocument.location.reload()
  8152. } else {
  8153. _iframe.contentDocument.location.reload()
  8154. }
  8155. }
  8156. _jie.onclick = async () => {
  8157. let text = ''
  8158. if (aTool == 57) {
  8159. text = _iframe.contentWindow.getLoadXmlStr()
  8160. }
  8161. _loading.style.display = 'flex'
  8162. console.log(_loading);
  8163. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8164. _loading.style.display = 'none'
  8165. let _div = document.createElement('div')
  8166. _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;"
  8167. let _inner = document.createElement('div')
  8168. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8169. _inner.innerHTML = "上传成功"
  8170. _div.appendChild(_inner)
  8171. _iframe.contentWindow.window.document.body.appendChild(_div)
  8172. _div.onclick = () => {
  8173. _iframe.contentWindow.window.document.body.removeChild(_div)
  8174. }
  8175. setTimeout(() => {
  8176. _iframe.contentWindow.window.document.body.removeChild(_div)
  8177. }, 1000);
  8178. }, [], { "type": "POST", "withCredentials": true });
  8179. }
  8180. }
  8181. }
  8182. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  8183. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  8184. if (res.value[0].length > 0) {
  8185. if (atool == 57) {
  8186. iframe.contentWindow.loadingXml(res.value[0][0].content)
  8187. }
  8188. } else {
  8189. if (atool == 57) {
  8190. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  8191. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8192. }
  8193. }
  8194. }, [], { "type": "POST", "withCredentials": true });
  8195. }