DeskTop.js 489 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  51. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  52. ];
  53. //极简模式
  54. U.MD.D.I.easyDeskIcon = [
  55. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  57. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  58. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  59. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  60. ];
  61. //教师桌面图标的全局变量
  62. U.MD.D.I.teacherDeskIcon2 = [
  63. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  64. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  65. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  66. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  67. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  68. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  69. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  70. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  71. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  72. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  73. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  74. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  75. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  76. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  77. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  78. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  79. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  80. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  81. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  82. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  83. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  84. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  85. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  86. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  87. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  88. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  89. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  90. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  91. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  92. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  93. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  94. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  95. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  96. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  97. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  98. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  99. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  100. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  101. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  102. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  103. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  104. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  105. ];
  106. U.MD.D.I.studentDeskIcon = [
  107. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  108. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  109. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  110. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  111. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  112. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  113. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  114. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  115. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  116. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  117. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  118. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  119. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  120. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  121. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  122. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  123. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  124. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  125. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  126. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  127. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  128. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  129. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  130. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  131. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  132. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  133. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  134. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  135. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  136. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  137. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  138. ];
  139. U.MD.D.I.studentDeskIcon2 = [
  140. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  141. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  142. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  143. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  144. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  145. ]
  146. U.MD.D.I.studentDeskIcon3 = [
  147. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  148. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  149. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  150. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  151. ]
  152. U.MD.D.I.schoolDeskIcon = [
  153. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  154. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  155. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  156. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  157. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  158. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  159. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  160. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  161. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  162. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  163. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  164. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  165. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  166. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  167. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  168. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  169. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  170. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  171. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  172. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  173. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  174. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  175. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  176. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  177. ];
  178. U.MD.D.I.orgDeskIcon = [
  179. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  180. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  181. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  182. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  183. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  184. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  185. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  186. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  187. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  188. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  189. ];
  190. U.MD.D.I.orgStemDeskIcon = [
  191. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  192. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  193. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  194. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  195. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  196. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  197. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  198. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  199. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  200. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  201. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  202. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  203. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  204. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  205. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  206. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  207. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  208. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  209. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  210. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  211. ];
  212. U.MD.D.I.szulsDeskIcon = [
  213. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  214. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  215. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  216. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  217. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  218. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  219. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  220. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  221. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  222. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  223. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  224. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  225. ];
  226. U.MD.D.I.hanDeskIcon = [
  227. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  228. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  229. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  230. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  231. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  232. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  233. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  234. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  235. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  236. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  237. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  238. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  239. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  240. ];
  241. U.MD.D.I.GMteacherDeskIcon = [
  242. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  243. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  244. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  245. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  246. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  247. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  248. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  249. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  250. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  251. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  252. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  253. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  254. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  255. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  256. ];
  257. U.MD.D.I.GMstudentDeskIcon = [
  258. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  259. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  260. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  261. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  262. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  263. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  264. ];
  265. //北师大
  266. U.MD.D.I.BSDNSteacherDeskIcon = [
  267. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  268. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  269. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  270. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  271. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  272. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  273. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  274. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  275. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  276. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  277. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  278. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  279. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  280. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  281. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  282. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  283. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  284. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  285. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  286. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  287. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  288. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  289. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  290. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  291. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  292. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  293. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  294. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  295. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  296. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  297. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  298. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  299. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  300. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  301. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  302. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  303. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  304. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  305. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  306. ];
  307. //松山湖
  308. U.MD.D.I.SONGteacherDeskIcon = [
  309. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  310. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  311. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  312. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  313. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  314. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  315. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  316. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  317. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  318. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  319. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  320. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  321. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  322. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  323. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  324. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  325. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  326. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  327. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  328. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  329. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  330. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  331. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  332. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  333. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  334. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  335. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  336. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  337. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  338. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  339. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  340. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  341. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  342. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  343. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  344. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  345. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  346. ];
  347. U.MD.D.I.tcStudentDeskIcon = [
  348. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  349. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  350. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  351. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  352. ];
  353. U.MD.D.I.tcTeacherDeskIcon = [
  354. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  355. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  356. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  357. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  358. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  359. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  360. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  361. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  362. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  363. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  364. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  365. ];
  366. U.MD.D.I.tcOrganizerDeskIcon = [
  367. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  368. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  369. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  370. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  371. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  372. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  373. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  374. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  375. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  376. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  377. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  378. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  379. ];
  380. U.MD.D.I.szscStudentDeskIcon = [
  381. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  382. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  383. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  384. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  385. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  386. ];
  387. U.MD.D.I.szscTeacherDeskIcon = [
  388. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  389. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  390. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  391. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  392. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  393. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  394. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  395. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  396. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  397. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  398. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  399. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  400. ];
  401. U.MD.D.I.szscOrganizerDeskIcon = [
  402. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  403. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  404. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  405. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  406. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  407. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  408. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  409. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  410. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  411. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  412. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  413. ];
  414. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  415. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  416. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  417. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  418. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  419. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  420. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  421. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  422. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  423. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  424. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  425. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  426. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  427. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  428. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  429. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  430. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  431. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  432. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  433. ];
  434. U.MD.D.I.wankeAdminDeskIcon = [
  435. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  436. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  437. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  438. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  439. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  440. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  441. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  442. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  443. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  444. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  445. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  446. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  447. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  448. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  449. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  450. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  451. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  452. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  453. ];
  454. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  455. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  456. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  457. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  458. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  459. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  460. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  461. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  462. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  463. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  464. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  465. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  466. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  467. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  468. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  469. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  470. ];
  471. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  472. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  473. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  474. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  475. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  476. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  477. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  478. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  479. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  480. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  481. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  482. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  483. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  484. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  485. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  486. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  487. ];
  488. //明德教师桌面图标的全局变量
  489. U.MD.D.I.MingdeTeacherDeskIcon = [
  490. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  491. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  492. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  493. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  494. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  495. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  496. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  497. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  498. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  499. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  500. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  501. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  502. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  503. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  504. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  505. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  506. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  507. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  508. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  509. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  510. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  511. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  512. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  513. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  514. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  515. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  516. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  517. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  518. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  519. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  520. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  521. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  522. ];
  523. //97c4ee8b-d010-4042-986d-e9d3c217264f
  524. //教师桌面图标的全局变量
  525. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  526. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  527. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  528. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  529. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  530. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  531. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  532. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  533. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  534. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  535. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  536. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  537. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  538. ];
  539. //福田
  540. U.MD.D.I.futianTeacherDeskIcon = [
  541. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  542. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  543. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  544. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  545. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  546. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  547. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  548. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  549. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  550. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  551. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  552. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  553. ];
  554. //福田
  555. U.MD.D.I.futianAdminDeskIcon = [
  556. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  557. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  558. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  559. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  560. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  561. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  562. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  563. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  564. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  565. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  566. ];
  567. //lotech
  568. U.MD.D.I.lotechTeacherDeskIcon = [
  569. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  570. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  571. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  572. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  573. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  574. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  575. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  576. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  577. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  578. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  579. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  580. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  581. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  582. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  583. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  584. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  585. ];
  586. //龙华中心小学教师桌面图标的全局变量
  587. U.MD.D.I.longhuateacherDeskIcon = [
  588. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  589. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  590. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  591. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  592. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  593. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  594. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  595. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  596. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  597. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  598. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  599. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  600. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  601. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  602. ];
  603. //教科院实小教师桌面图标的全局变量
  604. U.MD.D.I.siesteacherDeskIcon = [
  605. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  606. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  607. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  608. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  609. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  610. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  611. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  612. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  613. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  614. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  615. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  616. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  617. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  618. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  619. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  620. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  621. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  622. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  623. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  624. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  625. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  626. { "Name": "gpt4 turbo", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  627. ];
  628. //教科院实小教师桌面图标的全局变量
  629. U.MD.D.I.siesStudentDeskIcon = [
  630. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  631. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  632. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  633. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  634. ];
  635. //福田
  636. U.MD.D.I.gdjgTeacherDeskIcon = [
  637. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  638. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  639. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  640. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  641. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  642. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  643. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  644. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  645. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  646. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  647. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  648. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  649. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  650. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  651. ];
  652. //gdjg
  653. U.MD.D.I.gdjgAdminDeskIcon = [
  654. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  655. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  656. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  657. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  658. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  659. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  660. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  661. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  662. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  663. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  664. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  665. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  666. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  667. ];
  668. //hk
  669. U.MD.D.I.hkteacherDeskIcon = [
  670. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  671. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  672. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  673. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  674. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  675. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  676. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  677. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  678. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  679. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  680. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  681. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  682. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  683. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  684. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  685. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  686. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  687. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  688. ];
  689. //hk
  690. U.MD.D.I.hkStudentDeskIcon = [
  691. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  692. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  693. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  694. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  695. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  696. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  697. ];
  698. //hk
  699. U.MD.D.I.hkaceteacherDeskIcon = [
  700. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  701. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  702. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  703. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  704. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  705. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  706. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  707. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  708. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  709. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  710. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  711. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  712. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  713. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  714. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  715. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  716. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  717. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  718. ];
  719. //hk
  720. U.MD.D.I.hkaceStudentDeskIcon = [
  721. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  722. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  723. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  724. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  725. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  726. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  727. ];
  728. //香海正覺蓮社佛教正覺中學
  729. U.MD.D.I.hkZJLSteacherDeskIcon = [
  730. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  731. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  732. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  733. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  734. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  735. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  736. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  737. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  738. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  739. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  740. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  741. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  742. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  743. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  744. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  745. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  746. ];
  747. //香海正覺蓮社佛教正覺中學
  748. U.MD.D.I.hkZJLSStudentDeskIcon = [
  749. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  750. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  751. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  752. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  753. ];
  754. //云海
  755. U.MD.D.I.yunhaiTeacherDeskIcon = [
  756. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  757. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  758. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  759. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  760. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  761. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  762. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  763. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  764. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  765. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  766. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  767. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  768. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  769. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  770. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  771. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  772. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  773. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  774. ];
  775. //福田
  776. U.MD.D.I.heyuanTeacherDeskIcon = [
  777. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  778. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  779. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  780. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  781. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  782. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  783. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  784. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  785. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  786. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  787. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  788. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  789. ];
  790. //福田
  791. U.MD.D.I.heyuanAdminDeskIcon = [
  792. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  793. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  794. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  795. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  796. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  797. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  798. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  799. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  800. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  801. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  802. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  803. ];
  804. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  805. U.MD.D.I.szherTeacherDeskIcon = [
  806. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  807. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  808. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  809. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  810. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  811. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  812. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  813. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  814. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  815. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  816. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  817. ];
  818. //dsei
  819. U.MD.D.I.dseiTeacherDeskIcon = [
  820. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  821. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  822. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  823. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  824. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  825. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  826. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  827. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  828. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  829. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  830. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  831. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  832. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  833. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  834. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  835. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  836. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  837. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  838. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  839. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  840. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  841. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  842. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  843. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  844. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  845. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  846. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  847. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  848. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  849. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  850. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  851. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  852. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  853. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  854. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  855. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  856. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  857. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  858. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  859. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  860. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  861. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  862. ];
  863. //dsei
  864. U.MD.D.I.dseiAdminDeskIcon = [
  865. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  866. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  867. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  868. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  869. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  870. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  871. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  872. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  873. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  874. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  875. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  876. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  877. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  878. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  879. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  880. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  881. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  882. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  883. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  884. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  885. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  886. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  887. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  888. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  889. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  890. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  891. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  892. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  893. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  894. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  895. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  896. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  897. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  898. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  899. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  900. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  901. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  902. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  903. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  904. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  905. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  906. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  907. ];
  908. //dsei
  909. U.MD.D.I.dseiStudentDeskIcon = [
  910. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  911. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  912. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  913. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  914. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  915. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  916. ];
  917. //未来教育基地
  918. U.MD.D.I.szjkyTeacherDeskIcon = [
  919. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  920. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  921. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  922. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  923. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  924. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  925. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  926. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  927. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  928. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  929. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  930. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  931. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  932. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  933. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  934. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  935. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  936. ];
  937. //未来教育基地
  938. U.MD.D.I.szjkyAdminDeskIcon = [
  939. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  940. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  941. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  942. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  943. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  944. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  945. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  946. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  947. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  948. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  949. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  950. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  951. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  952. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  953. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  954. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  955. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  956. ];
  957. //未来教育基地
  958. U.MD.D.I.szjkyStudentDeskIcon = [
  959. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  960. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  961. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  962. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  963. ];
  964. //成华教育局
  965. U.MD.D.I.chjyjTeacherDeskIcon = [
  966. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  967. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  968. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  969. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  970. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  971. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  972. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  973. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  974. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  975. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  976. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  977. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  978. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  979. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  980. ];
  981. //成华教育局chjyj
  982. U.MD.D.I.chjyjAdminDeskIcon = [
  983. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  984. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  985. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  986. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  987. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  988. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  989. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  990. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  991. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  992. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  993. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  994. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  995. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  996. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  997. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  998. ];
  999. //成华教育局chjyj
  1000. U.MD.D.I.chjyjStudentDeskIcon = [
  1001. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1002. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1003. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1004. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1005. ];
  1006. //tpc
  1007. U.MD.D.I.tpcStudentDeskIcon = [
  1008. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1009. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1010. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1011. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1012. ];
  1013. //tpc
  1014. U.MD.D.I.tpcTeacherDeskIcon = [
  1015. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1016. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1017. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1018. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1019. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1020. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1021. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1022. ];
  1023. //tpc
  1024. U.MD.D.I.tpcAdminDeskIcon = [
  1025. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1026. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1027. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1028. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1029. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1030. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1031. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1032. ];
  1033. //THU-IOE
  1034. U.MD.D.I.thuioeTeacherDeskIcon = [
  1035. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1036. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1037. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1038. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1039. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1040. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1041. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1042. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1043. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1044. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1045. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1046. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1047. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1048. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1049. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1050. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1051. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1052. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1053. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1054. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1055. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1056. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1057. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1058. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1059. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1060. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1061. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1062. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1063. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1064. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1065. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1066. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1067. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1068. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1069. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1070. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1071. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1072. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1073. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1074. ];
  1075. //THU-IOE
  1076. U.MD.D.I.thuioeStudentDeskIcon = [
  1077. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1078. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1079. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1080. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1081. ];
  1082. //jccssyl
  1083. U.MD.D.I.jccssylTeacherDeskIcon = [
  1084. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1085. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1086. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1087. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1088. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1089. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1090. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1091. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1092. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1093. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1094. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1095. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1096. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1097. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1098. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1099. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1100. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1101. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1102. ];
  1103. //jccssyl
  1104. U.MD.D.I.jccssylStudentDeskIcon = [
  1105. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1106. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1107. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1108. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1109. ];
  1110. //#region 桌面初始化a
  1111. /**
  1112. * 初始化桌面的起始函数
  1113. *
  1114. */
  1115. U.MD.D.I.init = function () {
  1116. if ($("#U_MD_D_K")[0]) {
  1117. //初始化桌面图标
  1118. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1119. // var clickUrl = ':12588/requestIp.php';
  1120. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1121. // U.MD.D.I.Ip = data;
  1122. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1123. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1124. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1125. // })
  1126. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1127. // })
  1128. }
  1129. }
  1130. /**
  1131. * 模式切换
  1132. *
  1133. */
  1134. U.MD.D.I.ModeCheck = function (type) {
  1135. if (US.Config.type == type) {
  1136. return
  1137. }
  1138. US.Config.type = type
  1139. $('.U_PBL_Check .active')[0].className = ''
  1140. if (type == 1) {
  1141. $('.U_PBL_Check div')[0].className = 'active'
  1142. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1143. } else {
  1144. $('.U_PBL_Check div')[1].className = 'active'
  1145. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1146. }
  1147. //初始化桌面图标
  1148. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1149. if (type == 2) {
  1150. U.MD.D.I.openApplication("project")
  1151. }
  1152. }
  1153. /**
  1154. * 隐藏任务栏
  1155. *
  1156. * @param {element} 桌面元素
  1157. */
  1158. U.MD.D.I.hiddenTaskbar = function (el) {
  1159. //任务栏位置变小
  1160. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1161. //桌面的位置变大
  1162. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1163. }
  1164. /**
  1165. * 隐藏任务栏
  1166. *
  1167. * @param {element} 桌面元素
  1168. */
  1169. U.MD.D.I.hiddenTaskbarout = function (el) {
  1170. //任务栏位置变小
  1171. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1172. //任务栏位置变化
  1173. U.selectEl(el).css({ "bottom": "-60px" });
  1174. //桌面的位置变大
  1175. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1176. }
  1177. }
  1178. /**
  1179. * 初始化打印桌面图标
  1180. *
  1181. * @param {element} 桌面元素
  1182. */
  1183. U.MD.D.I.initDesktopIcons = function (el, type) {
  1184. var i, //用于循环
  1185. _content, //桌面图标元素
  1186. _iconcontent, //桌面图标元素
  1187. _frag = $$("frag"), //定义一个碎片元素
  1188. _type = US.userInfo.type,
  1189. _org = US.userInfo.org,
  1190. _oid = US.userInfo.organizeid,
  1191. _role = US.userInfo.role,
  1192. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1193. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1194. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1195. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1196. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1197. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1198. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1199. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1200. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1201. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1202. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1203. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1204. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1205. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1206. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1207. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1208. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1209. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1210. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1211. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1212. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1213. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1214. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1215. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1216. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1217. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1218. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1219. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1220. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1221. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1222. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1223. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1224. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1225. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1226. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1227. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1228. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1229. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1230. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1231. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1232. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1233. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1234. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1235. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1236. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1237. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1238. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1239. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1240. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1241. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1242. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1243. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1244. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1245. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1246. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1247. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1248. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1249. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1250. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1251. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1252. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1253. var _oidA = ['69893dca-1d47-11ed-8c78-005056b86db5', "91305d49-01ba-11ed-8c78-005056b86db5", "d9db3320-503a-11ed-8c78-005056b86db5", "05b62310-8cda-11ed-b13d-005056b86db5", '1c3b9def-8fbe-11ed-b13d-005056b86db5', '91305d49-01ba-11ed-8c78-005056b86db4', 'ea2a8c65-f38c-11ed-91d8-005056b86db5', '4c686762-1d0a-11ed-8c78-005056b86db5', 'b1095a3c-1d06-4ac8-854f-7c0d97f4ab41', '206c38d2-0cbe-11ee-91d8-005056b86db5'];
  1254. var _orgA = ["7ada499f-4ec7-11ed-8c78-005056b86db5", "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d", "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b", "150e3120-9195-11ed-b13d-005056b86db5", "ee40e8e3-e36c-4872-8105-cf395481012s", '97c4ee8b-d010-4042-986d-e9d3c217264f', 'ec0af97a-7c10-4259-a7eb-db9cc8174cdc', '4df1b570-f6ac-48fc-8d50-d0b157dae776', 'e632b86c-f89d-11ed-91d8-005056b86db5', 'b50cf65a-001c-11ee-91d8-005056b86db5', '578de748-05d2-11ee-91d8-005056b86db5', '54f09f1e-09f0-11ee-91d8-005056b86db5', '7b016f69-0f4f-11ee-91d8-005056b86db5', '1973f6c7-1561-11ee-91d8-005056b86db5', '2fa75e51-189a-11ee-91d8-005056b86db5', 'a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956','fbb00cc1-380b-4173-add4-59b3cf7682b5','63060b4a-89dc-4f0c-bf04-a1de22d479ff','777559d2-7239-11ee-b98c-005056b86db5'];
  1255. //清楚桌面图标
  1256. el.innerHTML = "";
  1257. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1258. _teacherDesktopIconInfo.push(
  1259. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1260. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } }, { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } }, { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1261. )
  1262. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1263. }
  1264. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1265. _teacherDesktopIconInfo.push(
  1266. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1267. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1268. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1269. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1270. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1271. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1272. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1273. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1274. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1275. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1276. { "Name": "gpt4 turbo", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1277. // { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1278. )
  1279. }
  1280. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1281. // _teacherDesktopIconInfo.push(
  1282. // )
  1283. // }
  1284. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1285. _teacherDesktopIconInfo.push(
  1286. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1287. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1288. )
  1289. }
  1290. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1291. _teacherDesktopIconInfo.push(
  1292. )
  1293. }
  1294. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1295. _teacherDesktopIconInfo.push(
  1296. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1297. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1298. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1299. )
  1300. _studentDesktopIconInfo.push(
  1301. )
  1302. }
  1303. //麒麟二中 和 民新小学
  1304. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1305. _teacherDesktopIconInfo.push(
  1306. )
  1307. }
  1308. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1309. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1310. _teacherDesktopIconInfo.push(
  1311. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1312. )
  1313. }
  1314. //麒麟二中
  1315. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1316. _studentDesktopIconInfo.push(
  1317. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1318. )
  1319. }
  1320. //万科双语
  1321. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1322. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1323. if (el.Name == '项目管理') {
  1324. el.Name = 'PBL项目'
  1325. }
  1326. return el
  1327. })
  1328. _studentDesktopIconInfo3.push(
  1329. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1330. )
  1331. }
  1332. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1333. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1334. return el.Name != '魔盒识字' && el.Name != '24点'
  1335. })
  1336. }
  1337. 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) {
  1338. _studentDesktopIconInfo.push(
  1339. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1340. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1341. )
  1342. }
  1343. //循环创建桌面图标
  1344. if (type == 1) {
  1345. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1346. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1347. _content = $$("div", {
  1348. className: "U_MD_D_KO",
  1349. "onmousedown": U.UF.C.closure(function (obj) {
  1350. //防止拖动图标即打开了桌面应用
  1351. U.MD.D.click(this, obj);
  1352. }, [_studentDesktopIconInfo[i]]),
  1353. "onclick": U.UF.C.closure(function (obj) {
  1354. //防止拖动图标即打开了桌面应用
  1355. U.MD.D.click(this, obj);
  1356. }, [_studentDesktopIconInfo[i]])
  1357. }, _frag); //
  1358. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1359. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1360. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1361. }
  1362. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1363. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1364. _content = $$("div", {
  1365. className: "U_MD_D_KO",
  1366. "onmousedown": U.UF.C.closure(function (obj) {
  1367. //防止拖动图标即打开了桌面应用
  1368. U.MD.D.click(this, obj);
  1369. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1370. "onclick": U.UF.C.closure(function (obj) {
  1371. //防止拖动图标即打开了桌面应用
  1372. U.MD.D.click(this, obj);
  1373. }, [_hkZJLSStudentDeskIconInfo[i]])
  1374. }, _frag); //
  1375. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1376. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1377. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1378. } //
  1379. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1380. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1381. _content = $$("div", {
  1382. className: "U_MD_D_KO",
  1383. "onmousedown": U.UF.C.closure(function (obj) {
  1384. //防止拖动图标即打开了桌面应用
  1385. U.MD.D.click(this, obj);
  1386. }, [_jccssylStudentDeskIconInfo[i]]),
  1387. "onclick": U.UF.C.closure(function (obj) {
  1388. //防止拖动图标即打开了桌面应用
  1389. U.MD.D.click(this, obj);
  1390. }, [_jccssylStudentDeskIconInfo[i]])
  1391. }, _frag); //
  1392. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1393. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1394. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1395. }
  1396. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1397. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1398. _content = $$("div", {
  1399. className: "U_MD_D_KO",
  1400. "onmousedown": U.UF.C.closure(function (obj) {
  1401. //防止拖动图标即打开了桌面应用
  1402. U.MD.D.click(this, obj);
  1403. }, [_thuioeStudentDeskIconInfo[i]]),
  1404. "onclick": U.UF.C.closure(function (obj) {
  1405. //防止拖动图标即打开了桌面应用
  1406. U.MD.D.click(this, obj);
  1407. }, [_thuioeStudentDeskIconInfo[i]])
  1408. }, _frag); //
  1409. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1410. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1411. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1412. }
  1413. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1414. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1415. _content = $$("div", {
  1416. className: "U_MD_D_KO",
  1417. "onmousedown": U.UF.C.closure(function (obj) {
  1418. //防止拖动图标即打开了桌面应用
  1419. U.MD.D.click(this, obj);
  1420. }, [_tpcStudentDeskIconInfo[i]]),
  1421. "onclick": U.UF.C.closure(function (obj) {
  1422. //防止拖动图标即打开了桌面应用
  1423. U.MD.D.click(this, obj);
  1424. }, [_tpcStudentDeskIconInfo[i]])
  1425. }, _frag); //
  1426. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1427. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1428. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1429. } //
  1430. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1431. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1432. _content = $$("div", {
  1433. className: "U_MD_D_KO",
  1434. "onmousedown": U.UF.C.closure(function (obj) {
  1435. //防止拖动图标即打开了桌面应用
  1436. U.MD.D.click(this, obj);
  1437. }, [_chjyjStudentDeskIconInfo[i]]),
  1438. "onclick": U.UF.C.closure(function (obj) {
  1439. //防止拖动图标即打开了桌面应用
  1440. U.MD.D.click(this, obj);
  1441. }, [_chjyjStudentDeskIconInfo[i]])
  1442. }, _frag); //
  1443. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1444. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1445. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1446. }
  1447. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1448. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1449. _content = $$("div", {
  1450. className: "U_MD_D_KO",
  1451. "onmousedown": U.UF.C.closure(function (obj) {
  1452. //防止拖动图标即打开了桌面应用
  1453. U.MD.D.click(this, obj);
  1454. }, [_szjkyStudentDeskIconInfo[i]]),
  1455. "onclick": U.UF.C.closure(function (obj) {
  1456. //防止拖动图标即打开了桌面应用
  1457. U.MD.D.click(this, obj);
  1458. }, [_szjkyStudentDeskIconInfo[i]])
  1459. }, _frag); //
  1460. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1461. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1462. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1463. }
  1464. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1465. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1466. _content = $$("div", {
  1467. className: "U_MD_D_KO",
  1468. "onmousedown": U.UF.C.closure(function (obj) {
  1469. //防止拖动图标即打开了桌面应用
  1470. U.MD.D.click(this, obj);
  1471. }, [_dseiStudentDeskIconInfo[i]]),
  1472. "onclick": U.UF.C.closure(function (obj) {
  1473. //防止拖动图标即打开了桌面应用
  1474. U.MD.D.click(this, obj);
  1475. }, [_dseiStudentDeskIconInfo[i]])
  1476. }, _frag); //
  1477. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1478. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1479. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1480. }
  1481. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1482. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1483. _content = $$("div", {
  1484. className: "U_MD_D_KO",
  1485. "onmousedown": U.UF.C.closure(function (obj) {
  1486. //防止拖动图标即打开了桌面应用
  1487. U.MD.D.click(this, obj);
  1488. }, [_siesStudentDeskIconInfo[i]]),
  1489. "onclick": U.UF.C.closure(function (obj) {
  1490. //防止拖动图标即打开了桌面应用
  1491. U.MD.D.click(this, obj);
  1492. }, [_siesStudentDeskIconInfo[i]])
  1493. }, _frag); //
  1494. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1495. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1496. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1497. }
  1498. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1499. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1500. _content = $$("div", {
  1501. className: "U_MD_D_KO",
  1502. "onmousedown": U.UF.C.closure(function (obj) {
  1503. //防止拖动图标即打开了桌面应用
  1504. U.MD.D.click(this, obj);
  1505. }, [_hkStudentDeskIconInfo[i]]),
  1506. "onclick": U.UF.C.closure(function (obj) {
  1507. //防止拖动图标即打开了桌面应用
  1508. U.MD.D.click(this, obj);
  1509. }, [_hkStudentDeskIconInfo[i]])
  1510. }, _frag); //
  1511. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1512. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1513. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1514. }
  1515. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1516. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1517. _content = $$("div", {
  1518. className: "U_MD_D_KO",
  1519. "onmousedown": U.UF.C.closure(function (obj) {
  1520. //防止拖动图标即打开了桌面应用
  1521. U.MD.D.click(this, obj);
  1522. }, [_hkaceStudentDeskIconInfo[i]]),
  1523. "onclick": U.UF.C.closure(function (obj) {
  1524. //防止拖动图标即打开了桌面应用
  1525. U.MD.D.click(this, obj);
  1526. }, [_hkaceStudentDeskIconInfo[i]])
  1527. }, _frag); //
  1528. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1529. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1530. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1531. }
  1532. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1533. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1534. _content = $$("div", {
  1535. className: "U_MD_D_KO",
  1536. "onmousedown": U.UF.C.closure(function (obj) {
  1537. //防止拖动图标即打开了桌面应用
  1538. U.MD.D.click(this, obj);
  1539. }, [_studentDesktopIconInfo[i]]),
  1540. "onclick": U.UF.C.closure(function (obj) {
  1541. //防止拖动图标即打开了桌面应用
  1542. U.MD.D.click(this, obj);
  1543. }, [_studentDesktopIconInfo[i]])
  1544. }, _frag); //
  1545. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1546. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1547. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1548. }
  1549. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1550. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1551. _content = $$("div", {
  1552. className: "U_MD_D_KO",
  1553. "onmousedown": U.UF.C.closure(function (obj) {
  1554. //防止拖动图标即打开了桌面应用
  1555. U.MD.D.click(this, obj);
  1556. }, [_tcStudentDeskIconInfo[i]]),
  1557. "onclick": U.UF.C.closure(function (obj) {
  1558. //防止拖动图标即打开了桌面应用
  1559. U.MD.D.click(this, obj);
  1560. }, [_tcStudentDeskIconInfo[i]])
  1561. }, _frag); //
  1562. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1563. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1564. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1565. }
  1566. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1567. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1568. _content = $$("div", {
  1569. className: "U_MD_D_KO",
  1570. "onmousedown": U.UF.C.closure(function (obj) {
  1571. //防止拖动图标即打开了桌面应用
  1572. U.MD.D.click(this, obj);
  1573. }, [_szscStudentDeskIconInfo[i]]),
  1574. "onclick": U.UF.C.closure(function (obj) {
  1575. //防止拖动图标即打开了桌面应用
  1576. U.MD.D.click(this, obj);
  1577. }, [_szscStudentDeskIconInfo[i]])
  1578. }, _frag); //
  1579. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1580. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1581. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1582. }
  1583. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1584. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1585. _content = $$("div", {
  1586. className: "U_MD_D_KO",
  1587. "onmousedown": U.UF.C.closure(function (obj) {
  1588. //防止拖动图标即打开了桌面应用
  1589. U.MD.D.click(this, obj);
  1590. }, [_studentDesktopIconInfo3[i]]),
  1591. "onclick": U.UF.C.closure(function (obj) {
  1592. //防止拖动图标即打开了桌面应用
  1593. U.MD.D.click(this, obj);
  1594. }, [_studentDesktopIconInfo3[i]])
  1595. }, _frag); //
  1596. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1597. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1598. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1599. }
  1600. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1601. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1602. _content = $$("div", {
  1603. className: "U_MD_D_KO",
  1604. "onmousedown": U.UF.C.closure(function (obj) {
  1605. //防止拖动图标即打开了桌面应用
  1606. U.MD.D.click(this, obj);
  1607. }, [_studentDesktopIconInfo2[i]]),
  1608. "onclick": U.UF.C.closure(function (obj) {
  1609. //防止拖动图标即打开了桌面应用
  1610. U.MD.D.click(this, obj);
  1611. }, [_studentDesktopIconInfo2[i]])
  1612. }, _frag); //
  1613. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1614. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1615. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1616. }
  1617. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1618. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1619. _content = $$("div", {
  1620. className: "U_MD_D_KO",
  1621. "onmousedown": U.UF.C.closure(function (obj) {
  1622. //防止拖动图标即打开了桌面应用
  1623. U.MD.D.click(this, obj);
  1624. }, [_wanketeacherDesktopIconInfo[i]]),
  1625. "onclick": U.UF.C.closure(function (obj) {
  1626. //防止拖动图标即打开了桌面应用
  1627. U.MD.D.click(this, obj);
  1628. }, [_wanketeacherDesktopIconInfo[i]])
  1629. }, _frag); //
  1630. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1631. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1632. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1633. }
  1634. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1635. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1636. _content = $$("div", {
  1637. className: "U_MD_D_KO",
  1638. "onmousedown": U.UF.C.closure(function (obj) {
  1639. //防止拖动图标即打开了桌面应用
  1640. U.MD.D.click(this, obj);
  1641. }, [_wankeAdminDesktopIconInfo[i]]),
  1642. "onclick": U.UF.C.closure(function (obj) {
  1643. //防止拖动图标即打开了桌面应用
  1644. U.MD.D.click(this, obj);
  1645. }, [_wankeAdminDesktopIconInfo[i]])
  1646. }, _frag); //
  1647. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1648. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1649. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1650. }
  1651. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1652. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1653. _content = $$("div", {
  1654. className: "U_MD_D_KO",
  1655. "onmousedown": U.UF.C.closure(function (obj) {
  1656. //防止拖动图标即打开了桌面应用
  1657. U.MD.D.click(this, obj);
  1658. }, [_jccssylTeacherDeskIconInfo[i]]),
  1659. "onclick": U.UF.C.closure(function (obj) {
  1660. //防止拖动图标即打开了桌面应用
  1661. U.MD.D.click(this, obj);
  1662. }, [_jccssylTeacherDeskIconInfo[i]])
  1663. }, _frag); //
  1664. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1665. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1666. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1667. }
  1668. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1669. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1670. _content = $$("div", {
  1671. className: "U_MD_D_KO",
  1672. "onmousedown": U.UF.C.closure(function (obj) {
  1673. //防止拖动图标即打开了桌面应用
  1674. U.MD.D.click(this, obj);
  1675. }, [_tpcOrganizerDeskIconInfo[i]]),
  1676. "onclick": U.UF.C.closure(function (obj) {
  1677. //防止拖动图标即打开了桌面应用
  1678. U.MD.D.click(this, obj);
  1679. }, [_tpcOrganizerDeskIconInfo[i]])
  1680. }, _frag); //
  1681. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1682. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1683. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1684. }
  1685. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1686. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1687. _content = $$("div", {
  1688. className: "U_MD_D_KO",
  1689. "onmousedown": U.UF.C.closure(function (obj) {
  1690. //防止拖动图标即打开了桌面应用
  1691. U.MD.D.click(this, obj);
  1692. }, [_tpcTeacherDeskIconInfo[i]]),
  1693. "onclick": U.UF.C.closure(function (obj) {
  1694. //防止拖动图标即打开了桌面应用
  1695. U.MD.D.click(this, obj);
  1696. }, [_tpcTeacherDeskIconInfo[i]])
  1697. }, _frag); //
  1698. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1699. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1700. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1701. }
  1702. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1703. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1704. _content = $$("div", {
  1705. className: "U_MD_D_KO",
  1706. "onmousedown": U.UF.C.closure(function (obj) {
  1707. //防止拖动图标即打开了桌面应用
  1708. U.MD.D.click(this, obj);
  1709. }, [_teacherDesktopIconInfo2[i]]),
  1710. "onclick": U.UF.C.closure(function (obj) {
  1711. //防止拖动图标即打开了桌面应用
  1712. U.MD.D.click(this, obj);
  1713. }, [_teacherDesktopIconInfo2[i]])
  1714. }, _frag); //
  1715. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1716. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1717. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1718. }
  1719. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1720. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1721. _content = $$("div", {
  1722. className: "U_MD_D_KO",
  1723. "onmousedown": U.UF.C.closure(function (obj) {
  1724. //防止拖动图标即打开了桌面应用
  1725. U.MD.D.click(this, obj);
  1726. }, [_thuioeTeacherDeskIconInfo[i]]),
  1727. "onclick": U.UF.C.closure(function (obj) {
  1728. //防止拖动图标即打开了桌面应用
  1729. U.MD.D.click(this, obj);
  1730. }, [_thuioeTeacherDeskIconInfo[i]])
  1731. }, _frag); //
  1732. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1733. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1734. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1735. }
  1736. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1737. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1738. _content = $$("div", {
  1739. className: "U_MD_D_KO",
  1740. "onmousedown": U.UF.C.closure(function (obj) {
  1741. //防止拖动图标即打开了桌面应用
  1742. U.MD.D.click(this, obj);
  1743. }, [_lotechTeacherDeskIconInfo[i]]),
  1744. "onclick": U.UF.C.closure(function (obj) {
  1745. //防止拖动图标即打开了桌面应用
  1746. U.MD.D.click(this, obj);
  1747. }, [_lotechTeacherDeskIconInfo[i]])
  1748. }, _frag); //
  1749. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1750. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1751. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1752. }//
  1753. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1754. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1755. _content = $$("div", {
  1756. className: "U_MD_D_KO",
  1757. "onmousedown": U.UF.C.closure(function (obj) {
  1758. //防止拖动图标即打开了桌面应用
  1759. U.MD.D.click(this, obj);
  1760. }, [_siesTeacherDeskIconInfo[i]]),
  1761. "onclick": U.UF.C.closure(function (obj) {
  1762. //防止拖动图标即打开了桌面应用
  1763. U.MD.D.click(this, obj);
  1764. }, [_siesTeacherDeskIconInfo[i]])
  1765. }, _frag); //
  1766. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1767. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1768. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1769. }
  1770. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1771. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1772. _content = $$("div", {
  1773. className: "U_MD_D_KO",
  1774. "onmousedown": U.UF.C.closure(function (obj) {
  1775. //防止拖动图标即打开了桌面应用
  1776. U.MD.D.click(this, obj);
  1777. }, [_longhuaTeacherDeskIconInfo[i]]),
  1778. "onclick": U.UF.C.closure(function (obj) {
  1779. //防止拖动图标即打开了桌面应用
  1780. U.MD.D.click(this, obj);
  1781. }, [_longhuaTeacherDeskIconInfo[i]])
  1782. }, _frag); //
  1783. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1784. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1785. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1786. }
  1787. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1788. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1789. _content = $$("div", {
  1790. className: "U_MD_D_KO",
  1791. "onmousedown": U.UF.C.closure(function (obj) {
  1792. //防止拖动图标即打开了桌面应用
  1793. U.MD.D.click(this, obj);
  1794. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1795. "onclick": U.UF.C.closure(function (obj) {
  1796. //防止拖动图标即打开了桌面应用
  1797. U.MD.D.click(this, obj);
  1798. }, [_yunhaiTeacherDeskIconInfo[i]])
  1799. }, _frag); //
  1800. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1801. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1802. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1803. } //_hkStudentDeskIconInfo
  1804. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1805. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1806. _content = $$("div", {
  1807. className: "U_MD_D_KO",
  1808. "onmousedown": U.UF.C.closure(function (obj) {
  1809. //防止拖动图标即打开了桌面应用
  1810. U.MD.D.click(this, obj);
  1811. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1812. "onclick": U.UF.C.closure(function (obj) {
  1813. //防止拖动图标即打开了桌面应用
  1814. U.MD.D.click(this, obj);
  1815. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1816. }, _frag); //
  1817. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1818. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1819. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1820. }
  1821. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1822. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1823. _content = $$("div", {
  1824. className: "U_MD_D_KO",
  1825. "onmousedown": U.UF.C.closure(function (obj) {
  1826. //防止拖动图标即打开了桌面应用
  1827. U.MD.D.click(this, obj);
  1828. }, [_hkTeacherDeskIconInfo[i]]),
  1829. "onclick": U.UF.C.closure(function (obj) {
  1830. //防止拖动图标即打开了桌面应用
  1831. U.MD.D.click(this, obj);
  1832. }, [_hkTeacherDeskIconInfo[i]])
  1833. }, _frag); //
  1834. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1835. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1836. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1837. }
  1838. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1839. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  1840. _content = $$("div", {
  1841. className: "U_MD_D_KO",
  1842. "onmousedown": U.UF.C.closure(function (obj) {
  1843. //防止拖动图标即打开了桌面应用
  1844. U.MD.D.click(this, obj);
  1845. }, [_hkaceTeacherDeskIconInfo[i]]),
  1846. "onclick": U.UF.C.closure(function (obj) {
  1847. //防止拖动图标即打开了桌面应用
  1848. U.MD.D.click(this, obj);
  1849. }, [_hkaceTeacherDeskIconInfo[i]])
  1850. }, _frag); //
  1851. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1852. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  1853. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  1854. }
  1855. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1856. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1857. _content = $$("div", {
  1858. className: "U_MD_D_KO",
  1859. "onmousedown": U.UF.C.closure(function (obj) {
  1860. //防止拖动图标即打开了桌面应用
  1861. U.MD.D.click(this, obj);
  1862. }, [_gdjgAdminDeskIconInfo[i]]),
  1863. "onclick": U.UF.C.closure(function (obj) {
  1864. //防止拖动图标即打开了桌面应用
  1865. U.MD.D.click(this, obj);
  1866. }, [_gdjgAdminDeskIconInfo[i]])
  1867. }, _frag); //
  1868. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1869. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1870. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1871. }
  1872. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1873. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1874. _content = $$("div", {
  1875. className: "U_MD_D_KO",
  1876. "onmousedown": U.UF.C.closure(function (obj) {
  1877. //防止拖动图标即打开了桌面应用
  1878. U.MD.D.click(this, obj);
  1879. }, [_gdjgTeacherDeskIconInfo[i]]),
  1880. "onclick": U.UF.C.closure(function (obj) {
  1881. //防止拖动图标即打开了桌面应用
  1882. U.MD.D.click(this, obj);
  1883. }, [_gdjgTeacherDeskIconInfo[i]])
  1884. }, _frag); //
  1885. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1886. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1887. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1888. }
  1889. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1890. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1891. _content = $$("div", {
  1892. className: "U_MD_D_KO",
  1893. "onmousedown": U.UF.C.closure(function (obj) {
  1894. //防止拖动图标即打开了桌面应用
  1895. U.MD.D.click(this, obj);
  1896. }, [_szherTeacherDeskIconInfo[i]]),
  1897. "onclick": U.UF.C.closure(function (obj) {
  1898. //防止拖动图标即打开了桌面应用
  1899. U.MD.D.click(this, obj);
  1900. }, [_szherTeacherDeskIconInfo[i]])
  1901. }, _frag); //
  1902. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1903. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1904. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1905. }
  1906. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1907. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1908. _content = $$("div", {
  1909. className: "U_MD_D_KO",
  1910. "onmousedown": U.UF.C.closure(function (obj) {
  1911. //防止拖动图标即打开了桌面应用
  1912. U.MD.D.click(this, obj);
  1913. }, [_heyuannAdminDeskIconInfo[i]]),
  1914. "onclick": U.UF.C.closure(function (obj) {
  1915. //防止拖动图标即打开了桌面应用
  1916. U.MD.D.click(this, obj);
  1917. }, [_heyuannAdminDeskIconInfo[i]])
  1918. }, _frag); //
  1919. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1920. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1921. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1922. }
  1923. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1924. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1925. _content = $$("div", {
  1926. className: "U_MD_D_KO",
  1927. "onmousedown": U.UF.C.closure(function (obj) {
  1928. //防止拖动图标即打开了桌面应用
  1929. U.MD.D.click(this, obj);
  1930. }, [_heyuanTeacherDeskIconInfo[i]]),
  1931. "onclick": U.UF.C.closure(function (obj) {
  1932. //防止拖动图标即打开了桌面应用
  1933. U.MD.D.click(this, obj);
  1934. }, [_heyuanTeacherDeskIconInfo[i]])
  1935. }, _frag); //
  1936. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1937. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1938. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1939. } //
  1940. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1941. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1942. _content = $$("div", {
  1943. className: "U_MD_D_KO",
  1944. "onmousedown": U.UF.C.closure(function (obj) {
  1945. //防止拖动图标即打开了桌面应用
  1946. U.MD.D.click(this, obj);
  1947. }, [_dseiAdminDeskIconInfo[i]]),
  1948. "onclick": U.UF.C.closure(function (obj) {
  1949. //防止拖动图标即打开了桌面应用
  1950. U.MD.D.click(this, obj);
  1951. }, [_dseiAdminDeskIconInfo[i]])
  1952. }, _frag); //
  1953. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1954. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1955. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1956. }
  1957. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1958. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1959. _content = $$("div", {
  1960. className: "U_MD_D_KO",
  1961. "onmousedown": U.UF.C.closure(function (obj) {
  1962. //防止拖动图标即打开了桌面应用
  1963. U.MD.D.click(this, obj);
  1964. }, [_dseiTeacherDeskIconInfo[i]]),
  1965. "onclick": U.UF.C.closure(function (obj) {
  1966. //防止拖动图标即打开了桌面应用
  1967. U.MD.D.click(this, obj);
  1968. }, [_dseiTeacherDeskIconInfo[i]])
  1969. }, _frag); //
  1970. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1971. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1972. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1973. } //
  1974. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1975. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1976. _content = $$("div", {
  1977. className: "U_MD_D_KO",
  1978. "onmousedown": U.UF.C.closure(function (obj) {
  1979. //防止拖动图标即打开了桌面应用
  1980. U.MD.D.click(this, obj);
  1981. }, [_chjyjAdminDeskIconInfo[i]]),
  1982. "onclick": U.UF.C.closure(function (obj) {
  1983. //防止拖动图标即打开了桌面应用
  1984. U.MD.D.click(this, obj);
  1985. }, [_chjyjAdminDeskIconInfo[i]])
  1986. }, _frag); //
  1987. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1988. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1989. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1990. }//
  1991. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1992. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1993. _content = $$("div", {
  1994. className: "U_MD_D_KO",
  1995. "onmousedown": U.UF.C.closure(function (obj) {
  1996. //防止拖动图标即打开了桌面应用
  1997. U.MD.D.click(this, obj);
  1998. }, [_chjyjTeacherDeskIconInfo[i]]),
  1999. "onclick": U.UF.C.closure(function (obj) {
  2000. //防止拖动图标即打开了桌面应用
  2001. U.MD.D.click(this, obj);
  2002. }, [_chjyjTeacherDeskIconInfo[i]])
  2003. }, _frag); //
  2004. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2005. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2006. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2007. }
  2008. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2009. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2010. _content = $$("div", {
  2011. className: "U_MD_D_KO",
  2012. "onmousedown": U.UF.C.closure(function (obj) {
  2013. //防止拖动图标即打开了桌面应用
  2014. U.MD.D.click(this, obj);
  2015. }, [_szjkyAdminDeskIconInfo[i]]),
  2016. "onclick": U.UF.C.closure(function (obj) {
  2017. //防止拖动图标即打开了桌面应用
  2018. U.MD.D.click(this, obj);
  2019. }, [_szjkyAdminDeskIconInfo[i]])
  2020. }, _frag); //
  2021. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2022. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2023. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2024. }//
  2025. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2026. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2027. _content = $$("div", {
  2028. className: "U_MD_D_KO",
  2029. "onmousedown": U.UF.C.closure(function (obj) {
  2030. //防止拖动图标即打开了桌面应用
  2031. U.MD.D.click(this, obj);
  2032. }, [_szjkyTeacherDeskIconInfo[i]]),
  2033. "onclick": U.UF.C.closure(function (obj) {
  2034. //防止拖动图标即打开了桌面应用
  2035. U.MD.D.click(this, obj);
  2036. }, [_szjkyTeacherDeskIconInfo[i]])
  2037. }, _frag); //
  2038. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2039. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2040. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2041. }
  2042. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2043. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2044. _content = $$("div", {
  2045. className: "U_MD_D_KO",
  2046. "onmousedown": U.UF.C.closure(function (obj) {
  2047. //防止拖动图标即打开了桌面应用
  2048. U.MD.D.click(this, obj);
  2049. }, [_futianAdminDeskIconInfo[i]]),
  2050. "onclick": U.UF.C.closure(function (obj) {
  2051. //防止拖动图标即打开了桌面应用
  2052. U.MD.D.click(this, obj);
  2053. }, [_futianAdminDeskIconInfo[i]])
  2054. }, _frag); //
  2055. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2056. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2057. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2058. }
  2059. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2060. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2061. _content = $$("div", {
  2062. className: "U_MD_D_KO",
  2063. "onmousedown": U.UF.C.closure(function (obj) {
  2064. //防止拖动图标即打开了桌面应用
  2065. U.MD.D.click(this, obj);
  2066. }, [_futianTeacherDeskIconInfo[i]]),
  2067. "onclick": U.UF.C.closure(function (obj) {
  2068. //防止拖动图标即打开了桌面应用
  2069. U.MD.D.click(this, obj);
  2070. }, [_futianTeacherDeskIconInfo[i]])
  2071. }, _frag); //
  2072. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2073. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2074. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2075. }
  2076. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2077. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2078. _content = $$("div", {
  2079. className: "U_MD_D_KO",
  2080. "onmousedown": U.UF.C.closure(function (obj) {
  2081. //防止拖动图标即打开了桌面应用
  2082. U.MD.D.click(this, obj);
  2083. }, [_MingdeTeacherDeskIcon[i]]),
  2084. "onclick": U.UF.C.closure(function (obj) {
  2085. //防止拖动图标即打开了桌面应用
  2086. U.MD.D.click(this, obj);
  2087. }, [_MingdeTeacherDeskIcon[i]])
  2088. }, _frag); //
  2089. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2090. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2091. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2092. }
  2093. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2094. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2095. _content = $$("div", {
  2096. className: "U_MD_D_KO",
  2097. "onmousedown": U.UF.C.closure(function (obj) {
  2098. //防止拖动图标即打开了桌面应用
  2099. U.MD.D.click(this, obj);
  2100. }, [_lhsAdminDesktopIconInfo[i]]),
  2101. "onclick": U.UF.C.closure(function (obj) {
  2102. //防止拖动图标即打开了桌面应用
  2103. U.MD.D.click(this, obj);
  2104. }, [_lhsAdminDesktopIconInfo[i]])
  2105. }, _frag); //
  2106. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2107. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2108. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2109. }
  2110. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2111. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2112. _content = $$("div", {
  2113. className: "U_MD_D_KO",
  2114. "onmousedown": U.UF.C.closure(function (obj) {
  2115. //防止拖动图标即打开了桌面应用
  2116. U.MD.D.click(this, obj);
  2117. }, [_lhsteacherDesktopIconInfo[i]]),
  2118. "onclick": U.UF.C.closure(function (obj) {
  2119. //防止拖动图标即打开了桌面应用
  2120. U.MD.D.click(this, obj);
  2121. }, [_lhsteacherDesktopIconInfo[i]])
  2122. }, _frag); //
  2123. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2124. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2125. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2126. }
  2127. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2128. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2129. _content = $$("div", {
  2130. className: "U_MD_D_KO",
  2131. "onmousedown": U.UF.C.closure(function (obj) {
  2132. //防止拖动图标即打开了桌面应用
  2133. U.MD.D.click(this, obj);
  2134. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2135. "onclick": U.UF.C.closure(function (obj) {
  2136. //防止拖动图标即打开了桌面应用
  2137. U.MD.D.click(this, obj);
  2138. }, [_zhoujiateacherDesktopIconInfo[i]])
  2139. }, _frag); //
  2140. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2141. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2142. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2143. }
  2144. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2145. for (i = 0; i < _hanDeskIcon.length; i++) {
  2146. _content = $$("div", {
  2147. className: "U_MD_D_KO",
  2148. "onmousedown": U.UF.C.closure(function (obj) {
  2149. //防止拖动图标即打开了桌面应用
  2150. U.MD.D.click(this, obj);
  2151. }, [_hanDeskIcon[i]]),
  2152. "onclick": U.UF.C.closure(function (obj) {
  2153. //防止拖动图标即打开了桌面应用
  2154. U.MD.D.click(this, obj);
  2155. }, [_hanDeskIcon[i]])
  2156. }, _frag); //
  2157. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2158. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2159. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2160. }
  2161. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2162. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2163. _content = $$("div", {
  2164. className: "U_MD_D_KO",
  2165. "onmousedown": U.UF.C.closure(function (obj) {
  2166. //防止拖动图标即打开了桌面应用
  2167. U.MD.D.click(this, obj);
  2168. }, [_orgStemDeskIcon[i]]),
  2169. "onclick": U.UF.C.closure(function (obj) {
  2170. //防止拖动图标即打开了桌面应用
  2171. U.MD.D.click(this, obj);
  2172. }, [_orgStemDeskIcon[i]])
  2173. }, _frag); //
  2174. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2175. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2176. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2177. }
  2178. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2179. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2180. _content = $$("div", {
  2181. className: "U_MD_D_KO",
  2182. "onmousedown": U.UF.C.closure(function (obj) {
  2183. //防止拖动图标即打开了桌面应用
  2184. U.MD.D.click(this, obj);
  2185. }, [_szulsDeskIcon[i]]),
  2186. "onclick": U.UF.C.closure(function (obj) {
  2187. //防止拖动图标即打开了桌面应用
  2188. U.MD.D.click(this, obj);
  2189. }, [_szulsDeskIcon[i]])
  2190. }, _frag); //
  2191. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2192. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2193. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2194. }
  2195. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2196. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2197. _content = $$("div", {
  2198. className: "U_MD_D_KO",
  2199. "onmousedown": U.UF.C.closure(function (obj) {
  2200. //防止拖动图标即打开了桌面应用
  2201. U.MD.D.click(this, obj);
  2202. }, [_orgDesktopIconInfo[i]]),
  2203. "onclick": U.UF.C.closure(function (obj) {
  2204. //防止拖动图标即打开了桌面应用
  2205. U.MD.D.click(this, obj);
  2206. }, [_orgDesktopIconInfo[i]])
  2207. }, _frag); //
  2208. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2209. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2210. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2211. }
  2212. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2213. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2214. _content = $$("div", {
  2215. className: "U_MD_D_KO",
  2216. "onmousedown": U.UF.C.closure(function (obj) {
  2217. //防止拖动图标即打开了桌面应用
  2218. U.MD.D.click(this, obj);
  2219. }, [_schoolDesktopIconInfo[i]]),
  2220. "onclick": U.UF.C.closure(function (obj) {
  2221. //防止拖动图标即打开了桌面应用
  2222. U.MD.D.click(this, obj);
  2223. }, [_schoolDesktopIconInfo[i]])
  2224. }, _frag); //
  2225. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2226. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2227. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2228. }
  2229. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2230. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2231. _content = $$("div", {
  2232. className: "U_MD_D_KO",
  2233. "onmousedown": U.UF.C.closure(function (obj) {
  2234. //防止拖动图标即打开了桌面应用
  2235. U.MD.D.click(this, obj);
  2236. }, [_GMteacherDesktopIconInfo[i]]),
  2237. "onclick": U.UF.C.closure(function (obj) {
  2238. //防止拖动图标即打开了桌面应用
  2239. U.MD.D.click(this, obj);
  2240. }, [_GMteacherDesktopIconInfo[i]])
  2241. }, _frag); //
  2242. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2243. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2244. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2245. }
  2246. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2247. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2248. _content = $$("div", {
  2249. className: "U_MD_D_KO",
  2250. "onmousedown": U.UF.C.closure(function (obj) {
  2251. //防止拖动图标即打开了桌面应用
  2252. U.MD.D.click(this, obj);
  2253. }, [_SONGteacherDesktopIconInfo[i]]),
  2254. "onclick": U.UF.C.closure(function (obj) {
  2255. //防止拖动图标即打开了桌面应用
  2256. U.MD.D.click(this, obj);
  2257. }, [_SONGteacherDesktopIconInfo[i]])
  2258. }, _frag); //
  2259. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2260. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2261. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2262. }
  2263. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2264. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2265. _content = $$("div", {
  2266. className: "U_MD_D_KO",
  2267. "onmousedown": U.UF.C.closure(function (obj) {
  2268. //防止拖动图标即打开了桌面应用
  2269. U.MD.D.click(this, obj);
  2270. }, [_GMstudentDesktopIconInfo[i]]),
  2271. "onclick": U.UF.C.closure(function (obj) {
  2272. //防止拖动图标即打开了桌面应用
  2273. U.MD.D.click(this, obj);
  2274. }, [_GMstudentDesktopIconInfo[i]])
  2275. }, _frag); //
  2276. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2277. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2278. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2279. }
  2280. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2281. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2282. _content = $$("div", {
  2283. className: "U_MD_D_KO",
  2284. "onmousedown": U.UF.C.closure(function (obj) {
  2285. //防止拖动图标即打开了桌面应用
  2286. U.MD.D.click(this, obj);
  2287. }, [_tcTeacherDeskIconInfo[i]]),
  2288. "onclick": U.UF.C.closure(function (obj) {
  2289. //防止拖动图标即打开了桌面应用
  2290. U.MD.D.click(this, obj);
  2291. }, [_tcTeacherDeskIconInfo[i]])
  2292. }, _frag); //
  2293. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2294. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2295. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2296. }
  2297. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2298. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2299. _content = $$("div", {
  2300. className: "U_MD_D_KO",
  2301. "onmousedown": U.UF.C.closure(function (obj) {
  2302. //防止拖动图标即打开了桌面应用
  2303. U.MD.D.click(this, obj);
  2304. }, [_tcOrganizerDeskIconInfo[i]]),
  2305. "onclick": U.UF.C.closure(function (obj) {
  2306. //防止拖动图标即打开了桌面应用
  2307. U.MD.D.click(this, obj);
  2308. }, [_tcOrganizerDeskIconInfo[i]])
  2309. }, _frag); //
  2310. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2311. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2312. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2313. }
  2314. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2315. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2316. _content = $$("div", {
  2317. className: "U_MD_D_KO",
  2318. "onmousedown": U.UF.C.closure(function (obj) {
  2319. //防止拖动图标即打开了桌面应用
  2320. U.MD.D.click(this, obj);
  2321. }, [_szscTeacherDeskIconInfo[i]]),
  2322. "onclick": U.UF.C.closure(function (obj) {
  2323. //防止拖动图标即打开了桌面应用
  2324. U.MD.D.click(this, obj);
  2325. }, [_szscTeacherDeskIconInfo[i]])
  2326. }, _frag); //
  2327. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2328. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2329. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2330. }
  2331. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2332. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2333. _content = $$("div", {
  2334. className: "U_MD_D_KO",
  2335. "onmousedown": U.UF.C.closure(function (obj) {
  2336. //防止拖动图标即打开了桌面应用
  2337. U.MD.D.click(this, obj);
  2338. }, [_szscOrganizerDeskIconInfo[i]]),
  2339. "onclick": U.UF.C.closure(function (obj) {
  2340. //防止拖动图标即打开了桌面应用
  2341. U.MD.D.click(this, obj);
  2342. }, [_szscOrganizerDeskIconInfo[i]])
  2343. }, _frag); //
  2344. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2345. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2346. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2347. }
  2348. } else {
  2349. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2350. _content = $$("div", {
  2351. className: "U_MD_D_KO",
  2352. "onmousedown": U.UF.C.closure(function (obj) {
  2353. //防止拖动图标即打开了桌面应用
  2354. U.MD.D.click(this, obj);
  2355. }, [_teacherDesktopIconInfo[i]]),
  2356. "onclick": U.UF.C.closure(function (obj) {
  2357. //防止拖动图标即打开了桌面应用
  2358. U.MD.D.click(this, obj);
  2359. }, [_teacherDesktopIconInfo[i]])
  2360. }, _frag); //
  2361. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2362. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2363. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2364. }
  2365. }
  2366. } else {
  2367. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2368. _content = $$("div", {
  2369. className: "U_MD_D_KO",
  2370. style: { 'width': '124px', 'height': '145px' },
  2371. "onmousedown": U.UF.C.closure(function (obj) {
  2372. //防止拖动图标即打开了桌面应用
  2373. U.MD.D.click(this, obj);
  2374. }, [_easyDesktopIconInfo[i]]),
  2375. "onclick": U.UF.C.closure(function (obj) {
  2376. //防止拖动图标即打开了桌面应用
  2377. U.MD.D.click(this, obj);
  2378. }, [_easyDesktopIconInfo[i]])
  2379. }, _frag); //
  2380. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2381. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2382. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2383. }
  2384. }
  2385. if (type == 1) {
  2386. //加载好后给图标定位
  2387. U.MD.D.iconPostion($(_frag).Child());
  2388. } else {
  2389. //加载好后给图标定位
  2390. U.MD.D.iconPostion2($(_frag).Child());
  2391. }
  2392. //把图标加载到页面
  2393. el.appendChild(_frag);
  2394. }
  2395. /**
  2396. * 显示任务栏
  2397. *
  2398. * @param {element} 桌面元素
  2399. */
  2400. U.MD.D.I.displayTaskbar = function (el) {
  2401. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2402. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2403. //任务栏位置变化
  2404. U.selectEl(el).css({ "bottom": "0px" });
  2405. //桌面位置变话
  2406. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2407. }
  2408. }
  2409. //#region 桌面图标拖动逻辑
  2410. /**
  2411. * 桌面排列图标
  2412. *
  2413. * @param {element} 桌面元素
  2414. * @param {object} 上下相距的距离
  2415. * @param {object} 左右相距的距离
  2416. * @return {object} 命名空间
  2417. */
  2418. U.MD.D.iconPostion = function (childs, top, left) {
  2419. var i; //用于循环处理
  2420. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2421. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2422. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2423. for (i = 0; i < childs.length; i++) {
  2424. //如果竖排top超过了范围处理
  2425. if (top + 95 > US.height - 10) {
  2426. //left超过了页面范围处理,则向上重叠打印处理
  2427. if ((left + 180) > US.width) {
  2428. top -= 110;
  2429. left -= 90;
  2430. }
  2431. //没有超过范围,那么left+90添加到下一个竖排打印
  2432. else {
  2433. left += 90;
  2434. top = 15;
  2435. };
  2436. }
  2437. //给图标的位置赋值
  2438. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2439. if (i < childs.length - 1) {
  2440. //页面图标每次向下加95
  2441. top += 95;
  2442. }
  2443. }
  2444. //返回最后调用的图标的位置
  2445. return [top, left];
  2446. }
  2447. /**
  2448. * 桌面排列图标
  2449. *
  2450. * @param {element} 桌面元素
  2451. * @param {object} 上下相距的距离
  2452. * @param {object} 左右相距的距离
  2453. * @return {object} 命名空间
  2454. */
  2455. U.MD.D.iconPostion2 = function (childs, top, left) {
  2456. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2457. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2458. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2459. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2460. for (i = 0; i < childs.length; i++) {
  2461. //如果竖排top超过了范围处理
  2462. if (left + 150 > US.width - 10) {
  2463. //left超过了页面范围处理,则向上重叠打印处理
  2464. if ((top + 180) > US.Height) {
  2465. top -= 150;
  2466. left -= 150;
  2467. }
  2468. //没有超过范围,那么left+90添加到下一个竖排打印
  2469. else {
  2470. top += 150;
  2471. left = ol;
  2472. };
  2473. }
  2474. //给图标的位置赋值
  2475. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2476. if (i < childs.length - 1) {
  2477. //页面图标每次向下加95
  2478. left += 150;
  2479. }
  2480. }
  2481. //返回最后调用的图标的位置
  2482. return [top, left];
  2483. }
  2484. /**
  2485. * 桌面点击事件逻辑
  2486. *
  2487. * @param {element} 桌面元素
  2488. * @param {object} 上下相距的距离
  2489. * @param {object} 左右相距的距离
  2490. * @return {object} 命名空间
  2491. */
  2492. U.MD.D.click = function (el, obj) {
  2493. var _buttonnumber = event.button; //点击的按钮的事件值
  2494. var _userinfo = US.userInfo;
  2495. U.UF.EV.stopBubble(); //阻止向上冒泡
  2496. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2497. if (_buttonnumber < 2) {
  2498. //如果是click事件的处理
  2499. if (event.type == "click") {
  2500. //如果元素在mousemove事件中没有移动则出发click事件
  2501. if (!U.MD.D.I.IsDrag) {
  2502. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2503. U.alert("请先登录您的账号!");
  2504. setTimeout(() => {
  2505. U.MD.U.L.login();
  2506. }, 2000);
  2507. } else {
  2508. //打开应用处理
  2509. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2510. }
  2511. }
  2512. }
  2513. //如果是mouse事件的处理
  2514. else {
  2515. if (US.Config.type == '1') {
  2516. //拖动处理,添加拖动和拖动结束事件
  2517. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2518. }
  2519. }
  2520. U.MD.D.I.IsDrag = false;
  2521. }
  2522. }
  2523. /**
  2524. * 拖动的处理
  2525. *
  2526. */
  2527. U.MD.D.iconMove = function () {
  2528. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2529. U.MD.D.I.IsDrag = true;
  2530. }
  2531. /**
  2532. * 拖动结束后,这里是定位处理,以网状的形式定位
  2533. *
  2534. * @param {element} 拖动的元素
  2535. * @return {object} 命名空间
  2536. */
  2537. U.MD.D.iconUp = function (el) {
  2538. var _top = 15,
  2539. _left = 20,
  2540. _margin,
  2541. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2542. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2543. if (_positioninfo["OT"] > 15) {
  2544. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2545. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2546. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2547. }
  2548. if (_positioninfo["OL"] > 20) {
  2549. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2550. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2551. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2552. }
  2553. //while循环判断么一个重叠的元素
  2554. do {
  2555. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2556. _top = _positioninfo[0] + 95; //得到定位后的top
  2557. _left = _positioninfo[1]; //得到定位后的left
  2558. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2559. }
  2560. /**
  2561. * 判断拖动后图标是否重叠
  2562. *
  2563. * @param {element} 拖动的元素
  2564. * @param {element} 桌面所有的元素
  2565. * @param {array} 拖动元素的位置
  2566. ----------[0] 上 top
  2567. ----------[1] 左 left
  2568. * @return {object} 命名空间
  2569. */
  2570. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2571. //循环所有的图标
  2572. for (var i = 0; i < childs.length; i++) {
  2573. //判断有没有和该图标诶子重叠的元素
  2574. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2575. return childs[i]; //如果有返回
  2576. }
  2577. }
  2578. }
  2579. //#endregion
  2580. //#endregion
  2581. //#region 桌面应用
  2582. /**
  2583. * 打开应用
  2584. *
  2585. * @param {string} 类型
  2586. -----------------Disk 网盘系统
  2587. -----------------PDisk 学习系统网盘
  2588. -----------------Poto 图片
  2589. -----------------Video 视频
  2590. -----------------Music 音乐
  2591. -----------------Word word
  2592. -----------------Excel excel
  2593. -----------------Txt 记事本
  2594. -----------------PB 学习系统
  2595. -----------------Blog 朋友圈系统
  2596. -----------------FTP ftp系统
  2597. -----------------Group 好友群
  2598. -----------------SY 首页系统
  2599. -----------------Set 个人设置
  2600. -----------------XSet 系统设置
  2601. -----------------App 我们所有的app
  2602. -----------------BC c.1473.cn 平台
  2603. -----------------CWeb d.1473.cn 变成平台
  2604. -----------------其他的外联系统 我们统一用iframe打开
  2605. * @param {array} 类型
  2606. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2607. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2608. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2609. 如果第一个参数为其他,则无第二个参数
  2610. * @returns {array}
  2611. */
  2612. window.addEventListener('message', function (e) { // 监听 message 事件
  2613. // alert(e.data.type);
  2614. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2615. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2616. //3是展示全部阶段 2学生 1老师 4专家
  2617. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2618. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2619. //3是展示全部阶段 2学生 1老师 4专家
  2620. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2621. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2622. //3是展示全部阶段 2学生 1老师 4专家
  2623. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2624. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2625. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2626. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2627. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2628. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2629. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2630. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2631. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2632. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2633. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2634. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2635. //3是展示全部阶段 2学生 1老师 4专家
  2636. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2637. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2638. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2639. U.MD.D.I.selectUser();
  2640. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2641. var _formel = document.getElementById("study");
  2642. U.UF.F.windowZooming(_formel);
  2643. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2644. var _formel = document.getElementById("studyDetail");
  2645. U.UF.F.windowZooming(_formel);
  2646. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2647. var _formel = document.getElementById("studyDetail");
  2648. U.UF.F.windowZooming(_formel);
  2649. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2650. var _formel = document.getElementById("studentStudy");
  2651. U.UF.F.windowZooming(_formel);
  2652. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2653. // var _formel = document.getElementById("study");
  2654. //如果最大化了,那么就把他缩小
  2655. // if (_formel.ismaximize) {
  2656. // return;
  2657. // }
  2658. // U.UF.F.windowZooming(_formel);
  2659. // U.UF.F.topWindow(_formel);
  2660. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2661. // var _formel = document.getElementById("studyDetail");
  2662. //如果最大化了,那么就把他缩小
  2663. // if (_formel.ismaximize) {
  2664. // return;
  2665. // }
  2666. // U.UF.F.windowZooming(_formel);
  2667. // U.UF.F.topWindow(_formel);
  2668. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2669. // var _formel = document.getElementById("studentStudy");
  2670. // if (_formel.ismaximize) {
  2671. // return;
  2672. // }
  2673. // U.UF.F.windowZooming(_formel);
  2674. // U.UF.F.topWindow(_formel);
  2675. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2676. var _formel = document.getElementById("study");
  2677. // if (_formel.ismaximize) {
  2678. // return;
  2679. // }
  2680. // U.UF.F.windowZooming(_formel);
  2681. U.UF.F.topWindow(_formel);
  2682. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2683. var _formel = document.getElementById("studentIndex");
  2684. U.UF.F.windowZooming(_formel);
  2685. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2686. var _formel = document.getElementById("studyDetailS");
  2687. U.UF.F.windowZooming(_formel);
  2688. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2689. var _formel = document.getElementById("studioIndex");
  2690. U.UF.F.windowZooming(_formel);
  2691. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2692. var _formel = document.getElementById("studyDetailStudio");
  2693. U.UF.F.windowZooming(_formel);
  2694. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2695. var _formel = document.getElementById("studyDetailStudio");
  2696. U.UF.F.windowZooming(_formel);
  2697. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2698. var _formel = document.getElementById("studyDetailNT");
  2699. U.UF.F.windowZooming(_formel);
  2700. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2701. var _formel = document.getElementById("studyDetailS");
  2702. U.UF.F.windowZooming(_formel);
  2703. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2704. var _formel = document.getElementById("studyDetailS");
  2705. U.UF.F.topWindow(_formel);
  2706. } else if (e.data.tools && e.data.tools == "1") {
  2707. // U.MD.D.I.openApplication("whiteboard")
  2708. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2709. } else if (e.data.tools && e.data.tools == "2") {
  2710. U.MD.D.I.openApplication("note")
  2711. } else if (e.data.tools && e.data.tools == "3") {
  2712. // U.MD.D.I.openApplication("mind")
  2713. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2714. } else if (e.data.tools && e.data.tools == "4") {
  2715. U.MD.D.I.openApplication("investigation")
  2716. } else if (e.data.tools && e.data.tools == "6") {
  2717. // U.MD.D.I.openApplication("doc")
  2718. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2719. } else if (e.data.tools && e.data.tools == "7") {
  2720. // U.MD.D.I.openApplication("mindNetwork")
  2721. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2722. } else if (e.data.tools && e.data.tools == "8") {
  2723. U.MD.D.I.openApplication("library")
  2724. } else if (e.data.tools && e.data.tools == "17") {
  2725. U.MD.D.I.openApplication("stuLibrary")
  2726. } else if (e.data.tools && e.data.tools == "18") {
  2727. U.MD.D.I.openApplication("train")
  2728. } else if (e.data.tools && e.data.tools == "21") {
  2729. U.MD.D.I.openApplication("program")
  2730. } else if (e.data.tools && e.data.tools == "22") {
  2731. U.MD.D.I.openApplication("AIprogram2")
  2732. } else if (e.data.tools && e.data.tools == "23") {
  2733. U.MD.D.I.openApplication("Pythonprogram")
  2734. } else if (e.data.tools && e.data.tools == "24") {
  2735. U.MD.D.I.openApplication("AIprogram")
  2736. } else if (e.data.tools && e.data.tools == "25") {
  2737. U.MD.D.I.openApplication("sys")
  2738. } else if (e.data.tools && e.data.tools == "26") {
  2739. // U.MD.D.I.openApplication("courseDesign")
  2740. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2741. } else if (e.data.tools && e.data.tools == "31") {
  2742. U.MD.D.I.openApplication("netWorkPanel")
  2743. } else if (e.data.tools && e.data.tools == "32") {
  2744. U.MD.D.I.openApplication("codeEdit")
  2745. } else if (e.data.tools && e.data.tools == "57") {
  2746. U.MD.D.I.openApplication("CocoPi")
  2747. } else if (e.data.tools && e.data.tools == "63") {
  2748. U.MD.D.I.openApplication("Wood")
  2749. } else if (e.data.tools && e.data.tools == "58") {
  2750. U.MD.D.I.openApplication("car")
  2751. } else if (e.data.tools && e.data.tools == "59") {
  2752. U.MD.D.I.openApplication("lineSearch")
  2753. } else if (e.data.tools && e.data.tools == "60") {
  2754. U.MD.D.I.openApplication("deepLearning")
  2755. } else if (e.data.tools && e.data.tools == "61") {
  2756. U.MD.D.I.openApplication("allHistory")
  2757. } else if (e.data.tools && e.data.tools == "28") {
  2758. U.MD.D.I.openApplication("translation")
  2759. } else if (e.data.tools && e.data.tools == "37") {
  2760. U.MD.D.I.openApplication("mohe")
  2761. } else if (e.data.tools && e.data.tools == "38") {
  2762. U.MD.D.I.openApplication("24game")
  2763. } else if (e.data.tools && e.data.tools == "39") {
  2764. U.MD.D.I.openApplication("GeoGebra")
  2765. } else if (e.data.tools && e.data.tools == "43") {
  2766. U.MD.D.I.openApplication("studentEvaluate")
  2767. } else if (e.data.tools && e.data.tools == "44") {
  2768. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2769. } else if (e.data.tools && e.data.tools == "46") {
  2770. U.MD.D.I.openApplication("project")
  2771. } else if (e.data.tools && e.data.tools == "1s") {
  2772. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2773. } else if (e.data.tools && e.data.tools == "3s") {
  2774. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2775. } else if (e.data.tools && e.data.tools == "6s") {
  2776. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2777. } else if (e.data.tools && e.data.tools == "1studio") {
  2778. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2779. } else if (e.data.tools && e.data.tools == "3studio") {
  2780. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2781. } else if (e.data.tools && e.data.tools == "6studio") {
  2782. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2783. } else if (e.data.tools && e.data.tools == "3y") {
  2784. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2785. } else if (e.data.tools && e.data.tools == "1y") {
  2786. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2787. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2788. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2789. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2790. U.MD.D.I.openApplication("AIAnalyse")
  2791. } else if (e.data.tools && e.data.tools == "1teacher") {
  2792. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2793. } else if (e.data.tools && e.data.tools == "3teacher") {
  2794. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2795. } else if (e.data.tools && e.data.tools == "7teacher") {
  2796. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2797. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2798. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2799. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2800. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2801. } else if (e.data.tools && e.data.tools == "1E") {
  2802. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2803. } else if (e.data.tools && e.data.tools == "3E") {
  2804. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2805. } else if (e.data.tools && e.data.tools == "57y") {
  2806. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2807. } else if (e.data.tools && e.data.tools == "57u") {
  2808. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2809. } else if (e.data.tools && e.data.tools == "57teacher") {
  2810. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2811. } else if (e.data.tools && e.data.tools == "64") {
  2812. U.MD.D.I.openApplication("AIChat")
  2813. } else if (e.data.tools && e.data.tools == "66") {
  2814. U.MD.D.I.openApplication("formulaEdi")
  2815. } else if (e.data.tools && e.data.tools == "67") {
  2816. U.MD.D.I.openApplication("molStr")
  2817. } else if (e.data.tools && e.data.tools == "68") {
  2818. U.MD.D.I.openApplication("timeAxis")
  2819. } else if (e.data.tools && e.data.tools == "openCourse") {
  2820. let _data = {
  2821. typea: e.data.typea || '',
  2822. typeb: e.data.typeb || '',
  2823. typed: e.data.typed || '',
  2824. }
  2825. U.MD.D.I.openInApplication("index", _data)
  2826. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2827. let _data = {
  2828. classid: e.data.classid || '',
  2829. }
  2830. U.MD.D.I.openInApplication("dataClass", _data)
  2831. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2832. let _data = {
  2833. cid: e.data.cid || '',
  2834. gid: e.data.gid || '',
  2835. }
  2836. U.MD.D.I.openInApplication("opencCscl", _data)
  2837. }
  2838. });
  2839. U.MD.D.I.selectUser = function () {
  2840. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2841. if (res.value[0].length > 0) {
  2842. US.userInfo = res.value[0][0];
  2843. $(".userName")[0].innerHTML = US.userInfo.username;
  2844. }
  2845. }, [], { "type": "GET", "withCredentials": true });
  2846. }
  2847. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2848. var _userinfo = US.userInfo, //登录用户信息
  2849. _userid = US.userInfo.userid, //登录用户id
  2850. _oid = _userinfo.organizeid,
  2851. _type = US.userInfo.type,
  2852. _org = US.userInfo.org,
  2853. _role = US.userInfo.role,
  2854. _classId = US.userInfo.classid;
  2855. if (_type == 4) {
  2856. tType = 4
  2857. }
  2858. switch (str) {
  2859. case "studyDetailNT": //无终端模式
  2860. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2861. setTimeout(() => {
  2862. U.MD.U.L.login();
  2863. }, 2000);
  2864. } else {
  2865. _formdiv = new U.UF.UI.form(
  2866. "课程详情",
  2867. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailNT?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2868. "id": "studyDetailNT",
  2869. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2870. "onresize": function () { }
  2871. }, {
  2872. closecallback: function () { }
  2873. }, { "style": { "height": "36px" } }).form; //创建窗体
  2874. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2875. break;
  2876. }
  2877. case "studyDetail":
  2878. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2879. setTimeout(() => {
  2880. U.MD.U.L.login();
  2881. }, 2000);
  2882. } else {
  2883. _formdiv = new U.UF.UI.form(
  2884. "课程详情",
  2885. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetail?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2886. "id": "studyDetail",
  2887. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2888. "onresize": function () { }
  2889. }, {
  2890. closecallback: function () { }
  2891. }, { "style": { "height": "36px" } }).form; //创建窗体
  2892. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2893. break;
  2894. }
  2895. case "studyDetailS":
  2896. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2897. setTimeout(() => {
  2898. U.MD.U.L.login();
  2899. }, 2000);
  2900. } else {
  2901. _formdiv = new U.UF.UI.form(
  2902. "项目详情",
  2903. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2904. "id": "studyDetailS",
  2905. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2906. "onresize": function () { }
  2907. }, {
  2908. closecallback: function () { }
  2909. }, { "style": { "height": "36px" } }).form; //创建窗体
  2910. _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); } }
  2911. break;
  2912. }
  2913. case "studyDetailStudio":
  2914. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2915. setTimeout(() => {
  2916. U.MD.U.L.login();
  2917. }, 2000);
  2918. } else {
  2919. _formdiv = new U.UF.UI.form(
  2920. "工作详情",
  2921. $$("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 }), {
  2922. "id": "studyDetailStudio",
  2923. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2924. "onresize": function () { }
  2925. }, {
  2926. closecallback: function () { }
  2927. }, { "style": { "height": "36px" } }).form; //创建窗体
  2928. _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); } }
  2929. break;
  2930. }
  2931. case "studyDetailS5":
  2932. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2933. setTimeout(() => {
  2934. U.MD.U.L.login();
  2935. }, 2000);
  2936. } else {
  2937. _formdiv = new U.UF.UI.form(
  2938. "项目详情",
  2939. $$("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 }), {
  2940. "id": "studyDetailS",
  2941. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2942. "onresize": function () { }
  2943. }, {
  2944. closecallback: function () { }
  2945. }, { "style": { "height": "36px" } }).form; //创建窗体
  2946. _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); } }
  2947. break;
  2948. }
  2949. case "studyDetailGM":
  2950. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2951. setTimeout(() => {
  2952. U.MD.U.L.login();
  2953. }, 2000);
  2954. } else {
  2955. _formdiv = new U.UF.UI.form(
  2956. "课程详情",
  2957. $$("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 }), {
  2958. "id": "studyDetail",
  2959. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2960. "onresize": function () { }
  2961. }, {
  2962. closecallback: function () { }
  2963. }, { "style": { "height": "36px" } }).form; //创建窗体
  2964. _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); } }
  2965. break;
  2966. }
  2967. case "hanUrl":
  2968. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2969. setTimeout(() => {
  2970. U.MD.U.L.login();
  2971. }, 2000);
  2972. } else {
  2973. _formdiv = new U.UF.UI.form(
  2974. "汉字宫",
  2975. $$("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" }), {
  2976. "id": "hanUrl",
  2977. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2978. "onresize": function () { }
  2979. }, {
  2980. closecallback: function () { }
  2981. }, { "style": { "height": "36px" } }).form; //创建窗体
  2982. _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); } }
  2983. break;
  2984. }
  2985. case "index":
  2986. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2987. setTimeout(() => {
  2988. U.MD.U.L.login();
  2989. }, 2000);
  2990. } else {
  2991. _formdiv = new U.UF.UI.form(
  2992. "课程中心",
  2993. $$("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 }), {
  2994. "id": "study",
  2995. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2996. "onresize": function () { }
  2997. }, {
  2998. closecallback: function () { }
  2999. }, { "style": { "height": "36px" } }).form; //创建窗体
  3000. _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); } }
  3001. break;
  3002. }
  3003. case "dataClass":
  3004. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3005. setTimeout(() => {
  3006. U.MD.U.L.login();
  3007. }, 2000);
  3008. } else {
  3009. _formdiv = new U.UF.UI.form(
  3010. "数据报告",
  3011. $$("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 }), {
  3012. "id": "dataClass",
  3013. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3014. "onresize": function () { }
  3015. }, {
  3016. closecallback: function () { }
  3017. }, { "style": { "height": "36px" } }).form; //创建窗体
  3018. _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); } }
  3019. break;
  3020. }
  3021. case "opencCscl":
  3022. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3023. setTimeout(() => {
  3024. U.MD.U.L.login();
  3025. }, 2000);
  3026. } else {
  3027. _formdiv = new U.UF.UI.form(
  3028. "协同建构",
  3029. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  3030. "id": "futureClass",
  3031. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3032. "onresize": function () { }
  3033. }, {
  3034. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3035. }, { "style": { "height": "36px" } }).form; //创建窗体
  3036. _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); } }
  3037. break;
  3038. }
  3039. }
  3040. }
  3041. U.MD.D.I.openApplication = function (str, obj, info) {
  3042. obj = obj || {};
  3043. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3044. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3045. _userinfo = US.userInfo, //登录用户信息
  3046. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3047. _oid = obj.organizeid || _userinfo.organizeid,
  3048. _type = US.userInfo.type,
  3049. _org = US.userInfo.org,
  3050. _role = US.userInfo.role,
  3051. _classId = US.userInfo.classid,
  3052. _TscreenType = 1
  3053. _screenType = 2,
  3054. _SscreenType = 3;
  3055. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3056. return;
  3057. }
  3058. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3059. switch (str) {
  3060. case "studnetProject": //好友打开
  3061. _formdiv = new U.UF.UI.form(
  3062. "我的项目",
  3063. $$("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 }), {
  3064. "id": "studnetProject",
  3065. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3066. "onresize": function () { }
  3067. }, {
  3068. closecallback: function () { }
  3069. }, { "style": { "height": "36px" } }).form; //创建窗体
  3070. _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); } }
  3071. break;
  3072. case "studentEvaluate": //好友打开
  3073. _formdiv = new U.UF.UI.form(
  3074. "我的评价",
  3075. $$("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 }), {
  3076. "id": "studentEvaluate",
  3077. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3078. "onresize": function () { }
  3079. }, {
  3080. closecallback: function () { }
  3081. }, { "style": { "height": "36px" } }).form; //创建窗体
  3082. _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); } }
  3083. break;
  3084. case "my":
  3085. _formdiv = new U.UF.UI.form(
  3086. "我的资料",
  3087. $$("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 }), {
  3088. "id": "my",
  3089. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3090. "onresize": function () { }
  3091. }, {
  3092. closecallback: function () { }
  3093. }, { "style": { "height": "36px" } }).form; //创建窗体
  3094. _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); } }
  3095. break;
  3096. case "program":
  3097. _formdiv = new U.UF.UI.form(
  3098. "编程平台",
  3099. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3100. "id": "program",
  3101. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3102. "onresize": function () { }
  3103. }, {
  3104. closecallback: function () { }
  3105. }, { "style": { "height": "36px" } }).form; //创建窗体
  3106. _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); } }
  3107. break;
  3108. case "library":
  3109. _formdiv = new U.UF.UI.form(
  3110. "素材库",
  3111. $$("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 }), {
  3112. "id": "library",
  3113. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3114. "onresize": function () { }
  3115. }, {
  3116. closecallback: function () { }
  3117. }, { "style": { "height": "36px" } }).form; //创建窗体
  3118. _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); } }
  3119. break;
  3120. case "whiteboard":
  3121. _formdiv = new U.UF.UI.form(
  3122. "电子白板",
  3123. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3124. "id": "whiteboard",
  3125. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3126. "onresize": function () { }
  3127. }, {
  3128. closecallback: function () { }
  3129. }, { "style": { "height": "36px" } }).form; //创建窗体
  3130. _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); } }
  3131. break;
  3132. case "investigation":
  3133. _formdiv = new U.UF.UI.form(
  3134. "问卷调查",
  3135. $$("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 }), {
  3136. "id": "investigation",
  3137. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3138. "onresize": function () { }
  3139. }, {
  3140. closecallback: function () { }
  3141. }, { "style": { "height": "36px" } }).form; //创建窗体
  3142. _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); } }
  3143. break;
  3144. case "note":
  3145. _formdiv = new U.UF.UI.form(
  3146. "便签分类",
  3147. $$("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 }), {
  3148. "id": "note",
  3149. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3150. "onresize": function () { }
  3151. }, {
  3152. closecallback: function () { }
  3153. }, { "style": { "height": "36px" } }).form; //创建窗体
  3154. _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); } }
  3155. break;
  3156. // case "score":
  3157. // _formdiv = new U.UF.UI.form(
  3158. // "量规评分",
  3159. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3160. // "id": "score",
  3161. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3162. // "onresize": function() {}
  3163. // }, {
  3164. // closecallback: function() {}
  3165. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3166. // _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); } }
  3167. // break;
  3168. case "mind":
  3169. _formdiv = new U.UF.UI.form(
  3170. "思维导图",
  3171. $$("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"
  3172. "id": "mind",
  3173. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3174. "onresize": function () { }
  3175. }, {
  3176. closecallback: function () { }
  3177. }, { "style": { "height": "36px" } }).form; //创建窗体
  3178. _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); } }
  3179. break;
  3180. case "doc":
  3181. // U.MD.D.I.isRoom();
  3182. _formdiv = new U.UF.UI.form(
  3183. "协同文档",
  3184. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3185. "id": "doc",
  3186. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3187. "onresize": function () { }
  3188. }, {
  3189. closecallback: function () { }
  3190. }, { "style": { "height": "36px" } }).form; //创建窗体
  3191. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3192. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3193. // })
  3194. _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); } }
  3195. break;
  3196. case "studentStudy":
  3197. _formdiv = new U.UF.UI.form(
  3198. "课程中心",
  3199. $$("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
  3200. "id": "studentStudy",
  3201. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3202. "onresize": function () { }
  3203. }, {
  3204. closecallback: function () { }
  3205. }, { "style": { "height": "36px" } }).form; //创建窗体
  3206. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3207. break;
  3208. case "train": //好友打开
  3209. _formdiv = new U.UF.UI.form(
  3210. "训练平台",
  3211. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3212. "id": "train",
  3213. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3214. "onresize": function () { }
  3215. }, {
  3216. closecallback: function () { }
  3217. }, { "style": { "height": "36px" } }).form; //创建窗体
  3218. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3219. break;
  3220. case "mindNetwork": //好友打开
  3221. _formdiv = new U.UF.UI.form(
  3222. "思维网格",
  3223. $$("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 }), {
  3224. "id": "mindNetwork",
  3225. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3226. "onresize": function () { }
  3227. }, {
  3228. closecallback: function () { }
  3229. }, { "style": { "height": "36px" } }).form; //创建窗体
  3230. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3231. break;
  3232. case "studentClassRoom": //好友打开
  3233. _formdiv = new U.UF.UI.form(
  3234. "实时课堂",
  3235. $$("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 }), {
  3236. "id": "studentClassRoom",
  3237. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3238. "onresize": function () { }
  3239. }, {
  3240. closecallback: function () { }
  3241. }, { "style": { "height": "36px" } }).form; //创建窗体
  3242. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3243. setTimeout(() => {
  3244. U.UF.F.windowZooming(_formdiv)
  3245. }, 0);
  3246. break;
  3247. }
  3248. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3249. switch (str) {
  3250. case "studnetProject": //好友打开
  3251. _formdiv = new U.UF.UI.form(
  3252. "我的项目",
  3253. $$("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 }), {
  3254. "id": "studnetProject",
  3255. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3256. "onresize": function () { }
  3257. }, {
  3258. closecallback: function () { }
  3259. }, { "style": { "height": "36px" } }).form; //创建窗体
  3260. _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); } }
  3261. break;
  3262. case "studentEvaluate": //好友打开
  3263. _formdiv = new U.UF.UI.form(
  3264. "我的评价",
  3265. $$("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 }), {
  3266. "id": "studentEvaluate",
  3267. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3268. "onresize": function () { }
  3269. }, {
  3270. closecallback: function () { }
  3271. }, { "style": { "height": "36px" } }).form; //创建窗体
  3272. _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); } }
  3273. break;
  3274. case "my":
  3275. _formdiv = new U.UF.UI.form(
  3276. "我的资料",
  3277. $$("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 }), {
  3278. "id": "my",
  3279. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3280. "onresize": function () { }
  3281. }, {
  3282. closecallback: function () { }
  3283. }, { "style": { "height": "36px" } }).form; //创建窗体
  3284. _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); } }
  3285. break;
  3286. case "program":
  3287. _formdiv = new U.UF.UI.form(
  3288. "编程平台",
  3289. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3290. "id": "program",
  3291. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3292. "onresize": function () { }
  3293. }, {
  3294. closecallback: function () { }
  3295. }, { "style": { "height": "36px" } }).form; //创建窗体
  3296. _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); } }
  3297. break;
  3298. case "library":
  3299. _formdiv = new U.UF.UI.form(
  3300. "素材库",
  3301. $$("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 }), {
  3302. "id": "library",
  3303. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3304. "onresize": function () { }
  3305. }, {
  3306. closecallback: function () { }
  3307. }, { "style": { "height": "36px" } }).form; //创建窗体
  3308. _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); } }
  3309. break;
  3310. case "whiteboard":
  3311. _formdiv = new U.UF.UI.form(
  3312. "电子白板",
  3313. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3314. "id": "whiteboard",
  3315. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3316. "onresize": function () { }
  3317. }, {
  3318. closecallback: function () { }
  3319. }, { "style": { "height": "36px" } }).form; //创建窗体
  3320. _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); } }
  3321. break;
  3322. case "investigation":
  3323. _formdiv = new U.UF.UI.form(
  3324. "问卷调查",
  3325. $$("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 }), {
  3326. "id": "investigation",
  3327. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3328. "onresize": function () { }
  3329. }, {
  3330. closecallback: function () { }
  3331. }, { "style": { "height": "36px" } }).form; //创建窗体
  3332. _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); } }
  3333. break;
  3334. case "note":
  3335. _formdiv = new U.UF.UI.form(
  3336. "便签分类",
  3337. $$("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 }), {
  3338. "id": "note",
  3339. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3340. "onresize": function () { }
  3341. }, {
  3342. closecallback: function () { }
  3343. }, { "style": { "height": "36px" } }).form; //创建窗体
  3344. _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); } }
  3345. break;
  3346. // case "score":
  3347. // _formdiv = new U.UF.UI.form(
  3348. // "量规评分",
  3349. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3350. // "id": "score",
  3351. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3352. // "onresize": function() {}
  3353. // }, {
  3354. // closecallback: function() {}
  3355. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3356. // _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); } }
  3357. // break;
  3358. case "mind":
  3359. _formdiv = new U.UF.UI.form(
  3360. "思维导图",
  3361. $$("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"
  3362. "id": "mind",
  3363. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3364. "onresize": function () { }
  3365. }, {
  3366. closecallback: function () { }
  3367. }, { "style": { "height": "36px" } }).form; //创建窗体
  3368. _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); } }
  3369. break;
  3370. case "doc":
  3371. // U.MD.D.I.isRoom();
  3372. _formdiv = new U.UF.UI.form(
  3373. "协同文档",
  3374. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3375. "id": "doc",
  3376. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3377. "onresize": function () { }
  3378. }, {
  3379. closecallback: function () { }
  3380. }, { "style": { "height": "36px" } }).form; //创建窗体
  3381. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3382. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3383. })
  3384. _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); } }
  3385. break;
  3386. case "train": //好友打开
  3387. _formdiv = new U.UF.UI.form(
  3388. "训练平台",
  3389. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3390. "id": "train",
  3391. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3392. "onresize": function () { }
  3393. }, {
  3394. closecallback: function () { }
  3395. }, { "style": { "height": "36px" } }).form; //创建窗体
  3396. _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); } }
  3397. break;
  3398. case "studentStudy":
  3399. _formdiv = new U.UF.UI.form(
  3400. "课程中心",
  3401. $$("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
  3402. "id": "studentStudy",
  3403. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3404. "onresize": function () { }
  3405. }, {
  3406. closecallback: function () { }
  3407. }, { "style": { "height": "36px" } }).form; //创建窗体
  3408. _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); } }
  3409. break;
  3410. case "mindNetwork": //好友打开
  3411. _formdiv = new U.UF.UI.form(
  3412. "思维网格",
  3413. $$("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 }), {
  3414. "id": "mindNetwork",
  3415. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3416. "onresize": function () { }
  3417. }, {
  3418. closecallback: function () { }
  3419. }, { "style": { "height": "36px" } }).form; //创建窗体
  3420. _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); } }
  3421. break;
  3422. case "studentClassRoom": //好友打开
  3423. _formdiv = new U.UF.UI.form(
  3424. "实时课堂",
  3425. $$("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 }), {
  3426. "id": "studentClassRoom",
  3427. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3428. "onresize": function () { }
  3429. }, {
  3430. closecallback: function () { }
  3431. }, { "style": { "height": "36px" } }).form; //创建窗体
  3432. _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); } }
  3433. setTimeout(() => {
  3434. U.UF.F.windowZooming(_formdiv)
  3435. }, 0);
  3436. break;
  3437. }
  3438. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3439. //选择应用处理
  3440. switch (str) {
  3441. case "project": //好友打开
  3442. _formdiv = new U.UF.UI.form(
  3443. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3444. $$("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 }), {
  3445. "id": "project",
  3446. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3447. "onresize": function () { }
  3448. }, {
  3449. closecallback: function () { }
  3450. }, { "style": { "height": "36px" } }).form; //创建窗体
  3451. _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); } }
  3452. break;
  3453. case "student":
  3454. _formdiv = new U.UF.UI.form(
  3455. "学生管理",
  3456. $$("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 }), {
  3457. "id": "student",
  3458. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3459. "onresize": function () { }
  3460. }, {
  3461. closecallback: function () { }
  3462. }, { "style": { "height": "36px" } }).form; //创建窗体
  3463. _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); } }
  3464. break;
  3465. case "evaluate":
  3466. _formdiv = new U.UF.UI.form(
  3467. "学生评价",
  3468. $$("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 }), {
  3469. "id": "evaluate",
  3470. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3471. "onresize": function () { }
  3472. }, {
  3473. closecallback: function () { }
  3474. }, { "style": { "height": "36px" } }).form; //创建窗体
  3475. _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); } }
  3476. break;
  3477. case "sys":
  3478. _formdiv = new U.UF.UI.form(
  3479. "目标管理",
  3480. $$("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 }), {
  3481. "id": "sys",
  3482. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3483. "onresize": function () { }
  3484. }, {
  3485. closecallback: function () { }
  3486. }, { "style": { "height": "36px" } }).form; //创建窗体
  3487. _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); } }
  3488. break;
  3489. case "courseDesign":
  3490. _formdiv = new U.UF.UI.form(
  3491. "项目设计",
  3492. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3493. "id": "courseDesign",
  3494. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3495. "onresize": function () { }
  3496. }, {
  3497. closecallback: function () { }
  3498. }, { "style": { "height": "36px" } }).form; //创建窗体
  3499. _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); } }
  3500. break;
  3501. case "program":
  3502. _formdiv = new U.UF.UI.form(
  3503. "编程平台",
  3504. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3505. "id": "program",
  3506. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3507. "onresize": function () { }
  3508. }, {
  3509. closecallback: function () { }
  3510. }, { "style": { "height": "36px" } }).form; //创建窗体
  3511. _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); } }
  3512. break;
  3513. case "class":
  3514. _formdiv = new U.UF.UI.form(
  3515. "班级管理",
  3516. $$("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 }), {
  3517. "id": "class",
  3518. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3519. "onresize": function () { }
  3520. }, {
  3521. closecallback: function () { }
  3522. }, { "style": { "height": "36px" } }).form; //创建窗体
  3523. _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); } }
  3524. break;
  3525. case "Grade":
  3526. _formdiv = new U.UF.UI.form(
  3527. "年级管理",
  3528. $$("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 }), {
  3529. "id": "Grade",
  3530. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3531. "onresize": function () { }
  3532. }, {
  3533. closecallback: function () { }
  3534. }, { "style": { "height": "36px" } }).form; //创建窗体
  3535. _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); } }
  3536. break;
  3537. case "teacherOffice":
  3538. _formdiv = new U.UF.UI.form(
  3539. "教研室",
  3540. $$("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 }), {
  3541. "id": "teacherOffice",
  3542. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3543. "onresize": function () { }
  3544. }, {
  3545. closecallback: function () { }
  3546. }, { "style": { "height": "36px" } }).form; //创建窗体
  3547. _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); } }
  3548. break;
  3549. case "my":
  3550. _formdiv = new U.UF.UI.form(
  3551. "我的资料",
  3552. $$("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 }), {
  3553. "id": "my",
  3554. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3555. "onresize": function () { }
  3556. }, {
  3557. closecallback: function () { }
  3558. }, { "style": { "height": "36px" } }).form; //创建窗体
  3559. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3560. break;
  3561. case "notice":
  3562. _formdiv = new U.UF.UI.form(
  3563. "通知公告",
  3564. $$("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 }), {
  3565. "id": "notice",
  3566. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3567. "onresize": function () { }
  3568. }, {
  3569. closecallback: function () { }
  3570. }, { "style": { "height": "36px" } }).form; //创建窗体
  3571. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3572. break;
  3573. case "library":
  3574. _formdiv = new U.UF.UI.form(
  3575. "素材库",
  3576. $$("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 }), {
  3577. "id": "library",
  3578. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3579. "onresize": function () { }
  3580. }, {
  3581. closecallback: function () { }
  3582. }, { "style": { "height": "36px" } }).form; //创建窗体
  3583. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3584. break;
  3585. case "whiteboard":
  3586. _formdiv = new U.UF.UI.form(
  3587. "电子白板",
  3588. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3589. "id": "whiteboard",
  3590. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3591. "onresize": function () { }
  3592. }, {
  3593. closecallback: function () { }
  3594. }, { "style": { "height": "36px" } }).form; //创建窗体
  3595. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3596. break;
  3597. case "investigation":
  3598. _formdiv = new U.UF.UI.form(
  3599. "问卷调查",
  3600. $$("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 }), {
  3601. "id": "investigation",
  3602. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3603. "onresize": function () { }
  3604. }, {
  3605. closecallback: function () { }
  3606. }, { "style": { "height": "36px" } }).form; //创建窗体
  3607. _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); } }
  3608. break;
  3609. case "note":
  3610. _formdiv = new U.UF.UI.form(
  3611. "便签分类",
  3612. $$("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 }), {
  3613. "id": "note",
  3614. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3615. "onresize": function () { }
  3616. }, {
  3617. closecallback: function () { }
  3618. }, { "style": { "height": "36px" } }).form; //创建窗体
  3619. _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); } }
  3620. break;
  3621. // case "score":
  3622. // _formdiv = new U.UF.UI.form(
  3623. // "量规评分",
  3624. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3625. // "id": "score",
  3626. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3627. // "onresize": function() {}
  3628. // }, {
  3629. // closecallback: function() {}
  3630. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3631. // _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); } }
  3632. // break;
  3633. case "mind":
  3634. _formdiv = new U.UF.UI.form(
  3635. "思维导图",
  3636. $$("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"
  3637. "id": "mind",
  3638. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3639. "onresize": function () { }
  3640. }, {
  3641. closecallback: function () { }
  3642. }, { "style": { "height": "36px" } }).form; //创建窗体
  3643. _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); } }
  3644. break;
  3645. case "doc":
  3646. // U.MD.D.I.isRoom();
  3647. _formdiv = new U.UF.UI.form(
  3648. "协同文档",
  3649. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3650. "id": "doc",
  3651. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3652. "onresize": function () { }
  3653. }, {
  3654. closecallback: function () { }
  3655. }, { "style": { "height": "36px" } }).form; //创建窗体
  3656. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3657. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3658. })
  3659. _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); } }
  3660. break;
  3661. case "study":
  3662. _formdiv = new U.UF.UI.form(
  3663. "课程中心",
  3664. $$("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
  3665. "id": "study",
  3666. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3667. "onresize": function () { }
  3668. }, {
  3669. closecallback: function () { }
  3670. }, { "style": { "height": "36px" } }).form; //创建窗体
  3671. _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); } }
  3672. break;
  3673. case "mindNetwork": //好友打开
  3674. _formdiv = new U.UF.UI.form(
  3675. "思维网格",
  3676. $$("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 }), {
  3677. "id": "mindNetwork",
  3678. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3679. "onresize": function () { }
  3680. }, {
  3681. closecallback: function () { }
  3682. }, { "style": { "height": "36px" } }).form; //创建窗体
  3683. _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); } }
  3684. break;
  3685. case "train": //好友打开
  3686. _formdiv = new U.UF.UI.form(
  3687. "训练平台",
  3688. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3689. "id": "mindNetwork",
  3690. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3691. "onresize": function () { }
  3692. }, {
  3693. closecallback: function () { }
  3694. }, { "style": { "height": "36px" } }).form; //创建窗体
  3695. _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); } }
  3696. break;
  3697. case "teacherClassRoom": //好友打开
  3698. _formdiv = new U.UF.UI.form(
  3699. "实时课堂",
  3700. $$("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 }), {
  3701. "id": "teacherClassRoom",
  3702. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3703. "onresize": function () { }
  3704. }, {
  3705. closecallback: function () { }
  3706. }, { "style": { "height": "36px" } }).form; //创建窗体
  3707. _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); } }
  3708. setTimeout(() => {
  3709. U.UF.F.windowZooming(_formdiv)
  3710. }, 0);
  3711. break;
  3712. }
  3713. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3714. switch (str) {
  3715. case "project": //好友打开
  3716. _formdiv = new U.UF.UI.form(
  3717. "课程管理",
  3718. $$("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 }), {
  3719. "id": "project",
  3720. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3721. "onresize": function () { }
  3722. }, {
  3723. closecallback: function () { }
  3724. }, { "style": { "height": "36px" } }).form; //创建窗体
  3725. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3726. break;
  3727. case "evaluate":
  3728. _formdiv = new U.UF.UI.form(
  3729. "学生评价",
  3730. $$("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 }), {
  3731. "id": "evaluate",
  3732. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3733. "onresize": function () { }
  3734. }, {
  3735. closecallback: function () { }
  3736. }, { "style": { "height": "36px" } }).form; //创建窗体
  3737. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3738. break;
  3739. case "notice":
  3740. _formdiv = new U.UF.UI.form(
  3741. "通知公告",
  3742. $$("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 }), {
  3743. "id": "notice",
  3744. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3745. "onresize": function () { }
  3746. }, {
  3747. closecallback: function () { }
  3748. }, { "style": { "height": "36px" } }).form; //创建窗体
  3749. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3750. break;
  3751. case "stuLibrary":
  3752. _formdiv = new U.UF.UI.form(
  3753. "学习资料",
  3754. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studyLibrary?userid=" + _userid + "&org=" + _org }), {
  3755. "id": "stuLibrary",
  3756. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3757. "onresize": function () { }
  3758. }, {
  3759. closecallback: function () { }
  3760. }, { "style": { "height": "36px" } }).form; //创建窗体
  3761. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/stuLibrary.png)" }, "name": "学习资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3762. break;
  3763. case "program":
  3764. _formdiv = new U.UF.UI.form(
  3765. "编程平台",
  3766. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3767. "id": "program",
  3768. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3769. "onresize": function () { }
  3770. }, {
  3771. closecallback: function () { }
  3772. }, { "style": { "height": "36px" } }).form; //创建窗体
  3773. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3774. break;
  3775. case "whiteboard":
  3776. _formdiv = new U.UF.UI.form(
  3777. "电子白板",
  3778. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3779. "id": "whiteboard",
  3780. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3781. "onresize": function () { }
  3782. }, {
  3783. closecallback: function () { }
  3784. }, { "style": { "height": "36px" } }).form; //创建窗体
  3785. _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); } }
  3786. break;
  3787. case "investigation":
  3788. _formdiv = new U.UF.UI.form(
  3789. "问卷调查",
  3790. $$("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 }), {
  3791. "id": "investigation",
  3792. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3793. "onresize": function () { }
  3794. }, {
  3795. closecallback: function () { }
  3796. }, { "style": { "height": "36px" } }).form; //创建窗体
  3797. _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); } }
  3798. break;
  3799. case "mind":
  3800. _formdiv = new U.UF.UI.form(
  3801. "思维导图",
  3802. $$("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"
  3803. "id": "mind",
  3804. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3805. "onresize": function () { }
  3806. }, {
  3807. closecallback: function () { }
  3808. }, { "style": { "height": "36px" } }).form; //创建窗体
  3809. _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); } }
  3810. break;
  3811. case "doc":
  3812. // U.MD.D.I.isRoom();
  3813. _formdiv = new U.UF.UI.form(
  3814. "协同文档",
  3815. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3816. "id": "doc",
  3817. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3818. "onresize": function () { }
  3819. }, {
  3820. closecallback: function () { }
  3821. }, { "style": { "height": "36px" } }).form; //创建窗体
  3822. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3823. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3824. })
  3825. _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); } }
  3826. break;
  3827. case "study":
  3828. _formdiv = new U.UF.UI.form(
  3829. "课程中心",
  3830. $$("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
  3831. "id": "study",
  3832. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3833. "onresize": function () { }
  3834. }, {
  3835. closecallback: function () { }
  3836. }, { "style": { "height": "36px" } }).form; //创建窗体
  3837. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3838. break;
  3839. case "mindNetwork": //好友打开
  3840. _formdiv = new U.UF.UI.form(
  3841. "思维网格",
  3842. $$("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 }), {
  3843. "id": "mindNetwork",
  3844. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3845. "onresize": function () { }
  3846. }, {
  3847. closecallback: function () { }
  3848. }, { "style": { "height": "36px" } }).form; //创建窗体
  3849. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3850. break;
  3851. case "train": //好友打开
  3852. _formdiv = new U.UF.UI.form(
  3853. "训练平台",
  3854. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3855. "id": "train",
  3856. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3857. "onresize": function () { }
  3858. }, {
  3859. closecallback: function () { }
  3860. }, { "style": { "height": "36px" } }).form; //创建窗体
  3861. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3862. break;
  3863. case "sys":
  3864. _formdiv = new U.UF.UI.form(
  3865. "目标管理",
  3866. $$("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 }), {
  3867. "id": "sys",
  3868. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3869. "onresize": function () { }
  3870. }, {
  3871. closecallback: function () { }
  3872. }, { "style": { "height": "36px" } }).form; //创建窗体
  3873. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3874. break;
  3875. case "courseDesign":
  3876. _formdiv = new U.UF.UI.form(
  3877. "项目设计",
  3878. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3879. "id": "courseDesign",
  3880. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3881. "onresize": function () { }
  3882. }, {
  3883. closecallback: function () { }
  3884. }, { "style": { "height": "36px" } }).form; //创建窗体
  3885. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3886. break;
  3887. }
  3888. } else if (!_type) {
  3889. switch (str) {
  3890. case "my":
  3891. _formdiv = new U.UF.UI.form(
  3892. "我的资料",
  3893. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3894. "id": "my",
  3895. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3896. "onresize": function () { }
  3897. }, {
  3898. closecallback: function () { }
  3899. }, { "style": { "height": "36px" } }).form; //创建窗体
  3900. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3901. break;
  3902. }
  3903. }
  3904. switch (str) {
  3905. // AIprogram2 AI体验 aihub.cocorobo.cn
  3906. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3907. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3908. case "formulaEdi": //公式编辑
  3909. _formdiv = new U.UF.UI.form(
  3910. "公式编辑",
  3911. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3912. "id": "formulaEdi",
  3913. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3914. "onresize": function () { }
  3915. }, {
  3916. closecallback: function () { }
  3917. }, { "style": { "height": "36px" } }).form; //创建窗体
  3918. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/formulaEdi.png)" }, "name": "公式编辑", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3919. break;
  3920. case "molStr": //分子结构
  3921. _formdiv = new U.UF.UI.form(
  3922. "分子结构",
  3923. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3924. "id": "molStr",
  3925. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3926. "onresize": function () { }
  3927. }, {
  3928. closecallback: function () { }
  3929. }, { "style": { "height": "36px" } }).form; //创建窗体
  3930. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3931. break;
  3932. case "timeAxis": //时间轴
  3933. _formdiv = new U.UF.UI.form(
  3934. "时间轴",
  3935. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3936. "id": "timeAxis",
  3937. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3938. "onresize": function () { }
  3939. }, {
  3940. closecallback: function () { }
  3941. }, { "style": { "height": "36px" } }).form; //创建窗体
  3942. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3943. break;
  3944. case "AIprogram2": //AI体验
  3945. _formdiv = new U.UF.UI.form(
  3946. "AI体验",
  3947. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3948. "id": "AIprogram2",
  3949. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3950. "onresize": function () { }
  3951. }, {
  3952. closecallback: function () { }
  3953. }, { "style": { "height": "36px" } }).form; //创建窗体
  3954. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI体验", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3955. break;
  3956. case "Pythonprogram": //python编程
  3957. _formdiv = new U.UF.UI.form(
  3958. "Python编程",
  3959. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3960. "id": "Pythonprogram",
  3961. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3962. "onresize": function () { }
  3963. }, {
  3964. closecallback: function () { }
  3965. }, { "style": { "height": "36px" } }).form; //创建窗体
  3966. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Pythonprogram.png)" }, "name": "Python编程", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3967. break;
  3968. case "AIprogram": //ai编程
  3969. _formdiv = new U.UF.UI.form(
  3970. "AI编程平台",
  3971. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3972. "id": "AIprogram",
  3973. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3974. "onresize": function () { }
  3975. }, {
  3976. closecallback: function () { }
  3977. }, { "style": { "height": "36px" } }).form; //创建窗体
  3978. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram.png)" }, "name": "AI编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3979. break;
  3980. case "CocoPi": //CocoPi
  3981. _formdiv = new U.UF.UI.form(
  3982. "CocoPi",
  3983. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pi.cocorobo.cn" }), {
  3984. "id": "CocoPi",
  3985. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3986. "onresize": function () { }
  3987. }, {
  3988. closecallback: function () { }
  3989. }, { "style": { "height": "36px" } }).form; //创建窗体
  3990. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/cocopi.png)" }, "name": "CocoPi", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3991. break;
  3992. case "Wood": //Wood
  3993. _formdiv = new U.UF.UI.form(
  3994. "海龟编程",
  3995. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://wood.codemao.cn/" }), {
  3996. "id": "Wood",
  3997. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3998. "onresize": function () { }
  3999. }, {
  4000. closecallback: function () { }
  4001. }, { "style": { "height": "36px" } }).form; //创建窗体
  4002. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Wood.png)" }, "name": "海龟编程", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4003. break;
  4004. case "car": //模拟驾驶
  4005. _formdiv = new U.UF.UI.form(
  4006. "模拟驾驶",
  4007. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://slowroads.io/" }), {
  4008. "id": "car",
  4009. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4010. "onresize": function () { }
  4011. }, {
  4012. closecallback: function () { }
  4013. }, { "style": { "height": "36px" } }).form; //创建窗体
  4014. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/car.png)" }, "name": "模拟驾驶", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4015. break;
  4016. case "lineSearch": //路径搜索
  4017. _formdiv = new U.UF.UI.form(
  4018. "路径搜索",
  4019. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://qiao.github.io/PathFinding.js/visual/" }), {
  4020. "id": "lineSearch",
  4021. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4022. "onresize": function () { }
  4023. }, {
  4024. closecallback: function () { }
  4025. }, { "style": { "height": "36px" } }).form; //创建窗体
  4026. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/lineSearch.png)" }, "name": "路径搜索", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4027. break;
  4028. case "deepLearning": //深度学习
  4029. _formdiv = new U.UF.UI.form(
  4030. "深度学习",
  4031. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-demos.cocorobo.cn/teachable-machine/public/#" }), {
  4032. "id": "deepLearning",
  4033. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4034. "onresize": function () { }
  4035. }, {
  4036. closecallback: function () { }
  4037. }, { "style": { "height": "36px" } }).form; //创建窗体
  4038. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/deepLearning.png)" }, "name": "深度学习", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4039. break;
  4040. case "allHistory": //深度学习
  4041. _formdiv = new U.UF.UI.form(
  4042. "全历史",
  4043. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.allhistory.com/" }), {
  4044. "id": "allHistory",
  4045. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4046. "onresize": function () { }
  4047. }, {
  4048. closecallback: function () { }
  4049. }, { "style": { "height": "36px" } }).form; //创建窗体
  4050. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/allHistory.png)" }, "name": "全历史", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4051. break;
  4052. case "chatPDF": //ai编程
  4053. _formdiv = new U.UF.UI.form(
  4054. "chatPDF",
  4055. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4056. "id": "chatPDF",
  4057. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4058. "onresize": function () { }
  4059. }, {
  4060. closecallback: function () { }
  4061. }, { "style": { "height": "36px" } }).form; //创建窗体
  4062. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/chatPDF.png)" }, "name": "chatPDF", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4063. break;
  4064. case "resources": //国家教育
  4065. _formdiv = new U.UF.UI.form(
  4066. "国家教育",
  4067. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4068. "id": "resources",
  4069. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4070. "onresize": function () { }
  4071. }, {
  4072. closecallback: function () { }
  4073. }, { "style": { "height": "36px" } }).form; //创建窗体
  4074. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/resources.png)" }, "name": "国家教育", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4075. break;
  4076. case "codeEdit": //源码编辑
  4077. _formdiv = new U.UF.UI.form(
  4078. "源码编辑",
  4079. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4080. "id": "codeEdit",
  4081. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4082. "onresize": function () { }
  4083. }, {
  4084. closecallback: function () { }
  4085. }, { "style": { "height": "36px" } }).form; //创建窗体
  4086. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/code.png)" }, "name": "源码编辑", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4087. break; //
  4088. case "MindMap": //MindMap
  4089. _formdiv = new U.UF.UI.form(
  4090. "MindMap",
  4091. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4092. "id": "MindMap",
  4093. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4094. "onresize": function () { }
  4095. }, {
  4096. closecallback: function () { }
  4097. }, { "style": { "height": "36px" } }).form; //创建窗体
  4098. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/MIndMap.png)" }, "name": "MindMap", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4099. break;
  4100. case "netWorkPanel": //netWorkPanel
  4101. _formdiv = new U.UF.UI.form(
  4102. "netWorkPanel",
  4103. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4104. "id": "netWorkPanel",
  4105. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4106. "onresize": function () { }
  4107. }, {
  4108. closecallback: function () { }
  4109. }, { "style": { "height": "36px" } }).form; //创建窗体
  4110. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/netWorkPanel.png)" }, "name": "netWorkPanel", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4111. break;
  4112. case "GeoGebra": //GeoGebra
  4113. _formdiv = new U.UF.UI.form(
  4114. "GeoGebra",
  4115. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.geogebra.org/calculator" }), {
  4116. "id": "GeoGebra",
  4117. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4118. "onresize": function () { }
  4119. }, {
  4120. closecallback: function () { }
  4121. }, { "style": { "height": "36px" } }).form; //创建窗体
  4122. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/GeoGebra.png)" }, "name": "GeoGebra", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4123. break;
  4124. case "translation": //翻译
  4125. _formdiv = new U.UF.UI.form(
  4126. "翻译",
  4127. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4128. "id": "translation",
  4129. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4130. "onresize": function () { }
  4131. }, {
  4132. closecallback: function () { }
  4133. }, { "style": { "height": "36px" } }).form; //创建窗体
  4134. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/translation.png)" }, "name": "翻译", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4135. break;
  4136. case "mohe": //魔盒
  4137. _formdiv = new U.UF.UI.form(
  4138. "魔盒识字",
  4139. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4140. "id": "mohe",
  4141. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4142. "onresize": function () { }
  4143. }, {
  4144. closecallback: function () { }
  4145. }, { "style": { "height": "36px" } }).form; //创建窗体
  4146. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mohe.png)" }, "name": "魔盒识字", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4147. break;
  4148. case "24game": //24点
  4149. _formdiv = new U.UF.UI.form(
  4150. "24点",
  4151. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4152. "id": "24game",
  4153. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4154. "onresize": function () { }
  4155. }, {
  4156. closecallback: function () { }
  4157. }, { "style": { "height": "36px" } }).form; //创建窗体
  4158. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/24game.png)" }, "name": "24点", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4159. break;
  4160. case "case":
  4161. _formdiv = new U.UF.UI.form(
  4162. "课程进展",
  4163. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesign?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4164. "id": "case",
  4165. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4166. "onresize": function () { }
  4167. }, {
  4168. closecallback: function () { }
  4169. }, { "style": { "height": "36px" } }).form; //创建窗体
  4170. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4171. break;
  4172. case "snf":
  4173. _formdiv = new U.UF.UI.form(
  4174. "赛诺梵",
  4175. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//try.cynovan.com/standard/?trial=true&data=%7B%22username%22%3A%22cynovanDemo%22%2C%22password%22%3A%22cynovanDemo%22%7D&redirect_uri=http://janus.cynovan.com/#/app/workflow/menu/1/r/6343ce2ac00fa32609d1f91b" }), {
  4176. "id": "snf",
  4177. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4178. "onresize": function () { }
  4179. }, {
  4180. closecallback: function () { }
  4181. }, { "style": { "height": "36px" } }).form; //创建窗体
  4182. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/snf.png)" }, "name": "赛诺梵", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4183. break;
  4184. case "hanFamily":
  4185. _formdiv = new U.UF.UI.form(
  4186. "汉字家族",
  4187. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4188. "id": "hanFamily",
  4189. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4190. "onresize": function () { }
  4191. }, {
  4192. closecallback: function () { }
  4193. }, { "style": { "height": "36px" } }).form; //创建窗体
  4194. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4195. break;
  4196. case "hanClassics":
  4197. _formdiv = new U.UF.UI.form(
  4198. "国学经典",
  4199. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4200. "id": "hanClassics",
  4201. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4202. "onresize": function () { }
  4203. }, {
  4204. closecallback: function () { }
  4205. }, { "style": { "height": "36px" } }).form; //创建窗体
  4206. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClassics.png)" }, "name": "国学经典", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4207. break;
  4208. case "hanTraining":
  4209. _formdiv = new U.UF.UI.form(
  4210. "笔画训练",
  4211. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4212. "id": "hanTraining",
  4213. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4214. "onresize": function () { }
  4215. }, {
  4216. closecallback: function () { }
  4217. }, { "style": { "height": "36px" } }).form; //创建窗体
  4218. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanTraining.png)" }, "name": "笔画训练", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4219. break;
  4220. case "hanClass":
  4221. _formdiv = new U.UF.UI.form(
  4222. "书法课堂",
  4223. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4224. "id": "hanClass",
  4225. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4226. "onresize": function () { }
  4227. }, {
  4228. closecallback: function () { }
  4229. }, { "style": { "height": "36px" } }).form; //创建窗体
  4230. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "书法课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4231. break;
  4232. case "han":
  4233. _formdiv = new U.UF.UI.form(
  4234. "汉字宫",
  4235. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4236. "id": "han",
  4237. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4238. "onresize": function () { }
  4239. }, {
  4240. closecallback: function () { }
  4241. }, { "style": { "height": "36px" } }).form; //创建窗体
  4242. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/han.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4243. break;
  4244. case "projectGM": //课程管理
  4245. _formdiv = new U.UF.UI.form(
  4246. "课程管理",
  4247. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/courseGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4248. "id": "projectGM",
  4249. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4250. "onresize": function () { }
  4251. }, {
  4252. closecallback: function () { }
  4253. }, { "style": { "height": "36px" } }).form; //创建窗体
  4254. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/courseMange.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4255. break;
  4256. case "studyGM": //课程中心
  4257. _formdiv = new U.UF.UI.form(
  4258. "课程中心",
  4259. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/indexGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType }), { //https://beta.pbl.cocorobo.cn/pbl-student-table/dist/#/index
  4260. "id": "study",
  4261. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4262. "onresize": function () { }
  4263. }, {
  4264. closecallback: function () { }
  4265. }, { "style": { "height": "36px" } }).form; //创建窗体
  4266. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4267. break;
  4268. // studentGM
  4269. case "studentGM": //学生管理
  4270. _formdiv = new U.UF.UI.form(
  4271. "学生管理",
  4272. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studentGM?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org }), {
  4273. "id": "studentGM",
  4274. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4275. "onresize": function () { }
  4276. }, {
  4277. closecallback: function () { }
  4278. }, { "style": { "height": "36px" } }).form; //创建窗体
  4279. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4280. break;
  4281. case "evaluateGM": //学生评价
  4282. _formdiv = new U.UF.UI.form(
  4283. "学生评价",
  4284. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4285. "id": "evaluateGM",
  4286. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4287. "onresize": function () { }
  4288. }, {
  4289. closecallback: function () { }
  4290. }, { "style": { "height": "36px" } }).form; //创建窗体
  4291. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4292. break;
  4293. // classGM
  4294. case "classGM": //班级管理
  4295. _formdiv = new U.UF.UI.form(
  4296. "班级管理",
  4297. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/classGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4298. "id": "classGM",
  4299. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4300. "onresize": function () { }
  4301. }, {
  4302. closecallback: function () { }
  4303. }, { "style": { "height": "36px" } }).form; //创建窗体
  4304. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4305. break;
  4306. // dataGM
  4307. case "dataGM":
  4308. _formdiv = new U.UF.UI.form(
  4309. "我的资料",
  4310. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataGM?userid=" + _userid + "&org=" + _org }), {
  4311. "id": "dataGM",
  4312. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4313. "onresize": function () { }
  4314. }, {
  4315. closecallback: function () { }
  4316. }, { "style": { "height": "36px" } }).form; //创建窗体
  4317. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/data.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4318. break;
  4319. // caseGM
  4320. case "caseGM": //课程进展
  4321. _formdiv = new U.UF.UI.form(
  4322. "课程进展",
  4323. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4324. "id": "caseGM",
  4325. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4326. "onresize": function () { }
  4327. }, {
  4328. closecallback: function () { }
  4329. }, { "style": { "height": "36px" } }).form; //创建窗体
  4330. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4331. break;
  4332. // meterialGM
  4333. case "meterialGM": //素材库
  4334. _formdiv = new U.UF.UI.form(
  4335. "素材库",
  4336. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/libraryGM?userid=" + _userid + "&org=" + _org }), {
  4337. "id": "meterialGM",
  4338. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4339. "onresize": function () { }
  4340. }, {
  4341. closecallback: function () { }
  4342. }, { "style": { "height": "36px" } }).form; //创建窗体
  4343. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/material.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4344. break;
  4345. // evaluateSGM
  4346. case "evaluateSGM": //我的评价
  4347. _formdiv = new U.UF.UI.form(
  4348. "我的评价",
  4349. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4350. "id": "evaluateSGM",
  4351. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4352. "onresize": function () { }
  4353. }, {
  4354. closecallback: function () { }
  4355. }, { "style": { "height": "36px" } }).form; //创建窗体
  4356. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4357. break;
  4358. case "jupyter": //jupyter
  4359. _formdiv = new U.UF.UI.form(
  4360. "jupyter",
  4361. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4362. "id": "jupyter",
  4363. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4364. "onresize": function () { }
  4365. }, {
  4366. closecallback: function () { }
  4367. }, { "style": { "height": "36px" } }).form; //创建窗体
  4368. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/jupyter.png)" }, "name": "jupyter", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4369. break;
  4370. case "number": //数字实验室
  4371. _formdiv = new U.UF.UI.form(
  4372. "数字实验室",
  4373. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4374. "id": "number",
  4375. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4376. "onresize": function () { }
  4377. }, {
  4378. closecallback: function () { }
  4379. }, { "style": { "height": "36px" } }).form; //创建窗体
  4380. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/number.png)" }, "name": "数字实验室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4381. break;
  4382. case "studentCourse": //项目管理 学生
  4383. _formdiv = new U.UF.UI.form(
  4384. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4385. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;clipboard-write;clipboard-read;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studentCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4386. "id": "studentCourse",
  4387. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4388. "onresize": function () { }
  4389. }, {
  4390. closecallback: function () { }
  4391. }, { "style": { "height": "36px" } }).form; //创建窗体
  4392. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4393. break;
  4394. case "studentCourseS": //项目管理 老师
  4395. _formdiv = new U.UF.UI.form(
  4396. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4397. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;clipboard-write;clipboard-read;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/scourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4398. "id": "studentCourseS",
  4399. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4400. "onresize": function () { }
  4401. }, {
  4402. closecallback: function () { }
  4403. }, { "style": { "height": "36px" } }).form; //创建窗体
  4404. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4405. break;
  4406. case "studentIndex": //项目中心
  4407. _formdiv = new U.UF.UI.form(
  4408. "项目中心",
  4409. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/studentIndex?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType + "&role=" + _role }), {
  4410. "id": "studentIndex",
  4411. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4412. "onresize": function () { }
  4413. }, {
  4414. closecallback: function () { }
  4415. }, { "style": { "height": "36px" } }).form; //创建窗体
  4416. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentIndex.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4417. break;
  4418. case "CaseDesignS":
  4419. _formdiv = new U.UF.UI.form(
  4420. "项目进展",
  4421. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4422. "id": "case",
  4423. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4424. "onresize": function () { }
  4425. }, {
  4426. closecallback: function () { }
  4427. }, { "style": { "height": "36px" } }).form; //创建窗体
  4428. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/CaseDesignS.png)" }, "name": "项目进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4429. break;
  4430. case "tcStudent": //腾讯学生管理
  4431. _formdiv = new U.UF.UI.form(
  4432. "学生管理",
  4433. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcStudent?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4434. "id": "tcStudent",
  4435. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4436. "onresize": function () { }
  4437. }, {
  4438. closecallback: function () { }
  4439. }, { "style": { "height": "36px" } }).form; //创建窗体
  4440. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4441. break;
  4442. case "tcSchool": //腾讯学校管理
  4443. _formdiv = new U.UF.UI.form(
  4444. "学校管理",
  4445. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcSchool?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4446. "id": "tcSchool",
  4447. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4448. "onresize": function () { }
  4449. }, {
  4450. closecallback: function () { }
  4451. }, { "style": { "height": "36px" } }).form; //创建窗体
  4452. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/school.png)" }, "name": "学校管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4453. break;
  4454. case "tcTeacher": //腾讯学校管理
  4455. _formdiv = new U.UF.UI.form(
  4456. "教师管理",
  4457. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcTeacher?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4458. "id": "tcTeacher",
  4459. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4460. "onresize": function () { }
  4461. }, {
  4462. closecallback: function () { }
  4463. }, { "style": { "height": "36px" } }).form; //创建窗体
  4464. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacher.png)" }, "name": "教师管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4465. break;
  4466. case "tcData": //腾讯我的资料
  4467. _formdiv = new U.UF.UI.form(
  4468. "我的资料",
  4469. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcData?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4470. "id": "tcData",
  4471. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4472. "onresize": function () { }
  4473. }, {
  4474. closecallback: function () { }
  4475. }, { "style": { "height": "36px" } }).form; //创建窗体
  4476. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4477. break;
  4478. case "tcNotice": //腾讯消息通知
  4479. _formdiv = new U.UF.UI.form(
  4480. "消息通知",
  4481. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcNotice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4482. "id": "tcNotice",
  4483. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4484. "onresize": function () { }
  4485. }, {
  4486. closecallback: function () { }
  4487. }, { "style": { "height": "36px" } }).form; //创建窗体
  4488. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "消息通知", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4489. break;
  4490. case "myReport": //好友打开
  4491. _formdiv = new U.UF.UI.form(
  4492. "我的评价",
  4493. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/myReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId }), {
  4494. "id": "myReport",
  4495. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4496. "onresize": function () { }
  4497. }, {
  4498. closecallback: function () { }
  4499. }, { "style": { "height": "36px" } }).form; //创建窗体
  4500. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4501. break;
  4502. case "learnAna": //好友打开
  4503. _formdiv = new U.UF.UI.form(
  4504. "学习分析",
  4505. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/learnAna?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4506. "id": "learnAna",
  4507. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4508. "onresize": function () { }
  4509. }, {
  4510. closecallback: function () { }
  4511. }, { "style": { "height": "36px" } }).form; //创建窗体
  4512. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/learnAna.png)" }, "name": "学习分析", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4513. break;
  4514. case "AIChat": //AI共创
  4515. _formdiv = new U.UF.UI.form(
  4516. "AI共创",
  4517. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4518. "id": "AIChat",
  4519. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4520. "onresize": function () { }
  4521. }, {
  4522. istop: true,
  4523. closecallback: function () { $("#aichat_icon").remove(); },
  4524. narrowcallback: function () {
  4525. if (!$("#aichat_icon")[0]) {
  4526. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4527. }
  4528. },
  4529. }, { "style": { "height": "36px" } }).form; //创建窗体
  4530. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI共创", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4531. break;
  4532. case "ainew": //AI共创
  4533. _formdiv = new U.UF.UI.form(
  4534. "AI协同",
  4535. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4536. "id": "ainew",
  4537. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4538. "onresize": function () { }
  4539. }, {
  4540. closecallback: function () { }
  4541. }, { "style": { "height": "36px" } }).form; //创建窗体
  4542. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI协同", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4543. break;
  4544. case "gpt4": //gpt4
  4545. _formdiv = new U.UF.UI.form(
  4546. "gpt4 turbo",
  4547. $$("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/" }), {
  4548. "id": "ainew",
  4549. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4550. "onresize": function () { }
  4551. }, {
  4552. closecallback: function () { }
  4553. }, { "style": { "height": "36px" } }).form; //创建窗体
  4554. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gpt4.png)" }, "name": "gpt4 turbo", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4555. break;
  4556. case "futureClass": //AI共创
  4557. _formdiv = new U.UF.UI.form(
  4558. "协同建构",
  4559. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {//https://beta.cscl.cocorobo.cn
  4560. "id": "synergyCourse",
  4561. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4562. "onresize": function () { }
  4563. }, {
  4564. closecallback: function () {
  4565. $("iframe", _formdiv)[0].contentWindow.loginout();
  4566. }
  4567. }, { "style": { "height": "36px" } }).form; //创建窗体
  4568. _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); } }
  4569. break;
  4570. case "aiagent": //ai agent
  4571. _formdiv = new U.UF.UI.form(
  4572. "AI Agent",
  4573. $$("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" }), {
  4574. "id": "AIAgent",
  4575. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4576. "onresize": function () { }
  4577. }, {
  4578. closecallback: function () { }
  4579. }, { "style": { "height": "36px" } }).form; //创建窗体
  4580. _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); } }
  4581. break;
  4582. case "dataBoard": //数据看板
  4583. _formdiv = new U.UF.UI.form(
  4584. "数据看板",
  4585. $$("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 }), {
  4586. "id": "dataBoard",
  4587. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4588. "onresize": function () { }
  4589. }, {
  4590. closecallback: function () { }
  4591. }, { "style": { "height": "36px" } }).form; //创建窗体
  4592. _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); } }
  4593. break;
  4594. case "dataBoardSies": //数据融合
  4595. _formdiv = new U.UF.UI.form(
  4596. "数据融合",
  4597. $$("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 }), {
  4598. "id": "dataBoardSies",
  4599. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4600. "onresize": function () { }
  4601. }, {
  4602. closecallback: function () { }
  4603. }, { "style": { "height": "36px" } }).form; //创建窗体
  4604. _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); } }
  4605. break;
  4606. case "dataBoardNew": //数据看板
  4607. _formdiv = new U.UF.UI.form(
  4608. "综合看板",
  4609. $$("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 }), {
  4610. "id": "dataBoardNew",
  4611. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4612. "onresize": function () { }
  4613. }, {
  4614. closecallback: function () { }
  4615. }, { "style": { "height": "36px" } }).form; //创建窗体
  4616. _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); } }
  4617. break;
  4618. case "AIAnalyse": //AI共创
  4619. _formdiv = new U.UF.UI.form(
  4620. "AI分析",
  4621. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4622. "id": "AIAnalyse",
  4623. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4624. "onresize": function () { }
  4625. }, {
  4626. closecallback: function () { }
  4627. }, { "style": { "height": "36px" } }).form; //创建窗体
  4628. _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); } }
  4629. break;
  4630. case "studioCourse": //AI共创
  4631. _formdiv = new U.UF.UI.form(
  4632. "工作管理",
  4633. $$("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 }), {
  4634. "id": "studioCourse",
  4635. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4636. "onresize": function () { }
  4637. }, {
  4638. closecallback: function () { }
  4639. }, { "style": { "height": "36px" } }).form; //创建窗体
  4640. _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); } }
  4641. break;
  4642. case "studioIndex": //AI共创
  4643. _formdiv = new U.UF.UI.form(
  4644. "工作中心",
  4645. $$("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 }), {
  4646. "id": "studioIndex",
  4647. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4648. "onresize": function () { }
  4649. }, {
  4650. closecallback: function () { }
  4651. }, { "style": { "height": "36px" } }).form; //创建窗体
  4652. _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); } }
  4653. break;
  4654. case "source":
  4655. _formdiv = new U.UF.UI.form(
  4656. "教学资源",
  4657. $$("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 }), {
  4658. "id": "source",
  4659. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4660. "onresize": function () { }
  4661. }, {
  4662. closecallback: function () { }
  4663. }, { "style": { "height": "36px" } }).form; //创建窗体
  4664. _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); } }
  4665. break;
  4666. case "testTeacher":
  4667. _formdiv = new U.UF.UI.form(
  4668. "评测管理",
  4669. $$("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 }), {
  4670. "id": "testTeacher",
  4671. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4672. "onresize": function () { }
  4673. }, {
  4674. closecallback: function () { }
  4675. }, { "style": { "height": "36px" } }).form; //创建窗体
  4676. _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); } }
  4677. break;
  4678. case "testStudent":
  4679. _formdiv = new U.UF.UI.form(
  4680. "评测中心",
  4681. $$("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 }), {
  4682. "id": "testStudent",
  4683. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4684. "onresize": function () { }
  4685. }, {
  4686. closecallback: function () { }
  4687. }, { "style": { "height": "36px" } }).form; //创建窗体
  4688. _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); } }
  4689. break;
  4690. }
  4691. //U.MD.D.I.openClick(str);
  4692. //如果有任务栏信息
  4693. if (_taskbar) {
  4694. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4695. }
  4696. }
  4697. // U.MD.D.I.openClick = function(str){
  4698. // var click = '';
  4699. // switch(str){
  4700. // case 'friend':
  4701. // click = '我的好友';
  4702. // break;
  4703. // case 'domain':
  4704. // click = '域名管理';
  4705. // break;
  4706. // case 'disk':
  4707. // click = '我的云盘';
  4708. // break;
  4709. // case 'word':
  4710. // click = 'Word';
  4711. // break;
  4712. // case 'excel':
  4713. // click = 'Execl';
  4714. // break;
  4715. // case 'txt':
  4716. // click = '文本文件';
  4717. // break;
  4718. // case 'lookupFriend':
  4719. // click = '查找好友';
  4720. // break;
  4721. // case 'ftp':
  4722. // click = 'FTP';
  4723. // break;
  4724. // case 'group':
  4725. // click = '群组';
  4726. // break;
  4727. // case 'set':
  4728. // click = '我的设置';
  4729. // break;
  4730. // case 'systemSet':
  4731. // click = '系统设置';
  4732. // break;
  4733. // case 'boomYun':
  4734. // click = '互联办公';
  4735. // break;
  4736. // case 'xz':
  4737. // click = '云端下载';
  4738. // break;
  4739. // case 'client':
  4740. // click = '有思浏览器';
  4741. // break;
  4742. // case 'backEndProgramming':
  4743. // click = '在线后台编程';
  4744. // break;
  4745. // case 'frontEndProgramming':
  4746. // click = '在线前端编程';
  4747. // break;
  4748. // default: break;
  4749. // }
  4750. // if(U.MD.D.I.Ip && click){
  4751. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4752. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4753. // })
  4754. // }
  4755. // }
  4756. /**
  4757. *函数作用:ajax简易函数,使用post格式
  4758. *@param url {data} 后台地址
  4759. *@param data {data} 参数json
  4760. *@param fn {data} 回调函数
  4761. *
  4762. */
  4763. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4764. // var xhr = new XMLHttpRequest();
  4765. // xhr.open("GET",url,true);
  4766. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4767. // xhr.onreadystatechange = function(){
  4768. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4769. // fn.call(this,xhr.responseText);
  4770. // }
  4771. // };
  4772. // xhr.send();
  4773. // }
  4774. /*判断是否是内网IP*/
  4775. // U.MD.D.I.isInnerIPFn = function(str){
  4776. // var curPageUrl = str;
  4777. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4778. // curPageUrl =curPageUrl.replace(reg1,'');
  4779. // // console.log('curPageUrl-1 '+curPageUrl);
  4780. // var reg2 = /\:+/g;//替换冒号为一点
  4781. // curPageUrl =curPageUrl.replace(reg2,'.');
  4782. // // console.log('curPageUrl-2 '+curPageUrl);
  4783. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4784. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4785. // if(curPageUrl[2] != '16'){
  4786. // return ipAddress;
  4787. // }else{
  4788. // return false;
  4789. // }
  4790. // }
  4791. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4792. // //compatibility for firefox and chrome
  4793. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4794. // var pc = new myPeerConnection({
  4795. // iceServers: []
  4796. // }),
  4797. // noop = function() {},
  4798. // localIPs = {},
  4799. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4800. // key;
  4801. // function iterateIP(ip) {
  4802. // if (!localIPs[ip]) onNewIP(ip);
  4803. // localIPs[ip] = true;
  4804. // }
  4805. // //create a bogus data channel
  4806. // pc.createDataChannel("");
  4807. // // create offer and set local description
  4808. // pc.createOffer().then(function(sdp) {
  4809. // sdp.sdp.split('\n').forEach(function(line) {
  4810. // if (line.indexOf('candidate') < 0) return;
  4811. // line.match(ipRegex).forEach(iterateIP);
  4812. // });
  4813. // pc.setLocalDescription(sdp, noop, noop);
  4814. // }).catch(function(reason) {
  4815. // // An error occurred, so handle the failure to connect
  4816. // });
  4817. // //sten for candidate events
  4818. // pc.onicecandidate = function(ice) {
  4819. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4820. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4821. // };
  4822. // }
  4823. // U.MD.D.I.getUserIpBool = function(callback){
  4824. // U.MD.D.I.getUserIP(function(ip){
  4825. // alert("Got IP! :" + ip);
  4826. // });
  4827. //}
  4828. //#endregion
  4829. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4830. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4831. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4832. _userinfo = US.userInfo, //登录用户信息
  4833. _userid = US.userInfo.userid //登录用户id
  4834. let _iframe;
  4835. let _cid = cid,
  4836. _stage = stage,
  4837. _task = task,
  4838. _tool = tool;
  4839. var _jie = $$("div", {
  4840. "style": {
  4841. "position": "absolute",
  4842. "bottom": "50px",
  4843. "right": "50px",
  4844. "zIndex": "9999",
  4845. "backgroundColor": "#2268bc",
  4846. "color": "#fff",
  4847. "padding": "12px 20px",
  4848. "cursor": "pointer",
  4849. "borderRadius": "4px",
  4850. },
  4851. "innerHTML": "提交作业"
  4852. })
  4853. let aTool = ''
  4854. let _loading = document.createElement('div')
  4855. _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;"
  4856. // _loading.id = "";
  4857. let _lchild = document.createElement('div')
  4858. let _limg = document.createElement('img')
  4859. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4860. _limg.style = "width: 26px;margin-right: 10px;"
  4861. _lchild.appendChild(_limg)
  4862. let _lspan = document.createElement('span')
  4863. _lspan.innerHTML = "上传中..."
  4864. _lchild.appendChild(_lspan)
  4865. _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%);"
  4866. _loading.appendChild(_lchild)
  4867. var _box = $$('div', {
  4868. "style": {
  4869. "position": "relative",
  4870. "width": "100%",
  4871. "height": "100%",
  4872. },
  4873. })
  4874. _box.appendChild(_loading)
  4875. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4876. switch (str) {
  4877. case "whiteboard":
  4878. aTool = 1;
  4879. _iframe = $$("iframe", {
  4880. "frameborder": "no",
  4881. "border": "0",
  4882. "scrolling ": "no",
  4883. "style": {
  4884. "cssText": "border:0;width:100%;height:100%"
  4885. },
  4886. "src": "https://iwb.cocorobo.cn/"
  4887. })
  4888. _box.appendChild(_iframe);
  4889. _box.appendChild(_jie);
  4890. _formdiv = new U.UF.UI.form(
  4891. "电子白板",
  4892. _box, {
  4893. "id": "whiteboard" + cid + stage + task + tool,
  4894. "style": {
  4895. "width": "90%",
  4896. "height": "90%",
  4897. "overflow": 'hidden'
  4898. },
  4899. "onresize": function () { }
  4900. }, {
  4901. closecallback: function () { }
  4902. }, {
  4903. "style": {
  4904. "height": "36px"
  4905. }
  4906. }).form; //创建窗体
  4907. _taskbar = {
  4908. "id": str + _formdiv.id,
  4909. "style": {
  4910. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4911. },
  4912. "name": "电子白板",
  4913. "forms": _formdiv,
  4914. "click": function () {
  4915. U.MD.D.I.openApplication(str, obj, info);
  4916. }
  4917. }
  4918. break;
  4919. case "mind":
  4920. aTool = 3;
  4921. _iframe = $$("iframe", {
  4922. "frameborder": "no",
  4923. "border": "0",
  4924. "scrolling ": "no",
  4925. "style": {
  4926. "cssText": "border:0;width:100%;height:100%"
  4927. },
  4928. "src": "/kityminder-editor/dist/index.html"
  4929. })
  4930. _box.appendChild(_iframe);
  4931. _box.appendChild(_jie);
  4932. _formdiv = new U.UF.UI.form(
  4933. "思维导图",
  4934. _box, { //"/jsmind/example/demo.html"
  4935. "id": "mind" + cid + stage + task + tool,
  4936. "style": {
  4937. "width": "90%",
  4938. "height": "90%",
  4939. "overflow": 'hidden'
  4940. },
  4941. "onresize": function () { }
  4942. }, {
  4943. closecallback: function () { }
  4944. }, {
  4945. "style": {
  4946. "height": "36px"
  4947. }
  4948. }).form; //创建窗体
  4949. _taskbar = {
  4950. "id": str + _formdiv.id,
  4951. "style": {
  4952. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4953. },
  4954. "name": "思维导图",
  4955. "forms": _formdiv,
  4956. "click": function () {
  4957. U.MD.D.I.openApplication(str, obj, info);
  4958. }
  4959. }
  4960. break;
  4961. case "MindMap":
  4962. aTool = 3;
  4963. _iframe = $$("iframe", {
  4964. "frameborder": "no",
  4965. "border": "0",
  4966. "scrolling ": "no",
  4967. "style": {
  4968. "cssText": "border:0;width:100%;height:100%"
  4969. },
  4970. "src": "//cloud.cocorobo.cn/mind/"
  4971. })
  4972. _box.appendChild(_iframe);
  4973. _box.appendChild(_jie);
  4974. _formdiv = new U.UF.UI.form(
  4975. "思维导图",
  4976. _box, { //"/jsmind/example/demo.html"
  4977. "id": "mind" + cid + stage + task + tool,
  4978. "style": {
  4979. "width": "90%",
  4980. "height": "90%",
  4981. "overflow": 'hidden'
  4982. },
  4983. "onresize": function () { }
  4984. }, {
  4985. closecallback: function () { }
  4986. }, {
  4987. "style": {
  4988. "height": "36px"
  4989. }
  4990. }).form; //创建窗体
  4991. _taskbar = {
  4992. "id": str + _formdiv.id,
  4993. "style": {
  4994. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4995. },
  4996. "name": "思维导图",
  4997. "forms": _formdiv,
  4998. "click": function () {
  4999. U.MD.D.I.openApplication(str, obj, info);
  5000. }
  5001. }
  5002. break;
  5003. case "doc":
  5004. aTool = 6;
  5005. _iframe = $$("iframe", {
  5006. "frameborder": "no",
  5007. "border": "0",
  5008. "scrolling ": "no",
  5009. "style": {
  5010. "cssText": "border:0;width:100%;height:100%"
  5011. },
  5012. "src": "/Office/Word/WordEditArea.htm"
  5013. })
  5014. _box.appendChild(_iframe);
  5015. _box.appendChild(_jie);
  5016. _formdiv = new U.UF.UI.form(
  5017. "协同文档",
  5018. _box, {
  5019. "id": "doc" + cid + stage + task + tool,
  5020. "style": {
  5021. "width": "90%",
  5022. "height": "90%",
  5023. "overflow": 'hidden'
  5024. },
  5025. "onresize": function () { }
  5026. }, {
  5027. closecallback: function () { }
  5028. }, {
  5029. "style": {
  5030. "height": "36px"
  5031. }
  5032. }).form; //创建窗体
  5033. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5034. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5035. })
  5036. _taskbar = {
  5037. "id": str + _formdiv.id,
  5038. "style": {
  5039. "backgroundImage": "url(/img/icon/doc.png)"
  5040. },
  5041. "name": "协同文档",
  5042. "forms": _formdiv,
  5043. "click": function () {
  5044. U.MD.D.I.openApplication(str, obj, info);
  5045. }
  5046. }
  5047. break;
  5048. case "mindNetwork": //好友打开
  5049. aTool = 7;
  5050. _iframe = $$("iframe", {
  5051. "webkitallowfullscreen": "",
  5052. "mozallowfullscreen": "",
  5053. "allowfullscreen": "",
  5054. "frameborder": "no",
  5055. "border": "0",
  5056. "scrolling ": "no",
  5057. "style": {
  5058. "cssText": "border:0; width:100%; height:100%;"
  5059. },
  5060. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5061. })
  5062. _box.appendChild(_iframe);
  5063. _box.appendChild(_jie);
  5064. _formdiv = new U.UF.UI.form(
  5065. "思维网格",
  5066. _box, {
  5067. "id": "mindNetwork" + cid + stage + task + tool,
  5068. "style": {
  5069. "width": "90%",
  5070. "height": "90%",
  5071. "overflow": 'hidden'
  5072. },
  5073. "onresize": function () { }
  5074. }, {
  5075. closecallback: function () { }
  5076. }, {
  5077. "style": {
  5078. "height": "36px"
  5079. }
  5080. }).form; //创建窗体
  5081. _taskbar = {
  5082. "id": str + _formdiv.id,
  5083. "style": {
  5084. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5085. },
  5086. "name": "思维网格",
  5087. "forms": _formdiv,
  5088. "click": function () {
  5089. U.MD.D.I.openApplication(str, obj, info);
  5090. }
  5091. }
  5092. break;
  5093. case "courseDesign":
  5094. _iframe = $$("iframe", {
  5095. "webkitallowfullscreen": "",
  5096. "mozallowfullscreen": "",
  5097. "allowfullscreen": "",
  5098. "frameborder": "no",
  5099. "border": "0",
  5100. "scrolling ": "no",
  5101. "style": {
  5102. "cssText": "border:0; width:100%; height:100%;"
  5103. },
  5104. "src": "/course-design-vue"
  5105. })
  5106. _box.appendChild(_iframe);
  5107. _box.appendChild(_jie);
  5108. _formdiv = new U.UF.UI.form(
  5109. "项目设计",
  5110. _box, {
  5111. "id": "courseDesign" + cid + stage + task + tool,
  5112. "style": {
  5113. "width": "90%",
  5114. "height": "90%",
  5115. "overflow": 'hidden'
  5116. },
  5117. "onresize": function () { }
  5118. }, {
  5119. closecallback: function () { }
  5120. }, {
  5121. "style": {
  5122. "height": "36px"
  5123. }
  5124. }).form; //创建窗体
  5125. _taskbar = {
  5126. "id": str + _formdiv.id,
  5127. "style": {
  5128. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5129. },
  5130. "name": "项目设计",
  5131. "forms": _formdiv,
  5132. "click": function () {
  5133. U.MD.D.I.openApplication(str, obj, info);
  5134. }
  5135. }
  5136. break;
  5137. }
  5138. const script1 = document.createElement("script");
  5139. script1.type = "text/javascript";
  5140. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5141. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5142. const script2 = document.createElement("script");
  5143. script2.type = "text/javascript";
  5144. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5145. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5146. const script3 = document.createElement("script");
  5147. script3.type = "text/javascript";
  5148. script3.charset = "UTF-8";
  5149. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5150. const script4 = document.createElement("script");
  5151. script4.type = "text/javascript";
  5152. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5153. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5154. if (_iframe) {
  5155. if (str == 'doc') {
  5156. _iframe = _formdiv.querySelector('iframe')
  5157. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5158. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5159. _iframe.contentWindow.document.body.appendChild(script1);
  5160. _iframe.contentWindow.document.body.appendChild(script2);
  5161. // _iframe.contentWindow.document.body.appendChild(script3);
  5162. _iframe.contentWindow.document.body.appendChild(script4);
  5163. })
  5164. if (onloadListener) {
  5165. _iframe.contentDocument.location.reload()
  5166. } else {
  5167. _iframe.contentDocument.location.reload()
  5168. }
  5169. } else if (str == 'courseDesign') {
  5170. U.UF.DL.iframeLoad(_iframe, function () {
  5171. // _iframe.contentWindow.U.MD.O.W.load();
  5172. // _iframe.contentWindow.document.body.appendChild(script1);
  5173. _iframe.contentWindow.document.body.appendChild(script2);
  5174. _iframe.contentWindow.document.body.appendChild(script4);
  5175. })
  5176. } else if (str == 'mind') {
  5177. _iframe = _formdiv.querySelector('iframe')
  5178. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5179. //
  5180. _iframe.contentWindow.document.body.appendChild(script1);
  5181. _iframe.contentWindow.document.body.appendChild(script2);
  5182. _iframe.contentWindow.document.body.appendChild(script4);
  5183. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5184. })
  5185. if (onloadListener) {
  5186. _iframe.contentDocument.location.reload()
  5187. } else {
  5188. _iframe.contentDocument.location.reload()
  5189. }
  5190. } else if (str == 'whiteboard') {
  5191. _iframe = _formdiv.querySelector('iframe')
  5192. let onloadListener = _iframe.onload = () => {
  5193. _iframe.contentWindow.document.body.appendChild(script1);
  5194. _iframe.contentWindow.document.body.appendChild(script2);
  5195. _iframe.contentWindow.document.body.appendChild(script4);
  5196. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5197. };
  5198. if (onloadListener) {
  5199. _iframe.contentDocument.location.reload()
  5200. } else {
  5201. _iframe.contentDocument.location.reload()
  5202. }
  5203. } else {
  5204. _iframe.onload = () => {
  5205. _iframe.contentWindow.document.body.appendChild(script1);
  5206. _iframe.contentWindow.document.body.appendChild(script2);
  5207. // _iframe.contentWindow.document.body.appendChild(script3);
  5208. _iframe.contentWindow.document.body.appendChild(script4);
  5209. };
  5210. }
  5211. _jie.onclick = async () => {
  5212. let text = ''
  5213. if (aTool == 1) {
  5214. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5215. } else if (aTool == 6) {
  5216. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5217. } else if (aTool == 3) {
  5218. text = await U.MD.D.I.getEditorContent(_iframe);
  5219. }
  5220. _loading.style.display = 'flex'
  5221. console.log(_loading);
  5222. var _ajs = _iframe.contentWindow.document.createElement("script");
  5223. _ajs.type = "text/javascript";
  5224. _ajs.innerHTML =
  5225. // 'console.log(' + _loading + ');\n' +
  5226. 'var _js = document.createElement("script");\n' +
  5227. '_js.type="text/javascript";\n' +
  5228. '_js.charset="UTF-8";\n' +
  5229. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5230. "_js.onload = function(){\n" +
  5231. ' var a = document.getElementsByTagName("img")\n' +
  5232. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5233. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5234. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5235. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5236. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5237. "beforeUpload_shishi(file," +
  5238. "'" +
  5239. _userid +
  5240. "'" +
  5241. ", " +
  5242. "'" +
  5243. _cid +
  5244. "'" +
  5245. ", " +
  5246. "'" +
  5247. _stage +
  5248. "'" +
  5249. ", " +
  5250. "'" +
  5251. _task +
  5252. "'" +
  5253. ", " +
  5254. "'" +
  5255. _tool +
  5256. "'" +
  5257. ", " +
  5258. "'" +
  5259. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5260. "'" +
  5261. ", " +
  5262. "'" +
  5263. aTool +
  5264. "'" +
  5265. ", " +
  5266. "`" +
  5267. text +
  5268. "`" +
  5269. ")\n" +
  5270. " });\n" +
  5271. "}\n" +
  5272. "document.head.appendChild(_js);\n";
  5273. _iframe.contentWindow.document.head.appendChild(_ajs);
  5274. }
  5275. }
  5276. //U.MD.D.I.openClick(str);
  5277. //如果有任务栏信息
  5278. // if (_taskbar) {
  5279. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5280. // }
  5281. }
  5282. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5283. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5284. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5285. _userinfo = US.userInfo, //登录用户信息
  5286. _userid = US.userInfo.userid //登录用户id
  5287. let _iframe;
  5288. let _cid = cid,
  5289. _stage = stage,
  5290. _task = task,
  5291. _tool = tool;
  5292. var _jie = $$("div", {
  5293. "style": {
  5294. "position": "absolute",
  5295. "bottom": "50px",
  5296. "right": "50px",
  5297. "zIndex": "9999",
  5298. "backgroundColor": "#2268bc",
  5299. "color": "#fff",
  5300. "padding": "12px 20px",
  5301. "cursor": "pointer",
  5302. "borderRadius": "4px",
  5303. },
  5304. "innerHTML": "提交作业"
  5305. })
  5306. let aTool = ''
  5307. let _loading = document.createElement('div')
  5308. _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;"
  5309. // _loading.id = "";
  5310. let _lchild = document.createElement('div')
  5311. let _limg = document.createElement('img')
  5312. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5313. _limg.style = "width: 26px;margin-right: 10px;"
  5314. _lchild.appendChild(_limg)
  5315. let _lspan = document.createElement('span')
  5316. _lspan.innerHTML = "上传中..."
  5317. _lchild.appendChild(_lspan)
  5318. _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%);"
  5319. _loading.appendChild(_lchild)
  5320. var _box = $$('div', {
  5321. "style": {
  5322. "position": "relative",
  5323. "width": "100%",
  5324. "height": "100%",
  5325. },
  5326. })
  5327. _box.appendChild(_loading)
  5328. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5329. switch (str) {
  5330. case "whiteboard":
  5331. aTool = 1;
  5332. _iframe = $$("iframe", {
  5333. "frameborder": "no",
  5334. "border": "0",
  5335. "scrolling ": "no",
  5336. "style": {
  5337. "cssText": "border:0;width:100%;height:100%"
  5338. },
  5339. "src": "https://iwb.cocorobo.cn/"
  5340. })
  5341. _box.appendChild(_iframe);
  5342. _box.appendChild(_jie);
  5343. _formdiv = new U.UF.UI.form(
  5344. "电子白板",
  5345. _box, {
  5346. "id": "whiteboard" + cid + stage + task + tool,
  5347. "style": {
  5348. "width": "90%",
  5349. "height": "90%",
  5350. "overflow": 'hidden'
  5351. },
  5352. "onresize": function () { }
  5353. }, {
  5354. closecallback: function () { }
  5355. }, {
  5356. "style": {
  5357. "height": "36px"
  5358. }
  5359. }).form; //创建窗体
  5360. _taskbar = {
  5361. "id": str + _formdiv.id,
  5362. "style": {
  5363. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5364. },
  5365. "name": "电子白板",
  5366. "forms": _formdiv,
  5367. "click": function () {
  5368. U.MD.D.I.openApplication(str, obj, info);
  5369. }
  5370. }
  5371. break;
  5372. case "mind":
  5373. aTool = 3;
  5374. _iframe = $$("iframe", {
  5375. "frameborder": "no",
  5376. "border": "0",
  5377. "scrolling ": "no",
  5378. "style": {
  5379. "cssText": "border:0;width:100%;height:100%"
  5380. },
  5381. "src": "/kityminder-editor/dist/index.html"
  5382. })
  5383. _box.appendChild(_iframe);
  5384. _box.appendChild(_jie);
  5385. _formdiv = new U.UF.UI.form(
  5386. "思维导图",
  5387. _box, { //"/jsmind/example/demo.html"
  5388. "id": "mind" + cid + stage + task + tool,
  5389. "style": {
  5390. "width": "90%",
  5391. "height": "90%",
  5392. "overflow": 'hidden'
  5393. },
  5394. "onresize": function () { }
  5395. }, {
  5396. closecallback: function () { }
  5397. }, {
  5398. "style": {
  5399. "height": "36px"
  5400. }
  5401. }).form; //创建窗体
  5402. _taskbar = {
  5403. "id": str + _formdiv.id,
  5404. "style": {
  5405. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5406. },
  5407. "name": "思维导图",
  5408. "forms": _formdiv,
  5409. "click": function () {
  5410. U.MD.D.I.openApplication(str, obj, info);
  5411. }
  5412. }
  5413. break;
  5414. case "MindMap":
  5415. aTool = 3;
  5416. _iframe = $$("iframe", {
  5417. "frameborder": "no",
  5418. "border": "0",
  5419. "scrolling ": "no",
  5420. "style": {
  5421. "cssText": "border:0;width:100%;height:100%"
  5422. },
  5423. "src": "//cloud.cocorobo.cn/mind/"
  5424. })
  5425. _box.appendChild(_iframe);
  5426. _box.appendChild(_jie);
  5427. _formdiv = new U.UF.UI.form(
  5428. "思维导图",
  5429. _box, { //"/jsmind/example/demo.html"
  5430. "id": "mind" + cid + stage + task + tool,
  5431. "style": {
  5432. "width": "90%",
  5433. "height": "90%",
  5434. "overflow": 'hidden'
  5435. },
  5436. "onresize": function () { }
  5437. }, {
  5438. closecallback: function () { }
  5439. }, {
  5440. "style": {
  5441. "height": "36px"
  5442. }
  5443. }).form; //创建窗体
  5444. _taskbar = {
  5445. "id": str + _formdiv.id,
  5446. "style": {
  5447. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5448. },
  5449. "name": "思维导图",
  5450. "forms": _formdiv,
  5451. "click": function () {
  5452. U.MD.D.I.openApplication(str, obj, info);
  5453. }
  5454. }
  5455. break;
  5456. case "doc":
  5457. aTool = 6;
  5458. _iframe = $$("iframe", {
  5459. "frameborder": "no",
  5460. "border": "0",
  5461. "scrolling ": "no",
  5462. "style": {
  5463. "cssText": "border:0;width:100%;height:100%"
  5464. },
  5465. "src": "/Office/Word/WordEditArea.htm"
  5466. })
  5467. _box.appendChild(_iframe);
  5468. _box.appendChild(_jie);
  5469. _formdiv = new U.UF.UI.form(
  5470. "协同文档",
  5471. _box, {
  5472. "id": "doc" + cid + stage + task + tool,
  5473. "style": {
  5474. "width": "90%",
  5475. "height": "90%",
  5476. "overflow": 'hidden'
  5477. },
  5478. "onresize": function () { }
  5479. }, {
  5480. closecallback: function () { }
  5481. }, {
  5482. "style": {
  5483. "height": "36px"
  5484. }
  5485. }).form; //创建窗体
  5486. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5487. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5488. })
  5489. _taskbar = {
  5490. "id": str + _formdiv.id,
  5491. "style": {
  5492. "backgroundImage": "url(/img/icon/doc.png)"
  5493. },
  5494. "name": "协同文档",
  5495. "forms": _formdiv,
  5496. "click": function () {
  5497. U.MD.D.I.openApplication(str, obj, info);
  5498. }
  5499. }
  5500. break;
  5501. case "mindNetwork": //好友打开
  5502. aTool = 7;
  5503. _iframe = $$("iframe", {
  5504. "webkitallowfullscreen": "",
  5505. "mozallowfullscreen": "",
  5506. "allowfullscreen": "",
  5507. "frameborder": "no",
  5508. "border": "0",
  5509. "scrolling ": "no",
  5510. "style": {
  5511. "cssText": "border:0; width:100%; height:100%;"
  5512. },
  5513. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5514. })
  5515. _box.appendChild(_iframe);
  5516. _box.appendChild(_jie);
  5517. _formdiv = new U.UF.UI.form(
  5518. "思维网格",
  5519. _box, {
  5520. "id": "mindNetwork" + cid + stage + task + tool,
  5521. "style": {
  5522. "width": "90%",
  5523. "height": "90%",
  5524. "overflow": 'hidden'
  5525. },
  5526. "onresize": function () { }
  5527. }, {
  5528. closecallback: function () { }
  5529. }, {
  5530. "style": {
  5531. "height": "36px"
  5532. }
  5533. }).form; //创建窗体
  5534. _taskbar = {
  5535. "id": str + _formdiv.id,
  5536. "style": {
  5537. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5538. },
  5539. "name": "思维网格",
  5540. "forms": _formdiv,
  5541. "click": function () {
  5542. U.MD.D.I.openApplication(str, obj, info);
  5543. }
  5544. }
  5545. break;
  5546. case "courseDesign":
  5547. _iframe = $$("iframe", {
  5548. "webkitallowfullscreen": "",
  5549. "mozallowfullscreen": "",
  5550. "allowfullscreen": "",
  5551. "frameborder": "no",
  5552. "border": "0",
  5553. "scrolling ": "no",
  5554. "style": {
  5555. "cssText": "border:0; width:100%; height:100%;"
  5556. },
  5557. "src": "/course-design-vue"
  5558. })
  5559. _box.appendChild(_iframe);
  5560. _box.appendChild(_jie);
  5561. _formdiv = new U.UF.UI.form(
  5562. "项目设计",
  5563. _box, {
  5564. "id": "courseDesign" + cid + stage + task + tool,
  5565. "style": {
  5566. "width": "90%",
  5567. "height": "90%",
  5568. "overflow": 'hidden'
  5569. },
  5570. "onresize": function () { }
  5571. }, {
  5572. closecallback: function () { }
  5573. }, {
  5574. "style": {
  5575. "height": "36px"
  5576. }
  5577. }).form; //创建窗体
  5578. _taskbar = {
  5579. "id": str + _formdiv.id,
  5580. "style": {
  5581. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5582. },
  5583. "name": "项目设计",
  5584. "forms": _formdiv,
  5585. "click": function () {
  5586. U.MD.D.I.openApplication(str, obj, info);
  5587. }
  5588. }
  5589. break;
  5590. }
  5591. const script1 = document.createElement("script");
  5592. script1.type = "text/javascript";
  5593. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5594. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5595. const script2 = document.createElement("script");
  5596. script2.type = "text/javascript";
  5597. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5598. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5599. const script3 = document.createElement("script");
  5600. script3.type = "text/javascript";
  5601. script3.charset = "UTF-8";
  5602. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5603. const script4 = document.createElement("script");
  5604. script4.type = "text/javascript";
  5605. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5606. script4.src = window.origin + "/js/Common/jietu2E.js";
  5607. if (_iframe) {
  5608. if (str == 'doc') {
  5609. _iframe = _formdiv.querySelector('iframe')
  5610. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5611. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5612. _iframe.contentWindow.document.body.appendChild(script1);
  5613. _iframe.contentWindow.document.body.appendChild(script2);
  5614. // _iframe.contentWindow.document.body.appendChild(script3);
  5615. _iframe.contentWindow.document.body.appendChild(script4);
  5616. })
  5617. if (onloadListener) {
  5618. _iframe.contentDocument.location.reload()
  5619. } else {
  5620. _iframe.contentDocument.location.reload()
  5621. }
  5622. } else if (str == 'courseDesign') {
  5623. U.UF.DL.iframeLoad(_iframe, function () {
  5624. // _iframe.contentWindow.U.MD.O.W.load();
  5625. // _iframe.contentWindow.document.body.appendChild(script1);
  5626. _iframe.contentWindow.document.body.appendChild(script2);
  5627. _iframe.contentWindow.document.body.appendChild(script4);
  5628. })
  5629. } else if (str == 'mind') {
  5630. _iframe = _formdiv.querySelector('iframe')
  5631. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5632. //
  5633. _iframe.contentWindow.document.body.appendChild(script1);
  5634. _iframe.contentWindow.document.body.appendChild(script2);
  5635. _iframe.contentWindow.document.body.appendChild(script4);
  5636. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5637. })
  5638. if (onloadListener) {
  5639. _iframe.contentDocument.location.reload()
  5640. } else {
  5641. _iframe.contentDocument.location.reload()
  5642. }
  5643. } else if (str == 'whiteboard') {
  5644. _iframe = _formdiv.querySelector('iframe')
  5645. let onloadListener = _iframe.onload = () => {
  5646. _iframe.contentWindow.document.body.appendChild(script1);
  5647. _iframe.contentWindow.document.body.appendChild(script2);
  5648. _iframe.contentWindow.document.body.appendChild(script4);
  5649. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5650. };
  5651. if (onloadListener) {
  5652. _iframe.contentDocument.location.reload()
  5653. } else {
  5654. _iframe.contentDocument.location.reload()
  5655. }
  5656. } else {
  5657. _iframe.onload = () => {
  5658. _iframe.contentWindow.document.body.appendChild(script1);
  5659. _iframe.contentWindow.document.body.appendChild(script2);
  5660. // _iframe.contentWindow.document.body.appendChild(script3);
  5661. _iframe.contentWindow.document.body.appendChild(script4);
  5662. };
  5663. }
  5664. _jie.onclick = async () => {
  5665. let text = ''
  5666. if (aTool == 1) {
  5667. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5668. } else if (aTool == 6) {
  5669. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5670. } else if (aTool == 3) {
  5671. text = await U.MD.D.I.getEditorContent(_iframe);
  5672. }
  5673. _loading.style.display = 'flex'
  5674. console.log(_loading);
  5675. var _ajs = _iframe.contentWindow.document.createElement("script");
  5676. _ajs.type = "text/javascript";
  5677. _ajs.innerHTML =
  5678. // 'console.log(' + _loading + ');\n' +
  5679. 'var _js = document.createElement("script");\n' +
  5680. '_js.type="text/javascript";\n' +
  5681. '_js.charset="UTF-8";\n' +
  5682. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5683. "_js.onload = function(){\n" +
  5684. ' var a = document.getElementsByTagName("img")\n' +
  5685. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5686. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5687. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5688. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5689. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5690. "beforeUpload_shishi(file," +
  5691. "'" +
  5692. _userid +
  5693. "'" +
  5694. ", " +
  5695. "'" +
  5696. _cid +
  5697. "'" +
  5698. ", " +
  5699. "'" +
  5700. _stage +
  5701. "'" +
  5702. ", " +
  5703. "'" +
  5704. _task +
  5705. "'" +
  5706. ", " +
  5707. "'" +
  5708. _tool +
  5709. "'" +
  5710. ", " +
  5711. "'" +
  5712. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5713. "'" +
  5714. ", " +
  5715. "'" +
  5716. aTool +
  5717. "'" +
  5718. ", " +
  5719. "`" +
  5720. text +
  5721. "`" +
  5722. ")\n" +
  5723. " });\n" +
  5724. "}\n" +
  5725. "document.head.appendChild(_js);\n";
  5726. _iframe.contentWindow.document.head.appendChild(_ajs);
  5727. }
  5728. }
  5729. //U.MD.D.I.openClick(str);
  5730. //如果有任务栏信息
  5731. // if (_taskbar) {
  5732. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5733. // }
  5734. }
  5735. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5736. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5737. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5738. _userid = student.userid, //登录用户id
  5739. _username = student.student //用户名字
  5740. let _iframe;
  5741. let _cid = cid,
  5742. _stage = stage,
  5743. _task = task,
  5744. _tool = tool;
  5745. var _jie = $$("div", {
  5746. "style": {
  5747. "position": "absolute",
  5748. "bottom": "50px",
  5749. "right": "50px",
  5750. "zIndex": "9999",
  5751. "backgroundColor": "#2268bc",
  5752. "color": "#fff",
  5753. "padding": "12px 20px",
  5754. "cursor": "pointer",
  5755. "borderRadius": "4px",
  5756. },
  5757. "innerHTML": "提交作业"
  5758. })
  5759. let aTool = ''
  5760. let _loading = document.createElement('div')
  5761. _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;"
  5762. // _loading.id = "";
  5763. let _lchild = document.createElement('div')
  5764. let _limg = document.createElement('img')
  5765. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5766. _limg.style = "width: 26px;margin-right: 10px;"
  5767. _lchild.appendChild(_limg)
  5768. let _lspan = document.createElement('span')
  5769. _lspan.innerHTML = "上传中..."
  5770. _lchild.appendChild(_lspan)
  5771. _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%);"
  5772. _loading.appendChild(_lchild)
  5773. var _box = $$('div', {
  5774. "style": {
  5775. "position": "relative",
  5776. "width": "100%",
  5777. "height": "100%",
  5778. },
  5779. })
  5780. _box.appendChild(_loading)
  5781. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5782. switch (str) {
  5783. case "whiteboard":
  5784. aTool = 1;
  5785. _iframe = $$("iframe", {
  5786. "frameborder": "no",
  5787. "border": "0",
  5788. "scrolling ": "no",
  5789. "style": {
  5790. "cssText": "border:0;width:100%;height:100%"
  5791. },
  5792. "src": "https://iwb.cocorobo.cn/"
  5793. })
  5794. _box.appendChild(_iframe);
  5795. _box.appendChild(_jie);
  5796. _formdiv = new U.UF.UI.form(
  5797. "电子白板-" + _username,
  5798. _box, {
  5799. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5800. "style": {
  5801. "width": "90%",
  5802. "height": "90%",
  5803. "overflow": 'hidden'
  5804. },
  5805. "onresize": function () { }
  5806. }, {
  5807. closecallback: function () { }
  5808. }, {
  5809. "style": {
  5810. "height": "36px"
  5811. }
  5812. }).form; //创建窗体
  5813. _taskbar = {
  5814. "id": str + _formdiv.id,
  5815. "style": {
  5816. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5817. },
  5818. "name": "电子白板",
  5819. "forms": _formdiv,
  5820. "click": function () {
  5821. U.MD.D.I.openApplication(str, obj, info);
  5822. }
  5823. }
  5824. break;
  5825. case "mind":
  5826. aTool = 3;
  5827. _iframe = $$("iframe", {
  5828. "frameborder": "no",
  5829. "border": "0",
  5830. "scrolling ": "no",
  5831. "style": {
  5832. "cssText": "border:0;width:100%;height:100%"
  5833. },
  5834. "src": "/kityminder-editor/dist/index.html"
  5835. })
  5836. _box.appendChild(_iframe);
  5837. _box.appendChild(_jie);
  5838. _formdiv = new U.UF.UI.form(
  5839. "思维导图-" + _username,
  5840. _box, { //"/jsmind/example/demo.html"
  5841. "id": "mind" + cid + stage + task + tool + _userid,
  5842. "style": {
  5843. "width": "90%",
  5844. "height": "90%",
  5845. "overflow": 'hidden'
  5846. },
  5847. "onresize": function () { }
  5848. }, {
  5849. closecallback: function () { }
  5850. }, {
  5851. "style": {
  5852. "height": "36px"
  5853. }
  5854. }).form; //创建窗体
  5855. _taskbar = {
  5856. "id": str + _formdiv.id,
  5857. "style": {
  5858. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5859. },
  5860. "name": "思维导图",
  5861. "forms": _formdiv,
  5862. "click": function () {
  5863. U.MD.D.I.openApplication(str, obj, info);
  5864. }
  5865. }
  5866. break;
  5867. case "MindMap":
  5868. aTool = 3;
  5869. _iframe = $$("iframe", {
  5870. "frameborder": "no",
  5871. "border": "0",
  5872. "scrolling ": "no",
  5873. "style": {
  5874. "cssText": "border:0;width:100%;height:100%"
  5875. },
  5876. "src": "//cloud.cocorobo.cn/mind/"
  5877. })
  5878. _box.appendChild(_iframe);
  5879. _box.appendChild(_jie);
  5880. _formdiv = new U.UF.UI.form(
  5881. "思维导图-" + _username,
  5882. _box, { //"/jsmind/example/demo.html"
  5883. "id": "mind" + cid + stage + task + tool + _userid,
  5884. "style": {
  5885. "width": "90%",
  5886. "height": "90%",
  5887. "overflow": 'hidden'
  5888. },
  5889. "onresize": function () { }
  5890. }, {
  5891. closecallback: function () { }
  5892. }, {
  5893. "style": {
  5894. "height": "36px"
  5895. }
  5896. }).form; //创建窗体
  5897. _taskbar = {
  5898. "id": str + _formdiv.id,
  5899. "style": {
  5900. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5901. },
  5902. "name": "思维导图",
  5903. "forms": _formdiv,
  5904. "click": function () {
  5905. U.MD.D.I.openApplication(str, obj, info);
  5906. }
  5907. }
  5908. break;
  5909. case "doc":
  5910. aTool = 6;
  5911. _iframe = $$("iframe", {
  5912. "frameborder": "no",
  5913. "border": "0",
  5914. "scrolling ": "no",
  5915. "style": {
  5916. "cssText": "border:0;width:100%;height:100%"
  5917. },
  5918. "src": "/Office/Word/WordEditArea.htm"
  5919. })
  5920. _box.appendChild(_iframe);
  5921. _box.appendChild(_jie);
  5922. _formdiv = new U.UF.UI.form(
  5923. "协同文档-" + _username,
  5924. _box, {
  5925. "id": "doc" + cid + stage + task + tool + _userid,
  5926. "style": {
  5927. "width": "90%",
  5928. "height": "90%",
  5929. "overflow": 'hidden'
  5930. },
  5931. "onresize": function () { }
  5932. }, {
  5933. closecallback: function () { }
  5934. }, {
  5935. "style": {
  5936. "height": "36px"
  5937. }
  5938. }).form; //创建窗体
  5939. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5940. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5941. })
  5942. _taskbar = {
  5943. "id": str + _formdiv.id,
  5944. "style": {
  5945. "backgroundImage": "url(/img/icon/doc.png)"
  5946. },
  5947. "name": "协同文档",
  5948. "forms": _formdiv,
  5949. "click": function () {
  5950. U.MD.D.I.openApplication(str, obj, info);
  5951. }
  5952. }
  5953. break;
  5954. case "mindNetwork": //好友打开
  5955. aTool = 7;
  5956. _iframe = $$("iframe", {
  5957. "webkitallowfullscreen": "",
  5958. "mozallowfullscreen": "",
  5959. "allowfullscreen": "",
  5960. "frameborder": "no",
  5961. "border": "0",
  5962. "scrolling ": "no",
  5963. "style": {
  5964. "cssText": "border:0; width:100%; height:100%;"
  5965. },
  5966. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5967. })
  5968. _box.appendChild(_iframe);
  5969. _box.appendChild(_jie);
  5970. _formdiv = new U.UF.UI.form(
  5971. "思维网格-" + _username,
  5972. _box, {
  5973. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5974. "style": {
  5975. "width": "90%",
  5976. "height": "90%",
  5977. "overflow": 'hidden'
  5978. },
  5979. "onresize": function () { }
  5980. }, {
  5981. closecallback: function () { }
  5982. }, {
  5983. "style": {
  5984. "height": "36px"
  5985. }
  5986. }).form; //创建窗体
  5987. _taskbar = {
  5988. "id": str + _formdiv.id,
  5989. "style": {
  5990. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5991. },
  5992. "name": "思维网格",
  5993. "forms": _formdiv,
  5994. "click": function () {
  5995. U.MD.D.I.openApplication(str, obj, info);
  5996. }
  5997. }
  5998. break;
  5999. case "courseDesign":
  6000. _iframe = $$("iframe", {
  6001. "webkitallowfullscreen": "",
  6002. "mozallowfullscreen": "",
  6003. "allowfullscreen": "",
  6004. "frameborder": "no",
  6005. "border": "0",
  6006. "scrolling ": "no",
  6007. "style": {
  6008. "cssText": "border:0; width:100%; height:100%;"
  6009. },
  6010. "src": "/course-design-vue"
  6011. })
  6012. _box.appendChild(_iframe);
  6013. _box.appendChild(_jie);
  6014. _formdiv = new U.UF.UI.form(
  6015. "项目设计-" + _username,
  6016. _box, {
  6017. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6018. "style": {
  6019. "width": "90%",
  6020. "height": "90%",
  6021. "overflow": 'hidden'
  6022. },
  6023. "onresize": function () { }
  6024. }, {
  6025. closecallback: function () { }
  6026. }, {
  6027. "style": {
  6028. "height": "36px"
  6029. }
  6030. }).form; //创建窗体
  6031. _taskbar = {
  6032. "id": str + _formdiv.id,
  6033. "style": {
  6034. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6035. },
  6036. "name": "项目设计",
  6037. "forms": _formdiv,
  6038. "click": function () {
  6039. U.MD.D.I.openApplication(str, obj, info);
  6040. }
  6041. }
  6042. break;
  6043. }
  6044. const script1 = document.createElement("script");
  6045. script1.type = "text/javascript";
  6046. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6047. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6048. const script2 = document.createElement("script");
  6049. script2.type = "text/javascript";
  6050. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6051. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6052. const script3 = document.createElement("script");
  6053. script3.type = "text/javascript";
  6054. script3.charset = "UTF-8";
  6055. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6056. const script4 = document.createElement("script");
  6057. script4.type = "text/javascript";
  6058. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6059. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6060. if (_iframe) {
  6061. if (str == 'doc') {
  6062. _iframe = _formdiv.querySelector('iframe')
  6063. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6064. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6065. _iframe.contentWindow.document.body.appendChild(script1);
  6066. _iframe.contentWindow.document.body.appendChild(script2);
  6067. // _iframe.contentWindow.document.body.appendChild(script3);
  6068. _iframe.contentWindow.document.body.appendChild(script4);
  6069. })
  6070. if (onloadListener) {
  6071. _iframe.contentDocument.location.reload()
  6072. } else {
  6073. _iframe.contentDocument.location.reload()
  6074. }
  6075. } else if (str == 'courseDesign') {
  6076. U.UF.DL.iframeLoad(_iframe, function () {
  6077. // _iframe.contentWindow.U.MD.O.W.load();
  6078. // _iframe.contentWindow.document.body.appendChild(script1);
  6079. _iframe.contentWindow.document.body.appendChild(script2);
  6080. _iframe.contentWindow.document.body.appendChild(script4);
  6081. })
  6082. } else if (str == 'mind') {
  6083. _iframe = _formdiv.querySelector('iframe')
  6084. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6085. //
  6086. _iframe.contentWindow.document.body.appendChild(script1);
  6087. _iframe.contentWindow.document.body.appendChild(script2);
  6088. _iframe.contentWindow.document.body.appendChild(script4);
  6089. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6090. })
  6091. if (onloadListener) {
  6092. _iframe.contentDocument.location.reload()
  6093. } else {
  6094. _iframe.contentDocument.location.reload()
  6095. }
  6096. } else if (str == 'whiteboard') {
  6097. _iframe = _formdiv.querySelector('iframe')
  6098. let onloadListener = _iframe.onload = () => {
  6099. _iframe.contentWindow.document.body.appendChild(script1);
  6100. _iframe.contentWindow.document.body.appendChild(script2);
  6101. _iframe.contentWindow.document.body.appendChild(script4);
  6102. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6103. };
  6104. if (onloadListener) {
  6105. _iframe.contentDocument.location.reload()
  6106. } else {
  6107. _iframe.contentDocument.location.reload()
  6108. }
  6109. } else {
  6110. _iframe.onload = () => {
  6111. _iframe.contentWindow.document.body.appendChild(script1);
  6112. _iframe.contentWindow.document.body.appendChild(script2);
  6113. // _iframe.contentWindow.document.body.appendChild(script3);
  6114. _iframe.contentWindow.document.body.appendChild(script4);
  6115. };
  6116. }
  6117. _jie.onclick = async () => {
  6118. let text = ''
  6119. if (aTool == 1) {
  6120. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6121. } else if (aTool == 6) {
  6122. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6123. } else if (aTool == 3) {
  6124. text = await U.MD.D.I.getEditorContent(_iframe);
  6125. }
  6126. _loading.style.display = 'flex'
  6127. console.log(_loading);
  6128. var _ajs = _iframe.contentWindow.document.createElement("script");
  6129. _ajs.type = "text/javascript";
  6130. _ajs.innerHTML =
  6131. // 'console.log(' + _loading + ');\n' +
  6132. 'var _js = document.createElement("script");\n' +
  6133. '_js.type="text/javascript";\n' +
  6134. '_js.charset="UTF-8";\n' +
  6135. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6136. "_js.onload = function(){\n" +
  6137. ' var a = document.getElementsByTagName("img")\n' +
  6138. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6139. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6140. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6141. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6142. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6143. "beforeUpload_shishi(file," +
  6144. "'" +
  6145. _userid +
  6146. "'" +
  6147. ", " +
  6148. "'" +
  6149. _cid +
  6150. "'" +
  6151. ", " +
  6152. "'" +
  6153. _stage +
  6154. "'" +
  6155. ", " +
  6156. "'" +
  6157. _task +
  6158. "'" +
  6159. ", " +
  6160. "'" +
  6161. _tool +
  6162. "'" +
  6163. ", " +
  6164. "'" +
  6165. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6166. "'" +
  6167. ", " +
  6168. "'" +
  6169. aTool +
  6170. "'" +
  6171. ", " +
  6172. "`" +
  6173. text +
  6174. "`" +
  6175. ")\n" +
  6176. " });\n" +
  6177. "}\n" +
  6178. "document.head.appendChild(_js);\n";
  6179. _iframe.contentWindow.document.head.appendChild(_ajs);
  6180. }
  6181. }
  6182. }
  6183. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6184. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6185. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6186. _userid = student.userid, //登录用户id
  6187. _username = student.student //用户名字
  6188. let _iframe;
  6189. let _cid = cid,
  6190. _stage = stage,
  6191. _task = task,
  6192. _tool = tool;
  6193. var _jie = $$("div", {
  6194. "style": {
  6195. "position": "absolute",
  6196. "bottom": "50px",
  6197. "right": "50px",
  6198. "zIndex": "9999",
  6199. "backgroundColor": "#2268bc",
  6200. "color": "#fff",
  6201. "padding": "12px 20px",
  6202. "cursor": "pointer",
  6203. "borderRadius": "4px",
  6204. },
  6205. "innerHTML": "提交作业"
  6206. })
  6207. let aTool = ''
  6208. let _loading = document.createElement('div')
  6209. _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;"
  6210. // _loading.id = "";
  6211. let _lchild = document.createElement('div')
  6212. let _limg = document.createElement('img')
  6213. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6214. _limg.style = "width: 26px;margin-right: 10px;"
  6215. _lchild.appendChild(_limg)
  6216. let _lspan = document.createElement('span')
  6217. _lspan.innerHTML = "上传中..."
  6218. _lchild.appendChild(_lspan)
  6219. _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%);"
  6220. _loading.appendChild(_lchild)
  6221. var _box = $$('div', {
  6222. "style": {
  6223. "position": "relative",
  6224. "width": "100%",
  6225. "height": "100%",
  6226. },
  6227. })
  6228. _box.appendChild(_loading)
  6229. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6230. switch (str) {
  6231. case "whiteboard":
  6232. aTool = 1;
  6233. _iframe = $$("iframe", {
  6234. "frameborder": "no",
  6235. "border": "0",
  6236. "scrolling ": "no",
  6237. "style": {
  6238. "cssText": "border:0;width:100%;height:100%"
  6239. },
  6240. "src": "https://iwb.cocorobo.cn/"
  6241. })
  6242. _box.appendChild(_iframe);
  6243. _box.appendChild(_jie);
  6244. _formdiv = new U.UF.UI.form(
  6245. "电子白板-" + _username,
  6246. _box, {
  6247. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6248. "style": {
  6249. "width": "90%",
  6250. "height": "90%",
  6251. "overflow": 'hidden'
  6252. },
  6253. "onresize": function () { }
  6254. }, {
  6255. closecallback: function () { }
  6256. }, {
  6257. "style": {
  6258. "height": "36px"
  6259. }
  6260. }).form; //创建窗体
  6261. _taskbar = {
  6262. "id": str + _formdiv.id,
  6263. "style": {
  6264. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6265. },
  6266. "name": "电子白板",
  6267. "forms": _formdiv,
  6268. "click": function () {
  6269. U.MD.D.I.openApplication(str, obj, info);
  6270. }
  6271. }
  6272. break;
  6273. case "mind":
  6274. aTool = 3;
  6275. _iframe = $$("iframe", {
  6276. "frameborder": "no",
  6277. "border": "0",
  6278. "scrolling ": "no",
  6279. "style": {
  6280. "cssText": "border:0;width:100%;height:100%"
  6281. },
  6282. "src": "/kityminder-editor/dist/index.html"
  6283. })
  6284. _box.appendChild(_iframe);
  6285. _box.appendChild(_jie);
  6286. _formdiv = new U.UF.UI.form(
  6287. "思维导图-" + _username,
  6288. _box, { //"/jsmind/example/demo.html"
  6289. "id": "mind" + cid + stage + task + tool + _userid,
  6290. "style": {
  6291. "width": "90%",
  6292. "height": "90%",
  6293. "overflow": 'hidden'
  6294. },
  6295. "onresize": function () { }
  6296. }, {
  6297. closecallback: function () { }
  6298. }, {
  6299. "style": {
  6300. "height": "36px"
  6301. }
  6302. }).form; //创建窗体
  6303. _taskbar = {
  6304. "id": str + _formdiv.id,
  6305. "style": {
  6306. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6307. },
  6308. "name": "思维导图",
  6309. "forms": _formdiv,
  6310. "click": function () {
  6311. U.MD.D.I.openApplication(str, obj, info);
  6312. }
  6313. }
  6314. break;
  6315. case "MindMap":
  6316. aTool = 3;
  6317. _iframe = $$("iframe", {
  6318. "frameborder": "no",
  6319. "border": "0",
  6320. "scrolling ": "no",
  6321. "style": {
  6322. "cssText": "border:0;width:100%;height:100%"
  6323. },
  6324. "src": "//cloud.cocorobo.cn/mind/"
  6325. })
  6326. _box.appendChild(_iframe);
  6327. _box.appendChild(_jie);
  6328. _formdiv = new U.UF.UI.form(
  6329. "思维导图-" + _username,
  6330. _box, { //"/jsmind/example/demo.html"
  6331. "id": "mind" + cid + stage + task + tool + _userid,
  6332. "style": {
  6333. "width": "90%",
  6334. "height": "90%",
  6335. "overflow": 'hidden'
  6336. },
  6337. "onresize": function () { }
  6338. }, {
  6339. closecallback: function () { }
  6340. }, {
  6341. "style": {
  6342. "height": "36px"
  6343. }
  6344. }).form; //创建窗体
  6345. _taskbar = {
  6346. "id": str + _formdiv.id,
  6347. "style": {
  6348. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6349. },
  6350. "name": "思维导图",
  6351. "forms": _formdiv,
  6352. "click": function () {
  6353. U.MD.D.I.openApplication(str, obj, info);
  6354. }
  6355. }
  6356. break;
  6357. case "doc":
  6358. aTool = 6;
  6359. _iframe = $$("iframe", {
  6360. "frameborder": "no",
  6361. "border": "0",
  6362. "scrolling ": "no",
  6363. "style": {
  6364. "cssText": "border:0;width:100%;height:100%"
  6365. },
  6366. "src": "/Office/Word/WordEditArea.htm"
  6367. })
  6368. _box.appendChild(_iframe);
  6369. _box.appendChild(_jie);
  6370. _formdiv = new U.UF.UI.form(
  6371. "协同文档-" + _username,
  6372. _box, {
  6373. "id": "doc" + cid + stage + task + tool + _userid,
  6374. "style": {
  6375. "width": "90%",
  6376. "height": "90%",
  6377. "overflow": 'hidden'
  6378. },
  6379. "onresize": function () { }
  6380. }, {
  6381. closecallback: function () { }
  6382. }, {
  6383. "style": {
  6384. "height": "36px"
  6385. }
  6386. }).form; //创建窗体
  6387. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6388. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6389. })
  6390. _taskbar = {
  6391. "id": str + _formdiv.id,
  6392. "style": {
  6393. "backgroundImage": "url(/img/icon/doc.png)"
  6394. },
  6395. "name": "协同文档",
  6396. "forms": _formdiv,
  6397. "click": function () {
  6398. U.MD.D.I.openApplication(str, obj, info);
  6399. }
  6400. }
  6401. break;
  6402. case "mindNetwork": //好友打开
  6403. aTool = 7;
  6404. _iframe = $$("iframe", {
  6405. "webkitallowfullscreen": "",
  6406. "mozallowfullscreen": "",
  6407. "allowfullscreen": "",
  6408. "frameborder": "no",
  6409. "border": "0",
  6410. "scrolling ": "no",
  6411. "style": {
  6412. "cssText": "border:0; width:100%; height:100%;"
  6413. },
  6414. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6415. })
  6416. _box.appendChild(_iframe);
  6417. _box.appendChild(_jie);
  6418. _formdiv = new U.UF.UI.form(
  6419. "思维网格-" + _username,
  6420. _box, {
  6421. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6422. "style": {
  6423. "width": "90%",
  6424. "height": "90%",
  6425. "overflow": 'hidden'
  6426. },
  6427. "onresize": function () { }
  6428. }, {
  6429. closecallback: function () { }
  6430. }, {
  6431. "style": {
  6432. "height": "36px"
  6433. }
  6434. }).form; //创建窗体
  6435. _taskbar = {
  6436. "id": str + _formdiv.id,
  6437. "style": {
  6438. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6439. },
  6440. "name": "思维网格",
  6441. "forms": _formdiv,
  6442. "click": function () {
  6443. U.MD.D.I.openApplication(str, obj, info);
  6444. }
  6445. }
  6446. break;
  6447. case "courseDesign":
  6448. _iframe = $$("iframe", {
  6449. "webkitallowfullscreen": "",
  6450. "mozallowfullscreen": "",
  6451. "allowfullscreen": "",
  6452. "frameborder": "no",
  6453. "border": "0",
  6454. "scrolling ": "no",
  6455. "style": {
  6456. "cssText": "border:0; width:100%; height:100%;"
  6457. },
  6458. "src": "/course-design-vue"
  6459. })
  6460. _box.appendChild(_iframe);
  6461. _box.appendChild(_jie);
  6462. _formdiv = new U.UF.UI.form(
  6463. "项目设计-" + _username,
  6464. _box, {
  6465. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6466. "style": {
  6467. "width": "90%",
  6468. "height": "90%",
  6469. "overflow": 'hidden'
  6470. },
  6471. "onresize": function () { }
  6472. }, {
  6473. closecallback: function () { }
  6474. }, {
  6475. "style": {
  6476. "height": "36px"
  6477. }
  6478. }).form; //创建窗体
  6479. _taskbar = {
  6480. "id": str + _formdiv.id,
  6481. "style": {
  6482. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6483. },
  6484. "name": "项目设计",
  6485. "forms": _formdiv,
  6486. "click": function () {
  6487. U.MD.D.I.openApplication(str, obj, info);
  6488. }
  6489. }
  6490. break;
  6491. }
  6492. const script1 = document.createElement("script");
  6493. script1.type = "text/javascript";
  6494. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6495. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6496. const script2 = document.createElement("script");
  6497. script2.type = "text/javascript";
  6498. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6499. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6500. const script3 = document.createElement("script");
  6501. script3.type = "text/javascript";
  6502. script3.charset = "UTF-8";
  6503. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6504. const script4 = document.createElement("script");
  6505. script4.type = "text/javascript";
  6506. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6507. script4.src = window.origin + "/js/Common/jietu2E.js";
  6508. if (_iframe) {
  6509. if (str == 'doc') {
  6510. _iframe = _formdiv.querySelector('iframe')
  6511. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6512. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6513. _iframe.contentWindow.document.body.appendChild(script1);
  6514. _iframe.contentWindow.document.body.appendChild(script2);
  6515. // _iframe.contentWindow.document.body.appendChild(script3);
  6516. _iframe.contentWindow.document.body.appendChild(script4);
  6517. })
  6518. if (onloadListener) {
  6519. _iframe.contentDocument.location.reload()
  6520. } else {
  6521. _iframe.contentDocument.location.reload()
  6522. }
  6523. } else if (str == 'courseDesign') {
  6524. U.UF.DL.iframeLoad(_iframe, function () {
  6525. // _iframe.contentWindow.U.MD.O.W.load();
  6526. // _iframe.contentWindow.document.body.appendChild(script1);
  6527. _iframe.contentWindow.document.body.appendChild(script2);
  6528. _iframe.contentWindow.document.body.appendChild(script4);
  6529. })
  6530. } else if (str == 'mind') {
  6531. _iframe = _formdiv.querySelector('iframe')
  6532. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6533. //
  6534. _iframe.contentWindow.document.body.appendChild(script1);
  6535. _iframe.contentWindow.document.body.appendChild(script2);
  6536. _iframe.contentWindow.document.body.appendChild(script4);
  6537. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6538. })
  6539. if (onloadListener) {
  6540. _iframe.contentDocument.location.reload()
  6541. } else {
  6542. _iframe.contentDocument.location.reload()
  6543. }
  6544. } else if (str == 'whiteboard') {
  6545. _iframe = _formdiv.querySelector('iframe')
  6546. let onloadListener = _iframe.onload = () => {
  6547. _iframe.contentWindow.document.body.appendChild(script1);
  6548. _iframe.contentWindow.document.body.appendChild(script2);
  6549. _iframe.contentWindow.document.body.appendChild(script4);
  6550. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6551. };
  6552. if (onloadListener) {
  6553. _iframe.contentDocument.location.reload()
  6554. } else {
  6555. _iframe.contentDocument.location.reload()
  6556. }
  6557. } else {
  6558. _iframe.onload = () => {
  6559. _iframe.contentWindow.document.body.appendChild(script1);
  6560. _iframe.contentWindow.document.body.appendChild(script2);
  6561. // _iframe.contentWindow.document.body.appendChild(script3);
  6562. _iframe.contentWindow.document.body.appendChild(script4);
  6563. };
  6564. }
  6565. _jie.onclick = async () => {
  6566. let text = ''
  6567. if (aTool == 1) {
  6568. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6569. } else if (aTool == 6) {
  6570. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6571. } else if (aTool == 3) {
  6572. text = await U.MD.D.I.getEditorContent(_iframe);
  6573. }
  6574. _loading.style.display = 'flex'
  6575. console.log(_loading);
  6576. var _ajs = _iframe.contentWindow.document.createElement("script");
  6577. _ajs.type = "text/javascript";
  6578. _ajs.innerHTML =
  6579. // 'console.log(' + _loading + ');\n' +
  6580. 'var _js = document.createElement("script");\n' +
  6581. '_js.type="text/javascript";\n' +
  6582. '_js.charset="UTF-8";\n' +
  6583. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6584. "_js.onload = function(){\n" +
  6585. ' var a = document.getElementsByTagName("img")\n' +
  6586. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6587. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6588. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6589. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6590. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6591. "beforeUpload_shishi(file," +
  6592. "'" +
  6593. _userid +
  6594. "'" +
  6595. ", " +
  6596. "'" +
  6597. _cid +
  6598. "'" +
  6599. ", " +
  6600. "'" +
  6601. _stage +
  6602. "'" +
  6603. ", " +
  6604. "'" +
  6605. _task +
  6606. "'" +
  6607. ", " +
  6608. "'" +
  6609. _tool +
  6610. "'" +
  6611. ", " +
  6612. "'" +
  6613. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6614. "'" +
  6615. ", " +
  6616. "'" +
  6617. aTool +
  6618. "'" +
  6619. ", " +
  6620. "`" +
  6621. text +
  6622. "`" +
  6623. ")\n" +
  6624. " });\n" +
  6625. "}\n" +
  6626. "document.head.appendChild(_js);\n";
  6627. _iframe.contentWindow.document.head.appendChild(_ajs);
  6628. }
  6629. }
  6630. }
  6631. U.MD.D.I.getEditorContent = function (iframe) {
  6632. return new Promise((resolve, reject) => {
  6633. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6634. console.log(content);
  6635. resolve(content)
  6636. });
  6637. });
  6638. }
  6639. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6640. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6641. // if (res.value[0].length > 0) {
  6642. // // resolve(res.value[0][0].text);
  6643. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6644. // $(fileInput).val('');
  6645. // });
  6646. // }
  6647. // }, [], { "type": "GET", "withCredentials": true });
  6648. var xmlhttp;
  6649. var Mac, Sn, DeviceId
  6650. if (window.XMLHttpRequest) {
  6651. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6652. xmlhttp = new XMLHttpRequest();
  6653. } else {
  6654. // IE6, IE5 浏览器执行代码
  6655. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6656. }
  6657. xmlhttp.onreadystatechange = function () {
  6658. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6659. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6660. // resolve(res.value[0][0].text);
  6661. if (type == '2') {
  6662. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6663. } else if (type == '3') {
  6664. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6665. }
  6666. } else {
  6667. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6668. }
  6669. }
  6670. }
  6671. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6672. xmlhttp.send();
  6673. }
  6674. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6675. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6676. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6677. _userinfo = US.userInfo, //登录用户信息
  6678. _userid = US.userInfo.userid //登录用户id
  6679. let _iframe;
  6680. let _cid = cid,
  6681. _stage = stage,
  6682. _task = task,
  6683. _tool = tool;
  6684. var _jie = $$("div", {
  6685. "style": {
  6686. "position": "absolute",
  6687. "bottom": "50px",
  6688. "right": "50px",
  6689. "zIndex": "9999",
  6690. "backgroundColor": "#2268bc",
  6691. "color": "#fff",
  6692. "padding": "12px 20px",
  6693. "cursor": "pointer",
  6694. "borderRadius": "4px",
  6695. },
  6696. "innerHTML": "确认并提交"
  6697. })
  6698. let aTool = ''
  6699. let _loading = document.createElement('div')
  6700. _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;"
  6701. // _loading.id = "";
  6702. let _lchild = document.createElement('div')
  6703. let _limg = document.createElement('img')
  6704. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6705. _limg.style = "width: 26px;margin-right: 10px;"
  6706. _lchild.appendChild(_limg)
  6707. let _lspan = document.createElement('span')
  6708. _lspan.innerHTML = "上传中..."
  6709. _lchild.appendChild(_lspan)
  6710. _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%);"
  6711. _loading.appendChild(_lchild)
  6712. var _box = $$('div', {
  6713. "style": {
  6714. "position": "relative",
  6715. "width": "100%",
  6716. "height": "100%",
  6717. },
  6718. })
  6719. _box.appendChild(_loading)
  6720. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6721. switch (str) {
  6722. case "whiteboard":
  6723. aTool = 1;
  6724. _iframe = $$("iframe", {
  6725. "frameborder": "no",
  6726. "border": "0",
  6727. "scrolling ": "no",
  6728. "style": {
  6729. "cssText": "border:0;width:100%;height:100%"
  6730. },
  6731. "src": "https://iwb.cocorobo.cn/"
  6732. })
  6733. _box.appendChild(_iframe);
  6734. _box.appendChild(_jie);
  6735. _formdiv = new U.UF.UI.form(
  6736. "电子白板",
  6737. _box, {
  6738. "id": "whiteboards" + cid + stage + task + tool,
  6739. "style": {
  6740. "width": "90%",
  6741. "height": "90%",
  6742. "overflow": 'hidden'
  6743. },
  6744. "onresize": function () { }
  6745. }, {
  6746. closecallback: function () { }
  6747. }, {
  6748. "style": {
  6749. "height": "36px"
  6750. }
  6751. }).form; //创建窗体
  6752. _taskbar = {
  6753. "id": str + _formdiv.id,
  6754. "style": {
  6755. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6756. },
  6757. "name": "电子白板",
  6758. "forms": _formdiv,
  6759. "click": function () {
  6760. U.MD.D.I.openApplication(str, obj, info);
  6761. }
  6762. }
  6763. break;
  6764. case "mind":
  6765. aTool = 3;
  6766. _iframe = $$("iframe", {
  6767. "frameborder": "no",
  6768. "border": "0",
  6769. "scrolling ": "no",
  6770. "style": {
  6771. "cssText": "border:0;width:100%;height:100%"
  6772. },
  6773. "src": "/kityminder-editor/dist/index.html"
  6774. });
  6775. _box.appendChild(_iframe);
  6776. _box.appendChild(_jie);
  6777. _formdiv = new U.UF.UI.form(
  6778. "思维导图",
  6779. _box, { //"/jsmind/example/demo.html"
  6780. "id": "minds" + cid + stage + task + tool,
  6781. "style": {
  6782. "width": "90%",
  6783. "height": "90%",
  6784. "overflow": 'hidden'
  6785. },
  6786. "onresize": function () { }
  6787. }, {
  6788. closecallback: function () { }
  6789. }, {
  6790. "style": {
  6791. "height": "36px"
  6792. }
  6793. }).form; //创建窗体
  6794. _taskbar = {
  6795. "id": str + _formdiv.id,
  6796. "style": {
  6797. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6798. },
  6799. "name": "思维导图",
  6800. "forms": _formdiv,
  6801. "click": function () {
  6802. U.MD.D.I.openApplication(str, obj, info);
  6803. }
  6804. }
  6805. break;
  6806. case "doc":
  6807. aTool = 6;
  6808. _iframe = $$("iframe", {
  6809. "frameborder": "no",
  6810. "border": "0",
  6811. "scrolling ": "no",
  6812. "style": {
  6813. "cssText": "border:0;width:100%;height:100%"
  6814. },
  6815. "src": "/Office/Word/WordEditArea.htm"
  6816. })
  6817. _box.appendChild(_iframe);
  6818. _box.appendChild(_jie);
  6819. _formdiv = new U.UF.UI.form(
  6820. "协同文档",
  6821. _box, {
  6822. "id": "docs" + cid + stage + task + tool,
  6823. "style": {
  6824. "width": "90%",
  6825. "height": "90%",
  6826. "overflow": 'hidden'
  6827. },
  6828. "onresize": function () { }
  6829. }, {
  6830. closecallback: function () { }
  6831. }, {
  6832. "style": {
  6833. "height": "36px"
  6834. }
  6835. }).form; //创建窗体
  6836. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6837. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6838. })
  6839. _taskbar = {
  6840. "id": str + _formdiv.id,
  6841. "style": {
  6842. "backgroundImage": "url(/img/icon/doc.png)"
  6843. },
  6844. "name": "协同文档",
  6845. "forms": _formdiv,
  6846. "click": function () {
  6847. U.MD.D.I.openApplication(str, obj, info);
  6848. }
  6849. }
  6850. break;
  6851. }
  6852. const script1 = document.createElement("script");
  6853. script1.type = "text/javascript";
  6854. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6855. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6856. const script2 = document.createElement("script");
  6857. script2.type = "text/javascript";
  6858. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6859. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6860. const script3 = document.createElement("script");
  6861. script3.type = "text/javascript";
  6862. script3.charset = "UTF-8";
  6863. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6864. const script4 = document.createElement("script");
  6865. script4.type = "text/javascript";
  6866. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6867. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6868. if (_iframe) {
  6869. if (str == 'doc') {
  6870. _iframe = _formdiv.querySelector('iframe')
  6871. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6872. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6873. _iframe.contentWindow.document.body.appendChild(script1);
  6874. _iframe.contentWindow.document.body.appendChild(script2);
  6875. // _iframe.contentWindow.document.body.appendChild(script3);
  6876. _iframe.contentWindow.document.body.appendChild(script4);
  6877. })
  6878. if (onloadListener) {
  6879. _iframe.contentDocument.location.reload()
  6880. } else {
  6881. _iframe.contentDocument.location.reload()
  6882. }
  6883. } else if (str == 'mind') {
  6884. _iframe = _formdiv.querySelector('iframe')
  6885. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6886. _iframe.contentWindow.document.body.appendChild(script1);
  6887. _iframe.contentWindow.document.body.appendChild(script2);
  6888. _iframe.contentWindow.document.body.appendChild(script4);
  6889. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6890. })
  6891. if (onloadListener) {
  6892. _iframe.contentDocument.location.reload()
  6893. } else {
  6894. _iframe.contentDocument.location.reload()
  6895. }
  6896. } else {
  6897. _iframe.onload = () => {
  6898. _iframe.contentWindow.document.body.appendChild(script1);
  6899. _iframe.contentWindow.document.body.appendChild(script2);
  6900. // _iframe.contentWindow.document.body.appendChild(script3);
  6901. _iframe.contentWindow.document.body.appendChild(script4);
  6902. };
  6903. }
  6904. _jie.onclick = async () => {
  6905. let text = ''
  6906. if (aTool == 6) {
  6907. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6908. } else if (aTool == 3) {
  6909. text = await U.MD.D.I.getEditorContent(_iframe);
  6910. }
  6911. _loading.style.display = 'flex'
  6912. console.log(_loading);
  6913. var _ajs = _iframe.contentWindow.document.createElement("script");
  6914. _ajs.type = "text/javascript";
  6915. _ajs.innerHTML =
  6916. // 'console.log(' + _loading + ');\n' +
  6917. 'var _js = document.createElement("script");\n' +
  6918. '_js.type="text/javascript";\n' +
  6919. '_js.charset="UTF-8";\n' +
  6920. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6921. "_js.onload = function(){\n" +
  6922. ' var a = document.getElementsByTagName("img")\n' +
  6923. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6924. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6925. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6926. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6927. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6928. "beforeUpload_shishi(file," +
  6929. "'" +
  6930. _userid +
  6931. "'" +
  6932. ", " +
  6933. "'" +
  6934. _cid +
  6935. "'" +
  6936. ", " +
  6937. "'" +
  6938. _stage +
  6939. "'" +
  6940. ", " +
  6941. "'" +
  6942. _task +
  6943. "'" +
  6944. ", " +
  6945. "'" +
  6946. _tool +
  6947. "'" +
  6948. ", " +
  6949. "'" +
  6950. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6951. "'" +
  6952. ", " +
  6953. "'" +
  6954. aTool +
  6955. "'" +
  6956. ", " +
  6957. "`" +
  6958. text +
  6959. "`" +
  6960. ")\n" +
  6961. " });\n" +
  6962. "}\n" +
  6963. "document.head.appendChild(_js);\n";
  6964. _iframe.contentWindow.document.head.appendChild(_ajs);
  6965. }
  6966. }
  6967. //U.MD.D.I.openClick(str);
  6968. //如果有任务栏信息
  6969. // if (_taskbar) {
  6970. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6971. // }
  6972. }
  6973. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  6974. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6975. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6976. _userinfo = US.userInfo, //登录用户信息
  6977. _userid = US.userInfo.userid //登录用户id
  6978. let _iframe;
  6979. let _cid = cid,
  6980. _stage = stage,
  6981. _task = task,
  6982. _tool = tool;
  6983. var _jie = $$("div", {
  6984. "style": {
  6985. "position": "absolute",
  6986. "bottom": "50px",
  6987. "right": "50px",
  6988. "zIndex": "9999",
  6989. "backgroundColor": "#2268bc",
  6990. "color": "#fff",
  6991. "padding": "12px 20px",
  6992. "cursor": "pointer",
  6993. "borderRadius": "4px",
  6994. },
  6995. "innerHTML": "确认并提交"
  6996. })
  6997. let aTool = ''
  6998. let _loading = document.createElement('div')
  6999. _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;"
  7000. // _loading.id = "";
  7001. let _lchild = document.createElement('div')
  7002. let _limg = document.createElement('img')
  7003. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7004. _limg.style = "width: 26px;margin-right: 10px;"
  7005. _lchild.appendChild(_limg)
  7006. let _lspan = document.createElement('span')
  7007. _lspan.innerHTML = "上传中..."
  7008. _lchild.appendChild(_lspan)
  7009. _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%);"
  7010. _loading.appendChild(_lchild)
  7011. var _box = $$('div', {
  7012. "style": {
  7013. "position": "relative",
  7014. "width": "100%",
  7015. "height": "100%",
  7016. },
  7017. })
  7018. _box.appendChild(_loading)
  7019. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7020. switch (str) {
  7021. case "whiteboard":
  7022. aTool = 1;
  7023. _iframe = $$("iframe", {
  7024. "frameborder": "no",
  7025. "border": "0",
  7026. "scrolling ": "no",
  7027. "style": {
  7028. "cssText": "border:0;width:100%;height:100%"
  7029. },
  7030. "src": "https://iwb.cocorobo.cn/"
  7031. })
  7032. _box.appendChild(_iframe);
  7033. _box.appendChild(_jie);
  7034. _formdiv = new U.UF.UI.form(
  7035. "电子白板",
  7036. _box, {
  7037. "id": "whiteboards" + cid + stage + task + tool,
  7038. "style": {
  7039. "width": "90%",
  7040. "height": "90%",
  7041. "overflow": 'hidden'
  7042. },
  7043. "onresize": function () { }
  7044. }, {
  7045. closecallback: function () { }
  7046. }, {
  7047. "style": {
  7048. "height": "36px"
  7049. }
  7050. }).form; //创建窗体
  7051. _taskbar = {
  7052. "id": str + _formdiv.id,
  7053. "style": {
  7054. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7055. },
  7056. "name": "电子白板",
  7057. "forms": _formdiv,
  7058. "click": function () {
  7059. U.MD.D.I.openApplication(str, obj, info);
  7060. }
  7061. }
  7062. break;
  7063. case "mind":
  7064. aTool = 3;
  7065. _iframe = $$("iframe", {
  7066. "frameborder": "no",
  7067. "border": "0",
  7068. "scrolling ": "no",
  7069. "style": {
  7070. "cssText": "border:0;width:100%;height:100%"
  7071. },
  7072. "src": "/kityminder-editor/dist/index.html"
  7073. });
  7074. _box.appendChild(_iframe);
  7075. _box.appendChild(_jie);
  7076. _formdiv = new U.UF.UI.form(
  7077. "思维导图",
  7078. _box, { //"/jsmind/example/demo.html"
  7079. "id": "minds" + cid + stage + task + tool,
  7080. "style": {
  7081. "width": "90%",
  7082. "height": "90%",
  7083. "overflow": 'hidden'
  7084. },
  7085. "onresize": function () { }
  7086. }, {
  7087. closecallback: function () { }
  7088. }, {
  7089. "style": {
  7090. "height": "36px"
  7091. }
  7092. }).form; //创建窗体
  7093. _taskbar = {
  7094. "id": str + _formdiv.id,
  7095. "style": {
  7096. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7097. },
  7098. "name": "思维导图",
  7099. "forms": _formdiv,
  7100. "click": function () {
  7101. U.MD.D.I.openApplication(str, obj, info);
  7102. }
  7103. }
  7104. break;
  7105. case "doc":
  7106. aTool = 6;
  7107. _iframe = $$("iframe", {
  7108. "frameborder": "no",
  7109. "border": "0",
  7110. "scrolling ": "no",
  7111. "style": {
  7112. "cssText": "border:0;width:100%;height:100%"
  7113. },
  7114. "src": "/Office/Word/WordEditArea.htm"
  7115. })
  7116. _box.appendChild(_iframe);
  7117. _box.appendChild(_jie);
  7118. _formdiv = new U.UF.UI.form(
  7119. "协同文档",
  7120. _box, {
  7121. "id": "docs" + cid + stage + task + tool,
  7122. "style": {
  7123. "width": "90%",
  7124. "height": "90%",
  7125. "overflow": 'hidden'
  7126. },
  7127. "onresize": function () { }
  7128. }, {
  7129. closecallback: function () { }
  7130. }, {
  7131. "style": {
  7132. "height": "36px"
  7133. }
  7134. }).form; //创建窗体
  7135. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7136. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7137. })
  7138. _taskbar = {
  7139. "id": str + _formdiv.id,
  7140. "style": {
  7141. "backgroundImage": "url(/img/icon/doc.png)"
  7142. },
  7143. "name": "协同文档",
  7144. "forms": _formdiv,
  7145. "click": function () {
  7146. U.MD.D.I.openApplication(str, obj, info);
  7147. }
  7148. }
  7149. break;
  7150. }
  7151. const script1 = document.createElement("script");
  7152. script1.type = "text/javascript";
  7153. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7154. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7155. const script2 = document.createElement("script");
  7156. script2.type = "text/javascript";
  7157. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7158. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7159. const script3 = document.createElement("script");
  7160. script3.type = "text/javascript";
  7161. script3.charset = "UTF-8";
  7162. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7163. const script4 = document.createElement("script");
  7164. script4.type = "text/javascript";
  7165. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7166. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7167. if (_iframe) {
  7168. if (str == 'doc') {
  7169. _iframe = _formdiv.querySelector('iframe')
  7170. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7171. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7172. _iframe.contentWindow.document.body.appendChild(script1);
  7173. _iframe.contentWindow.document.body.appendChild(script2);
  7174. // _iframe.contentWindow.document.body.appendChild(script3);
  7175. _iframe.contentWindow.document.body.appendChild(script4);
  7176. })
  7177. if (onloadListener) {
  7178. _iframe.contentDocument.location.reload()
  7179. } else {
  7180. _iframe.contentDocument.location.reload()
  7181. }
  7182. } else if (str == 'mind') {
  7183. _iframe = _formdiv.querySelector('iframe')
  7184. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7185. _iframe.contentWindow.document.body.appendChild(script1);
  7186. _iframe.contentWindow.document.body.appendChild(script2);
  7187. _iframe.contentWindow.document.body.appendChild(script4);
  7188. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7189. })
  7190. if (onloadListener) {
  7191. _iframe.contentDocument.location.reload()
  7192. } else {
  7193. _iframe.contentDocument.location.reload()
  7194. }
  7195. } else {
  7196. _iframe.onload = () => {
  7197. _iframe.contentWindow.document.body.appendChild(script1);
  7198. _iframe.contentWindow.document.body.appendChild(script2);
  7199. // _iframe.contentWindow.document.body.appendChild(script3);
  7200. _iframe.contentWindow.document.body.appendChild(script4);
  7201. };
  7202. }
  7203. _jie.onclick = async () => {
  7204. let text = ''
  7205. if (aTool == 6) {
  7206. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7207. } else if (aTool == 3) {
  7208. text = await U.MD.D.I.getEditorContent(_iframe);
  7209. }
  7210. _loading.style.display = 'flex'
  7211. console.log(_loading);
  7212. var _ajs = _iframe.contentWindow.document.createElement("script");
  7213. _ajs.type = "text/javascript";
  7214. _ajs.innerHTML =
  7215. // 'console.log(' + _loading + ');\n' +
  7216. 'var _js = document.createElement("script");\n' +
  7217. '_js.type="text/javascript";\n' +
  7218. '_js.charset="UTF-8";\n' +
  7219. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7220. "_js.onload = function(){\n" +
  7221. ' var a = document.getElementsByTagName("img")\n' +
  7222. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7223. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7224. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7225. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7226. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7227. "beforeUpload_shishi(file," +
  7228. "'" +
  7229. _userid +
  7230. "'" +
  7231. ", " +
  7232. "'" +
  7233. _cid +
  7234. "'" +
  7235. ", " +
  7236. "'" +
  7237. _stage +
  7238. "'" +
  7239. ", " +
  7240. "'" +
  7241. _task +
  7242. "'" +
  7243. ", " +
  7244. "'" +
  7245. _tool +
  7246. "'" +
  7247. ", " +
  7248. "'" +
  7249. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7250. "'" +
  7251. ", " +
  7252. "'" +
  7253. aTool +
  7254. "'" +
  7255. ", " +
  7256. "`" +
  7257. text +
  7258. "`" +
  7259. ")\n" +
  7260. " });\n" +
  7261. "}\n" +
  7262. "document.head.appendChild(_js);\n";
  7263. _iframe.contentWindow.document.head.appendChild(_ajs);
  7264. }
  7265. }
  7266. //U.MD.D.I.openClick(str);
  7267. //如果有任务栏信息
  7268. // if (_taskbar) {
  7269. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7270. // }
  7271. }
  7272. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7273. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7274. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7275. _userinfo = US.userInfo, //登录用户信息
  7276. _userid = US.userInfo.userid //登录用户id
  7277. let _iframe;
  7278. let _cid = cid,
  7279. _stage = stage,
  7280. _task = task,
  7281. _tool = tool;
  7282. var _jie = $$("div", {
  7283. "style": {
  7284. "position": "absolute",
  7285. "bottom": "50px",
  7286. "right": "50px",
  7287. "zIndex": "9999",
  7288. "backgroundColor": "#2268bc",
  7289. "color": "#fff",
  7290. "padding": "12px 20px",
  7291. "cursor": "pointer",
  7292. "borderRadius": "4px",
  7293. },
  7294. "innerHTML": "上传模板"
  7295. })
  7296. let aTool = ''
  7297. let _loading = document.createElement('div')
  7298. _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;"
  7299. // _loading.id = "";
  7300. let _lchild = document.createElement('div')
  7301. let _limg = document.createElement('img')
  7302. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7303. _limg.style = "width: 26px;margin-right: 10px;"
  7304. _lchild.appendChild(_limg)
  7305. let _lspan = document.createElement('span')
  7306. _lspan.innerHTML = "上传中..."
  7307. _lchild.appendChild(_lspan)
  7308. _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%);"
  7309. _loading.appendChild(_lchild)
  7310. var _box = $$('div', {
  7311. "style": {
  7312. "position": "relative",
  7313. "width": "100%",
  7314. "height": "100%",
  7315. },
  7316. })
  7317. _box.appendChild(_loading)
  7318. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7319. switch (str) {
  7320. case "whiteboard":
  7321. aTool = 1;
  7322. _iframe = $$("iframe", {
  7323. "frameborder": "no",
  7324. "border": "0",
  7325. "scrolling ": "no",
  7326. "style": {
  7327. "cssText": "border:0;width:100%;height:100%"
  7328. },
  7329. "src": "https://iwb.cocorobo.cn/"
  7330. })
  7331. _box.appendChild(_iframe);
  7332. _box.appendChild(_jie);
  7333. _formdiv = new U.UF.UI.form(
  7334. "电子白板",
  7335. _box, {
  7336. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7337. "style": {
  7338. "width": "90%",
  7339. "height": "90%",
  7340. "overflow": 'hidden'
  7341. },
  7342. "onresize": function () { }
  7343. }, {
  7344. closecallback: function () { }
  7345. }, {
  7346. "style": {
  7347. "height": "36px"
  7348. }
  7349. }).form; //创建窗体
  7350. _taskbar = {
  7351. "id": str + _formdiv.id,
  7352. "style": {
  7353. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7354. },
  7355. "name": "电子白板",
  7356. "forms": _formdiv,
  7357. "click": function () {
  7358. U.MD.D.I.openApplication(str, obj, info);
  7359. }
  7360. }
  7361. break;
  7362. case "mind":
  7363. aTool = 3;
  7364. _iframe = $$("iframe", {
  7365. "frameborder": "no",
  7366. "border": "0",
  7367. "scrolling ": "no",
  7368. "style": {
  7369. "cssText": "border:0;width:100%;height:100%"
  7370. },
  7371. "src": "/kityminder-editor/dist/index.html"
  7372. });
  7373. _box.appendChild(_iframe);
  7374. _box.appendChild(_jie);
  7375. _formdiv = new U.UF.UI.form(
  7376. "思维导图",
  7377. _box, { //"/jsmind/example/demo.html"
  7378. "id": "minds_Yu" + cid + stage + task + tool,
  7379. "style": {
  7380. "width": "90%",
  7381. "height": "90%",
  7382. "overflow": 'hidden'
  7383. },
  7384. "onresize": function () { }
  7385. }, {
  7386. closecallback: function () { }
  7387. }, {
  7388. "style": {
  7389. "height": "36px"
  7390. }
  7391. }).form; //创建窗体
  7392. _taskbar = {
  7393. "id": str + _formdiv.id,
  7394. "style": {
  7395. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7396. },
  7397. "name": "思维导图",
  7398. "forms": _formdiv,
  7399. "click": function () {
  7400. U.MD.D.I.openApplication(str, obj, info);
  7401. }
  7402. }
  7403. break;
  7404. case "doc":
  7405. aTool = 6;
  7406. _iframe = $$("iframe", {
  7407. "frameborder": "no",
  7408. "border": "0",
  7409. "scrolling ": "no",
  7410. "style": {
  7411. "cssText": "border:0;width:100%;height:100%"
  7412. },
  7413. "src": "/Office/Word/WordEditArea.htm"
  7414. })
  7415. _box.appendChild(_iframe);
  7416. _box.appendChild(_jie);
  7417. _formdiv = new U.UF.UI.form(
  7418. "协同文档",
  7419. _box, {
  7420. "id": "docs_Yu" + cid + stage + task + tool,
  7421. "style": {
  7422. "width": "90%",
  7423. "height": "90%",
  7424. "overflow": 'hidden'
  7425. },
  7426. "onresize": function () { }
  7427. }, {
  7428. closecallback: function () { }
  7429. }, {
  7430. "style": {
  7431. "height": "36px"
  7432. }
  7433. }).form; //创建窗体
  7434. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7435. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7436. })
  7437. _taskbar = {
  7438. "id": str + _formdiv.id,
  7439. "style": {
  7440. "backgroundImage": "url(/img/icon/doc.png)"
  7441. },
  7442. "name": "协同文档",
  7443. "forms": _formdiv,
  7444. "click": function () {
  7445. U.MD.D.I.openApplication(str, obj, info);
  7446. }
  7447. }
  7448. break;
  7449. case "CocoPi":
  7450. aTool = 57;
  7451. _iframe = $$("iframe", {
  7452. "allowpaymentrequest": "allowpaymentrequest",
  7453. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7454. "webkitallowfullscreen": "",
  7455. "mozallowfullscreen": "",
  7456. "frameborder": "no",
  7457. "border": "0",
  7458. "scrolling ": "no",
  7459. "style": {
  7460. "cssText": "border:0;width:100%;height:100%"
  7461. },
  7462. "src": "https://pi.cocorobo.cn/"
  7463. })
  7464. _box.appendChild(_iframe);
  7465. _box.appendChild(_jie);
  7466. _formdiv = new U.UF.UI.form(
  7467. "CocoPi",
  7468. _box, {
  7469. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7470. "style": {
  7471. "width": "90%",
  7472. "height": "90%",
  7473. "overflow": 'hidden'
  7474. },
  7475. "onresize": function () { }
  7476. }, {
  7477. closecallback: function () { }
  7478. }, {
  7479. "style": {
  7480. "height": "36px"
  7481. }
  7482. }).form; //创建窗体
  7483. _taskbar = {
  7484. "id": str + _formdiv.id,
  7485. "style": {
  7486. "backgroundImage": "url(/img/icon/cocopi.png)"
  7487. },
  7488. "name": "CocoPi",
  7489. "forms": _formdiv,
  7490. "click": function () {
  7491. U.MD.D.I.openApplication(str, obj, info);
  7492. }
  7493. }
  7494. break;
  7495. }
  7496. if (_iframe) {
  7497. if (str == 'doc') {
  7498. _iframe = _formdiv.querySelector('iframe')
  7499. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7500. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7501. })
  7502. if (onloadListener) {
  7503. _iframe.contentDocument.location.reload()
  7504. } else {
  7505. _iframe.contentDocument.location.reload()
  7506. }
  7507. } else if (str == 'mind') {
  7508. _iframe = _formdiv.querySelector('iframe')
  7509. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7510. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7511. })
  7512. if (onloadListener) {
  7513. _iframe.contentDocument.location.reload()
  7514. } else {
  7515. _iframe.contentDocument.location.reload()
  7516. }
  7517. } else if (str == 'whiteboard') {
  7518. _iframe = _formdiv.querySelector('iframe')
  7519. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7520. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7521. })
  7522. if (onloadListener) {
  7523. _iframe.contentDocument.location.reload()
  7524. } else {
  7525. _iframe.contentDocument.location.reload()
  7526. }
  7527. } else if (str == 'CocoPi') {
  7528. _iframe = _formdiv.querySelector('iframe')
  7529. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7530. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7531. })
  7532. if (onloadListener) {
  7533. _iframe.contentDocument.location.reload()
  7534. } else {
  7535. _iframe.contentDocument.location.reload()
  7536. }
  7537. } else {
  7538. _iframe.onload = () => { };
  7539. }
  7540. _jie.onclick = async () => {
  7541. let text = ''
  7542. let type = '2'
  7543. if (aTool == 1) {
  7544. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7545. type = '3'
  7546. } else if (aTool == 6) {
  7547. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7548. type = '1'
  7549. } else if (aTool == 3) {
  7550. text = await U.MD.D.I.getEditorContent(_iframe);
  7551. type = '2'
  7552. } else if (aTool == 57) {
  7553. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7554. type = '4'
  7555. }
  7556. _loading.style.display = 'flex'
  7557. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7558. }
  7559. }
  7560. //U.MD.D.I.openClick(str);
  7561. //如果有任务栏信息
  7562. // if (_taskbar) {
  7563. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7564. // }
  7565. }
  7566. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7567. var xmlhttp;
  7568. var Mac, Sn, DeviceId
  7569. if (window.XMLHttpRequest) {
  7570. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7571. xmlhttp = new XMLHttpRequest();
  7572. } else {
  7573. // IE6, IE5 浏览器执行代码
  7574. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7575. }
  7576. xmlhttp.onreadystatechange = function () {
  7577. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7578. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7579. // resolve(res.value[0][0].text);
  7580. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7581. }
  7582. }
  7583. }
  7584. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7585. xmlhttp.send();
  7586. }
  7587. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7588. var xmlhttp;
  7589. var Mac, Sn, DeviceId
  7590. if (window.XMLHttpRequest) {
  7591. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7592. xmlhttp = new XMLHttpRequest();
  7593. } else {
  7594. // IE6, IE5 浏览器执行代码
  7595. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7596. }
  7597. xmlhttp.onreadystatechange = function () {
  7598. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7599. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7600. // resolve(res.value[0][0].text);
  7601. if (type == '2') {
  7602. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7603. } else if (type == '3') {
  7604. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7605. } else if (type == '4') {
  7606. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7607. }
  7608. } else {
  7609. if (type == '2') {
  7610. iframe.contentWindow.editor.minder.importData('json', '')
  7611. } else if (type == '3') {
  7612. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7613. } else if (type == '4') {
  7614. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7615. }
  7616. }
  7617. }
  7618. }
  7619. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7620. xmlhttp.send();
  7621. }
  7622. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7623. var xmlhttp;
  7624. var Mac, Sn, DeviceId
  7625. if (window.XMLHttpRequest) {
  7626. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7627. xmlhttp = new XMLHttpRequest();
  7628. } else {
  7629. // IE6, IE5 浏览器执行代码
  7630. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7631. }
  7632. xmlhttp.onreadystatechange = function () {
  7633. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7634. if (xmlhttp.response) {
  7635. // resolve(res.value[0][0].text);
  7636. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7637. // $(fileInput).val('');
  7638. // });
  7639. span.innerHTML = '上传成功'
  7640. setTimeout(() => {
  7641. loading.style.display = 'none'
  7642. }, 1000);
  7643. }
  7644. }
  7645. }
  7646. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7647. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7648. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7649. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7650. // 设置请求头,表示请求体的编码格式
  7651. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7652. // 设置请求体,使用url-encoded格式的数据
  7653. }
  7654. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7655. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7656. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7657. _userinfo = US.userInfo, //登录用户信息
  7658. _userid = US.userInfo.userid //登录用户id
  7659. let _iframe;
  7660. let _cid = cid,
  7661. _stage = stage,
  7662. _task = task,
  7663. _tool = tool;
  7664. var _jie = $$("div", {
  7665. "style": {
  7666. "position": "absolute",
  7667. "bottom": "50px",
  7668. "right": "50px",
  7669. "zIndex": "9999",
  7670. "backgroundColor": "#2268bc",
  7671. "color": "#fff",
  7672. "padding": "12px 20px",
  7673. "cursor": "pointer",
  7674. "borderRadius": "4px",
  7675. },
  7676. "innerHTML": "提交作业"
  7677. })
  7678. let aTool = ''
  7679. let _loading = document.createElement('div')
  7680. _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;"
  7681. // _loading.id = "";
  7682. let _lchild = document.createElement('div')
  7683. let _limg = document.createElement('img')
  7684. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7685. _limg.style = "width: 26px;margin-right: 10px;"
  7686. _lchild.appendChild(_limg)
  7687. let _lspan = document.createElement('span')
  7688. _lspan.innerHTML = "上传中..."
  7689. _lchild.appendChild(_lspan)
  7690. _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%);"
  7691. _loading.appendChild(_lchild)
  7692. var _box = $$('div', {
  7693. "style": {
  7694. "position": "relative",
  7695. "width": "100%",
  7696. "height": "100%",
  7697. },
  7698. })
  7699. _box.appendChild(_loading)
  7700. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7701. switch (str) {
  7702. case "CocoPi":
  7703. aTool = 57;
  7704. _iframe = $$("iframe", {
  7705. "allowpaymentrequest": "allowpaymentrequest",
  7706. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7707. "webkitallowfullscreen": "",
  7708. "mozallowfullscreen": "",
  7709. "frameborder": "no",
  7710. "border": "0",
  7711. "scrolling ": "no",
  7712. "style": {
  7713. "cssText": "border:0;width:100%;height:100%"
  7714. },
  7715. "src": "https://pi.cocorobo.cn/"
  7716. })
  7717. _box.appendChild(_iframe);
  7718. _box.appendChild(_jie);
  7719. _formdiv = new U.UF.UI.form(
  7720. "CocoPi",
  7721. _box, {
  7722. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7723. "style": {
  7724. "width": "90%",
  7725. "height": "90%",
  7726. "overflow": 'hidden'
  7727. },
  7728. "onresize": function () { }
  7729. }, {
  7730. closecallback: function () { }
  7731. }, {
  7732. "style": {
  7733. "height": "36px"
  7734. }
  7735. }).form; //创建窗体
  7736. _taskbar = {
  7737. "id": str + _formdiv.id,
  7738. "style": {
  7739. "backgroundImage": "url(/img/icon/cocopi.png)"
  7740. },
  7741. "name": "CocoPi",
  7742. "forms": _formdiv,
  7743. "click": function () {
  7744. U.MD.D.I.openApplication(str, obj, info);
  7745. }
  7746. }
  7747. break;
  7748. }
  7749. if (_iframe) {
  7750. if (str == 'CocoPi') {
  7751. _iframe = _formdiv.querySelector('iframe')
  7752. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7753. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7754. })
  7755. if (onloadListener) {
  7756. _iframe.contentDocument.location.reload()
  7757. } else {
  7758. _iframe.contentDocument.location.reload()
  7759. }
  7760. }
  7761. _jie.onclick = async () => {
  7762. let text = ''
  7763. if (aTool == 57) {
  7764. text = _iframe.contentWindow.getLoadXmlStr()
  7765. }
  7766. _loading.style.display = 'flex'
  7767. console.log(_loading);
  7768. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7769. _loading.style.display = 'none'
  7770. let _div = document.createElement('div')
  7771. _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;"
  7772. let _inner = document.createElement('div')
  7773. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7774. _inner.innerHTML = "上传成功"
  7775. _div.appendChild(_inner)
  7776. _iframe.contentWindow.window.document.body.appendChild(_div)
  7777. _div.onclick = () => {
  7778. _iframe.contentWindow.window.document.body.removeChild(_div)
  7779. }
  7780. setTimeout(() => {
  7781. _iframe.contentWindow.window.document.body.removeChild(_div)
  7782. }, 1000);
  7783. }, [], { "type": "POST", "withCredentials": true });
  7784. }
  7785. }
  7786. }
  7787. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7788. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7789. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7790. _userid = student.userid, //登录用户id
  7791. _username = student.student //用户名字
  7792. let _iframe;
  7793. let _cid = cid,
  7794. _stage = stage,
  7795. _task = task,
  7796. _tool = tool;
  7797. var _jie = $$("div", {
  7798. "style": {
  7799. "position": "absolute",
  7800. "bottom": "50px",
  7801. "right": "50px",
  7802. "zIndex": "9999",
  7803. "backgroundColor": "#2268bc",
  7804. "color": "#fff",
  7805. "padding": "12px 20px",
  7806. "cursor": "pointer",
  7807. "borderRadius": "4px",
  7808. },
  7809. "innerHTML": "提交作业"
  7810. })
  7811. let aTool = ''
  7812. let _loading = document.createElement('div')
  7813. _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;"
  7814. // _loading.id = "";
  7815. let _lchild = document.createElement('div')
  7816. let _limg = document.createElement('img')
  7817. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7818. _limg.style = "width: 26px;margin-right: 10px;"
  7819. _lchild.appendChild(_limg)
  7820. let _lspan = document.createElement('span')
  7821. _lspan.innerHTML = "上传中..."
  7822. _lchild.appendChild(_lspan)
  7823. _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%);"
  7824. _loading.appendChild(_lchild)
  7825. var _box = $$('div', {
  7826. "style": {
  7827. "position": "relative",
  7828. "width": "100%",
  7829. "height": "100%",
  7830. },
  7831. })
  7832. _box.appendChild(_loading)
  7833. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7834. switch (str) {
  7835. case "CocoPi":
  7836. aTool = 57;
  7837. _iframe = $$("iframe", {
  7838. "allowpaymentrequest": "allowpaymentrequest",
  7839. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7840. "webkitallowfullscreen": "",
  7841. "mozallowfullscreen": "",
  7842. "frameborder": "no",
  7843. "border": "0",
  7844. "scrolling ": "no",
  7845. "style": {
  7846. "cssText": "border:0;width:100%;height:100%"
  7847. },
  7848. "src": "https://pi.cocorobo.cn/"
  7849. })
  7850. _box.appendChild(_iframe);
  7851. _box.appendChild(_jie);
  7852. _formdiv = new U.UF.UI.form(
  7853. "CocoPi-" + _username,
  7854. _box, {
  7855. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7856. "style": {
  7857. "width": "90%",
  7858. "height": "90%",
  7859. "overflow": 'hidden'
  7860. },
  7861. "onresize": function () { }
  7862. }, {
  7863. closecallback: function () { }
  7864. }, {
  7865. "style": {
  7866. "height": "36px"
  7867. }
  7868. }).form; //创建窗体
  7869. _taskbar = {
  7870. "id": str + _formdiv.id,
  7871. "style": {
  7872. "backgroundImage": "url(/img/icon/cocopi.png)"
  7873. },
  7874. "name": "CocoPi",
  7875. "forms": _formdiv,
  7876. "click": function () {
  7877. U.MD.D.I.openApplication(str, obj, info);
  7878. }
  7879. }
  7880. break;
  7881. }
  7882. if (_iframe) {
  7883. if (str == 'CocoPi') {
  7884. _iframe = _formdiv.querySelector('iframe')
  7885. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7886. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7887. })
  7888. if (onloadListener) {
  7889. _iframe.contentDocument.location.reload()
  7890. } else {
  7891. _iframe.contentDocument.location.reload()
  7892. }
  7893. }
  7894. _jie.onclick = async () => {
  7895. let text = ''
  7896. if (aTool == 57) {
  7897. text = _iframe.contentWindow.getLoadXmlStr()
  7898. }
  7899. _loading.style.display = 'flex'
  7900. console.log(_loading);
  7901. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7902. _loading.style.display = 'none'
  7903. let _div = document.createElement('div')
  7904. _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;"
  7905. let _inner = document.createElement('div')
  7906. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7907. _inner.innerHTML = "上传成功"
  7908. _div.appendChild(_inner)
  7909. _iframe.contentWindow.window.document.body.appendChild(_div)
  7910. _div.onclick = () => {
  7911. _iframe.contentWindow.window.document.body.removeChild(_div)
  7912. }
  7913. setTimeout(() => {
  7914. _iframe.contentWindow.window.document.body.removeChild(_div)
  7915. }, 1000);
  7916. }, [], { "type": "POST", "withCredentials": true });
  7917. }
  7918. }
  7919. }
  7920. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7921. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7922. if (res.value[0].length > 0) {
  7923. if (atool == 57) {
  7924. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7925. }
  7926. } else {
  7927. if (atool == 57) {
  7928. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7929. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7930. }
  7931. }
  7932. }, [], { "type": "POST", "withCredentials": true });
  7933. }