DeskTop.js 488 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210
  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. ];
  627. //教科院实小教师桌面图标的全局变量
  628. U.MD.D.I.siesStudentDeskIcon = [
  629. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  630. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  631. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  632. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  633. ];
  634. //福田
  635. U.MD.D.I.gdjgTeacherDeskIcon = [
  636. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  637. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  638. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  639. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  640. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  641. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  642. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  643. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  644. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  645. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  646. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  647. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  648. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  649. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  650. ];
  651. //gdjg
  652. U.MD.D.I.gdjgAdminDeskIcon = [
  653. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  654. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  655. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  656. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  657. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  658. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  659. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  660. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  661. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  662. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  663. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  664. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  665. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  666. ];
  667. //hk
  668. U.MD.D.I.hkteacherDeskIcon = [
  669. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  670. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  671. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  672. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  673. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  674. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  675. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  676. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  677. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  678. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  679. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  680. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  681. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  682. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  683. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  684. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  685. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  686. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  687. ];
  688. //hk
  689. U.MD.D.I.hkStudentDeskIcon = [
  690. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  691. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  692. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  693. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  694. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  695. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  696. ];
  697. //hk
  698. U.MD.D.I.hkaceteacherDeskIcon = [
  699. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  700. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  701. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  702. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  703. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  704. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  705. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  706. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  707. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  708. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  709. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  710. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  711. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  712. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  713. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  714. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  715. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  716. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  717. ];
  718. //hk
  719. U.MD.D.I.hkaceStudentDeskIcon = [
  720. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  721. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  722. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  723. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  724. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  725. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  726. ];
  727. //香海正覺蓮社佛教正覺中學
  728. U.MD.D.I.hkZJLSteacherDeskIcon = [
  729. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  730. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  731. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  732. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  733. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  734. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  735. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  736. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  737. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  738. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  739. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  740. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  741. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  742. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  743. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  744. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  745. ];
  746. //香海正覺蓮社佛教正覺中學
  747. U.MD.D.I.hkZJLSStudentDeskIcon = [
  748. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  749. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  750. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  751. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  752. ];
  753. //云海
  754. U.MD.D.I.yunhaiTeacherDeskIcon = [
  755. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  756. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  757. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  758. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  759. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  760. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  761. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  762. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  763. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  764. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  765. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  766. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  767. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  768. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  769. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  770. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  771. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  772. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  773. ];
  774. //福田
  775. U.MD.D.I.heyuanTeacherDeskIcon = [
  776. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  777. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  778. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  779. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  780. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  781. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  782. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  783. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  784. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  785. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  786. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  787. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  788. ];
  789. //福田
  790. U.MD.D.I.heyuanAdminDeskIcon = [
  791. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  792. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  793. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  794. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  795. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  796. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  797. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  798. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  799. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  800. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  801. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  802. ];
  803. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  804. U.MD.D.I.szherTeacherDeskIcon = [
  805. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  806. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  807. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  808. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  809. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  810. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  811. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  812. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  813. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  814. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  815. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  816. ];
  817. //dsei
  818. U.MD.D.I.dseiTeacherDeskIcon = [
  819. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  820. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  821. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  822. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  823. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  824. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  825. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  826. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  827. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  828. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  829. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  830. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  831. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  832. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  833. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  834. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  835. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  836. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  837. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  838. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  839. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  840. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  841. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  842. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  843. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  844. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  845. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  846. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  847. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  848. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  849. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  850. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  851. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  852. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  853. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  854. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  855. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  856. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  857. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  858. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  859. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  860. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  861. ];
  862. //dsei
  863. U.MD.D.I.dseiAdminDeskIcon = [
  864. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  865. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  866. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  867. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  868. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  869. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  870. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  871. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  872. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  873. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  874. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  875. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  876. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  877. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  878. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  879. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  880. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  881. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  882. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  883. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  884. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  885. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  886. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  887. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  888. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  889. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  890. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  891. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  892. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  893. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  894. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  895. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  896. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  897. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  898. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  899. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  900. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  901. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  902. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  903. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  904. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  905. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  906. ];
  907. //dsei
  908. U.MD.D.I.dseiStudentDeskIcon = [
  909. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  910. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  911. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  912. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  913. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  914. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  915. ];
  916. //未来教育基地
  917. U.MD.D.I.szjkyTeacherDeskIcon = [
  918. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  919. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  920. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  921. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  922. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  923. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  924. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  925. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  926. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  927. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  928. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  929. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  930. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  931. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  932. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  933. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  934. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  935. ];
  936. //未来教育基地
  937. U.MD.D.I.szjkyAdminDeskIcon = [
  938. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  939. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  940. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  941. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  942. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  943. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  944. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  945. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  946. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  947. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  948. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  949. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  950. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  951. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  952. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  953. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  954. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  955. ];
  956. //未来教育基地
  957. U.MD.D.I.szjkyStudentDeskIcon = [
  958. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  959. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  960. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  961. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  962. ];
  963. //成华教育局
  964. U.MD.D.I.chjyjTeacherDeskIcon = [
  965. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  966. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  967. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  968. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  969. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  970. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  971. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  972. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  973. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  974. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  975. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  976. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  977. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  978. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  979. ];
  980. //成华教育局chjyj
  981. U.MD.D.I.chjyjAdminDeskIcon = [
  982. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  983. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  984. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  985. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  986. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  987. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  988. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  989. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  990. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  991. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  992. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  993. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  994. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  995. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  996. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  997. ];
  998. //成华教育局chjyj
  999. U.MD.D.I.chjyjStudentDeskIcon = [
  1000. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1001. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1002. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1003. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1004. ];
  1005. //tpc
  1006. U.MD.D.I.tpcStudentDeskIcon = [
  1007. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1008. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1009. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1010. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1011. ];
  1012. //tpc
  1013. U.MD.D.I.tpcTeacherDeskIcon = [
  1014. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1015. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1016. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1017. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1018. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1019. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1020. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1021. ];
  1022. //tpc
  1023. U.MD.D.I.tpcAdminDeskIcon = [
  1024. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1025. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1026. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1027. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1028. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1029. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1030. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1031. ];
  1032. //THU-IOE
  1033. U.MD.D.I.thuioeTeacherDeskIcon = [
  1034. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1035. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1036. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1037. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1038. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1039. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1040. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1041. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1042. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1043. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1044. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1045. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1046. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1047. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1048. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1049. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1050. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1051. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1052. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1053. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1054. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1055. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1056. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1057. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1058. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1059. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1060. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1061. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1062. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1063. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1064. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1065. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1066. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1067. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1068. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1069. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1070. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1071. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1072. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1073. ];
  1074. //THU-IOE
  1075. U.MD.D.I.thuioeStudentDeskIcon = [
  1076. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1077. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1078. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1079. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1080. ];
  1081. //jccssyl
  1082. U.MD.D.I.jccssylTeacherDeskIcon = [
  1083. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1084. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1085. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1086. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1087. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1088. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1089. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1090. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1091. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1092. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1093. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1094. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1095. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1096. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1097. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1098. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1099. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1100. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1101. ];
  1102. //jccssyl
  1103. U.MD.D.I.jccssylStudentDeskIcon = [
  1104. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1105. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1106. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1107. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1108. ];
  1109. //#region 桌面初始化a
  1110. /**
  1111. * 初始化桌面的起始函数
  1112. *
  1113. */
  1114. U.MD.D.I.init = function () {
  1115. if ($("#U_MD_D_K")[0]) {
  1116. //初始化桌面图标
  1117. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1118. // var clickUrl = ':12588/requestIp.php';
  1119. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1120. // U.MD.D.I.Ip = data;
  1121. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1122. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1123. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1124. // })
  1125. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1126. // })
  1127. }
  1128. }
  1129. /**
  1130. * 模式切换
  1131. *
  1132. */
  1133. U.MD.D.I.ModeCheck = function (type) {
  1134. if (US.Config.type == type) {
  1135. return
  1136. }
  1137. US.Config.type = type
  1138. $('.U_PBL_Check .active')[0].className = ''
  1139. if (type == 1) {
  1140. $('.U_PBL_Check div')[0].className = 'active'
  1141. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1142. } else {
  1143. $('.U_PBL_Check div')[1].className = 'active'
  1144. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1145. }
  1146. //初始化桌面图标
  1147. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1148. if (type == 2) {
  1149. U.MD.D.I.openApplication("project")
  1150. }
  1151. }
  1152. /**
  1153. * 隐藏任务栏
  1154. *
  1155. * @param {element} 桌面元素
  1156. */
  1157. U.MD.D.I.hiddenTaskbar = function (el) {
  1158. //任务栏位置变小
  1159. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1160. //桌面的位置变大
  1161. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1162. }
  1163. /**
  1164. * 隐藏任务栏
  1165. *
  1166. * @param {element} 桌面元素
  1167. */
  1168. U.MD.D.I.hiddenTaskbarout = function (el) {
  1169. //任务栏位置变小
  1170. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1171. //任务栏位置变化
  1172. U.selectEl(el).css({ "bottom": "-60px" });
  1173. //桌面的位置变大
  1174. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1175. }
  1176. }
  1177. /**
  1178. * 初始化打印桌面图标
  1179. *
  1180. * @param {element} 桌面元素
  1181. */
  1182. U.MD.D.I.initDesktopIcons = function (el, type) {
  1183. var i, //用于循环
  1184. _content, //桌面图标元素
  1185. _iconcontent, //桌面图标元素
  1186. _frag = $$("frag"), //定义一个碎片元素
  1187. _type = US.userInfo.type,
  1188. _org = US.userInfo.org,
  1189. _oid = US.userInfo.organizeid,
  1190. _role = US.userInfo.role,
  1191. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1192. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1193. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1194. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1195. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1196. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1197. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1198. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1199. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1200. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1201. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1202. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1203. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1204. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1205. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1206. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1207. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1208. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1209. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1210. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1211. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1212. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1213. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1214. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1215. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1216. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1217. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1218. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1219. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1220. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1221. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1222. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1223. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1224. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1225. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1226. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1227. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1228. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1229. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1230. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1231. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1232. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1233. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1234. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1235. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1236. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1237. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1238. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1239. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1240. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1241. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1242. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1243. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1244. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1245. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1246. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1247. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1248. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1249. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1250. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1251. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1252. 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'];
  1253. 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'];
  1254. //清楚桌面图标
  1255. el.innerHTML = "";
  1256. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1257. _teacherDesktopIconInfo.push(
  1258. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1259. { "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)" } },
  1260. )
  1261. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1262. }
  1263. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1264. _teacherDesktopIconInfo.push(
  1265. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1266. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1267. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1268. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1269. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1270. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1271. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1272. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1273. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1274. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1275. // { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1276. )
  1277. }
  1278. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1279. // _teacherDesktopIconInfo.push(
  1280. // )
  1281. // }
  1282. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1283. _teacherDesktopIconInfo.push(
  1284. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1285. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1286. )
  1287. }
  1288. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1289. _teacherDesktopIconInfo.push(
  1290. )
  1291. }
  1292. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1293. _teacherDesktopIconInfo.push(
  1294. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1295. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1296. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1297. )
  1298. _studentDesktopIconInfo.push(
  1299. )
  1300. }
  1301. //麒麟二中 和 民新小学
  1302. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1303. _teacherDesktopIconInfo.push(
  1304. )
  1305. }
  1306. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1307. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1308. _teacherDesktopIconInfo.push(
  1309. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1310. )
  1311. }
  1312. //麒麟二中
  1313. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1314. _studentDesktopIconInfo.push(
  1315. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1316. )
  1317. }
  1318. //万科双语
  1319. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1320. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1321. if (el.Name == '项目管理') {
  1322. el.Name = 'PBL项目'
  1323. }
  1324. return el
  1325. })
  1326. _studentDesktopIconInfo3.push(
  1327. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1328. )
  1329. }
  1330. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1331. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1332. return el.Name != '魔盒识字' && el.Name != '24点'
  1333. })
  1334. }
  1335. 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) {
  1336. _studentDesktopIconInfo.push(
  1337. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1338. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1339. )
  1340. }
  1341. //循环创建桌面图标
  1342. if (type == 1) {
  1343. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1344. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1345. _content = $$("div", {
  1346. className: "U_MD_D_KO",
  1347. "onmousedown": U.UF.C.closure(function (obj) {
  1348. //防止拖动图标即打开了桌面应用
  1349. U.MD.D.click(this, obj);
  1350. }, [_studentDesktopIconInfo[i]]),
  1351. "onclick": U.UF.C.closure(function (obj) {
  1352. //防止拖动图标即打开了桌面应用
  1353. U.MD.D.click(this, obj);
  1354. }, [_studentDesktopIconInfo[i]])
  1355. }, _frag); //
  1356. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1357. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1358. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1359. }
  1360. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1361. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1362. _content = $$("div", {
  1363. className: "U_MD_D_KO",
  1364. "onmousedown": U.UF.C.closure(function (obj) {
  1365. //防止拖动图标即打开了桌面应用
  1366. U.MD.D.click(this, obj);
  1367. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1368. "onclick": U.UF.C.closure(function (obj) {
  1369. //防止拖动图标即打开了桌面应用
  1370. U.MD.D.click(this, obj);
  1371. }, [_hkZJLSStudentDeskIconInfo[i]])
  1372. }, _frag); //
  1373. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1374. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1375. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1376. } //
  1377. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1378. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1379. _content = $$("div", {
  1380. className: "U_MD_D_KO",
  1381. "onmousedown": U.UF.C.closure(function (obj) {
  1382. //防止拖动图标即打开了桌面应用
  1383. U.MD.D.click(this, obj);
  1384. }, [_jccssylStudentDeskIconInfo[i]]),
  1385. "onclick": U.UF.C.closure(function (obj) {
  1386. //防止拖动图标即打开了桌面应用
  1387. U.MD.D.click(this, obj);
  1388. }, [_jccssylStudentDeskIconInfo[i]])
  1389. }, _frag); //
  1390. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1391. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1392. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1393. }
  1394. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1395. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1396. _content = $$("div", {
  1397. className: "U_MD_D_KO",
  1398. "onmousedown": U.UF.C.closure(function (obj) {
  1399. //防止拖动图标即打开了桌面应用
  1400. U.MD.D.click(this, obj);
  1401. }, [_thuioeStudentDeskIconInfo[i]]),
  1402. "onclick": U.UF.C.closure(function (obj) {
  1403. //防止拖动图标即打开了桌面应用
  1404. U.MD.D.click(this, obj);
  1405. }, [_thuioeStudentDeskIconInfo[i]])
  1406. }, _frag); //
  1407. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1408. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1409. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1410. }
  1411. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1412. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1413. _content = $$("div", {
  1414. className: "U_MD_D_KO",
  1415. "onmousedown": U.UF.C.closure(function (obj) {
  1416. //防止拖动图标即打开了桌面应用
  1417. U.MD.D.click(this, obj);
  1418. }, [_tpcStudentDeskIconInfo[i]]),
  1419. "onclick": U.UF.C.closure(function (obj) {
  1420. //防止拖动图标即打开了桌面应用
  1421. U.MD.D.click(this, obj);
  1422. }, [_tpcStudentDeskIconInfo[i]])
  1423. }, _frag); //
  1424. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1425. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1426. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1427. } //
  1428. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1429. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1430. _content = $$("div", {
  1431. className: "U_MD_D_KO",
  1432. "onmousedown": U.UF.C.closure(function (obj) {
  1433. //防止拖动图标即打开了桌面应用
  1434. U.MD.D.click(this, obj);
  1435. }, [_chjyjStudentDeskIconInfo[i]]),
  1436. "onclick": U.UF.C.closure(function (obj) {
  1437. //防止拖动图标即打开了桌面应用
  1438. U.MD.D.click(this, obj);
  1439. }, [_chjyjStudentDeskIconInfo[i]])
  1440. }, _frag); //
  1441. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1442. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1443. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1444. }
  1445. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1446. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1447. _content = $$("div", {
  1448. className: "U_MD_D_KO",
  1449. "onmousedown": U.UF.C.closure(function (obj) {
  1450. //防止拖动图标即打开了桌面应用
  1451. U.MD.D.click(this, obj);
  1452. }, [_szjkyStudentDeskIconInfo[i]]),
  1453. "onclick": U.UF.C.closure(function (obj) {
  1454. //防止拖动图标即打开了桌面应用
  1455. U.MD.D.click(this, obj);
  1456. }, [_szjkyStudentDeskIconInfo[i]])
  1457. }, _frag); //
  1458. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1459. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1460. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1461. }
  1462. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1463. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1464. _content = $$("div", {
  1465. className: "U_MD_D_KO",
  1466. "onmousedown": U.UF.C.closure(function (obj) {
  1467. //防止拖动图标即打开了桌面应用
  1468. U.MD.D.click(this, obj);
  1469. }, [_dseiStudentDeskIconInfo[i]]),
  1470. "onclick": U.UF.C.closure(function (obj) {
  1471. //防止拖动图标即打开了桌面应用
  1472. U.MD.D.click(this, obj);
  1473. }, [_dseiStudentDeskIconInfo[i]])
  1474. }, _frag); //
  1475. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1476. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1477. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1478. }
  1479. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1480. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1481. _content = $$("div", {
  1482. className: "U_MD_D_KO",
  1483. "onmousedown": U.UF.C.closure(function (obj) {
  1484. //防止拖动图标即打开了桌面应用
  1485. U.MD.D.click(this, obj);
  1486. }, [_siesStudentDeskIconInfo[i]]),
  1487. "onclick": U.UF.C.closure(function (obj) {
  1488. //防止拖动图标即打开了桌面应用
  1489. U.MD.D.click(this, obj);
  1490. }, [_siesStudentDeskIconInfo[i]])
  1491. }, _frag); //
  1492. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1493. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1494. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1495. }
  1496. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1497. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1498. _content = $$("div", {
  1499. className: "U_MD_D_KO",
  1500. "onmousedown": U.UF.C.closure(function (obj) {
  1501. //防止拖动图标即打开了桌面应用
  1502. U.MD.D.click(this, obj);
  1503. }, [_hkStudentDeskIconInfo[i]]),
  1504. "onclick": U.UF.C.closure(function (obj) {
  1505. //防止拖动图标即打开了桌面应用
  1506. U.MD.D.click(this, obj);
  1507. }, [_hkStudentDeskIconInfo[i]])
  1508. }, _frag); //
  1509. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1510. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1511. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1512. }
  1513. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1514. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1515. _content = $$("div", {
  1516. className: "U_MD_D_KO",
  1517. "onmousedown": U.UF.C.closure(function (obj) {
  1518. //防止拖动图标即打开了桌面应用
  1519. U.MD.D.click(this, obj);
  1520. }, [_hkaceStudentDeskIconInfo[i]]),
  1521. "onclick": U.UF.C.closure(function (obj) {
  1522. //防止拖动图标即打开了桌面应用
  1523. U.MD.D.click(this, obj);
  1524. }, [_hkaceStudentDeskIconInfo[i]])
  1525. }, _frag); //
  1526. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1527. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1528. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1529. }
  1530. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1531. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1532. _content = $$("div", {
  1533. className: "U_MD_D_KO",
  1534. "onmousedown": U.UF.C.closure(function (obj) {
  1535. //防止拖动图标即打开了桌面应用
  1536. U.MD.D.click(this, obj);
  1537. }, [_studentDesktopIconInfo[i]]),
  1538. "onclick": U.UF.C.closure(function (obj) {
  1539. //防止拖动图标即打开了桌面应用
  1540. U.MD.D.click(this, obj);
  1541. }, [_studentDesktopIconInfo[i]])
  1542. }, _frag); //
  1543. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1544. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1545. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1546. }
  1547. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1548. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1549. _content = $$("div", {
  1550. className: "U_MD_D_KO",
  1551. "onmousedown": U.UF.C.closure(function (obj) {
  1552. //防止拖动图标即打开了桌面应用
  1553. U.MD.D.click(this, obj);
  1554. }, [_tcStudentDeskIconInfo[i]]),
  1555. "onclick": U.UF.C.closure(function (obj) {
  1556. //防止拖动图标即打开了桌面应用
  1557. U.MD.D.click(this, obj);
  1558. }, [_tcStudentDeskIconInfo[i]])
  1559. }, _frag); //
  1560. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1561. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1562. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1563. }
  1564. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1565. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1566. _content = $$("div", {
  1567. className: "U_MD_D_KO",
  1568. "onmousedown": U.UF.C.closure(function (obj) {
  1569. //防止拖动图标即打开了桌面应用
  1570. U.MD.D.click(this, obj);
  1571. }, [_szscStudentDeskIconInfo[i]]),
  1572. "onclick": U.UF.C.closure(function (obj) {
  1573. //防止拖动图标即打开了桌面应用
  1574. U.MD.D.click(this, obj);
  1575. }, [_szscStudentDeskIconInfo[i]])
  1576. }, _frag); //
  1577. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1578. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1579. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1580. }
  1581. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1582. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1583. _content = $$("div", {
  1584. className: "U_MD_D_KO",
  1585. "onmousedown": U.UF.C.closure(function (obj) {
  1586. //防止拖动图标即打开了桌面应用
  1587. U.MD.D.click(this, obj);
  1588. }, [_studentDesktopIconInfo3[i]]),
  1589. "onclick": U.UF.C.closure(function (obj) {
  1590. //防止拖动图标即打开了桌面应用
  1591. U.MD.D.click(this, obj);
  1592. }, [_studentDesktopIconInfo3[i]])
  1593. }, _frag); //
  1594. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1595. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1596. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1597. }
  1598. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1599. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1600. _content = $$("div", {
  1601. className: "U_MD_D_KO",
  1602. "onmousedown": U.UF.C.closure(function (obj) {
  1603. //防止拖动图标即打开了桌面应用
  1604. U.MD.D.click(this, obj);
  1605. }, [_studentDesktopIconInfo2[i]]),
  1606. "onclick": U.UF.C.closure(function (obj) {
  1607. //防止拖动图标即打开了桌面应用
  1608. U.MD.D.click(this, obj);
  1609. }, [_studentDesktopIconInfo2[i]])
  1610. }, _frag); //
  1611. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1612. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1613. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1614. }
  1615. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1616. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1617. _content = $$("div", {
  1618. className: "U_MD_D_KO",
  1619. "onmousedown": U.UF.C.closure(function (obj) {
  1620. //防止拖动图标即打开了桌面应用
  1621. U.MD.D.click(this, obj);
  1622. }, [_wanketeacherDesktopIconInfo[i]]),
  1623. "onclick": U.UF.C.closure(function (obj) {
  1624. //防止拖动图标即打开了桌面应用
  1625. U.MD.D.click(this, obj);
  1626. }, [_wanketeacherDesktopIconInfo[i]])
  1627. }, _frag); //
  1628. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1629. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1630. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1631. }
  1632. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1633. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1634. _content = $$("div", {
  1635. className: "U_MD_D_KO",
  1636. "onmousedown": U.UF.C.closure(function (obj) {
  1637. //防止拖动图标即打开了桌面应用
  1638. U.MD.D.click(this, obj);
  1639. }, [_wankeAdminDesktopIconInfo[i]]),
  1640. "onclick": U.UF.C.closure(function (obj) {
  1641. //防止拖动图标即打开了桌面应用
  1642. U.MD.D.click(this, obj);
  1643. }, [_wankeAdminDesktopIconInfo[i]])
  1644. }, _frag); //
  1645. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1646. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1647. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1648. }
  1649. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1650. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1651. _content = $$("div", {
  1652. className: "U_MD_D_KO",
  1653. "onmousedown": U.UF.C.closure(function (obj) {
  1654. //防止拖动图标即打开了桌面应用
  1655. U.MD.D.click(this, obj);
  1656. }, [_jccssylTeacherDeskIconInfo[i]]),
  1657. "onclick": U.UF.C.closure(function (obj) {
  1658. //防止拖动图标即打开了桌面应用
  1659. U.MD.D.click(this, obj);
  1660. }, [_jccssylTeacherDeskIconInfo[i]])
  1661. }, _frag); //
  1662. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1663. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1664. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1665. }
  1666. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1667. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1668. _content = $$("div", {
  1669. className: "U_MD_D_KO",
  1670. "onmousedown": U.UF.C.closure(function (obj) {
  1671. //防止拖动图标即打开了桌面应用
  1672. U.MD.D.click(this, obj);
  1673. }, [_tpcOrganizerDeskIconInfo[i]]),
  1674. "onclick": U.UF.C.closure(function (obj) {
  1675. //防止拖动图标即打开了桌面应用
  1676. U.MD.D.click(this, obj);
  1677. }, [_tpcOrganizerDeskIconInfo[i]])
  1678. }, _frag); //
  1679. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1680. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1681. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1682. }
  1683. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1684. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1685. _content = $$("div", {
  1686. className: "U_MD_D_KO",
  1687. "onmousedown": U.UF.C.closure(function (obj) {
  1688. //防止拖动图标即打开了桌面应用
  1689. U.MD.D.click(this, obj);
  1690. }, [_tpcTeacherDeskIconInfo[i]]),
  1691. "onclick": U.UF.C.closure(function (obj) {
  1692. //防止拖动图标即打开了桌面应用
  1693. U.MD.D.click(this, obj);
  1694. }, [_tpcTeacherDeskIconInfo[i]])
  1695. }, _frag); //
  1696. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1697. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1698. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1699. }
  1700. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1701. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1702. _content = $$("div", {
  1703. className: "U_MD_D_KO",
  1704. "onmousedown": U.UF.C.closure(function (obj) {
  1705. //防止拖动图标即打开了桌面应用
  1706. U.MD.D.click(this, obj);
  1707. }, [_teacherDesktopIconInfo2[i]]),
  1708. "onclick": U.UF.C.closure(function (obj) {
  1709. //防止拖动图标即打开了桌面应用
  1710. U.MD.D.click(this, obj);
  1711. }, [_teacherDesktopIconInfo2[i]])
  1712. }, _frag); //
  1713. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1714. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1715. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1716. }
  1717. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1718. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1719. _content = $$("div", {
  1720. className: "U_MD_D_KO",
  1721. "onmousedown": U.UF.C.closure(function (obj) {
  1722. //防止拖动图标即打开了桌面应用
  1723. U.MD.D.click(this, obj);
  1724. }, [_thuioeTeacherDeskIconInfo[i]]),
  1725. "onclick": U.UF.C.closure(function (obj) {
  1726. //防止拖动图标即打开了桌面应用
  1727. U.MD.D.click(this, obj);
  1728. }, [_thuioeTeacherDeskIconInfo[i]])
  1729. }, _frag); //
  1730. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1731. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1732. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1733. }
  1734. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1735. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1736. _content = $$("div", {
  1737. className: "U_MD_D_KO",
  1738. "onmousedown": U.UF.C.closure(function (obj) {
  1739. //防止拖动图标即打开了桌面应用
  1740. U.MD.D.click(this, obj);
  1741. }, [_lotechTeacherDeskIconInfo[i]]),
  1742. "onclick": U.UF.C.closure(function (obj) {
  1743. //防止拖动图标即打开了桌面应用
  1744. U.MD.D.click(this, obj);
  1745. }, [_lotechTeacherDeskIconInfo[i]])
  1746. }, _frag); //
  1747. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1748. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1749. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1750. }//
  1751. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1752. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1753. _content = $$("div", {
  1754. className: "U_MD_D_KO",
  1755. "onmousedown": U.UF.C.closure(function (obj) {
  1756. //防止拖动图标即打开了桌面应用
  1757. U.MD.D.click(this, obj);
  1758. }, [_siesTeacherDeskIconInfo[i]]),
  1759. "onclick": U.UF.C.closure(function (obj) {
  1760. //防止拖动图标即打开了桌面应用
  1761. U.MD.D.click(this, obj);
  1762. }, [_siesTeacherDeskIconInfo[i]])
  1763. }, _frag); //
  1764. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1765. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1766. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1767. }
  1768. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1769. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1770. _content = $$("div", {
  1771. className: "U_MD_D_KO",
  1772. "onmousedown": U.UF.C.closure(function (obj) {
  1773. //防止拖动图标即打开了桌面应用
  1774. U.MD.D.click(this, obj);
  1775. }, [_longhuaTeacherDeskIconInfo[i]]),
  1776. "onclick": U.UF.C.closure(function (obj) {
  1777. //防止拖动图标即打开了桌面应用
  1778. U.MD.D.click(this, obj);
  1779. }, [_longhuaTeacherDeskIconInfo[i]])
  1780. }, _frag); //
  1781. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1782. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1783. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1784. }
  1785. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1786. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1787. _content = $$("div", {
  1788. className: "U_MD_D_KO",
  1789. "onmousedown": U.UF.C.closure(function (obj) {
  1790. //防止拖动图标即打开了桌面应用
  1791. U.MD.D.click(this, obj);
  1792. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1793. "onclick": U.UF.C.closure(function (obj) {
  1794. //防止拖动图标即打开了桌面应用
  1795. U.MD.D.click(this, obj);
  1796. }, [_yunhaiTeacherDeskIconInfo[i]])
  1797. }, _frag); //
  1798. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1799. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1800. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1801. } //_hkStudentDeskIconInfo
  1802. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1803. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1804. _content = $$("div", {
  1805. className: "U_MD_D_KO",
  1806. "onmousedown": U.UF.C.closure(function (obj) {
  1807. //防止拖动图标即打开了桌面应用
  1808. U.MD.D.click(this, obj);
  1809. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1810. "onclick": U.UF.C.closure(function (obj) {
  1811. //防止拖动图标即打开了桌面应用
  1812. U.MD.D.click(this, obj);
  1813. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1814. }, _frag); //
  1815. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1816. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1817. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1818. }
  1819. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1820. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1821. _content = $$("div", {
  1822. className: "U_MD_D_KO",
  1823. "onmousedown": U.UF.C.closure(function (obj) {
  1824. //防止拖动图标即打开了桌面应用
  1825. U.MD.D.click(this, obj);
  1826. }, [_hkTeacherDeskIconInfo[i]]),
  1827. "onclick": U.UF.C.closure(function (obj) {
  1828. //防止拖动图标即打开了桌面应用
  1829. U.MD.D.click(this, obj);
  1830. }, [_hkTeacherDeskIconInfo[i]])
  1831. }, _frag); //
  1832. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1833. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1834. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1835. }
  1836. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1837. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  1838. _content = $$("div", {
  1839. className: "U_MD_D_KO",
  1840. "onmousedown": U.UF.C.closure(function (obj) {
  1841. //防止拖动图标即打开了桌面应用
  1842. U.MD.D.click(this, obj);
  1843. }, [_hkaceTeacherDeskIconInfo[i]]),
  1844. "onclick": U.UF.C.closure(function (obj) {
  1845. //防止拖动图标即打开了桌面应用
  1846. U.MD.D.click(this, obj);
  1847. }, [_hkaceTeacherDeskIconInfo[i]])
  1848. }, _frag); //
  1849. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1850. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  1851. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  1852. }
  1853. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1854. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1855. _content = $$("div", {
  1856. className: "U_MD_D_KO",
  1857. "onmousedown": U.UF.C.closure(function (obj) {
  1858. //防止拖动图标即打开了桌面应用
  1859. U.MD.D.click(this, obj);
  1860. }, [_gdjgAdminDeskIconInfo[i]]),
  1861. "onclick": U.UF.C.closure(function (obj) {
  1862. //防止拖动图标即打开了桌面应用
  1863. U.MD.D.click(this, obj);
  1864. }, [_gdjgAdminDeskIconInfo[i]])
  1865. }, _frag); //
  1866. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1867. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1868. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1869. }
  1870. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1871. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1872. _content = $$("div", {
  1873. className: "U_MD_D_KO",
  1874. "onmousedown": U.UF.C.closure(function (obj) {
  1875. //防止拖动图标即打开了桌面应用
  1876. U.MD.D.click(this, obj);
  1877. }, [_gdjgTeacherDeskIconInfo[i]]),
  1878. "onclick": U.UF.C.closure(function (obj) {
  1879. //防止拖动图标即打开了桌面应用
  1880. U.MD.D.click(this, obj);
  1881. }, [_gdjgTeacherDeskIconInfo[i]])
  1882. }, _frag); //
  1883. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1884. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1885. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1886. }
  1887. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1888. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1889. _content = $$("div", {
  1890. className: "U_MD_D_KO",
  1891. "onmousedown": U.UF.C.closure(function (obj) {
  1892. //防止拖动图标即打开了桌面应用
  1893. U.MD.D.click(this, obj);
  1894. }, [_szherTeacherDeskIconInfo[i]]),
  1895. "onclick": U.UF.C.closure(function (obj) {
  1896. //防止拖动图标即打开了桌面应用
  1897. U.MD.D.click(this, obj);
  1898. }, [_szherTeacherDeskIconInfo[i]])
  1899. }, _frag); //
  1900. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1901. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1902. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1903. }
  1904. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1905. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1906. _content = $$("div", {
  1907. className: "U_MD_D_KO",
  1908. "onmousedown": U.UF.C.closure(function (obj) {
  1909. //防止拖动图标即打开了桌面应用
  1910. U.MD.D.click(this, obj);
  1911. }, [_heyuannAdminDeskIconInfo[i]]),
  1912. "onclick": U.UF.C.closure(function (obj) {
  1913. //防止拖动图标即打开了桌面应用
  1914. U.MD.D.click(this, obj);
  1915. }, [_heyuannAdminDeskIconInfo[i]])
  1916. }, _frag); //
  1917. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1918. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1919. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1920. }
  1921. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1922. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1923. _content = $$("div", {
  1924. className: "U_MD_D_KO",
  1925. "onmousedown": U.UF.C.closure(function (obj) {
  1926. //防止拖动图标即打开了桌面应用
  1927. U.MD.D.click(this, obj);
  1928. }, [_heyuanTeacherDeskIconInfo[i]]),
  1929. "onclick": U.UF.C.closure(function (obj) {
  1930. //防止拖动图标即打开了桌面应用
  1931. U.MD.D.click(this, obj);
  1932. }, [_heyuanTeacherDeskIconInfo[i]])
  1933. }, _frag); //
  1934. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1935. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1936. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1937. } //
  1938. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1939. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1940. _content = $$("div", {
  1941. className: "U_MD_D_KO",
  1942. "onmousedown": U.UF.C.closure(function (obj) {
  1943. //防止拖动图标即打开了桌面应用
  1944. U.MD.D.click(this, obj);
  1945. }, [_dseiAdminDeskIconInfo[i]]),
  1946. "onclick": U.UF.C.closure(function (obj) {
  1947. //防止拖动图标即打开了桌面应用
  1948. U.MD.D.click(this, obj);
  1949. }, [_dseiAdminDeskIconInfo[i]])
  1950. }, _frag); //
  1951. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1952. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1953. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1954. }
  1955. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1956. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1957. _content = $$("div", {
  1958. className: "U_MD_D_KO",
  1959. "onmousedown": U.UF.C.closure(function (obj) {
  1960. //防止拖动图标即打开了桌面应用
  1961. U.MD.D.click(this, obj);
  1962. }, [_dseiTeacherDeskIconInfo[i]]),
  1963. "onclick": U.UF.C.closure(function (obj) {
  1964. //防止拖动图标即打开了桌面应用
  1965. U.MD.D.click(this, obj);
  1966. }, [_dseiTeacherDeskIconInfo[i]])
  1967. }, _frag); //
  1968. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1969. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1970. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1971. } //
  1972. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1973. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1974. _content = $$("div", {
  1975. className: "U_MD_D_KO",
  1976. "onmousedown": U.UF.C.closure(function (obj) {
  1977. //防止拖动图标即打开了桌面应用
  1978. U.MD.D.click(this, obj);
  1979. }, [_chjyjAdminDeskIconInfo[i]]),
  1980. "onclick": U.UF.C.closure(function (obj) {
  1981. //防止拖动图标即打开了桌面应用
  1982. U.MD.D.click(this, obj);
  1983. }, [_chjyjAdminDeskIconInfo[i]])
  1984. }, _frag); //
  1985. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1986. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1987. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1988. }//
  1989. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1990. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1991. _content = $$("div", {
  1992. className: "U_MD_D_KO",
  1993. "onmousedown": U.UF.C.closure(function (obj) {
  1994. //防止拖动图标即打开了桌面应用
  1995. U.MD.D.click(this, obj);
  1996. }, [_chjyjTeacherDeskIconInfo[i]]),
  1997. "onclick": U.UF.C.closure(function (obj) {
  1998. //防止拖动图标即打开了桌面应用
  1999. U.MD.D.click(this, obj);
  2000. }, [_chjyjTeacherDeskIconInfo[i]])
  2001. }, _frag); //
  2002. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2003. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2004. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2005. }
  2006. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2007. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2008. _content = $$("div", {
  2009. className: "U_MD_D_KO",
  2010. "onmousedown": U.UF.C.closure(function (obj) {
  2011. //防止拖动图标即打开了桌面应用
  2012. U.MD.D.click(this, obj);
  2013. }, [_szjkyAdminDeskIconInfo[i]]),
  2014. "onclick": U.UF.C.closure(function (obj) {
  2015. //防止拖动图标即打开了桌面应用
  2016. U.MD.D.click(this, obj);
  2017. }, [_szjkyAdminDeskIconInfo[i]])
  2018. }, _frag); //
  2019. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2020. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2021. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2022. }//
  2023. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2024. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2025. _content = $$("div", {
  2026. className: "U_MD_D_KO",
  2027. "onmousedown": U.UF.C.closure(function (obj) {
  2028. //防止拖动图标即打开了桌面应用
  2029. U.MD.D.click(this, obj);
  2030. }, [_szjkyTeacherDeskIconInfo[i]]),
  2031. "onclick": U.UF.C.closure(function (obj) {
  2032. //防止拖动图标即打开了桌面应用
  2033. U.MD.D.click(this, obj);
  2034. }, [_szjkyTeacherDeskIconInfo[i]])
  2035. }, _frag); //
  2036. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2037. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2038. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2039. }
  2040. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2041. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2042. _content = $$("div", {
  2043. className: "U_MD_D_KO",
  2044. "onmousedown": U.UF.C.closure(function (obj) {
  2045. //防止拖动图标即打开了桌面应用
  2046. U.MD.D.click(this, obj);
  2047. }, [_futianAdminDeskIconInfo[i]]),
  2048. "onclick": U.UF.C.closure(function (obj) {
  2049. //防止拖动图标即打开了桌面应用
  2050. U.MD.D.click(this, obj);
  2051. }, [_futianAdminDeskIconInfo[i]])
  2052. }, _frag); //
  2053. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2054. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2055. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2056. }
  2057. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2058. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2059. _content = $$("div", {
  2060. className: "U_MD_D_KO",
  2061. "onmousedown": U.UF.C.closure(function (obj) {
  2062. //防止拖动图标即打开了桌面应用
  2063. U.MD.D.click(this, obj);
  2064. }, [_futianTeacherDeskIconInfo[i]]),
  2065. "onclick": U.UF.C.closure(function (obj) {
  2066. //防止拖动图标即打开了桌面应用
  2067. U.MD.D.click(this, obj);
  2068. }, [_futianTeacherDeskIconInfo[i]])
  2069. }, _frag); //
  2070. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2071. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2072. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2073. }
  2074. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2075. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2076. _content = $$("div", {
  2077. className: "U_MD_D_KO",
  2078. "onmousedown": U.UF.C.closure(function (obj) {
  2079. //防止拖动图标即打开了桌面应用
  2080. U.MD.D.click(this, obj);
  2081. }, [_MingdeTeacherDeskIcon[i]]),
  2082. "onclick": U.UF.C.closure(function (obj) {
  2083. //防止拖动图标即打开了桌面应用
  2084. U.MD.D.click(this, obj);
  2085. }, [_MingdeTeacherDeskIcon[i]])
  2086. }, _frag); //
  2087. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2088. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2089. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2090. }
  2091. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2092. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2093. _content = $$("div", {
  2094. className: "U_MD_D_KO",
  2095. "onmousedown": U.UF.C.closure(function (obj) {
  2096. //防止拖动图标即打开了桌面应用
  2097. U.MD.D.click(this, obj);
  2098. }, [_lhsAdminDesktopIconInfo[i]]),
  2099. "onclick": U.UF.C.closure(function (obj) {
  2100. //防止拖动图标即打开了桌面应用
  2101. U.MD.D.click(this, obj);
  2102. }, [_lhsAdminDesktopIconInfo[i]])
  2103. }, _frag); //
  2104. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2105. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2106. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2107. }
  2108. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2109. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2110. _content = $$("div", {
  2111. className: "U_MD_D_KO",
  2112. "onmousedown": U.UF.C.closure(function (obj) {
  2113. //防止拖动图标即打开了桌面应用
  2114. U.MD.D.click(this, obj);
  2115. }, [_lhsteacherDesktopIconInfo[i]]),
  2116. "onclick": U.UF.C.closure(function (obj) {
  2117. //防止拖动图标即打开了桌面应用
  2118. U.MD.D.click(this, obj);
  2119. }, [_lhsteacherDesktopIconInfo[i]])
  2120. }, _frag); //
  2121. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2122. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2123. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2124. }
  2125. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2126. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2127. _content = $$("div", {
  2128. className: "U_MD_D_KO",
  2129. "onmousedown": U.UF.C.closure(function (obj) {
  2130. //防止拖动图标即打开了桌面应用
  2131. U.MD.D.click(this, obj);
  2132. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2133. "onclick": U.UF.C.closure(function (obj) {
  2134. //防止拖动图标即打开了桌面应用
  2135. U.MD.D.click(this, obj);
  2136. }, [_zhoujiateacherDesktopIconInfo[i]])
  2137. }, _frag); //
  2138. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2139. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2140. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2141. }
  2142. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2143. for (i = 0; i < _hanDeskIcon.length; i++) {
  2144. _content = $$("div", {
  2145. className: "U_MD_D_KO",
  2146. "onmousedown": U.UF.C.closure(function (obj) {
  2147. //防止拖动图标即打开了桌面应用
  2148. U.MD.D.click(this, obj);
  2149. }, [_hanDeskIcon[i]]),
  2150. "onclick": U.UF.C.closure(function (obj) {
  2151. //防止拖动图标即打开了桌面应用
  2152. U.MD.D.click(this, obj);
  2153. }, [_hanDeskIcon[i]])
  2154. }, _frag); //
  2155. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2156. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2157. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2158. }
  2159. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2160. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2161. _content = $$("div", {
  2162. className: "U_MD_D_KO",
  2163. "onmousedown": U.UF.C.closure(function (obj) {
  2164. //防止拖动图标即打开了桌面应用
  2165. U.MD.D.click(this, obj);
  2166. }, [_orgStemDeskIcon[i]]),
  2167. "onclick": U.UF.C.closure(function (obj) {
  2168. //防止拖动图标即打开了桌面应用
  2169. U.MD.D.click(this, obj);
  2170. }, [_orgStemDeskIcon[i]])
  2171. }, _frag); //
  2172. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2173. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2174. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2175. }
  2176. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2177. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2178. _content = $$("div", {
  2179. className: "U_MD_D_KO",
  2180. "onmousedown": U.UF.C.closure(function (obj) {
  2181. //防止拖动图标即打开了桌面应用
  2182. U.MD.D.click(this, obj);
  2183. }, [_szulsDeskIcon[i]]),
  2184. "onclick": U.UF.C.closure(function (obj) {
  2185. //防止拖动图标即打开了桌面应用
  2186. U.MD.D.click(this, obj);
  2187. }, [_szulsDeskIcon[i]])
  2188. }, _frag); //
  2189. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2190. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2191. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2192. }
  2193. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2194. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2195. _content = $$("div", {
  2196. className: "U_MD_D_KO",
  2197. "onmousedown": U.UF.C.closure(function (obj) {
  2198. //防止拖动图标即打开了桌面应用
  2199. U.MD.D.click(this, obj);
  2200. }, [_orgDesktopIconInfo[i]]),
  2201. "onclick": U.UF.C.closure(function (obj) {
  2202. //防止拖动图标即打开了桌面应用
  2203. U.MD.D.click(this, obj);
  2204. }, [_orgDesktopIconInfo[i]])
  2205. }, _frag); //
  2206. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2207. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2208. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2209. }
  2210. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2211. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2212. _content = $$("div", {
  2213. className: "U_MD_D_KO",
  2214. "onmousedown": U.UF.C.closure(function (obj) {
  2215. //防止拖动图标即打开了桌面应用
  2216. U.MD.D.click(this, obj);
  2217. }, [_schoolDesktopIconInfo[i]]),
  2218. "onclick": U.UF.C.closure(function (obj) {
  2219. //防止拖动图标即打开了桌面应用
  2220. U.MD.D.click(this, obj);
  2221. }, [_schoolDesktopIconInfo[i]])
  2222. }, _frag); //
  2223. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2224. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2225. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2226. }
  2227. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2228. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2229. _content = $$("div", {
  2230. className: "U_MD_D_KO",
  2231. "onmousedown": U.UF.C.closure(function (obj) {
  2232. //防止拖动图标即打开了桌面应用
  2233. U.MD.D.click(this, obj);
  2234. }, [_GMteacherDesktopIconInfo[i]]),
  2235. "onclick": U.UF.C.closure(function (obj) {
  2236. //防止拖动图标即打开了桌面应用
  2237. U.MD.D.click(this, obj);
  2238. }, [_GMteacherDesktopIconInfo[i]])
  2239. }, _frag); //
  2240. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2241. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2242. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2243. }
  2244. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2245. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2246. _content = $$("div", {
  2247. className: "U_MD_D_KO",
  2248. "onmousedown": U.UF.C.closure(function (obj) {
  2249. //防止拖动图标即打开了桌面应用
  2250. U.MD.D.click(this, obj);
  2251. }, [_SONGteacherDesktopIconInfo[i]]),
  2252. "onclick": U.UF.C.closure(function (obj) {
  2253. //防止拖动图标即打开了桌面应用
  2254. U.MD.D.click(this, obj);
  2255. }, [_SONGteacherDesktopIconInfo[i]])
  2256. }, _frag); //
  2257. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2258. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2259. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2260. }
  2261. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2262. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2263. _content = $$("div", {
  2264. className: "U_MD_D_KO",
  2265. "onmousedown": U.UF.C.closure(function (obj) {
  2266. //防止拖动图标即打开了桌面应用
  2267. U.MD.D.click(this, obj);
  2268. }, [_GMstudentDesktopIconInfo[i]]),
  2269. "onclick": U.UF.C.closure(function (obj) {
  2270. //防止拖动图标即打开了桌面应用
  2271. U.MD.D.click(this, obj);
  2272. }, [_GMstudentDesktopIconInfo[i]])
  2273. }, _frag); //
  2274. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2275. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2276. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2277. }
  2278. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2279. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2280. _content = $$("div", {
  2281. className: "U_MD_D_KO",
  2282. "onmousedown": U.UF.C.closure(function (obj) {
  2283. //防止拖动图标即打开了桌面应用
  2284. U.MD.D.click(this, obj);
  2285. }, [_tcTeacherDeskIconInfo[i]]),
  2286. "onclick": U.UF.C.closure(function (obj) {
  2287. //防止拖动图标即打开了桌面应用
  2288. U.MD.D.click(this, obj);
  2289. }, [_tcTeacherDeskIconInfo[i]])
  2290. }, _frag); //
  2291. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2292. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2293. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2294. }
  2295. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2296. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2297. _content = $$("div", {
  2298. className: "U_MD_D_KO",
  2299. "onmousedown": U.UF.C.closure(function (obj) {
  2300. //防止拖动图标即打开了桌面应用
  2301. U.MD.D.click(this, obj);
  2302. }, [_tcOrganizerDeskIconInfo[i]]),
  2303. "onclick": U.UF.C.closure(function (obj) {
  2304. //防止拖动图标即打开了桌面应用
  2305. U.MD.D.click(this, obj);
  2306. }, [_tcOrganizerDeskIconInfo[i]])
  2307. }, _frag); //
  2308. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2309. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2310. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2311. }
  2312. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2313. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2314. _content = $$("div", {
  2315. className: "U_MD_D_KO",
  2316. "onmousedown": U.UF.C.closure(function (obj) {
  2317. //防止拖动图标即打开了桌面应用
  2318. U.MD.D.click(this, obj);
  2319. }, [_szscTeacherDeskIconInfo[i]]),
  2320. "onclick": U.UF.C.closure(function (obj) {
  2321. //防止拖动图标即打开了桌面应用
  2322. U.MD.D.click(this, obj);
  2323. }, [_szscTeacherDeskIconInfo[i]])
  2324. }, _frag); //
  2325. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2326. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2327. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2328. }
  2329. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2330. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2331. _content = $$("div", {
  2332. className: "U_MD_D_KO",
  2333. "onmousedown": U.UF.C.closure(function (obj) {
  2334. //防止拖动图标即打开了桌面应用
  2335. U.MD.D.click(this, obj);
  2336. }, [_szscOrganizerDeskIconInfo[i]]),
  2337. "onclick": U.UF.C.closure(function (obj) {
  2338. //防止拖动图标即打开了桌面应用
  2339. U.MD.D.click(this, obj);
  2340. }, [_szscOrganizerDeskIconInfo[i]])
  2341. }, _frag); //
  2342. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2343. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2344. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2345. }
  2346. } else {
  2347. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2348. _content = $$("div", {
  2349. className: "U_MD_D_KO",
  2350. "onmousedown": U.UF.C.closure(function (obj) {
  2351. //防止拖动图标即打开了桌面应用
  2352. U.MD.D.click(this, obj);
  2353. }, [_teacherDesktopIconInfo[i]]),
  2354. "onclick": U.UF.C.closure(function (obj) {
  2355. //防止拖动图标即打开了桌面应用
  2356. U.MD.D.click(this, obj);
  2357. }, [_teacherDesktopIconInfo[i]])
  2358. }, _frag); //
  2359. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2360. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2361. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2362. }
  2363. }
  2364. } else {
  2365. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2366. _content = $$("div", {
  2367. className: "U_MD_D_KO",
  2368. style: { 'width': '124px', 'height': '145px' },
  2369. "onmousedown": U.UF.C.closure(function (obj) {
  2370. //防止拖动图标即打开了桌面应用
  2371. U.MD.D.click(this, obj);
  2372. }, [_easyDesktopIconInfo[i]]),
  2373. "onclick": U.UF.C.closure(function (obj) {
  2374. //防止拖动图标即打开了桌面应用
  2375. U.MD.D.click(this, obj);
  2376. }, [_easyDesktopIconInfo[i]])
  2377. }, _frag); //
  2378. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2379. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2380. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2381. }
  2382. }
  2383. if (type == 1) {
  2384. //加载好后给图标定位
  2385. U.MD.D.iconPostion($(_frag).Child());
  2386. } else {
  2387. //加载好后给图标定位
  2388. U.MD.D.iconPostion2($(_frag).Child());
  2389. }
  2390. //把图标加载到页面
  2391. el.appendChild(_frag);
  2392. }
  2393. /**
  2394. * 显示任务栏
  2395. *
  2396. * @param {element} 桌面元素
  2397. */
  2398. U.MD.D.I.displayTaskbar = function (el) {
  2399. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2400. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2401. //任务栏位置变化
  2402. U.selectEl(el).css({ "bottom": "0px" });
  2403. //桌面位置变话
  2404. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2405. }
  2406. }
  2407. //#region 桌面图标拖动逻辑
  2408. /**
  2409. * 桌面排列图标
  2410. *
  2411. * @param {element} 桌面元素
  2412. * @param {object} 上下相距的距离
  2413. * @param {object} 左右相距的距离
  2414. * @return {object} 命名空间
  2415. */
  2416. U.MD.D.iconPostion = function (childs, top, left) {
  2417. var i; //用于循环处理
  2418. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2419. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2420. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2421. for (i = 0; i < childs.length; i++) {
  2422. //如果竖排top超过了范围处理
  2423. if (top + 95 > US.height - 10) {
  2424. //left超过了页面范围处理,则向上重叠打印处理
  2425. if ((left + 180) > US.width) {
  2426. top -= 110;
  2427. left -= 90;
  2428. }
  2429. //没有超过范围,那么left+90添加到下一个竖排打印
  2430. else {
  2431. left += 90;
  2432. top = 15;
  2433. };
  2434. }
  2435. //给图标的位置赋值
  2436. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2437. if (i < childs.length - 1) {
  2438. //页面图标每次向下加95
  2439. top += 95;
  2440. }
  2441. }
  2442. //返回最后调用的图标的位置
  2443. return [top, left];
  2444. }
  2445. /**
  2446. * 桌面排列图标
  2447. *
  2448. * @param {element} 桌面元素
  2449. * @param {object} 上下相距的距离
  2450. * @param {object} 左右相距的距离
  2451. * @return {object} 命名空间
  2452. */
  2453. U.MD.D.iconPostion2 = function (childs, top, left) {
  2454. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2455. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2456. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2457. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2458. for (i = 0; i < childs.length; i++) {
  2459. //如果竖排top超过了范围处理
  2460. if (left + 150 > US.width - 10) {
  2461. //left超过了页面范围处理,则向上重叠打印处理
  2462. if ((top + 180) > US.Height) {
  2463. top -= 150;
  2464. left -= 150;
  2465. }
  2466. //没有超过范围,那么left+90添加到下一个竖排打印
  2467. else {
  2468. top += 150;
  2469. left = ol;
  2470. };
  2471. }
  2472. //给图标的位置赋值
  2473. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2474. if (i < childs.length - 1) {
  2475. //页面图标每次向下加95
  2476. left += 150;
  2477. }
  2478. }
  2479. //返回最后调用的图标的位置
  2480. return [top, left];
  2481. }
  2482. /**
  2483. * 桌面点击事件逻辑
  2484. *
  2485. * @param {element} 桌面元素
  2486. * @param {object} 上下相距的距离
  2487. * @param {object} 左右相距的距离
  2488. * @return {object} 命名空间
  2489. */
  2490. U.MD.D.click = function (el, obj) {
  2491. var _buttonnumber = event.button; //点击的按钮的事件值
  2492. var _userinfo = US.userInfo;
  2493. U.UF.EV.stopBubble(); //阻止向上冒泡
  2494. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2495. if (_buttonnumber < 2) {
  2496. //如果是click事件的处理
  2497. if (event.type == "click") {
  2498. //如果元素在mousemove事件中没有移动则出发click事件
  2499. if (!U.MD.D.I.IsDrag) {
  2500. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2501. U.alert("请先登录您的账号!");
  2502. setTimeout(() => {
  2503. U.MD.U.L.login();
  2504. }, 2000);
  2505. } else {
  2506. //打开应用处理
  2507. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2508. }
  2509. }
  2510. }
  2511. //如果是mouse事件的处理
  2512. else {
  2513. if (US.Config.type == '1') {
  2514. //拖动处理,添加拖动和拖动结束事件
  2515. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2516. }
  2517. }
  2518. U.MD.D.I.IsDrag = false;
  2519. }
  2520. }
  2521. /**
  2522. * 拖动的处理
  2523. *
  2524. */
  2525. U.MD.D.iconMove = function () {
  2526. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2527. U.MD.D.I.IsDrag = true;
  2528. }
  2529. /**
  2530. * 拖动结束后,这里是定位处理,以网状的形式定位
  2531. *
  2532. * @param {element} 拖动的元素
  2533. * @return {object} 命名空间
  2534. */
  2535. U.MD.D.iconUp = function (el) {
  2536. var _top = 15,
  2537. _left = 20,
  2538. _margin,
  2539. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2540. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2541. if (_positioninfo["OT"] > 15) {
  2542. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2543. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2544. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2545. }
  2546. if (_positioninfo["OL"] > 20) {
  2547. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2548. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2549. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2550. }
  2551. //while循环判断么一个重叠的元素
  2552. do {
  2553. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2554. _top = _positioninfo[0] + 95; //得到定位后的top
  2555. _left = _positioninfo[1]; //得到定位后的left
  2556. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2557. }
  2558. /**
  2559. * 判断拖动后图标是否重叠
  2560. *
  2561. * @param {element} 拖动的元素
  2562. * @param {element} 桌面所有的元素
  2563. * @param {array} 拖动元素的位置
  2564. ----------[0] 上 top
  2565. ----------[1] 左 left
  2566. * @return {object} 命名空间
  2567. */
  2568. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2569. //循环所有的图标
  2570. for (var i = 0; i < childs.length; i++) {
  2571. //判断有没有和该图标诶子重叠的元素
  2572. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2573. return childs[i]; //如果有返回
  2574. }
  2575. }
  2576. }
  2577. //#endregion
  2578. //#endregion
  2579. //#region 桌面应用
  2580. /**
  2581. * 打开应用
  2582. *
  2583. * @param {string} 类型
  2584. -----------------Disk 网盘系统
  2585. -----------------PDisk 学习系统网盘
  2586. -----------------Poto 图片
  2587. -----------------Video 视频
  2588. -----------------Music 音乐
  2589. -----------------Word word
  2590. -----------------Excel excel
  2591. -----------------Txt 记事本
  2592. -----------------PB 学习系统
  2593. -----------------Blog 朋友圈系统
  2594. -----------------FTP ftp系统
  2595. -----------------Group 好友群
  2596. -----------------SY 首页系统
  2597. -----------------Set 个人设置
  2598. -----------------XSet 系统设置
  2599. -----------------App 我们所有的app
  2600. -----------------BC c.1473.cn 平台
  2601. -----------------CWeb d.1473.cn 变成平台
  2602. -----------------其他的外联系统 我们统一用iframe打开
  2603. * @param {array} 类型
  2604. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2605. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2606. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2607. 如果第一个参数为其他,则无第二个参数
  2608. * @returns {array}
  2609. */
  2610. window.addEventListener('message', function (e) { // 监听 message 事件
  2611. // alert(e.data.type);
  2612. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2613. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2614. //3是展示全部阶段 2学生 1老师 4专家
  2615. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2616. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2617. //3是展示全部阶段 2学生 1老师 4专家
  2618. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2619. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2620. //3是展示全部阶段 2学生 1老师 4专家
  2621. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2622. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2623. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2624. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2625. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2626. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2627. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2628. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2629. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2630. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2631. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2632. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2633. //3是展示全部阶段 2学生 1老师 4专家
  2634. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2635. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2636. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2637. U.MD.D.I.selectUser();
  2638. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2639. var _formel = document.getElementById("study");
  2640. U.UF.F.windowZooming(_formel);
  2641. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2642. var _formel = document.getElementById("studyDetail");
  2643. U.UF.F.windowZooming(_formel);
  2644. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2645. var _formel = document.getElementById("studyDetail");
  2646. U.UF.F.windowZooming(_formel);
  2647. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2648. var _formel = document.getElementById("studentStudy");
  2649. U.UF.F.windowZooming(_formel);
  2650. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2651. // var _formel = document.getElementById("study");
  2652. //如果最大化了,那么就把他缩小
  2653. // if (_formel.ismaximize) {
  2654. // return;
  2655. // }
  2656. // U.UF.F.windowZooming(_formel);
  2657. // U.UF.F.topWindow(_formel);
  2658. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2659. // var _formel = document.getElementById("studyDetail");
  2660. //如果最大化了,那么就把他缩小
  2661. // if (_formel.ismaximize) {
  2662. // return;
  2663. // }
  2664. // U.UF.F.windowZooming(_formel);
  2665. // U.UF.F.topWindow(_formel);
  2666. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2667. // var _formel = document.getElementById("studentStudy");
  2668. // if (_formel.ismaximize) {
  2669. // return;
  2670. // }
  2671. // U.UF.F.windowZooming(_formel);
  2672. // U.UF.F.topWindow(_formel);
  2673. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2674. var _formel = document.getElementById("study");
  2675. // if (_formel.ismaximize) {
  2676. // return;
  2677. // }
  2678. // U.UF.F.windowZooming(_formel);
  2679. U.UF.F.topWindow(_formel);
  2680. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2681. var _formel = document.getElementById("studentIndex");
  2682. U.UF.F.windowZooming(_formel);
  2683. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2684. var _formel = document.getElementById("studyDetailS");
  2685. U.UF.F.windowZooming(_formel);
  2686. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2687. var _formel = document.getElementById("studioIndex");
  2688. U.UF.F.windowZooming(_formel);
  2689. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2690. var _formel = document.getElementById("studyDetailStudio");
  2691. U.UF.F.windowZooming(_formel);
  2692. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2693. var _formel = document.getElementById("studyDetailStudio");
  2694. U.UF.F.windowZooming(_formel);
  2695. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2696. var _formel = document.getElementById("studyDetailNT");
  2697. U.UF.F.windowZooming(_formel);
  2698. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2699. var _formel = document.getElementById("studyDetailS");
  2700. U.UF.F.windowZooming(_formel);
  2701. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2702. var _formel = document.getElementById("studyDetailS");
  2703. U.UF.F.topWindow(_formel);
  2704. } else if (e.data.tools && e.data.tools == "1") {
  2705. // U.MD.D.I.openApplication("whiteboard")
  2706. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2707. } else if (e.data.tools && e.data.tools == "2") {
  2708. U.MD.D.I.openApplication("note")
  2709. } else if (e.data.tools && e.data.tools == "3") {
  2710. // U.MD.D.I.openApplication("mind")
  2711. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2712. } else if (e.data.tools && e.data.tools == "4") {
  2713. U.MD.D.I.openApplication("investigation")
  2714. } else if (e.data.tools && e.data.tools == "6") {
  2715. // U.MD.D.I.openApplication("doc")
  2716. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2717. } else if (e.data.tools && e.data.tools == "7") {
  2718. // U.MD.D.I.openApplication("mindNetwork")
  2719. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2720. } else if (e.data.tools && e.data.tools == "8") {
  2721. U.MD.D.I.openApplication("library")
  2722. } else if (e.data.tools && e.data.tools == "17") {
  2723. U.MD.D.I.openApplication("stuLibrary")
  2724. } else if (e.data.tools && e.data.tools == "18") {
  2725. U.MD.D.I.openApplication("train")
  2726. } else if (e.data.tools && e.data.tools == "21") {
  2727. U.MD.D.I.openApplication("program")
  2728. } else if (e.data.tools && e.data.tools == "22") {
  2729. U.MD.D.I.openApplication("AIprogram2")
  2730. } else if (e.data.tools && e.data.tools == "23") {
  2731. U.MD.D.I.openApplication("Pythonprogram")
  2732. } else if (e.data.tools && e.data.tools == "24") {
  2733. U.MD.D.I.openApplication("AIprogram")
  2734. } else if (e.data.tools && e.data.tools == "25") {
  2735. U.MD.D.I.openApplication("sys")
  2736. } else if (e.data.tools && e.data.tools == "26") {
  2737. // U.MD.D.I.openApplication("courseDesign")
  2738. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2739. } else if (e.data.tools && e.data.tools == "31") {
  2740. U.MD.D.I.openApplication("netWorkPanel")
  2741. } else if (e.data.tools && e.data.tools == "32") {
  2742. U.MD.D.I.openApplication("codeEdit")
  2743. } else if (e.data.tools && e.data.tools == "57") {
  2744. U.MD.D.I.openApplication("CocoPi")
  2745. } else if (e.data.tools && e.data.tools == "63") {
  2746. U.MD.D.I.openApplication("Wood")
  2747. } else if (e.data.tools && e.data.tools == "58") {
  2748. U.MD.D.I.openApplication("car")
  2749. } else if (e.data.tools && e.data.tools == "59") {
  2750. U.MD.D.I.openApplication("lineSearch")
  2751. } else if (e.data.tools && e.data.tools == "60") {
  2752. U.MD.D.I.openApplication("deepLearning")
  2753. } else if (e.data.tools && e.data.tools == "61") {
  2754. U.MD.D.I.openApplication("allHistory")
  2755. } else if (e.data.tools && e.data.tools == "28") {
  2756. U.MD.D.I.openApplication("translation")
  2757. } else if (e.data.tools && e.data.tools == "37") {
  2758. U.MD.D.I.openApplication("mohe")
  2759. } else if (e.data.tools && e.data.tools == "38") {
  2760. U.MD.D.I.openApplication("24game")
  2761. } else if (e.data.tools && e.data.tools == "39") {
  2762. U.MD.D.I.openApplication("GeoGebra")
  2763. } else if (e.data.tools && e.data.tools == "43") {
  2764. U.MD.D.I.openApplication("studentEvaluate")
  2765. } else if (e.data.tools && e.data.tools == "44") {
  2766. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2767. } else if (e.data.tools && e.data.tools == "46") {
  2768. U.MD.D.I.openApplication("project")
  2769. } else if (e.data.tools && e.data.tools == "1s") {
  2770. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2771. } else if (e.data.tools && e.data.tools == "3s") {
  2772. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2773. } else if (e.data.tools && e.data.tools == "6s") {
  2774. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2775. } else if (e.data.tools && e.data.tools == "1studio") {
  2776. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2777. } else if (e.data.tools && e.data.tools == "3studio") {
  2778. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2779. } else if (e.data.tools && e.data.tools == "6studio") {
  2780. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2781. } else if (e.data.tools && e.data.tools == "3y") {
  2782. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2783. } else if (e.data.tools && e.data.tools == "1y") {
  2784. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2785. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2786. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2787. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2788. U.MD.D.I.openApplication("AIAnalyse")
  2789. } else if (e.data.tools && e.data.tools == "1teacher") {
  2790. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2791. } else if (e.data.tools && e.data.tools == "3teacher") {
  2792. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2793. } else if (e.data.tools && e.data.tools == "7teacher") {
  2794. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2795. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2796. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2797. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2798. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2799. } else if (e.data.tools && e.data.tools == "1E") {
  2800. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2801. } else if (e.data.tools && e.data.tools == "3E") {
  2802. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2803. } else if (e.data.tools && e.data.tools == "57y") {
  2804. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2805. } else if (e.data.tools && e.data.tools == "57u") {
  2806. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2807. } else if (e.data.tools && e.data.tools == "57teacher") {
  2808. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2809. } else if (e.data.tools && e.data.tools == "64") {
  2810. U.MD.D.I.openApplication("AIChat")
  2811. } else if (e.data.tools && e.data.tools == "66") {
  2812. U.MD.D.I.openApplication("formulaEdi")
  2813. } else if (e.data.tools && e.data.tools == "67") {
  2814. U.MD.D.I.openApplication("molStr")
  2815. } else if (e.data.tools && e.data.tools == "68") {
  2816. U.MD.D.I.openApplication("timeAxis")
  2817. } else if (e.data.tools && e.data.tools == "openCourse") {
  2818. let _data = {
  2819. typea: e.data.typea || '',
  2820. typeb: e.data.typeb || '',
  2821. typed: e.data.typed || '',
  2822. }
  2823. U.MD.D.I.openInApplication("index", _data)
  2824. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2825. let _data = {
  2826. classid: e.data.classid || '',
  2827. }
  2828. U.MD.D.I.openInApplication("dataClass", _data)
  2829. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2830. let _data = {
  2831. cid: e.data.cid || '',
  2832. gid: e.data.gid || '',
  2833. }
  2834. U.MD.D.I.openInApplication("opencCscl", _data)
  2835. }
  2836. });
  2837. U.MD.D.I.selectUser = function () {
  2838. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2839. if (res.value[0].length > 0) {
  2840. US.userInfo = res.value[0][0];
  2841. $(".userName")[0].innerHTML = US.userInfo.username;
  2842. }
  2843. }, [], { "type": "GET", "withCredentials": true });
  2844. }
  2845. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2846. var _userinfo = US.userInfo, //登录用户信息
  2847. _userid = US.userInfo.userid, //登录用户id
  2848. _oid = _userinfo.organizeid,
  2849. _type = US.userInfo.type,
  2850. _org = US.userInfo.org,
  2851. _role = US.userInfo.role,
  2852. _classId = US.userInfo.classid;
  2853. if (_type == 4) {
  2854. tType = 4
  2855. }
  2856. switch (str) {
  2857. case "studyDetailNT": //无终端模式
  2858. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2859. setTimeout(() => {
  2860. U.MD.U.L.login();
  2861. }, 2000);
  2862. } else {
  2863. _formdiv = new U.UF.UI.form(
  2864. "课程详情",
  2865. $$("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 }), {
  2866. "id": "studyDetailNT",
  2867. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2868. "onresize": function () { }
  2869. }, {
  2870. closecallback: function () { }
  2871. }, { "style": { "height": "36px" } }).form; //创建窗体
  2872. _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); } }
  2873. break;
  2874. }
  2875. case "studyDetail":
  2876. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2877. setTimeout(() => {
  2878. U.MD.U.L.login();
  2879. }, 2000);
  2880. } else {
  2881. _formdiv = new U.UF.UI.form(
  2882. "课程详情",
  2883. $$("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 }), {
  2884. "id": "studyDetail",
  2885. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2886. "onresize": function () { }
  2887. }, {
  2888. closecallback: function () { }
  2889. }, { "style": { "height": "36px" } }).form; //创建窗体
  2890. _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); } }
  2891. break;
  2892. }
  2893. case "studyDetailS":
  2894. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2895. setTimeout(() => {
  2896. U.MD.U.L.login();
  2897. }, 2000);
  2898. } else {
  2899. _formdiv = new U.UF.UI.form(
  2900. "项目详情",
  2901. $$("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 }), {
  2902. "id": "studyDetailS",
  2903. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2904. "onresize": function () { }
  2905. }, {
  2906. closecallback: function () { }
  2907. }, { "style": { "height": "36px" } }).form; //创建窗体
  2908. _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); } }
  2909. break;
  2910. }
  2911. case "studyDetailStudio":
  2912. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2913. setTimeout(() => {
  2914. U.MD.U.L.login();
  2915. }, 2000);
  2916. } else {
  2917. _formdiv = new U.UF.UI.form(
  2918. "工作详情",
  2919. $$("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 }), {
  2920. "id": "studyDetailStudio",
  2921. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2922. "onresize": function () { }
  2923. }, {
  2924. closecallback: function () { }
  2925. }, { "style": { "height": "36px" } }).form; //创建窗体
  2926. _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); } }
  2927. break;
  2928. }
  2929. case "studyDetailS5":
  2930. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2931. setTimeout(() => {
  2932. U.MD.U.L.login();
  2933. }, 2000);
  2934. } else {
  2935. _formdiv = new U.UF.UI.form(
  2936. "项目详情",
  2937. $$("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 }), {
  2938. "id": "studyDetailS",
  2939. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2940. "onresize": function () { }
  2941. }, {
  2942. closecallback: function () { }
  2943. }, { "style": { "height": "36px" } }).form; //创建窗体
  2944. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2945. break;
  2946. }
  2947. case "studyDetailGM":
  2948. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2949. setTimeout(() => {
  2950. U.MD.U.L.login();
  2951. }, 2000);
  2952. } else {
  2953. _formdiv = new U.UF.UI.form(
  2954. "课程详情",
  2955. $$("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 }), {
  2956. "id": "studyDetail",
  2957. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2958. "onresize": function () { }
  2959. }, {
  2960. closecallback: function () { }
  2961. }, { "style": { "height": "36px" } }).form; //创建窗体
  2962. _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); } }
  2963. break;
  2964. }
  2965. case "hanUrl":
  2966. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2967. setTimeout(() => {
  2968. U.MD.U.L.login();
  2969. }, 2000);
  2970. } else {
  2971. _formdiv = new U.UF.UI.form(
  2972. "汉字宫",
  2973. $$("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" }), {
  2974. "id": "hanUrl",
  2975. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2976. "onresize": function () { }
  2977. }, {
  2978. closecallback: function () { }
  2979. }, { "style": { "height": "36px" } }).form; //创建窗体
  2980. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2981. break;
  2982. }
  2983. case "index":
  2984. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2985. setTimeout(() => {
  2986. U.MD.U.L.login();
  2987. }, 2000);
  2988. } else {
  2989. _formdiv = new U.UF.UI.form(
  2990. "课程中心",
  2991. $$("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 }), {
  2992. "id": "study",
  2993. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2994. "onresize": function () { }
  2995. }, {
  2996. closecallback: function () { }
  2997. }, { "style": { "height": "36px" } }).form; //创建窗体
  2998. _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); } }
  2999. break;
  3000. }
  3001. case "dataClass":
  3002. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3003. setTimeout(() => {
  3004. U.MD.U.L.login();
  3005. }, 2000);
  3006. } else {
  3007. _formdiv = new U.UF.UI.form(
  3008. "数据报告",
  3009. $$("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 }), {
  3010. "id": "dataClass",
  3011. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3012. "onresize": function () { }
  3013. }, {
  3014. closecallback: function () { }
  3015. }, { "style": { "height": "36px" } }).form; //创建窗体
  3016. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "数据报告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3017. break;
  3018. }
  3019. case "opencCscl":
  3020. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3021. setTimeout(() => {
  3022. U.MD.U.L.login();
  3023. }, 2000);
  3024. } else {
  3025. _formdiv = new U.UF.UI.form(
  3026. "协同建构",
  3027. $$("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 }), {
  3028. "id": "futureClass",
  3029. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3030. "onresize": function () { }
  3031. }, {
  3032. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3033. }, { "style": { "height": "36px" } }).form; //创建窗体
  3034. _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); } }
  3035. break;
  3036. }
  3037. }
  3038. }
  3039. U.MD.D.I.openApplication = function (str, obj, info) {
  3040. obj = obj || {};
  3041. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3042. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3043. _userinfo = US.userInfo, //登录用户信息
  3044. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3045. _oid = obj.organizeid || _userinfo.organizeid,
  3046. _type = US.userInfo.type,
  3047. _org = US.userInfo.org,
  3048. _role = US.userInfo.role,
  3049. _classId = US.userInfo.classid,
  3050. _TscreenType = 1
  3051. _screenType = 2,
  3052. _SscreenType = 3;
  3053. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3054. return;
  3055. }
  3056. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3057. switch (str) {
  3058. case "studnetProject": //好友打开
  3059. _formdiv = new U.UF.UI.form(
  3060. "我的项目",
  3061. $$("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 }), {
  3062. "id": "studnetProject",
  3063. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3064. "onresize": function () { }
  3065. }, {
  3066. closecallback: function () { }
  3067. }, { "style": { "height": "36px" } }).form; //创建窗体
  3068. _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); } }
  3069. break;
  3070. case "studentEvaluate": //好友打开
  3071. _formdiv = new U.UF.UI.form(
  3072. "我的评价",
  3073. $$("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 }), {
  3074. "id": "studentEvaluate",
  3075. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3076. "onresize": function () { }
  3077. }, {
  3078. closecallback: function () { }
  3079. }, { "style": { "height": "36px" } }).form; //创建窗体
  3080. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3081. break;
  3082. case "my":
  3083. _formdiv = new U.UF.UI.form(
  3084. "我的资料",
  3085. $$("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 }), {
  3086. "id": "my",
  3087. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3088. "onresize": function () { }
  3089. }, {
  3090. closecallback: function () { }
  3091. }, { "style": { "height": "36px" } }).form; //创建窗体
  3092. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3093. break;
  3094. case "program":
  3095. _formdiv = new U.UF.UI.form(
  3096. "编程平台",
  3097. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3098. "id": "program",
  3099. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3100. "onresize": function () { }
  3101. }, {
  3102. closecallback: function () { }
  3103. }, { "style": { "height": "36px" } }).form; //创建窗体
  3104. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3105. break;
  3106. case "library":
  3107. _formdiv = new U.UF.UI.form(
  3108. "素材库",
  3109. $$("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 }), {
  3110. "id": "library",
  3111. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3112. "onresize": function () { }
  3113. }, {
  3114. closecallback: function () { }
  3115. }, { "style": { "height": "36px" } }).form; //创建窗体
  3116. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3117. break;
  3118. case "whiteboard":
  3119. _formdiv = new U.UF.UI.form(
  3120. "电子白板",
  3121. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3122. "id": "whiteboard",
  3123. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3124. "onresize": function () { }
  3125. }, {
  3126. closecallback: function () { }
  3127. }, { "style": { "height": "36px" } }).form; //创建窗体
  3128. _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); } }
  3129. break;
  3130. case "investigation":
  3131. _formdiv = new U.UF.UI.form(
  3132. "问卷调查",
  3133. $$("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 }), {
  3134. "id": "investigation",
  3135. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3136. "onresize": function () { }
  3137. }, {
  3138. closecallback: function () { }
  3139. }, { "style": { "height": "36px" } }).form; //创建窗体
  3140. _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); } }
  3141. break;
  3142. case "note":
  3143. _formdiv = new U.UF.UI.form(
  3144. "便签分类",
  3145. $$("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 }), {
  3146. "id": "note",
  3147. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3148. "onresize": function () { }
  3149. }, {
  3150. closecallback: function () { }
  3151. }, { "style": { "height": "36px" } }).form; //创建窗体
  3152. _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); } }
  3153. break;
  3154. // case "score":
  3155. // _formdiv = new U.UF.UI.form(
  3156. // "量规评分",
  3157. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3158. // "id": "score",
  3159. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3160. // "onresize": function() {}
  3161. // }, {
  3162. // closecallback: function() {}
  3163. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3164. // _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); } }
  3165. // break;
  3166. case "mind":
  3167. _formdiv = new U.UF.UI.form(
  3168. "思维导图",
  3169. $$("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"
  3170. "id": "mind",
  3171. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3172. "onresize": function () { }
  3173. }, {
  3174. closecallback: function () { }
  3175. }, { "style": { "height": "36px" } }).form; //创建窗体
  3176. _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); } }
  3177. break;
  3178. case "doc":
  3179. // U.MD.D.I.isRoom();
  3180. _formdiv = new U.UF.UI.form(
  3181. "协同文档",
  3182. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3183. "id": "doc",
  3184. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3185. "onresize": function () { }
  3186. }, {
  3187. closecallback: function () { }
  3188. }, { "style": { "height": "36px" } }).form; //创建窗体
  3189. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3190. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3191. // })
  3192. _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); } }
  3193. break;
  3194. case "studentStudy":
  3195. _formdiv = new U.UF.UI.form(
  3196. "课程中心",
  3197. $$("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
  3198. "id": "studentStudy",
  3199. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3200. "onresize": function () { }
  3201. }, {
  3202. closecallback: function () { }
  3203. }, { "style": { "height": "36px" } }).form; //创建窗体
  3204. _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); } }
  3205. break;
  3206. case "train": //好友打开
  3207. _formdiv = new U.UF.UI.form(
  3208. "训练平台",
  3209. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3210. "id": "train",
  3211. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3212. "onresize": function () { }
  3213. }, {
  3214. closecallback: function () { }
  3215. }, { "style": { "height": "36px" } }).form; //创建窗体
  3216. _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); } }
  3217. break;
  3218. case "mindNetwork": //好友打开
  3219. _formdiv = new U.UF.UI.form(
  3220. "思维网格",
  3221. $$("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 }), {
  3222. "id": "mindNetwork",
  3223. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3224. "onresize": function () { }
  3225. }, {
  3226. closecallback: function () { }
  3227. }, { "style": { "height": "36px" } }).form; //创建窗体
  3228. _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); } }
  3229. break;
  3230. case "studentClassRoom": //好友打开
  3231. _formdiv = new U.UF.UI.form(
  3232. "实时课堂",
  3233. $$("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 }), {
  3234. "id": "studentClassRoom",
  3235. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3236. "onresize": function () { }
  3237. }, {
  3238. closecallback: function () { }
  3239. }, { "style": { "height": "36px" } }).form; //创建窗体
  3240. _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); } }
  3241. setTimeout(() => {
  3242. U.UF.F.windowZooming(_formdiv)
  3243. }, 0);
  3244. break;
  3245. }
  3246. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3247. switch (str) {
  3248. case "studnetProject": //好友打开
  3249. _formdiv = new U.UF.UI.form(
  3250. "我的项目",
  3251. $$("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 }), {
  3252. "id": "studnetProject",
  3253. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3254. "onresize": function () { }
  3255. }, {
  3256. closecallback: function () { }
  3257. }, { "style": { "height": "36px" } }).form; //创建窗体
  3258. _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); } }
  3259. break;
  3260. case "studentEvaluate": //好友打开
  3261. _formdiv = new U.UF.UI.form(
  3262. "我的评价",
  3263. $$("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 }), {
  3264. "id": "studentEvaluate",
  3265. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3266. "onresize": function () { }
  3267. }, {
  3268. closecallback: function () { }
  3269. }, { "style": { "height": "36px" } }).form; //创建窗体
  3270. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3271. break;
  3272. case "my":
  3273. _formdiv = new U.UF.UI.form(
  3274. "我的资料",
  3275. $$("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 }), {
  3276. "id": "my",
  3277. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3278. "onresize": function () { }
  3279. }, {
  3280. closecallback: function () { }
  3281. }, { "style": { "height": "36px" } }).form; //创建窗体
  3282. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3283. break;
  3284. case "program":
  3285. _formdiv = new U.UF.UI.form(
  3286. "编程平台",
  3287. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3288. "id": "program",
  3289. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3290. "onresize": function () { }
  3291. }, {
  3292. closecallback: function () { }
  3293. }, { "style": { "height": "36px" } }).form; //创建窗体
  3294. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3295. break;
  3296. case "library":
  3297. _formdiv = new U.UF.UI.form(
  3298. "素材库",
  3299. $$("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 }), {
  3300. "id": "library",
  3301. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3302. "onresize": function () { }
  3303. }, {
  3304. closecallback: function () { }
  3305. }, { "style": { "height": "36px" } }).form; //创建窗体
  3306. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3307. break;
  3308. case "whiteboard":
  3309. _formdiv = new U.UF.UI.form(
  3310. "电子白板",
  3311. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3312. "id": "whiteboard",
  3313. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3314. "onresize": function () { }
  3315. }, {
  3316. closecallback: function () { }
  3317. }, { "style": { "height": "36px" } }).form; //创建窗体
  3318. _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); } }
  3319. break;
  3320. case "investigation":
  3321. _formdiv = new U.UF.UI.form(
  3322. "问卷调查",
  3323. $$("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 }), {
  3324. "id": "investigation",
  3325. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3326. "onresize": function () { }
  3327. }, {
  3328. closecallback: function () { }
  3329. }, { "style": { "height": "36px" } }).form; //创建窗体
  3330. _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); } }
  3331. break;
  3332. case "note":
  3333. _formdiv = new U.UF.UI.form(
  3334. "便签分类",
  3335. $$("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 }), {
  3336. "id": "note",
  3337. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3338. "onresize": function () { }
  3339. }, {
  3340. closecallback: function () { }
  3341. }, { "style": { "height": "36px" } }).form; //创建窗体
  3342. _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); } }
  3343. break;
  3344. // case "score":
  3345. // _formdiv = new U.UF.UI.form(
  3346. // "量规评分",
  3347. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3348. // "id": "score",
  3349. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3350. // "onresize": function() {}
  3351. // }, {
  3352. // closecallback: function() {}
  3353. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3354. // _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); } }
  3355. // break;
  3356. case "mind":
  3357. _formdiv = new U.UF.UI.form(
  3358. "思维导图",
  3359. $$("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"
  3360. "id": "mind",
  3361. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3362. "onresize": function () { }
  3363. }, {
  3364. closecallback: function () { }
  3365. }, { "style": { "height": "36px" } }).form; //创建窗体
  3366. _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); } }
  3367. break;
  3368. case "doc":
  3369. // U.MD.D.I.isRoom();
  3370. _formdiv = new U.UF.UI.form(
  3371. "协同文档",
  3372. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3373. "id": "doc",
  3374. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3375. "onresize": function () { }
  3376. }, {
  3377. closecallback: function () { }
  3378. }, { "style": { "height": "36px" } }).form; //创建窗体
  3379. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3380. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3381. })
  3382. _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); } }
  3383. break;
  3384. case "train": //好友打开
  3385. _formdiv = new U.UF.UI.form(
  3386. "训练平台",
  3387. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3388. "id": "train",
  3389. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3390. "onresize": function () { }
  3391. }, {
  3392. closecallback: function () { }
  3393. }, { "style": { "height": "36px" } }).form; //创建窗体
  3394. _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); } }
  3395. break;
  3396. case "studentStudy":
  3397. _formdiv = new U.UF.UI.form(
  3398. "课程中心",
  3399. $$("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
  3400. "id": "studentStudy",
  3401. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3402. "onresize": function () { }
  3403. }, {
  3404. closecallback: function () { }
  3405. }, { "style": { "height": "36px" } }).form; //创建窗体
  3406. _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); } }
  3407. break;
  3408. case "mindNetwork": //好友打开
  3409. _formdiv = new U.UF.UI.form(
  3410. "思维网格",
  3411. $$("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 }), {
  3412. "id": "mindNetwork",
  3413. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3414. "onresize": function () { }
  3415. }, {
  3416. closecallback: function () { }
  3417. }, { "style": { "height": "36px" } }).form; //创建窗体
  3418. _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); } }
  3419. break;
  3420. case "studentClassRoom": //好友打开
  3421. _formdiv = new U.UF.UI.form(
  3422. "实时课堂",
  3423. $$("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 }), {
  3424. "id": "studentClassRoom",
  3425. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3426. "onresize": function () { }
  3427. }, {
  3428. closecallback: function () { }
  3429. }, { "style": { "height": "36px" } }).form; //创建窗体
  3430. _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); } }
  3431. setTimeout(() => {
  3432. U.UF.F.windowZooming(_formdiv)
  3433. }, 0);
  3434. break;
  3435. }
  3436. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3437. //选择应用处理
  3438. switch (str) {
  3439. case "project": //好友打开
  3440. _formdiv = new U.UF.UI.form(
  3441. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3442. $$("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 }), {
  3443. "id": "project",
  3444. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3445. "onresize": function () { }
  3446. }, {
  3447. closecallback: function () { }
  3448. }, { "style": { "height": "36px" } }).form; //创建窗体
  3449. _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); } }
  3450. break;
  3451. case "student":
  3452. _formdiv = new U.UF.UI.form(
  3453. "学生管理",
  3454. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/student?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org + "&role=" + _role }), {
  3455. "id": "student",
  3456. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3457. "onresize": function () { }
  3458. }, {
  3459. closecallback: function () { }
  3460. }, { "style": { "height": "36px" } }).form; //创建窗体
  3461. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3462. break;
  3463. case "evaluate":
  3464. _formdiv = new U.UF.UI.form(
  3465. "学生评价",
  3466. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3467. "id": "evaluate",
  3468. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3469. "onresize": function () { }
  3470. }, {
  3471. closecallback: function () { }
  3472. }, { "style": { "height": "36px" } }).form; //创建窗体
  3473. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3474. break;
  3475. case "sys":
  3476. _formdiv = new U.UF.UI.form(
  3477. "目标管理",
  3478. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3479. "id": "sys",
  3480. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3481. "onresize": function () { }
  3482. }, {
  3483. closecallback: function () { }
  3484. }, { "style": { "height": "36px" } }).form; //创建窗体
  3485. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3486. break;
  3487. case "courseDesign":
  3488. _formdiv = new U.UF.UI.form(
  3489. "项目设计",
  3490. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3491. "id": "courseDesign",
  3492. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3493. "onresize": function () { }
  3494. }, {
  3495. closecallback: function () { }
  3496. }, { "style": { "height": "36px" } }).form; //创建窗体
  3497. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3498. break;
  3499. case "program":
  3500. _formdiv = new U.UF.UI.form(
  3501. "编程平台",
  3502. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3503. "id": "program",
  3504. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3505. "onresize": function () { }
  3506. }, {
  3507. closecallback: function () { }
  3508. }, { "style": { "height": "36px" } }).form; //创建窗体
  3509. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3510. break;
  3511. case "class":
  3512. _formdiv = new U.UF.UI.form(
  3513. "班级管理",
  3514. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/class?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3515. "id": "class",
  3516. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3517. "onresize": function () { }
  3518. }, {
  3519. closecallback: function () { }
  3520. }, { "style": { "height": "36px" } }).form; //创建窗体
  3521. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3522. break;
  3523. case "Grade":
  3524. _formdiv = new U.UF.UI.form(
  3525. "年级管理",
  3526. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/grade?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3527. "id": "Grade",
  3528. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3529. "onresize": function () { }
  3530. }, {
  3531. closecallback: function () { }
  3532. }, { "style": { "height": "36px" } }).form; //创建窗体
  3533. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Grade.png)" }, "name": "年级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3534. break;
  3535. case "teacherOffice":
  3536. _formdiv = new U.UF.UI.form(
  3537. "教研室",
  3538. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacherOffice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3539. "id": "teacherOffice",
  3540. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3541. "onresize": function () { }
  3542. }, {
  3543. closecallback: function () { }
  3544. }, { "style": { "height": "36px" } }).form; //创建窗体
  3545. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacherOffice.png)" }, "name": "教研室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3546. break;
  3547. case "my":
  3548. _formdiv = new U.UF.UI.form(
  3549. "我的资料",
  3550. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3551. "id": "my",
  3552. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3553. "onresize": function () { }
  3554. }, {
  3555. closecallback: function () { }
  3556. }, { "style": { "height": "36px" } }).form; //创建窗体
  3557. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3558. break;
  3559. case "notice":
  3560. _formdiv = new U.UF.UI.form(
  3561. "通知公告",
  3562. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  3563. "id": "notice",
  3564. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3565. "onresize": function () { }
  3566. }, {
  3567. closecallback: function () { }
  3568. }, { "style": { "height": "36px" } }).form; //创建窗体
  3569. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3570. break;
  3571. case "library":
  3572. _formdiv = new U.UF.UI.form(
  3573. "素材库",
  3574. $$("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 }), {
  3575. "id": "library",
  3576. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3577. "onresize": function () { }
  3578. }, {
  3579. closecallback: function () { }
  3580. }, { "style": { "height": "36px" } }).form; //创建窗体
  3581. _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); } }
  3582. break;
  3583. case "whiteboard":
  3584. _formdiv = new U.UF.UI.form(
  3585. "电子白板",
  3586. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3587. "id": "whiteboard",
  3588. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3589. "onresize": function () { }
  3590. }, {
  3591. closecallback: function () { }
  3592. }, { "style": { "height": "36px" } }).form; //创建窗体
  3593. _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); } }
  3594. break;
  3595. case "investigation":
  3596. _formdiv = new U.UF.UI.form(
  3597. "问卷调查",
  3598. $$("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 }), {
  3599. "id": "investigation",
  3600. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3601. "onresize": function () { }
  3602. }, {
  3603. closecallback: function () { }
  3604. }, { "style": { "height": "36px" } }).form; //创建窗体
  3605. _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); } }
  3606. break;
  3607. case "note":
  3608. _formdiv = new U.UF.UI.form(
  3609. "便签分类",
  3610. $$("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 }), {
  3611. "id": "note",
  3612. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3613. "onresize": function () { }
  3614. }, {
  3615. closecallback: function () { }
  3616. }, { "style": { "height": "36px" } }).form; //创建窗体
  3617. _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); } }
  3618. break;
  3619. // case "score":
  3620. // _formdiv = new U.UF.UI.form(
  3621. // "量规评分",
  3622. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3623. // "id": "score",
  3624. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3625. // "onresize": function() {}
  3626. // }, {
  3627. // closecallback: function() {}
  3628. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3629. // _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); } }
  3630. // break;
  3631. case "mind":
  3632. _formdiv = new U.UF.UI.form(
  3633. "思维导图",
  3634. $$("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"
  3635. "id": "mind",
  3636. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3637. "onresize": function () { }
  3638. }, {
  3639. closecallback: function () { }
  3640. }, { "style": { "height": "36px" } }).form; //创建窗体
  3641. _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); } }
  3642. break;
  3643. case "doc":
  3644. // U.MD.D.I.isRoom();
  3645. _formdiv = new U.UF.UI.form(
  3646. "协同文档",
  3647. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3648. "id": "doc",
  3649. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3650. "onresize": function () { }
  3651. }, {
  3652. closecallback: function () { }
  3653. }, { "style": { "height": "36px" } }).form; //创建窗体
  3654. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3655. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3656. })
  3657. _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); } }
  3658. break;
  3659. case "study":
  3660. _formdiv = new U.UF.UI.form(
  3661. "课程中心",
  3662. $$("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
  3663. "id": "study",
  3664. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3665. "onresize": function () { }
  3666. }, {
  3667. closecallback: function () { }
  3668. }, { "style": { "height": "36px" } }).form; //创建窗体
  3669. _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); } }
  3670. break;
  3671. case "mindNetwork": //好友打开
  3672. _formdiv = new U.UF.UI.form(
  3673. "思维网格",
  3674. $$("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 }), {
  3675. "id": "mindNetwork",
  3676. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3677. "onresize": function () { }
  3678. }, {
  3679. closecallback: function () { }
  3680. }, { "style": { "height": "36px" } }).form; //创建窗体
  3681. _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); } }
  3682. break;
  3683. case "train": //好友打开
  3684. _formdiv = new U.UF.UI.form(
  3685. "训练平台",
  3686. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3687. "id": "mindNetwork",
  3688. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3689. "onresize": function () { }
  3690. }, {
  3691. closecallback: function () { }
  3692. }, { "style": { "height": "36px" } }).form; //创建窗体
  3693. _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); } }
  3694. break;
  3695. case "teacherClassRoom": //好友打开
  3696. _formdiv = new U.UF.UI.form(
  3697. "实时课堂",
  3698. $$("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 }), {
  3699. "id": "teacherClassRoom",
  3700. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3701. "onresize": function () { }
  3702. }, {
  3703. closecallback: function () { }
  3704. }, { "style": { "height": "36px" } }).form; //创建窗体
  3705. _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); } }
  3706. setTimeout(() => {
  3707. U.UF.F.windowZooming(_formdiv)
  3708. }, 0);
  3709. break;
  3710. }
  3711. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3712. switch (str) {
  3713. case "project": //好友打开
  3714. _formdiv = new U.UF.UI.form(
  3715. "课程管理",
  3716. $$("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 }), {
  3717. "id": "project",
  3718. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3719. "onresize": function () { }
  3720. }, {
  3721. closecallback: function () { }
  3722. }, { "style": { "height": "36px" } }).form; //创建窗体
  3723. _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); } }
  3724. break;
  3725. case "evaluate":
  3726. _formdiv = new U.UF.UI.form(
  3727. "学生评价",
  3728. $$("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 }), {
  3729. "id": "evaluate",
  3730. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3731. "onresize": function () { }
  3732. }, {
  3733. closecallback: function () { }
  3734. }, { "style": { "height": "36px" } }).form; //创建窗体
  3735. _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); } }
  3736. break;
  3737. case "notice":
  3738. _formdiv = new U.UF.UI.form(
  3739. "通知公告",
  3740. $$("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 }), {
  3741. "id": "notice",
  3742. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3743. "onresize": function () { }
  3744. }, {
  3745. closecallback: function () { }
  3746. }, { "style": { "height": "36px" } }).form; //创建窗体
  3747. _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); } }
  3748. break;
  3749. case "stuLibrary":
  3750. _formdiv = new U.UF.UI.form(
  3751. "学习资料",
  3752. $$("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 }), {
  3753. "id": "stuLibrary",
  3754. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3755. "onresize": function () { }
  3756. }, {
  3757. closecallback: function () { }
  3758. }, { "style": { "height": "36px" } }).form; //创建窗体
  3759. _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); } }
  3760. break;
  3761. case "program":
  3762. _formdiv = new U.UF.UI.form(
  3763. "编程平台",
  3764. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3765. "id": "program",
  3766. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3767. "onresize": function () { }
  3768. }, {
  3769. closecallback: function () { }
  3770. }, { "style": { "height": "36px" } }).form; //创建窗体
  3771. _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); } }
  3772. break;
  3773. case "whiteboard":
  3774. _formdiv = new U.UF.UI.form(
  3775. "电子白板",
  3776. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3777. "id": "whiteboard",
  3778. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3779. "onresize": function () { }
  3780. }, {
  3781. closecallback: function () { }
  3782. }, { "style": { "height": "36px" } }).form; //创建窗体
  3783. _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); } }
  3784. break;
  3785. case "investigation":
  3786. _formdiv = new U.UF.UI.form(
  3787. "问卷调查",
  3788. $$("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 }), {
  3789. "id": "investigation",
  3790. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3791. "onresize": function () { }
  3792. }, {
  3793. closecallback: function () { }
  3794. }, { "style": { "height": "36px" } }).form; //创建窗体
  3795. _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); } }
  3796. break;
  3797. case "mind":
  3798. _formdiv = new U.UF.UI.form(
  3799. "思维导图",
  3800. $$("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"
  3801. "id": "mind",
  3802. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3803. "onresize": function () { }
  3804. }, {
  3805. closecallback: function () { }
  3806. }, { "style": { "height": "36px" } }).form; //创建窗体
  3807. _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); } }
  3808. break;
  3809. case "doc":
  3810. // U.MD.D.I.isRoom();
  3811. _formdiv = new U.UF.UI.form(
  3812. "协同文档",
  3813. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3814. "id": "doc",
  3815. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3816. "onresize": function () { }
  3817. }, {
  3818. closecallback: function () { }
  3819. }, { "style": { "height": "36px" } }).form; //创建窗体
  3820. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3821. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3822. })
  3823. _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); } }
  3824. break;
  3825. case "study":
  3826. _formdiv = new U.UF.UI.form(
  3827. "课程中心",
  3828. $$("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
  3829. "id": "study",
  3830. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3831. "onresize": function () { }
  3832. }, {
  3833. closecallback: function () { }
  3834. }, { "style": { "height": "36px" } }).form; //创建窗体
  3835. _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); } }
  3836. break;
  3837. case "mindNetwork": //好友打开
  3838. _formdiv = new U.UF.UI.form(
  3839. "思维网格",
  3840. $$("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 }), {
  3841. "id": "mindNetwork",
  3842. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3843. "onresize": function () { }
  3844. }, {
  3845. closecallback: function () { }
  3846. }, { "style": { "height": "36px" } }).form; //创建窗体
  3847. _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); } }
  3848. break;
  3849. case "train": //好友打开
  3850. _formdiv = new U.UF.UI.form(
  3851. "训练平台",
  3852. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3853. "id": "train",
  3854. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3855. "onresize": function () { }
  3856. }, {
  3857. closecallback: function () { }
  3858. }, { "style": { "height": "36px" } }).form; //创建窗体
  3859. _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); } }
  3860. break;
  3861. case "sys":
  3862. _formdiv = new U.UF.UI.form(
  3863. "目标管理",
  3864. $$("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 }), {
  3865. "id": "sys",
  3866. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3867. "onresize": function () { }
  3868. }, {
  3869. closecallback: function () { }
  3870. }, { "style": { "height": "36px" } }).form; //创建窗体
  3871. _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); } }
  3872. break;
  3873. case "courseDesign":
  3874. _formdiv = new U.UF.UI.form(
  3875. "项目设计",
  3876. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3877. "id": "courseDesign",
  3878. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3879. "onresize": function () { }
  3880. }, {
  3881. closecallback: function () { }
  3882. }, { "style": { "height": "36px" } }).form; //创建窗体
  3883. _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); } }
  3884. break;
  3885. }
  3886. } else if (!_type) {
  3887. switch (str) {
  3888. case "my":
  3889. _formdiv = new U.UF.UI.form(
  3890. "我的资料",
  3891. $$("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 }), {
  3892. "id": "my",
  3893. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3894. "onresize": function () { }
  3895. }, {
  3896. closecallback: function () { }
  3897. }, { "style": { "height": "36px" } }).form; //创建窗体
  3898. _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); } }
  3899. break;
  3900. }
  3901. }
  3902. switch (str) {
  3903. // AIprogram2 AI体验 aihub.cocorobo.cn
  3904. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3905. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3906. case "formulaEdi": //公式编辑
  3907. _formdiv = new U.UF.UI.form(
  3908. "公式编辑",
  3909. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3910. "id": "formulaEdi",
  3911. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3912. "onresize": function () { }
  3913. }, {
  3914. closecallback: function () { }
  3915. }, { "style": { "height": "36px" } }).form; //创建窗体
  3916. _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); } }
  3917. break;
  3918. case "molStr": //分子结构
  3919. _formdiv = new U.UF.UI.form(
  3920. "分子结构",
  3921. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3922. "id": "molStr",
  3923. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3924. "onresize": function () { }
  3925. }, {
  3926. closecallback: function () { }
  3927. }, { "style": { "height": "36px" } }).form; //创建窗体
  3928. _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); } }
  3929. break;
  3930. case "timeAxis": //时间轴
  3931. _formdiv = new U.UF.UI.form(
  3932. "时间轴",
  3933. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3934. "id": "timeAxis",
  3935. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3936. "onresize": function () { }
  3937. }, {
  3938. closecallback: function () { }
  3939. }, { "style": { "height": "36px" } }).form; //创建窗体
  3940. _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); } }
  3941. break;
  3942. case "AIprogram2": //AI体验
  3943. _formdiv = new U.UF.UI.form(
  3944. "AI体验",
  3945. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3946. "id": "AIprogram2",
  3947. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3948. "onresize": function () { }
  3949. }, {
  3950. closecallback: function () { }
  3951. }, { "style": { "height": "36px" } }).form; //创建窗体
  3952. _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); } }
  3953. break;
  3954. case "Pythonprogram": //python编程
  3955. _formdiv = new U.UF.UI.form(
  3956. "Python编程",
  3957. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3958. "id": "Pythonprogram",
  3959. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3960. "onresize": function () { }
  3961. }, {
  3962. closecallback: function () { }
  3963. }, { "style": { "height": "36px" } }).form; //创建窗体
  3964. _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); } }
  3965. break;
  3966. case "AIprogram": //ai编程
  3967. _formdiv = new U.UF.UI.form(
  3968. "AI编程平台",
  3969. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3970. "id": "AIprogram",
  3971. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3972. "onresize": function () { }
  3973. }, {
  3974. closecallback: function () { }
  3975. }, { "style": { "height": "36px" } }).form; //创建窗体
  3976. _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); } }
  3977. break;
  3978. case "CocoPi": //CocoPi
  3979. _formdiv = new U.UF.UI.form(
  3980. "CocoPi",
  3981. $$("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" }), {
  3982. "id": "CocoPi",
  3983. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3984. "onresize": function () { }
  3985. }, {
  3986. closecallback: function () { }
  3987. }, { "style": { "height": "36px" } }).form; //创建窗体
  3988. _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); } }
  3989. break;
  3990. case "Wood": //Wood
  3991. _formdiv = new U.UF.UI.form(
  3992. "海龟编程",
  3993. $$("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/" }), {
  3994. "id": "Wood",
  3995. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3996. "onresize": function () { }
  3997. }, {
  3998. closecallback: function () { }
  3999. }, { "style": { "height": "36px" } }).form; //创建窗体
  4000. _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); } }
  4001. break;
  4002. case "car": //模拟驾驶
  4003. _formdiv = new U.UF.UI.form(
  4004. "模拟驾驶",
  4005. $$("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/" }), {
  4006. "id": "car",
  4007. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4008. "onresize": function () { }
  4009. }, {
  4010. closecallback: function () { }
  4011. }, { "style": { "height": "36px" } }).form; //创建窗体
  4012. _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); } }
  4013. break;
  4014. case "lineSearch": //路径搜索
  4015. _formdiv = new U.UF.UI.form(
  4016. "路径搜索",
  4017. $$("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/" }), {
  4018. "id": "lineSearch",
  4019. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4020. "onresize": function () { }
  4021. }, {
  4022. closecallback: function () { }
  4023. }, { "style": { "height": "36px" } }).form; //创建窗体
  4024. _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); } }
  4025. break;
  4026. case "deepLearning": //深度学习
  4027. _formdiv = new U.UF.UI.form(
  4028. "深度学习",
  4029. $$("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/#" }), {
  4030. "id": "deepLearning",
  4031. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4032. "onresize": function () { }
  4033. }, {
  4034. closecallback: function () { }
  4035. }, { "style": { "height": "36px" } }).form; //创建窗体
  4036. _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); } }
  4037. break;
  4038. case "allHistory": //深度学习
  4039. _formdiv = new U.UF.UI.form(
  4040. "全历史",
  4041. $$("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/" }), {
  4042. "id": "allHistory",
  4043. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4044. "onresize": function () { }
  4045. }, {
  4046. closecallback: function () { }
  4047. }, { "style": { "height": "36px" } }).form; //创建窗体
  4048. _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); } }
  4049. break;
  4050. case "chatPDF": //ai编程
  4051. _formdiv = new U.UF.UI.form(
  4052. "chatPDF",
  4053. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4054. "id": "chatPDF",
  4055. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4056. "onresize": function () { }
  4057. }, {
  4058. closecallback: function () { }
  4059. }, { "style": { "height": "36px" } }).form; //创建窗体
  4060. _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); } }
  4061. break;
  4062. case "resources": //国家教育
  4063. _formdiv = new U.UF.UI.form(
  4064. "国家教育",
  4065. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4066. "id": "resources",
  4067. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4068. "onresize": function () { }
  4069. }, {
  4070. closecallback: function () { }
  4071. }, { "style": { "height": "36px" } }).form; //创建窗体
  4072. _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); } }
  4073. break;
  4074. case "codeEdit": //源码编辑
  4075. _formdiv = new U.UF.UI.form(
  4076. "源码编辑",
  4077. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4078. "id": "codeEdit",
  4079. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4080. "onresize": function () { }
  4081. }, {
  4082. closecallback: function () { }
  4083. }, { "style": { "height": "36px" } }).form; //创建窗体
  4084. _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); } }
  4085. break; //
  4086. case "MindMap": //MindMap
  4087. _formdiv = new U.UF.UI.form(
  4088. "MindMap",
  4089. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4090. "id": "MindMap",
  4091. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4092. "onresize": function () { }
  4093. }, {
  4094. closecallback: function () { }
  4095. }, { "style": { "height": "36px" } }).form; //创建窗体
  4096. _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); } }
  4097. break;
  4098. case "netWorkPanel": //netWorkPanel
  4099. _formdiv = new U.UF.UI.form(
  4100. "netWorkPanel",
  4101. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4102. "id": "netWorkPanel",
  4103. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4104. "onresize": function () { }
  4105. }, {
  4106. closecallback: function () { }
  4107. }, { "style": { "height": "36px" } }).form; //创建窗体
  4108. _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); } }
  4109. break;
  4110. case "GeoGebra": //GeoGebra
  4111. _formdiv = new U.UF.UI.form(
  4112. "GeoGebra",
  4113. $$("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" }), {
  4114. "id": "GeoGebra",
  4115. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4116. "onresize": function () { }
  4117. }, {
  4118. closecallback: function () { }
  4119. }, { "style": { "height": "36px" } }).form; //创建窗体
  4120. _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); } }
  4121. break;
  4122. case "translation": //翻译
  4123. _formdiv = new U.UF.UI.form(
  4124. "翻译",
  4125. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4126. "id": "translation",
  4127. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4128. "onresize": function () { }
  4129. }, {
  4130. closecallback: function () { }
  4131. }, { "style": { "height": "36px" } }).form; //创建窗体
  4132. _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); } }
  4133. break;
  4134. case "mohe": //魔盒
  4135. _formdiv = new U.UF.UI.form(
  4136. "魔盒识字",
  4137. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4138. "id": "mohe",
  4139. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4140. "onresize": function () { }
  4141. }, {
  4142. closecallback: function () { }
  4143. }, { "style": { "height": "36px" } }).form; //创建窗体
  4144. _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); } }
  4145. break;
  4146. case "24game": //24点
  4147. _formdiv = new U.UF.UI.form(
  4148. "24点",
  4149. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4150. "id": "24game",
  4151. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4152. "onresize": function () { }
  4153. }, {
  4154. closecallback: function () { }
  4155. }, { "style": { "height": "36px" } }).form; //创建窗体
  4156. _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); } }
  4157. break;
  4158. case "case":
  4159. _formdiv = new U.UF.UI.form(
  4160. "课程进展",
  4161. $$("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 }), {
  4162. "id": "case",
  4163. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4164. "onresize": function () { }
  4165. }, {
  4166. closecallback: function () { }
  4167. }, { "style": { "height": "36px" } }).form; //创建窗体
  4168. _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); } }
  4169. break;
  4170. case "snf":
  4171. _formdiv = new U.UF.UI.form(
  4172. "赛诺梵",
  4173. $$("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" }), {
  4174. "id": "snf",
  4175. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4176. "onresize": function () { }
  4177. }, {
  4178. closecallback: function () { }
  4179. }, { "style": { "height": "36px" } }).form; //创建窗体
  4180. _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); } }
  4181. break;
  4182. case "hanFamily":
  4183. _formdiv = new U.UF.UI.form(
  4184. "汉字家族",
  4185. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4186. "id": "hanFamily",
  4187. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4188. "onresize": function () { }
  4189. }, {
  4190. closecallback: function () { }
  4191. }, { "style": { "height": "36px" } }).form; //创建窗体
  4192. _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); } }
  4193. break;
  4194. case "hanClassics":
  4195. _formdiv = new U.UF.UI.form(
  4196. "国学经典",
  4197. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4198. "id": "hanClassics",
  4199. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4200. "onresize": function () { }
  4201. }, {
  4202. closecallback: function () { }
  4203. }, { "style": { "height": "36px" } }).form; //创建窗体
  4204. _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); } }
  4205. break;
  4206. case "hanTraining":
  4207. _formdiv = new U.UF.UI.form(
  4208. "笔画训练",
  4209. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4210. "id": "hanTraining",
  4211. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4212. "onresize": function () { }
  4213. }, {
  4214. closecallback: function () { }
  4215. }, { "style": { "height": "36px" } }).form; //创建窗体
  4216. _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); } }
  4217. break;
  4218. case "hanClass":
  4219. _formdiv = new U.UF.UI.form(
  4220. "书法课堂",
  4221. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4222. "id": "hanClass",
  4223. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4224. "onresize": function () { }
  4225. }, {
  4226. closecallback: function () { }
  4227. }, { "style": { "height": "36px" } }).form; //创建窗体
  4228. _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); } }
  4229. break;
  4230. case "han":
  4231. _formdiv = new U.UF.UI.form(
  4232. "汉字宫",
  4233. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4234. "id": "han",
  4235. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4236. "onresize": function () { }
  4237. }, {
  4238. closecallback: function () { }
  4239. }, { "style": { "height": "36px" } }).form; //创建窗体
  4240. _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); } }
  4241. break;
  4242. case "projectGM": //课程管理
  4243. _formdiv = new U.UF.UI.form(
  4244. "课程管理",
  4245. $$("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 }), {
  4246. "id": "projectGM",
  4247. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4248. "onresize": function () { }
  4249. }, {
  4250. closecallback: function () { }
  4251. }, { "style": { "height": "36px" } }).form; //创建窗体
  4252. _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); } }
  4253. break;
  4254. case "studyGM": //课程中心
  4255. _formdiv = new U.UF.UI.form(
  4256. "课程中心",
  4257. $$("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
  4258. "id": "study",
  4259. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4260. "onresize": function () { }
  4261. }, {
  4262. closecallback: function () { }
  4263. }, { "style": { "height": "36px" } }).form; //创建窗体
  4264. _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); } }
  4265. break;
  4266. // studentGM
  4267. case "studentGM": //学生管理
  4268. _formdiv = new U.UF.UI.form(
  4269. "学生管理",
  4270. $$("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 }), {
  4271. "id": "studentGM",
  4272. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4273. "onresize": function () { }
  4274. }, {
  4275. closecallback: function () { }
  4276. }, { "style": { "height": "36px" } }).form; //创建窗体
  4277. _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); } }
  4278. break;
  4279. case "evaluateGM": //学生评价
  4280. _formdiv = new U.UF.UI.form(
  4281. "学生评价",
  4282. $$("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 }), {
  4283. "id": "evaluateGM",
  4284. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4285. "onresize": function () { }
  4286. }, {
  4287. closecallback: function () { }
  4288. }, { "style": { "height": "36px" } }).form; //创建窗体
  4289. _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); } }
  4290. break;
  4291. // classGM
  4292. case "classGM": //班级管理
  4293. _formdiv = new U.UF.UI.form(
  4294. "班级管理",
  4295. $$("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 }), {
  4296. "id": "classGM",
  4297. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4298. "onresize": function () { }
  4299. }, {
  4300. closecallback: function () { }
  4301. }, { "style": { "height": "36px" } }).form; //创建窗体
  4302. _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); } }
  4303. break;
  4304. // dataGM
  4305. case "dataGM":
  4306. _formdiv = new U.UF.UI.form(
  4307. "我的资料",
  4308. $$("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 }), {
  4309. "id": "dataGM",
  4310. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4311. "onresize": function () { }
  4312. }, {
  4313. closecallback: function () { }
  4314. }, { "style": { "height": "36px" } }).form; //创建窗体
  4315. _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); } }
  4316. break;
  4317. // caseGM
  4318. case "caseGM": //课程进展
  4319. _formdiv = new U.UF.UI.form(
  4320. "课程进展",
  4321. $$("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 }), {
  4322. "id": "caseGM",
  4323. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4324. "onresize": function () { }
  4325. }, {
  4326. closecallback: function () { }
  4327. }, { "style": { "height": "36px" } }).form; //创建窗体
  4328. _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); } }
  4329. break;
  4330. // meterialGM
  4331. case "meterialGM": //素材库
  4332. _formdiv = new U.UF.UI.form(
  4333. "素材库",
  4334. $$("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 }), {
  4335. "id": "meterialGM",
  4336. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4337. "onresize": function () { }
  4338. }, {
  4339. closecallback: function () { }
  4340. }, { "style": { "height": "36px" } }).form; //创建窗体
  4341. _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); } }
  4342. break;
  4343. // evaluateSGM
  4344. case "evaluateSGM": //我的评价
  4345. _formdiv = new U.UF.UI.form(
  4346. "我的评价",
  4347. $$("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 }), {
  4348. "id": "evaluateSGM",
  4349. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4350. "onresize": function () { }
  4351. }, {
  4352. closecallback: function () { }
  4353. }, { "style": { "height": "36px" } }).form; //创建窗体
  4354. _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); } }
  4355. break;
  4356. case "jupyter": //jupyter
  4357. _formdiv = new U.UF.UI.form(
  4358. "jupyter",
  4359. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4360. "id": "jupyter",
  4361. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4362. "onresize": function () { }
  4363. }, {
  4364. closecallback: function () { }
  4365. }, { "style": { "height": "36px" } }).form; //创建窗体
  4366. _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); } }
  4367. break;
  4368. case "number": //数字实验室
  4369. _formdiv = new U.UF.UI.form(
  4370. "数字实验室",
  4371. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4372. "id": "number",
  4373. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4374. "onresize": function () { }
  4375. }, {
  4376. closecallback: function () { }
  4377. }, { "style": { "height": "36px" } }).form; //创建窗体
  4378. _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); } }
  4379. break;
  4380. case "studentCourse": //项目管理 学生
  4381. _formdiv = new U.UF.UI.form(
  4382. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4383. $$("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 }), {
  4384. "id": "studentCourse",
  4385. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4386. "onresize": function () { }
  4387. }, {
  4388. closecallback: function () { }
  4389. }, { "style": { "height": "36px" } }).form; //创建窗体
  4390. _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); } }
  4391. break;
  4392. case "studentCourseS": //项目管理 老师
  4393. _formdiv = new U.UF.UI.form(
  4394. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4395. $$("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 }), {
  4396. "id": "studentCourseS",
  4397. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4398. "onresize": function () { }
  4399. }, {
  4400. closecallback: function () { }
  4401. }, { "style": { "height": "36px" } }).form; //创建窗体
  4402. _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); } }
  4403. break;
  4404. case "studentIndex": //项目中心
  4405. _formdiv = new U.UF.UI.form(
  4406. "项目中心",
  4407. $$("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 }), {
  4408. "id": "studentIndex",
  4409. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4410. "onresize": function () { }
  4411. }, {
  4412. closecallback: function () { }
  4413. }, { "style": { "height": "36px" } }).form; //创建窗体
  4414. _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); } }
  4415. break;
  4416. case "CaseDesignS":
  4417. _formdiv = new U.UF.UI.form(
  4418. "项目进展",
  4419. $$("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 }), {
  4420. "id": "case",
  4421. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4422. "onresize": function () { }
  4423. }, {
  4424. closecallback: function () { }
  4425. }, { "style": { "height": "36px" } }).form; //创建窗体
  4426. _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); } }
  4427. break;
  4428. case "tcStudent": //腾讯学生管理
  4429. _formdiv = new U.UF.UI.form(
  4430. "学生管理",
  4431. $$("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 }), {
  4432. "id": "tcStudent",
  4433. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4434. "onresize": function () { }
  4435. }, {
  4436. closecallback: function () { }
  4437. }, { "style": { "height": "36px" } }).form; //创建窗体
  4438. _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); } }
  4439. break;
  4440. case "tcSchool": //腾讯学校管理
  4441. _formdiv = new U.UF.UI.form(
  4442. "学校管理",
  4443. $$("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 }), {
  4444. "id": "tcSchool",
  4445. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4446. "onresize": function () { }
  4447. }, {
  4448. closecallback: function () { }
  4449. }, { "style": { "height": "36px" } }).form; //创建窗体
  4450. _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); } }
  4451. break;
  4452. case "tcTeacher": //腾讯学校管理
  4453. _formdiv = new U.UF.UI.form(
  4454. "教师管理",
  4455. $$("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 }), {
  4456. "id": "tcTeacher",
  4457. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4458. "onresize": function () { }
  4459. }, {
  4460. closecallback: function () { }
  4461. }, { "style": { "height": "36px" } }).form; //创建窗体
  4462. _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); } }
  4463. break;
  4464. case "tcData": //腾讯我的资料
  4465. _formdiv = new U.UF.UI.form(
  4466. "我的资料",
  4467. $$("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 }), {
  4468. "id": "tcData",
  4469. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4470. "onresize": function () { }
  4471. }, {
  4472. closecallback: function () { }
  4473. }, { "style": { "height": "36px" } }).form; //创建窗体
  4474. _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); } }
  4475. break;
  4476. case "tcNotice": //腾讯消息通知
  4477. _formdiv = new U.UF.UI.form(
  4478. "消息通知",
  4479. $$("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 }), {
  4480. "id": "tcNotice",
  4481. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4482. "onresize": function () { }
  4483. }, {
  4484. closecallback: function () { }
  4485. }, { "style": { "height": "36px" } }).form; //创建窗体
  4486. _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); } }
  4487. break;
  4488. case "myReport": //好友打开
  4489. _formdiv = new U.UF.UI.form(
  4490. "我的评价",
  4491. $$("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 }), {
  4492. "id": "myReport",
  4493. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4494. "onresize": function () { }
  4495. }, {
  4496. closecallback: function () { }
  4497. }, { "style": { "height": "36px" } }).form; //创建窗体
  4498. _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); } }
  4499. break;
  4500. case "learnAna": //好友打开
  4501. _formdiv = new U.UF.UI.form(
  4502. "学习分析",
  4503. $$("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 }), {
  4504. "id": "learnAna",
  4505. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4506. "onresize": function () { }
  4507. }, {
  4508. closecallback: function () { }
  4509. }, { "style": { "height": "36px" } }).form; //创建窗体
  4510. _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); } }
  4511. break;
  4512. case "AIChat": //AI共创
  4513. _formdiv = new U.UF.UI.form(
  4514. "AI共创",
  4515. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4516. "id": "AIChat",
  4517. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4518. "onresize": function () { }
  4519. }, {
  4520. istop: true,
  4521. closecallback: function () { $("#aichat_icon").remove(); },
  4522. narrowcallback: function () {
  4523. if (!$("#aichat_icon")[0]) {
  4524. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4525. }
  4526. },
  4527. }, { "style": { "height": "36px" } }).form; //创建窗体
  4528. _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); } }
  4529. break;
  4530. case "ainew": //AI共创
  4531. _formdiv = new U.UF.UI.form(
  4532. "AI协同",
  4533. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4534. "id": "ainew",
  4535. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4536. "onresize": function () { }
  4537. }, {
  4538. closecallback: function () { }
  4539. }, { "style": { "height": "36px" } }).form; //创建窗体
  4540. _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); } }
  4541. break;
  4542. case "futureClass": //AI共创
  4543. _formdiv = new U.UF.UI.form(
  4544. "协同建构",
  4545. $$("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
  4546. "id": "synergyCourse",
  4547. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4548. "onresize": function () { }
  4549. }, {
  4550. closecallback: function () {
  4551. $("iframe", _formdiv)[0].contentWindow.loginout();
  4552. }
  4553. }, { "style": { "height": "36px" } }).form; //创建窗体
  4554. _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); } }
  4555. break;
  4556. case "aiagent": //ai agent
  4557. _formdiv = new U.UF.UI.form(
  4558. "AI Agent",
  4559. $$("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" }), {
  4560. "id": "AIAgent",
  4561. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4562. "onresize": function () { }
  4563. }, {
  4564. closecallback: function () { }
  4565. }, { "style": { "height": "36px" } }).form; //创建窗体
  4566. _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); } }
  4567. break;
  4568. case "dataBoard": //数据看板
  4569. _formdiv = new U.UF.UI.form(
  4570. "数据看板",
  4571. $$("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 }), {
  4572. "id": "dataBoard",
  4573. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4574. "onresize": function () { }
  4575. }, {
  4576. closecallback: function () { }
  4577. }, { "style": { "height": "36px" } }).form; //创建窗体
  4578. _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); } }
  4579. break;
  4580. case "dataBoardSies": //数据融合
  4581. _formdiv = new U.UF.UI.form(
  4582. "数据融合",
  4583. $$("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 }), {
  4584. "id": "dataBoardSies",
  4585. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4586. "onresize": function () { }
  4587. }, {
  4588. closecallback: function () { }
  4589. }, { "style": { "height": "36px" } }).form; //创建窗体
  4590. _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); } }
  4591. break;
  4592. case "dataBoardNew": //数据看板
  4593. _formdiv = new U.UF.UI.form(
  4594. "综合看板",
  4595. $$("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 }), {
  4596. "id": "dataBoardNew",
  4597. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4598. "onresize": function () { }
  4599. }, {
  4600. closecallback: function () { }
  4601. }, { "style": { "height": "36px" } }).form; //创建窗体
  4602. _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); } }
  4603. break;
  4604. case "AIAnalyse": //AI共创
  4605. _formdiv = new U.UF.UI.form(
  4606. "AI分析",
  4607. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4608. "id": "AIAnalyse",
  4609. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4610. "onresize": function () { }
  4611. }, {
  4612. closecallback: function () { }
  4613. }, { "style": { "height": "36px" } }).form; //创建窗体
  4614. _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); } }
  4615. break;
  4616. case "studioCourse": //AI共创
  4617. _formdiv = new U.UF.UI.form(
  4618. "工作管理",
  4619. $$("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 }), {
  4620. "id": "studioCourse",
  4621. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4622. "onresize": function () { }
  4623. }, {
  4624. closecallback: function () { }
  4625. }, { "style": { "height": "36px" } }).form; //创建窗体
  4626. _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); } }
  4627. break;
  4628. case "studioIndex": //AI共创
  4629. _formdiv = new U.UF.UI.form(
  4630. "工作中心",
  4631. $$("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 }), {
  4632. "id": "studioIndex",
  4633. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4634. "onresize": function () { }
  4635. }, {
  4636. closecallback: function () { }
  4637. }, { "style": { "height": "36px" } }).form; //创建窗体
  4638. _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); } }
  4639. break;
  4640. case "source":
  4641. _formdiv = new U.UF.UI.form(
  4642. "教学资源",
  4643. $$("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 }), {
  4644. "id": "source",
  4645. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4646. "onresize": function () { }
  4647. }, {
  4648. closecallback: function () { }
  4649. }, { "style": { "height": "36px" } }).form; //创建窗体
  4650. _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); } }
  4651. break;
  4652. case "testTeacher":
  4653. _formdiv = new U.UF.UI.form(
  4654. "评测管理",
  4655. $$("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 }), {
  4656. "id": "testTeacher",
  4657. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4658. "onresize": function () { }
  4659. }, {
  4660. closecallback: function () { }
  4661. }, { "style": { "height": "36px" } }).form; //创建窗体
  4662. _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); } }
  4663. break;
  4664. case "testStudent":
  4665. _formdiv = new U.UF.UI.form(
  4666. "评测中心",
  4667. $$("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 }), {
  4668. "id": "testStudent",
  4669. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4670. "onresize": function () { }
  4671. }, {
  4672. closecallback: function () { }
  4673. }, { "style": { "height": "36px" } }).form; //创建窗体
  4674. _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); } }
  4675. break;
  4676. }
  4677. //U.MD.D.I.openClick(str);
  4678. //如果有任务栏信息
  4679. if (_taskbar) {
  4680. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4681. }
  4682. }
  4683. // U.MD.D.I.openClick = function(str){
  4684. // var click = '';
  4685. // switch(str){
  4686. // case 'friend':
  4687. // click = '我的好友';
  4688. // break;
  4689. // case 'domain':
  4690. // click = '域名管理';
  4691. // break;
  4692. // case 'disk':
  4693. // click = '我的云盘';
  4694. // break;
  4695. // case 'word':
  4696. // click = 'Word';
  4697. // break;
  4698. // case 'excel':
  4699. // click = 'Execl';
  4700. // break;
  4701. // case 'txt':
  4702. // click = '文本文件';
  4703. // break;
  4704. // case 'lookupFriend':
  4705. // click = '查找好友';
  4706. // break;
  4707. // case 'ftp':
  4708. // click = 'FTP';
  4709. // break;
  4710. // case 'group':
  4711. // click = '群组';
  4712. // break;
  4713. // case 'set':
  4714. // click = '我的设置';
  4715. // break;
  4716. // case 'systemSet':
  4717. // click = '系统设置';
  4718. // break;
  4719. // case 'boomYun':
  4720. // click = '互联办公';
  4721. // break;
  4722. // case 'xz':
  4723. // click = '云端下载';
  4724. // break;
  4725. // case 'client':
  4726. // click = '有思浏览器';
  4727. // break;
  4728. // case 'backEndProgramming':
  4729. // click = '在线后台编程';
  4730. // break;
  4731. // case 'frontEndProgramming':
  4732. // click = '在线前端编程';
  4733. // break;
  4734. // default: break;
  4735. // }
  4736. // if(U.MD.D.I.Ip && click){
  4737. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4738. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4739. // })
  4740. // }
  4741. // }
  4742. /**
  4743. *函数作用:ajax简易函数,使用post格式
  4744. *@param url {data} 后台地址
  4745. *@param data {data} 参数json
  4746. *@param fn {data} 回调函数
  4747. *
  4748. */
  4749. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4750. // var xhr = new XMLHttpRequest();
  4751. // xhr.open("GET",url,true);
  4752. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4753. // xhr.onreadystatechange = function(){
  4754. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4755. // fn.call(this,xhr.responseText);
  4756. // }
  4757. // };
  4758. // xhr.send();
  4759. // }
  4760. /*判断是否是内网IP*/
  4761. // U.MD.D.I.isInnerIPFn = function(str){
  4762. // var curPageUrl = str;
  4763. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4764. // curPageUrl =curPageUrl.replace(reg1,'');
  4765. // // console.log('curPageUrl-1 '+curPageUrl);
  4766. // var reg2 = /\:+/g;//替换冒号为一点
  4767. // curPageUrl =curPageUrl.replace(reg2,'.');
  4768. // // console.log('curPageUrl-2 '+curPageUrl);
  4769. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4770. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4771. // if(curPageUrl[2] != '16'){
  4772. // return ipAddress;
  4773. // }else{
  4774. // return false;
  4775. // }
  4776. // }
  4777. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4778. // //compatibility for firefox and chrome
  4779. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4780. // var pc = new myPeerConnection({
  4781. // iceServers: []
  4782. // }),
  4783. // noop = function() {},
  4784. // localIPs = {},
  4785. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4786. // key;
  4787. // function iterateIP(ip) {
  4788. // if (!localIPs[ip]) onNewIP(ip);
  4789. // localIPs[ip] = true;
  4790. // }
  4791. // //create a bogus data channel
  4792. // pc.createDataChannel("");
  4793. // // create offer and set local description
  4794. // pc.createOffer().then(function(sdp) {
  4795. // sdp.sdp.split('\n').forEach(function(line) {
  4796. // if (line.indexOf('candidate') < 0) return;
  4797. // line.match(ipRegex).forEach(iterateIP);
  4798. // });
  4799. // pc.setLocalDescription(sdp, noop, noop);
  4800. // }).catch(function(reason) {
  4801. // // An error occurred, so handle the failure to connect
  4802. // });
  4803. // //sten for candidate events
  4804. // pc.onicecandidate = function(ice) {
  4805. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4806. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4807. // };
  4808. // }
  4809. // U.MD.D.I.getUserIpBool = function(callback){
  4810. // U.MD.D.I.getUserIP(function(ip){
  4811. // alert("Got IP! :" + ip);
  4812. // });
  4813. //}
  4814. //#endregion
  4815. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4816. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4817. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4818. _userinfo = US.userInfo, //登录用户信息
  4819. _userid = US.userInfo.userid //登录用户id
  4820. let _iframe;
  4821. let _cid = cid,
  4822. _stage = stage,
  4823. _task = task,
  4824. _tool = tool;
  4825. var _jie = $$("div", {
  4826. "style": {
  4827. "position": "absolute",
  4828. "bottom": "50px",
  4829. "right": "50px",
  4830. "zIndex": "9999",
  4831. "backgroundColor": "#2268bc",
  4832. "color": "#fff",
  4833. "padding": "12px 20px",
  4834. "cursor": "pointer",
  4835. "borderRadius": "4px",
  4836. },
  4837. "innerHTML": "提交作业"
  4838. })
  4839. let aTool = ''
  4840. let _loading = document.createElement('div')
  4841. _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;"
  4842. // _loading.id = "";
  4843. let _lchild = document.createElement('div')
  4844. let _limg = document.createElement('img')
  4845. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4846. _limg.style = "width: 26px;margin-right: 10px;"
  4847. _lchild.appendChild(_limg)
  4848. let _lspan = document.createElement('span')
  4849. _lspan.innerHTML = "上传中..."
  4850. _lchild.appendChild(_lspan)
  4851. _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%);"
  4852. _loading.appendChild(_lchild)
  4853. var _box = $$('div', {
  4854. "style": {
  4855. "position": "relative",
  4856. "width": "100%",
  4857. "height": "100%",
  4858. },
  4859. })
  4860. _box.appendChild(_loading)
  4861. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4862. switch (str) {
  4863. case "whiteboard":
  4864. aTool = 1;
  4865. _iframe = $$("iframe", {
  4866. "frameborder": "no",
  4867. "border": "0",
  4868. "scrolling ": "no",
  4869. "style": {
  4870. "cssText": "border:0;width:100%;height:100%"
  4871. },
  4872. "src": "https://iwb.cocorobo.cn/"
  4873. })
  4874. _box.appendChild(_iframe);
  4875. _box.appendChild(_jie);
  4876. _formdiv = new U.UF.UI.form(
  4877. "电子白板",
  4878. _box, {
  4879. "id": "whiteboard" + cid + stage + task + tool,
  4880. "style": {
  4881. "width": "90%",
  4882. "height": "90%",
  4883. "overflow": 'hidden'
  4884. },
  4885. "onresize": function () { }
  4886. }, {
  4887. closecallback: function () { }
  4888. }, {
  4889. "style": {
  4890. "height": "36px"
  4891. }
  4892. }).form; //创建窗体
  4893. _taskbar = {
  4894. "id": str + _formdiv.id,
  4895. "style": {
  4896. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4897. },
  4898. "name": "电子白板",
  4899. "forms": _formdiv,
  4900. "click": function () {
  4901. U.MD.D.I.openApplication(str, obj, info);
  4902. }
  4903. }
  4904. break;
  4905. case "mind":
  4906. aTool = 3;
  4907. _iframe = $$("iframe", {
  4908. "frameborder": "no",
  4909. "border": "0",
  4910. "scrolling ": "no",
  4911. "style": {
  4912. "cssText": "border:0;width:100%;height:100%"
  4913. },
  4914. "src": "/kityminder-editor/dist/index.html"
  4915. })
  4916. _box.appendChild(_iframe);
  4917. _box.appendChild(_jie);
  4918. _formdiv = new U.UF.UI.form(
  4919. "思维导图",
  4920. _box, { //"/jsmind/example/demo.html"
  4921. "id": "mind" + cid + stage + task + tool,
  4922. "style": {
  4923. "width": "90%",
  4924. "height": "90%",
  4925. "overflow": 'hidden'
  4926. },
  4927. "onresize": function () { }
  4928. }, {
  4929. closecallback: function () { }
  4930. }, {
  4931. "style": {
  4932. "height": "36px"
  4933. }
  4934. }).form; //创建窗体
  4935. _taskbar = {
  4936. "id": str + _formdiv.id,
  4937. "style": {
  4938. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4939. },
  4940. "name": "思维导图",
  4941. "forms": _formdiv,
  4942. "click": function () {
  4943. U.MD.D.I.openApplication(str, obj, info);
  4944. }
  4945. }
  4946. break;
  4947. case "MindMap":
  4948. aTool = 3;
  4949. _iframe = $$("iframe", {
  4950. "frameborder": "no",
  4951. "border": "0",
  4952. "scrolling ": "no",
  4953. "style": {
  4954. "cssText": "border:0;width:100%;height:100%"
  4955. },
  4956. "src": "//cloud.cocorobo.cn/mind/"
  4957. })
  4958. _box.appendChild(_iframe);
  4959. _box.appendChild(_jie);
  4960. _formdiv = new U.UF.UI.form(
  4961. "思维导图",
  4962. _box, { //"/jsmind/example/demo.html"
  4963. "id": "mind" + cid + stage + task + tool,
  4964. "style": {
  4965. "width": "90%",
  4966. "height": "90%",
  4967. "overflow": 'hidden'
  4968. },
  4969. "onresize": function () { }
  4970. }, {
  4971. closecallback: function () { }
  4972. }, {
  4973. "style": {
  4974. "height": "36px"
  4975. }
  4976. }).form; //创建窗体
  4977. _taskbar = {
  4978. "id": str + _formdiv.id,
  4979. "style": {
  4980. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4981. },
  4982. "name": "思维导图",
  4983. "forms": _formdiv,
  4984. "click": function () {
  4985. U.MD.D.I.openApplication(str, obj, info);
  4986. }
  4987. }
  4988. break;
  4989. case "doc":
  4990. aTool = 6;
  4991. _iframe = $$("iframe", {
  4992. "frameborder": "no",
  4993. "border": "0",
  4994. "scrolling ": "no",
  4995. "style": {
  4996. "cssText": "border:0;width:100%;height:100%"
  4997. },
  4998. "src": "/Office/Word/WordEditArea.htm"
  4999. })
  5000. _box.appendChild(_iframe);
  5001. _box.appendChild(_jie);
  5002. _formdiv = new U.UF.UI.form(
  5003. "协同文档",
  5004. _box, {
  5005. "id": "doc" + cid + stage + task + tool,
  5006. "style": {
  5007. "width": "90%",
  5008. "height": "90%",
  5009. "overflow": 'hidden'
  5010. },
  5011. "onresize": function () { }
  5012. }, {
  5013. closecallback: function () { }
  5014. }, {
  5015. "style": {
  5016. "height": "36px"
  5017. }
  5018. }).form; //创建窗体
  5019. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5020. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5021. })
  5022. _taskbar = {
  5023. "id": str + _formdiv.id,
  5024. "style": {
  5025. "backgroundImage": "url(/img/icon/doc.png)"
  5026. },
  5027. "name": "协同文档",
  5028. "forms": _formdiv,
  5029. "click": function () {
  5030. U.MD.D.I.openApplication(str, obj, info);
  5031. }
  5032. }
  5033. break;
  5034. case "mindNetwork": //好友打开
  5035. aTool = 7;
  5036. _iframe = $$("iframe", {
  5037. "webkitallowfullscreen": "",
  5038. "mozallowfullscreen": "",
  5039. "allowfullscreen": "",
  5040. "frameborder": "no",
  5041. "border": "0",
  5042. "scrolling ": "no",
  5043. "style": {
  5044. "cssText": "border:0; width:100%; height:100%;"
  5045. },
  5046. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5047. })
  5048. _box.appendChild(_iframe);
  5049. _box.appendChild(_jie);
  5050. _formdiv = new U.UF.UI.form(
  5051. "思维网格",
  5052. _box, {
  5053. "id": "mindNetwork" + cid + stage + task + tool,
  5054. "style": {
  5055. "width": "90%",
  5056. "height": "90%",
  5057. "overflow": 'hidden'
  5058. },
  5059. "onresize": function () { }
  5060. }, {
  5061. closecallback: function () { }
  5062. }, {
  5063. "style": {
  5064. "height": "36px"
  5065. }
  5066. }).form; //创建窗体
  5067. _taskbar = {
  5068. "id": str + _formdiv.id,
  5069. "style": {
  5070. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5071. },
  5072. "name": "思维网格",
  5073. "forms": _formdiv,
  5074. "click": function () {
  5075. U.MD.D.I.openApplication(str, obj, info);
  5076. }
  5077. }
  5078. break;
  5079. case "courseDesign":
  5080. _iframe = $$("iframe", {
  5081. "webkitallowfullscreen": "",
  5082. "mozallowfullscreen": "",
  5083. "allowfullscreen": "",
  5084. "frameborder": "no",
  5085. "border": "0",
  5086. "scrolling ": "no",
  5087. "style": {
  5088. "cssText": "border:0; width:100%; height:100%;"
  5089. },
  5090. "src": "/course-design-vue"
  5091. })
  5092. _box.appendChild(_iframe);
  5093. _box.appendChild(_jie);
  5094. _formdiv = new U.UF.UI.form(
  5095. "项目设计",
  5096. _box, {
  5097. "id": "courseDesign" + cid + stage + task + tool,
  5098. "style": {
  5099. "width": "90%",
  5100. "height": "90%",
  5101. "overflow": 'hidden'
  5102. },
  5103. "onresize": function () { }
  5104. }, {
  5105. closecallback: function () { }
  5106. }, {
  5107. "style": {
  5108. "height": "36px"
  5109. }
  5110. }).form; //创建窗体
  5111. _taskbar = {
  5112. "id": str + _formdiv.id,
  5113. "style": {
  5114. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5115. },
  5116. "name": "项目设计",
  5117. "forms": _formdiv,
  5118. "click": function () {
  5119. U.MD.D.I.openApplication(str, obj, info);
  5120. }
  5121. }
  5122. break;
  5123. }
  5124. const script1 = document.createElement("script");
  5125. script1.type = "text/javascript";
  5126. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5127. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5128. const script2 = document.createElement("script");
  5129. script2.type = "text/javascript";
  5130. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5131. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5132. const script3 = document.createElement("script");
  5133. script3.type = "text/javascript";
  5134. script3.charset = "UTF-8";
  5135. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5136. const script4 = document.createElement("script");
  5137. script4.type = "text/javascript";
  5138. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5139. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5140. if (_iframe) {
  5141. if (str == 'doc') {
  5142. _iframe = _formdiv.querySelector('iframe')
  5143. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5144. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5145. _iframe.contentWindow.document.body.appendChild(script1);
  5146. _iframe.contentWindow.document.body.appendChild(script2);
  5147. // _iframe.contentWindow.document.body.appendChild(script3);
  5148. _iframe.contentWindow.document.body.appendChild(script4);
  5149. })
  5150. if (onloadListener) {
  5151. _iframe.contentDocument.location.reload()
  5152. } else {
  5153. _iframe.contentDocument.location.reload()
  5154. }
  5155. } else if (str == 'courseDesign') {
  5156. U.UF.DL.iframeLoad(_iframe, function () {
  5157. // _iframe.contentWindow.U.MD.O.W.load();
  5158. // _iframe.contentWindow.document.body.appendChild(script1);
  5159. _iframe.contentWindow.document.body.appendChild(script2);
  5160. _iframe.contentWindow.document.body.appendChild(script4);
  5161. })
  5162. } else if (str == 'mind') {
  5163. _iframe = _formdiv.querySelector('iframe')
  5164. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5165. //
  5166. _iframe.contentWindow.document.body.appendChild(script1);
  5167. _iframe.contentWindow.document.body.appendChild(script2);
  5168. _iframe.contentWindow.document.body.appendChild(script4);
  5169. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5170. })
  5171. if (onloadListener) {
  5172. _iframe.contentDocument.location.reload()
  5173. } else {
  5174. _iframe.contentDocument.location.reload()
  5175. }
  5176. } else if (str == 'whiteboard') {
  5177. _iframe = _formdiv.querySelector('iframe')
  5178. let onloadListener = _iframe.onload = () => {
  5179. _iframe.contentWindow.document.body.appendChild(script1);
  5180. _iframe.contentWindow.document.body.appendChild(script2);
  5181. _iframe.contentWindow.document.body.appendChild(script4);
  5182. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5183. };
  5184. if (onloadListener) {
  5185. _iframe.contentDocument.location.reload()
  5186. } else {
  5187. _iframe.contentDocument.location.reload()
  5188. }
  5189. } else {
  5190. _iframe.onload = () => {
  5191. _iframe.contentWindow.document.body.appendChild(script1);
  5192. _iframe.contentWindow.document.body.appendChild(script2);
  5193. // _iframe.contentWindow.document.body.appendChild(script3);
  5194. _iframe.contentWindow.document.body.appendChild(script4);
  5195. };
  5196. }
  5197. _jie.onclick = async () => {
  5198. let text = ''
  5199. if (aTool == 1) {
  5200. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5201. } else if (aTool == 6) {
  5202. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5203. } else if (aTool == 3) {
  5204. text = await U.MD.D.I.getEditorContent(_iframe);
  5205. }
  5206. _loading.style.display = 'flex'
  5207. console.log(_loading);
  5208. var _ajs = _iframe.contentWindow.document.createElement("script");
  5209. _ajs.type = "text/javascript";
  5210. _ajs.innerHTML =
  5211. // 'console.log(' + _loading + ');\n' +
  5212. 'var _js = document.createElement("script");\n' +
  5213. '_js.type="text/javascript";\n' +
  5214. '_js.charset="UTF-8";\n' +
  5215. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5216. "_js.onload = function(){\n" +
  5217. ' var a = document.getElementsByTagName("img")\n' +
  5218. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5219. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5220. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5221. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5222. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5223. "beforeUpload_shishi(file," +
  5224. "'" +
  5225. _userid +
  5226. "'" +
  5227. ", " +
  5228. "'" +
  5229. _cid +
  5230. "'" +
  5231. ", " +
  5232. "'" +
  5233. _stage +
  5234. "'" +
  5235. ", " +
  5236. "'" +
  5237. _task +
  5238. "'" +
  5239. ", " +
  5240. "'" +
  5241. _tool +
  5242. "'" +
  5243. ", " +
  5244. "'" +
  5245. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5246. "'" +
  5247. ", " +
  5248. "'" +
  5249. aTool +
  5250. "'" +
  5251. ", " +
  5252. "`" +
  5253. text +
  5254. "`" +
  5255. ")\n" +
  5256. " });\n" +
  5257. "}\n" +
  5258. "document.head.appendChild(_js);\n";
  5259. _iframe.contentWindow.document.head.appendChild(_ajs);
  5260. }
  5261. }
  5262. //U.MD.D.I.openClick(str);
  5263. //如果有任务栏信息
  5264. // if (_taskbar) {
  5265. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5266. // }
  5267. }
  5268. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5269. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5270. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5271. _userinfo = US.userInfo, //登录用户信息
  5272. _userid = US.userInfo.userid //登录用户id
  5273. let _iframe;
  5274. let _cid = cid,
  5275. _stage = stage,
  5276. _task = task,
  5277. _tool = tool;
  5278. var _jie = $$("div", {
  5279. "style": {
  5280. "position": "absolute",
  5281. "bottom": "50px",
  5282. "right": "50px",
  5283. "zIndex": "9999",
  5284. "backgroundColor": "#2268bc",
  5285. "color": "#fff",
  5286. "padding": "12px 20px",
  5287. "cursor": "pointer",
  5288. "borderRadius": "4px",
  5289. },
  5290. "innerHTML": "提交作业"
  5291. })
  5292. let aTool = ''
  5293. let _loading = document.createElement('div')
  5294. _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;"
  5295. // _loading.id = "";
  5296. let _lchild = document.createElement('div')
  5297. let _limg = document.createElement('img')
  5298. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5299. _limg.style = "width: 26px;margin-right: 10px;"
  5300. _lchild.appendChild(_limg)
  5301. let _lspan = document.createElement('span')
  5302. _lspan.innerHTML = "上传中..."
  5303. _lchild.appendChild(_lspan)
  5304. _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%);"
  5305. _loading.appendChild(_lchild)
  5306. var _box = $$('div', {
  5307. "style": {
  5308. "position": "relative",
  5309. "width": "100%",
  5310. "height": "100%",
  5311. },
  5312. })
  5313. _box.appendChild(_loading)
  5314. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5315. switch (str) {
  5316. case "whiteboard":
  5317. aTool = 1;
  5318. _iframe = $$("iframe", {
  5319. "frameborder": "no",
  5320. "border": "0",
  5321. "scrolling ": "no",
  5322. "style": {
  5323. "cssText": "border:0;width:100%;height:100%"
  5324. },
  5325. "src": "https://iwb.cocorobo.cn/"
  5326. })
  5327. _box.appendChild(_iframe);
  5328. _box.appendChild(_jie);
  5329. _formdiv = new U.UF.UI.form(
  5330. "电子白板",
  5331. _box, {
  5332. "id": "whiteboard" + cid + stage + task + tool,
  5333. "style": {
  5334. "width": "90%",
  5335. "height": "90%",
  5336. "overflow": 'hidden'
  5337. },
  5338. "onresize": function () { }
  5339. }, {
  5340. closecallback: function () { }
  5341. }, {
  5342. "style": {
  5343. "height": "36px"
  5344. }
  5345. }).form; //创建窗体
  5346. _taskbar = {
  5347. "id": str + _formdiv.id,
  5348. "style": {
  5349. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5350. },
  5351. "name": "电子白板",
  5352. "forms": _formdiv,
  5353. "click": function () {
  5354. U.MD.D.I.openApplication(str, obj, info);
  5355. }
  5356. }
  5357. break;
  5358. case "mind":
  5359. aTool = 3;
  5360. _iframe = $$("iframe", {
  5361. "frameborder": "no",
  5362. "border": "0",
  5363. "scrolling ": "no",
  5364. "style": {
  5365. "cssText": "border:0;width:100%;height:100%"
  5366. },
  5367. "src": "/kityminder-editor/dist/index.html"
  5368. })
  5369. _box.appendChild(_iframe);
  5370. _box.appendChild(_jie);
  5371. _formdiv = new U.UF.UI.form(
  5372. "思维导图",
  5373. _box, { //"/jsmind/example/demo.html"
  5374. "id": "mind" + cid + stage + task + tool,
  5375. "style": {
  5376. "width": "90%",
  5377. "height": "90%",
  5378. "overflow": 'hidden'
  5379. },
  5380. "onresize": function () { }
  5381. }, {
  5382. closecallback: function () { }
  5383. }, {
  5384. "style": {
  5385. "height": "36px"
  5386. }
  5387. }).form; //创建窗体
  5388. _taskbar = {
  5389. "id": str + _formdiv.id,
  5390. "style": {
  5391. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5392. },
  5393. "name": "思维导图",
  5394. "forms": _formdiv,
  5395. "click": function () {
  5396. U.MD.D.I.openApplication(str, obj, info);
  5397. }
  5398. }
  5399. break;
  5400. case "MindMap":
  5401. aTool = 3;
  5402. _iframe = $$("iframe", {
  5403. "frameborder": "no",
  5404. "border": "0",
  5405. "scrolling ": "no",
  5406. "style": {
  5407. "cssText": "border:0;width:100%;height:100%"
  5408. },
  5409. "src": "//cloud.cocorobo.cn/mind/"
  5410. })
  5411. _box.appendChild(_iframe);
  5412. _box.appendChild(_jie);
  5413. _formdiv = new U.UF.UI.form(
  5414. "思维导图",
  5415. _box, { //"/jsmind/example/demo.html"
  5416. "id": "mind" + cid + stage + task + tool,
  5417. "style": {
  5418. "width": "90%",
  5419. "height": "90%",
  5420. "overflow": 'hidden'
  5421. },
  5422. "onresize": function () { }
  5423. }, {
  5424. closecallback: function () { }
  5425. }, {
  5426. "style": {
  5427. "height": "36px"
  5428. }
  5429. }).form; //创建窗体
  5430. _taskbar = {
  5431. "id": str + _formdiv.id,
  5432. "style": {
  5433. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5434. },
  5435. "name": "思维导图",
  5436. "forms": _formdiv,
  5437. "click": function () {
  5438. U.MD.D.I.openApplication(str, obj, info);
  5439. }
  5440. }
  5441. break;
  5442. case "doc":
  5443. aTool = 6;
  5444. _iframe = $$("iframe", {
  5445. "frameborder": "no",
  5446. "border": "0",
  5447. "scrolling ": "no",
  5448. "style": {
  5449. "cssText": "border:0;width:100%;height:100%"
  5450. },
  5451. "src": "/Office/Word/WordEditArea.htm"
  5452. })
  5453. _box.appendChild(_iframe);
  5454. _box.appendChild(_jie);
  5455. _formdiv = new U.UF.UI.form(
  5456. "协同文档",
  5457. _box, {
  5458. "id": "doc" + cid + stage + task + tool,
  5459. "style": {
  5460. "width": "90%",
  5461. "height": "90%",
  5462. "overflow": 'hidden'
  5463. },
  5464. "onresize": function () { }
  5465. }, {
  5466. closecallback: function () { }
  5467. }, {
  5468. "style": {
  5469. "height": "36px"
  5470. }
  5471. }).form; //创建窗体
  5472. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5473. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5474. })
  5475. _taskbar = {
  5476. "id": str + _formdiv.id,
  5477. "style": {
  5478. "backgroundImage": "url(/img/icon/doc.png)"
  5479. },
  5480. "name": "协同文档",
  5481. "forms": _formdiv,
  5482. "click": function () {
  5483. U.MD.D.I.openApplication(str, obj, info);
  5484. }
  5485. }
  5486. break;
  5487. case "mindNetwork": //好友打开
  5488. aTool = 7;
  5489. _iframe = $$("iframe", {
  5490. "webkitallowfullscreen": "",
  5491. "mozallowfullscreen": "",
  5492. "allowfullscreen": "",
  5493. "frameborder": "no",
  5494. "border": "0",
  5495. "scrolling ": "no",
  5496. "style": {
  5497. "cssText": "border:0; width:100%; height:100%;"
  5498. },
  5499. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5500. })
  5501. _box.appendChild(_iframe);
  5502. _box.appendChild(_jie);
  5503. _formdiv = new U.UF.UI.form(
  5504. "思维网格",
  5505. _box, {
  5506. "id": "mindNetwork" + cid + stage + task + tool,
  5507. "style": {
  5508. "width": "90%",
  5509. "height": "90%",
  5510. "overflow": 'hidden'
  5511. },
  5512. "onresize": function () { }
  5513. }, {
  5514. closecallback: function () { }
  5515. }, {
  5516. "style": {
  5517. "height": "36px"
  5518. }
  5519. }).form; //创建窗体
  5520. _taskbar = {
  5521. "id": str + _formdiv.id,
  5522. "style": {
  5523. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5524. },
  5525. "name": "思维网格",
  5526. "forms": _formdiv,
  5527. "click": function () {
  5528. U.MD.D.I.openApplication(str, obj, info);
  5529. }
  5530. }
  5531. break;
  5532. case "courseDesign":
  5533. _iframe = $$("iframe", {
  5534. "webkitallowfullscreen": "",
  5535. "mozallowfullscreen": "",
  5536. "allowfullscreen": "",
  5537. "frameborder": "no",
  5538. "border": "0",
  5539. "scrolling ": "no",
  5540. "style": {
  5541. "cssText": "border:0; width:100%; height:100%;"
  5542. },
  5543. "src": "/course-design-vue"
  5544. })
  5545. _box.appendChild(_iframe);
  5546. _box.appendChild(_jie);
  5547. _formdiv = new U.UF.UI.form(
  5548. "项目设计",
  5549. _box, {
  5550. "id": "courseDesign" + cid + stage + task + tool,
  5551. "style": {
  5552. "width": "90%",
  5553. "height": "90%",
  5554. "overflow": 'hidden'
  5555. },
  5556. "onresize": function () { }
  5557. }, {
  5558. closecallback: function () { }
  5559. }, {
  5560. "style": {
  5561. "height": "36px"
  5562. }
  5563. }).form; //创建窗体
  5564. _taskbar = {
  5565. "id": str + _formdiv.id,
  5566. "style": {
  5567. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5568. },
  5569. "name": "项目设计",
  5570. "forms": _formdiv,
  5571. "click": function () {
  5572. U.MD.D.I.openApplication(str, obj, info);
  5573. }
  5574. }
  5575. break;
  5576. }
  5577. const script1 = document.createElement("script");
  5578. script1.type = "text/javascript";
  5579. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5580. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5581. const script2 = document.createElement("script");
  5582. script2.type = "text/javascript";
  5583. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5584. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5585. const script3 = document.createElement("script");
  5586. script3.type = "text/javascript";
  5587. script3.charset = "UTF-8";
  5588. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5589. const script4 = document.createElement("script");
  5590. script4.type = "text/javascript";
  5591. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5592. script4.src = window.origin + "/js/Common/jietu2E.js";
  5593. if (_iframe) {
  5594. if (str == 'doc') {
  5595. _iframe = _formdiv.querySelector('iframe')
  5596. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5597. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5598. _iframe.contentWindow.document.body.appendChild(script1);
  5599. _iframe.contentWindow.document.body.appendChild(script2);
  5600. // _iframe.contentWindow.document.body.appendChild(script3);
  5601. _iframe.contentWindow.document.body.appendChild(script4);
  5602. })
  5603. if (onloadListener) {
  5604. _iframe.contentDocument.location.reload()
  5605. } else {
  5606. _iframe.contentDocument.location.reload()
  5607. }
  5608. } else if (str == 'courseDesign') {
  5609. U.UF.DL.iframeLoad(_iframe, function () {
  5610. // _iframe.contentWindow.U.MD.O.W.load();
  5611. // _iframe.contentWindow.document.body.appendChild(script1);
  5612. _iframe.contentWindow.document.body.appendChild(script2);
  5613. _iframe.contentWindow.document.body.appendChild(script4);
  5614. })
  5615. } else if (str == 'mind') {
  5616. _iframe = _formdiv.querySelector('iframe')
  5617. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5618. //
  5619. _iframe.contentWindow.document.body.appendChild(script1);
  5620. _iframe.contentWindow.document.body.appendChild(script2);
  5621. _iframe.contentWindow.document.body.appendChild(script4);
  5622. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5623. })
  5624. if (onloadListener) {
  5625. _iframe.contentDocument.location.reload()
  5626. } else {
  5627. _iframe.contentDocument.location.reload()
  5628. }
  5629. } else if (str == 'whiteboard') {
  5630. _iframe = _formdiv.querySelector('iframe')
  5631. let onloadListener = _iframe.onload = () => {
  5632. _iframe.contentWindow.document.body.appendChild(script1);
  5633. _iframe.contentWindow.document.body.appendChild(script2);
  5634. _iframe.contentWindow.document.body.appendChild(script4);
  5635. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5636. };
  5637. if (onloadListener) {
  5638. _iframe.contentDocument.location.reload()
  5639. } else {
  5640. _iframe.contentDocument.location.reload()
  5641. }
  5642. } else {
  5643. _iframe.onload = () => {
  5644. _iframe.contentWindow.document.body.appendChild(script1);
  5645. _iframe.contentWindow.document.body.appendChild(script2);
  5646. // _iframe.contentWindow.document.body.appendChild(script3);
  5647. _iframe.contentWindow.document.body.appendChild(script4);
  5648. };
  5649. }
  5650. _jie.onclick = async () => {
  5651. let text = ''
  5652. if (aTool == 1) {
  5653. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5654. } else if (aTool == 6) {
  5655. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5656. } else if (aTool == 3) {
  5657. text = await U.MD.D.I.getEditorContent(_iframe);
  5658. }
  5659. _loading.style.display = 'flex'
  5660. console.log(_loading);
  5661. var _ajs = _iframe.contentWindow.document.createElement("script");
  5662. _ajs.type = "text/javascript";
  5663. _ajs.innerHTML =
  5664. // 'console.log(' + _loading + ');\n' +
  5665. 'var _js = document.createElement("script");\n' +
  5666. '_js.type="text/javascript";\n' +
  5667. '_js.charset="UTF-8";\n' +
  5668. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5669. "_js.onload = function(){\n" +
  5670. ' var a = document.getElementsByTagName("img")\n' +
  5671. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5672. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5673. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5674. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5675. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5676. "beforeUpload_shishi(file," +
  5677. "'" +
  5678. _userid +
  5679. "'" +
  5680. ", " +
  5681. "'" +
  5682. _cid +
  5683. "'" +
  5684. ", " +
  5685. "'" +
  5686. _stage +
  5687. "'" +
  5688. ", " +
  5689. "'" +
  5690. _task +
  5691. "'" +
  5692. ", " +
  5693. "'" +
  5694. _tool +
  5695. "'" +
  5696. ", " +
  5697. "'" +
  5698. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5699. "'" +
  5700. ", " +
  5701. "'" +
  5702. aTool +
  5703. "'" +
  5704. ", " +
  5705. "`" +
  5706. text +
  5707. "`" +
  5708. ")\n" +
  5709. " });\n" +
  5710. "}\n" +
  5711. "document.head.appendChild(_js);\n";
  5712. _iframe.contentWindow.document.head.appendChild(_ajs);
  5713. }
  5714. }
  5715. //U.MD.D.I.openClick(str);
  5716. //如果有任务栏信息
  5717. // if (_taskbar) {
  5718. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5719. // }
  5720. }
  5721. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5722. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5723. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5724. _userid = student.userid, //登录用户id
  5725. _username = student.student //用户名字
  5726. let _iframe;
  5727. let _cid = cid,
  5728. _stage = stage,
  5729. _task = task,
  5730. _tool = tool;
  5731. var _jie = $$("div", {
  5732. "style": {
  5733. "position": "absolute",
  5734. "bottom": "50px",
  5735. "right": "50px",
  5736. "zIndex": "9999",
  5737. "backgroundColor": "#2268bc",
  5738. "color": "#fff",
  5739. "padding": "12px 20px",
  5740. "cursor": "pointer",
  5741. "borderRadius": "4px",
  5742. },
  5743. "innerHTML": "提交作业"
  5744. })
  5745. let aTool = ''
  5746. let _loading = document.createElement('div')
  5747. _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;"
  5748. // _loading.id = "";
  5749. let _lchild = document.createElement('div')
  5750. let _limg = document.createElement('img')
  5751. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5752. _limg.style = "width: 26px;margin-right: 10px;"
  5753. _lchild.appendChild(_limg)
  5754. let _lspan = document.createElement('span')
  5755. _lspan.innerHTML = "上传中..."
  5756. _lchild.appendChild(_lspan)
  5757. _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%);"
  5758. _loading.appendChild(_lchild)
  5759. var _box = $$('div', {
  5760. "style": {
  5761. "position": "relative",
  5762. "width": "100%",
  5763. "height": "100%",
  5764. },
  5765. })
  5766. _box.appendChild(_loading)
  5767. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5768. switch (str) {
  5769. case "whiteboard":
  5770. aTool = 1;
  5771. _iframe = $$("iframe", {
  5772. "frameborder": "no",
  5773. "border": "0",
  5774. "scrolling ": "no",
  5775. "style": {
  5776. "cssText": "border:0;width:100%;height:100%"
  5777. },
  5778. "src": "https://iwb.cocorobo.cn/"
  5779. })
  5780. _box.appendChild(_iframe);
  5781. _box.appendChild(_jie);
  5782. _formdiv = new U.UF.UI.form(
  5783. "电子白板-" + _username,
  5784. _box, {
  5785. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5786. "style": {
  5787. "width": "90%",
  5788. "height": "90%",
  5789. "overflow": 'hidden'
  5790. },
  5791. "onresize": function () { }
  5792. }, {
  5793. closecallback: function () { }
  5794. }, {
  5795. "style": {
  5796. "height": "36px"
  5797. }
  5798. }).form; //创建窗体
  5799. _taskbar = {
  5800. "id": str + _formdiv.id,
  5801. "style": {
  5802. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5803. },
  5804. "name": "电子白板",
  5805. "forms": _formdiv,
  5806. "click": function () {
  5807. U.MD.D.I.openApplication(str, obj, info);
  5808. }
  5809. }
  5810. break;
  5811. case "mind":
  5812. aTool = 3;
  5813. _iframe = $$("iframe", {
  5814. "frameborder": "no",
  5815. "border": "0",
  5816. "scrolling ": "no",
  5817. "style": {
  5818. "cssText": "border:0;width:100%;height:100%"
  5819. },
  5820. "src": "/kityminder-editor/dist/index.html"
  5821. })
  5822. _box.appendChild(_iframe);
  5823. _box.appendChild(_jie);
  5824. _formdiv = new U.UF.UI.form(
  5825. "思维导图-" + _username,
  5826. _box, { //"/jsmind/example/demo.html"
  5827. "id": "mind" + cid + stage + task + tool + _userid,
  5828. "style": {
  5829. "width": "90%",
  5830. "height": "90%",
  5831. "overflow": 'hidden'
  5832. },
  5833. "onresize": function () { }
  5834. }, {
  5835. closecallback: function () { }
  5836. }, {
  5837. "style": {
  5838. "height": "36px"
  5839. }
  5840. }).form; //创建窗体
  5841. _taskbar = {
  5842. "id": str + _formdiv.id,
  5843. "style": {
  5844. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5845. },
  5846. "name": "思维导图",
  5847. "forms": _formdiv,
  5848. "click": function () {
  5849. U.MD.D.I.openApplication(str, obj, info);
  5850. }
  5851. }
  5852. break;
  5853. case "MindMap":
  5854. aTool = 3;
  5855. _iframe = $$("iframe", {
  5856. "frameborder": "no",
  5857. "border": "0",
  5858. "scrolling ": "no",
  5859. "style": {
  5860. "cssText": "border:0;width:100%;height:100%"
  5861. },
  5862. "src": "//cloud.cocorobo.cn/mind/"
  5863. })
  5864. _box.appendChild(_iframe);
  5865. _box.appendChild(_jie);
  5866. _formdiv = new U.UF.UI.form(
  5867. "思维导图-" + _username,
  5868. _box, { //"/jsmind/example/demo.html"
  5869. "id": "mind" + cid + stage + task + tool + _userid,
  5870. "style": {
  5871. "width": "90%",
  5872. "height": "90%",
  5873. "overflow": 'hidden'
  5874. },
  5875. "onresize": function () { }
  5876. }, {
  5877. closecallback: function () { }
  5878. }, {
  5879. "style": {
  5880. "height": "36px"
  5881. }
  5882. }).form; //创建窗体
  5883. _taskbar = {
  5884. "id": str + _formdiv.id,
  5885. "style": {
  5886. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5887. },
  5888. "name": "思维导图",
  5889. "forms": _formdiv,
  5890. "click": function () {
  5891. U.MD.D.I.openApplication(str, obj, info);
  5892. }
  5893. }
  5894. break;
  5895. case "doc":
  5896. aTool = 6;
  5897. _iframe = $$("iframe", {
  5898. "frameborder": "no",
  5899. "border": "0",
  5900. "scrolling ": "no",
  5901. "style": {
  5902. "cssText": "border:0;width:100%;height:100%"
  5903. },
  5904. "src": "/Office/Word/WordEditArea.htm"
  5905. })
  5906. _box.appendChild(_iframe);
  5907. _box.appendChild(_jie);
  5908. _formdiv = new U.UF.UI.form(
  5909. "协同文档-" + _username,
  5910. _box, {
  5911. "id": "doc" + cid + stage + task + tool + _userid,
  5912. "style": {
  5913. "width": "90%",
  5914. "height": "90%",
  5915. "overflow": 'hidden'
  5916. },
  5917. "onresize": function () { }
  5918. }, {
  5919. closecallback: function () { }
  5920. }, {
  5921. "style": {
  5922. "height": "36px"
  5923. }
  5924. }).form; //创建窗体
  5925. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5926. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5927. })
  5928. _taskbar = {
  5929. "id": str + _formdiv.id,
  5930. "style": {
  5931. "backgroundImage": "url(/img/icon/doc.png)"
  5932. },
  5933. "name": "协同文档",
  5934. "forms": _formdiv,
  5935. "click": function () {
  5936. U.MD.D.I.openApplication(str, obj, info);
  5937. }
  5938. }
  5939. break;
  5940. case "mindNetwork": //好友打开
  5941. aTool = 7;
  5942. _iframe = $$("iframe", {
  5943. "webkitallowfullscreen": "",
  5944. "mozallowfullscreen": "",
  5945. "allowfullscreen": "",
  5946. "frameborder": "no",
  5947. "border": "0",
  5948. "scrolling ": "no",
  5949. "style": {
  5950. "cssText": "border:0; width:100%; height:100%;"
  5951. },
  5952. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5953. })
  5954. _box.appendChild(_iframe);
  5955. _box.appendChild(_jie);
  5956. _formdiv = new U.UF.UI.form(
  5957. "思维网格-" + _username,
  5958. _box, {
  5959. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5960. "style": {
  5961. "width": "90%",
  5962. "height": "90%",
  5963. "overflow": 'hidden'
  5964. },
  5965. "onresize": function () { }
  5966. }, {
  5967. closecallback: function () { }
  5968. }, {
  5969. "style": {
  5970. "height": "36px"
  5971. }
  5972. }).form; //创建窗体
  5973. _taskbar = {
  5974. "id": str + _formdiv.id,
  5975. "style": {
  5976. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5977. },
  5978. "name": "思维网格",
  5979. "forms": _formdiv,
  5980. "click": function () {
  5981. U.MD.D.I.openApplication(str, obj, info);
  5982. }
  5983. }
  5984. break;
  5985. case "courseDesign":
  5986. _iframe = $$("iframe", {
  5987. "webkitallowfullscreen": "",
  5988. "mozallowfullscreen": "",
  5989. "allowfullscreen": "",
  5990. "frameborder": "no",
  5991. "border": "0",
  5992. "scrolling ": "no",
  5993. "style": {
  5994. "cssText": "border:0; width:100%; height:100%;"
  5995. },
  5996. "src": "/course-design-vue"
  5997. })
  5998. _box.appendChild(_iframe);
  5999. _box.appendChild(_jie);
  6000. _formdiv = new U.UF.UI.form(
  6001. "项目设计-" + _username,
  6002. _box, {
  6003. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6004. "style": {
  6005. "width": "90%",
  6006. "height": "90%",
  6007. "overflow": 'hidden'
  6008. },
  6009. "onresize": function () { }
  6010. }, {
  6011. closecallback: function () { }
  6012. }, {
  6013. "style": {
  6014. "height": "36px"
  6015. }
  6016. }).form; //创建窗体
  6017. _taskbar = {
  6018. "id": str + _formdiv.id,
  6019. "style": {
  6020. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6021. },
  6022. "name": "项目设计",
  6023. "forms": _formdiv,
  6024. "click": function () {
  6025. U.MD.D.I.openApplication(str, obj, info);
  6026. }
  6027. }
  6028. break;
  6029. }
  6030. const script1 = document.createElement("script");
  6031. script1.type = "text/javascript";
  6032. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6033. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6034. const script2 = document.createElement("script");
  6035. script2.type = "text/javascript";
  6036. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6037. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6038. const script3 = document.createElement("script");
  6039. script3.type = "text/javascript";
  6040. script3.charset = "UTF-8";
  6041. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6042. const script4 = document.createElement("script");
  6043. script4.type = "text/javascript";
  6044. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6045. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6046. if (_iframe) {
  6047. if (str == 'doc') {
  6048. _iframe = _formdiv.querySelector('iframe')
  6049. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6050. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6051. _iframe.contentWindow.document.body.appendChild(script1);
  6052. _iframe.contentWindow.document.body.appendChild(script2);
  6053. // _iframe.contentWindow.document.body.appendChild(script3);
  6054. _iframe.contentWindow.document.body.appendChild(script4);
  6055. })
  6056. if (onloadListener) {
  6057. _iframe.contentDocument.location.reload()
  6058. } else {
  6059. _iframe.contentDocument.location.reload()
  6060. }
  6061. } else if (str == 'courseDesign') {
  6062. U.UF.DL.iframeLoad(_iframe, function () {
  6063. // _iframe.contentWindow.U.MD.O.W.load();
  6064. // _iframe.contentWindow.document.body.appendChild(script1);
  6065. _iframe.contentWindow.document.body.appendChild(script2);
  6066. _iframe.contentWindow.document.body.appendChild(script4);
  6067. })
  6068. } else if (str == 'mind') {
  6069. _iframe = _formdiv.querySelector('iframe')
  6070. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6071. //
  6072. _iframe.contentWindow.document.body.appendChild(script1);
  6073. _iframe.contentWindow.document.body.appendChild(script2);
  6074. _iframe.contentWindow.document.body.appendChild(script4);
  6075. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6076. })
  6077. if (onloadListener) {
  6078. _iframe.contentDocument.location.reload()
  6079. } else {
  6080. _iframe.contentDocument.location.reload()
  6081. }
  6082. } else if (str == 'whiteboard') {
  6083. _iframe = _formdiv.querySelector('iframe')
  6084. let onloadListener = _iframe.onload = () => {
  6085. _iframe.contentWindow.document.body.appendChild(script1);
  6086. _iframe.contentWindow.document.body.appendChild(script2);
  6087. _iframe.contentWindow.document.body.appendChild(script4);
  6088. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6089. };
  6090. if (onloadListener) {
  6091. _iframe.contentDocument.location.reload()
  6092. } else {
  6093. _iframe.contentDocument.location.reload()
  6094. }
  6095. } else {
  6096. _iframe.onload = () => {
  6097. _iframe.contentWindow.document.body.appendChild(script1);
  6098. _iframe.contentWindow.document.body.appendChild(script2);
  6099. // _iframe.contentWindow.document.body.appendChild(script3);
  6100. _iframe.contentWindow.document.body.appendChild(script4);
  6101. };
  6102. }
  6103. _jie.onclick = async () => {
  6104. let text = ''
  6105. if (aTool == 1) {
  6106. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6107. } else if (aTool == 6) {
  6108. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6109. } else if (aTool == 3) {
  6110. text = await U.MD.D.I.getEditorContent(_iframe);
  6111. }
  6112. _loading.style.display = 'flex'
  6113. console.log(_loading);
  6114. var _ajs = _iframe.contentWindow.document.createElement("script");
  6115. _ajs.type = "text/javascript";
  6116. _ajs.innerHTML =
  6117. // 'console.log(' + _loading + ');\n' +
  6118. 'var _js = document.createElement("script");\n' +
  6119. '_js.type="text/javascript";\n' +
  6120. '_js.charset="UTF-8";\n' +
  6121. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6122. "_js.onload = function(){\n" +
  6123. ' var a = document.getElementsByTagName("img")\n' +
  6124. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6125. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6126. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6127. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6128. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6129. "beforeUpload_shishi(file," +
  6130. "'" +
  6131. _userid +
  6132. "'" +
  6133. ", " +
  6134. "'" +
  6135. _cid +
  6136. "'" +
  6137. ", " +
  6138. "'" +
  6139. _stage +
  6140. "'" +
  6141. ", " +
  6142. "'" +
  6143. _task +
  6144. "'" +
  6145. ", " +
  6146. "'" +
  6147. _tool +
  6148. "'" +
  6149. ", " +
  6150. "'" +
  6151. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6152. "'" +
  6153. ", " +
  6154. "'" +
  6155. aTool +
  6156. "'" +
  6157. ", " +
  6158. "`" +
  6159. text +
  6160. "`" +
  6161. ")\n" +
  6162. " });\n" +
  6163. "}\n" +
  6164. "document.head.appendChild(_js);\n";
  6165. _iframe.contentWindow.document.head.appendChild(_ajs);
  6166. }
  6167. }
  6168. }
  6169. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6170. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6171. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6172. _userid = student.userid, //登录用户id
  6173. _username = student.student //用户名字
  6174. let _iframe;
  6175. let _cid = cid,
  6176. _stage = stage,
  6177. _task = task,
  6178. _tool = tool;
  6179. var _jie = $$("div", {
  6180. "style": {
  6181. "position": "absolute",
  6182. "bottom": "50px",
  6183. "right": "50px",
  6184. "zIndex": "9999",
  6185. "backgroundColor": "#2268bc",
  6186. "color": "#fff",
  6187. "padding": "12px 20px",
  6188. "cursor": "pointer",
  6189. "borderRadius": "4px",
  6190. },
  6191. "innerHTML": "提交作业"
  6192. })
  6193. let aTool = ''
  6194. let _loading = document.createElement('div')
  6195. _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;"
  6196. // _loading.id = "";
  6197. let _lchild = document.createElement('div')
  6198. let _limg = document.createElement('img')
  6199. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6200. _limg.style = "width: 26px;margin-right: 10px;"
  6201. _lchild.appendChild(_limg)
  6202. let _lspan = document.createElement('span')
  6203. _lspan.innerHTML = "上传中..."
  6204. _lchild.appendChild(_lspan)
  6205. _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%);"
  6206. _loading.appendChild(_lchild)
  6207. var _box = $$('div', {
  6208. "style": {
  6209. "position": "relative",
  6210. "width": "100%",
  6211. "height": "100%",
  6212. },
  6213. })
  6214. _box.appendChild(_loading)
  6215. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6216. switch (str) {
  6217. case "whiteboard":
  6218. aTool = 1;
  6219. _iframe = $$("iframe", {
  6220. "frameborder": "no",
  6221. "border": "0",
  6222. "scrolling ": "no",
  6223. "style": {
  6224. "cssText": "border:0;width:100%;height:100%"
  6225. },
  6226. "src": "https://iwb.cocorobo.cn/"
  6227. })
  6228. _box.appendChild(_iframe);
  6229. _box.appendChild(_jie);
  6230. _formdiv = new U.UF.UI.form(
  6231. "电子白板-" + _username,
  6232. _box, {
  6233. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6234. "style": {
  6235. "width": "90%",
  6236. "height": "90%",
  6237. "overflow": 'hidden'
  6238. },
  6239. "onresize": function () { }
  6240. }, {
  6241. closecallback: function () { }
  6242. }, {
  6243. "style": {
  6244. "height": "36px"
  6245. }
  6246. }).form; //创建窗体
  6247. _taskbar = {
  6248. "id": str + _formdiv.id,
  6249. "style": {
  6250. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6251. },
  6252. "name": "电子白板",
  6253. "forms": _formdiv,
  6254. "click": function () {
  6255. U.MD.D.I.openApplication(str, obj, info);
  6256. }
  6257. }
  6258. break;
  6259. case "mind":
  6260. aTool = 3;
  6261. _iframe = $$("iframe", {
  6262. "frameborder": "no",
  6263. "border": "0",
  6264. "scrolling ": "no",
  6265. "style": {
  6266. "cssText": "border:0;width:100%;height:100%"
  6267. },
  6268. "src": "/kityminder-editor/dist/index.html"
  6269. })
  6270. _box.appendChild(_iframe);
  6271. _box.appendChild(_jie);
  6272. _formdiv = new U.UF.UI.form(
  6273. "思维导图-" + _username,
  6274. _box, { //"/jsmind/example/demo.html"
  6275. "id": "mind" + cid + stage + task + tool + _userid,
  6276. "style": {
  6277. "width": "90%",
  6278. "height": "90%",
  6279. "overflow": 'hidden'
  6280. },
  6281. "onresize": function () { }
  6282. }, {
  6283. closecallback: function () { }
  6284. }, {
  6285. "style": {
  6286. "height": "36px"
  6287. }
  6288. }).form; //创建窗体
  6289. _taskbar = {
  6290. "id": str + _formdiv.id,
  6291. "style": {
  6292. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6293. },
  6294. "name": "思维导图",
  6295. "forms": _formdiv,
  6296. "click": function () {
  6297. U.MD.D.I.openApplication(str, obj, info);
  6298. }
  6299. }
  6300. break;
  6301. case "MindMap":
  6302. aTool = 3;
  6303. _iframe = $$("iframe", {
  6304. "frameborder": "no",
  6305. "border": "0",
  6306. "scrolling ": "no",
  6307. "style": {
  6308. "cssText": "border:0;width:100%;height:100%"
  6309. },
  6310. "src": "//cloud.cocorobo.cn/mind/"
  6311. })
  6312. _box.appendChild(_iframe);
  6313. _box.appendChild(_jie);
  6314. _formdiv = new U.UF.UI.form(
  6315. "思维导图-" + _username,
  6316. _box, { //"/jsmind/example/demo.html"
  6317. "id": "mind" + cid + stage + task + tool + _userid,
  6318. "style": {
  6319. "width": "90%",
  6320. "height": "90%",
  6321. "overflow": 'hidden'
  6322. },
  6323. "onresize": function () { }
  6324. }, {
  6325. closecallback: function () { }
  6326. }, {
  6327. "style": {
  6328. "height": "36px"
  6329. }
  6330. }).form; //创建窗体
  6331. _taskbar = {
  6332. "id": str + _formdiv.id,
  6333. "style": {
  6334. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6335. },
  6336. "name": "思维导图",
  6337. "forms": _formdiv,
  6338. "click": function () {
  6339. U.MD.D.I.openApplication(str, obj, info);
  6340. }
  6341. }
  6342. break;
  6343. case "doc":
  6344. aTool = 6;
  6345. _iframe = $$("iframe", {
  6346. "frameborder": "no",
  6347. "border": "0",
  6348. "scrolling ": "no",
  6349. "style": {
  6350. "cssText": "border:0;width:100%;height:100%"
  6351. },
  6352. "src": "/Office/Word/WordEditArea.htm"
  6353. })
  6354. _box.appendChild(_iframe);
  6355. _box.appendChild(_jie);
  6356. _formdiv = new U.UF.UI.form(
  6357. "协同文档-" + _username,
  6358. _box, {
  6359. "id": "doc" + cid + stage + task + tool + _userid,
  6360. "style": {
  6361. "width": "90%",
  6362. "height": "90%",
  6363. "overflow": 'hidden'
  6364. },
  6365. "onresize": function () { }
  6366. }, {
  6367. closecallback: function () { }
  6368. }, {
  6369. "style": {
  6370. "height": "36px"
  6371. }
  6372. }).form; //创建窗体
  6373. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6374. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6375. })
  6376. _taskbar = {
  6377. "id": str + _formdiv.id,
  6378. "style": {
  6379. "backgroundImage": "url(/img/icon/doc.png)"
  6380. },
  6381. "name": "协同文档",
  6382. "forms": _formdiv,
  6383. "click": function () {
  6384. U.MD.D.I.openApplication(str, obj, info);
  6385. }
  6386. }
  6387. break;
  6388. case "mindNetwork": //好友打开
  6389. aTool = 7;
  6390. _iframe = $$("iframe", {
  6391. "webkitallowfullscreen": "",
  6392. "mozallowfullscreen": "",
  6393. "allowfullscreen": "",
  6394. "frameborder": "no",
  6395. "border": "0",
  6396. "scrolling ": "no",
  6397. "style": {
  6398. "cssText": "border:0; width:100%; height:100%;"
  6399. },
  6400. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6401. })
  6402. _box.appendChild(_iframe);
  6403. _box.appendChild(_jie);
  6404. _formdiv = new U.UF.UI.form(
  6405. "思维网格-" + _username,
  6406. _box, {
  6407. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6408. "style": {
  6409. "width": "90%",
  6410. "height": "90%",
  6411. "overflow": 'hidden'
  6412. },
  6413. "onresize": function () { }
  6414. }, {
  6415. closecallback: function () { }
  6416. }, {
  6417. "style": {
  6418. "height": "36px"
  6419. }
  6420. }).form; //创建窗体
  6421. _taskbar = {
  6422. "id": str + _formdiv.id,
  6423. "style": {
  6424. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6425. },
  6426. "name": "思维网格",
  6427. "forms": _formdiv,
  6428. "click": function () {
  6429. U.MD.D.I.openApplication(str, obj, info);
  6430. }
  6431. }
  6432. break;
  6433. case "courseDesign":
  6434. _iframe = $$("iframe", {
  6435. "webkitallowfullscreen": "",
  6436. "mozallowfullscreen": "",
  6437. "allowfullscreen": "",
  6438. "frameborder": "no",
  6439. "border": "0",
  6440. "scrolling ": "no",
  6441. "style": {
  6442. "cssText": "border:0; width:100%; height:100%;"
  6443. },
  6444. "src": "/course-design-vue"
  6445. })
  6446. _box.appendChild(_iframe);
  6447. _box.appendChild(_jie);
  6448. _formdiv = new U.UF.UI.form(
  6449. "项目设计-" + _username,
  6450. _box, {
  6451. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6452. "style": {
  6453. "width": "90%",
  6454. "height": "90%",
  6455. "overflow": 'hidden'
  6456. },
  6457. "onresize": function () { }
  6458. }, {
  6459. closecallback: function () { }
  6460. }, {
  6461. "style": {
  6462. "height": "36px"
  6463. }
  6464. }).form; //创建窗体
  6465. _taskbar = {
  6466. "id": str + _formdiv.id,
  6467. "style": {
  6468. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6469. },
  6470. "name": "项目设计",
  6471. "forms": _formdiv,
  6472. "click": function () {
  6473. U.MD.D.I.openApplication(str, obj, info);
  6474. }
  6475. }
  6476. break;
  6477. }
  6478. const script1 = document.createElement("script");
  6479. script1.type = "text/javascript";
  6480. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6481. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6482. const script2 = document.createElement("script");
  6483. script2.type = "text/javascript";
  6484. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6485. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6486. const script3 = document.createElement("script");
  6487. script3.type = "text/javascript";
  6488. script3.charset = "UTF-8";
  6489. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6490. const script4 = document.createElement("script");
  6491. script4.type = "text/javascript";
  6492. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6493. script4.src = window.origin + "/js/Common/jietu2E.js";
  6494. if (_iframe) {
  6495. if (str == 'doc') {
  6496. _iframe = _formdiv.querySelector('iframe')
  6497. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6498. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6499. _iframe.contentWindow.document.body.appendChild(script1);
  6500. _iframe.contentWindow.document.body.appendChild(script2);
  6501. // _iframe.contentWindow.document.body.appendChild(script3);
  6502. _iframe.contentWindow.document.body.appendChild(script4);
  6503. })
  6504. if (onloadListener) {
  6505. _iframe.contentDocument.location.reload()
  6506. } else {
  6507. _iframe.contentDocument.location.reload()
  6508. }
  6509. } else if (str == 'courseDesign') {
  6510. U.UF.DL.iframeLoad(_iframe, function () {
  6511. // _iframe.contentWindow.U.MD.O.W.load();
  6512. // _iframe.contentWindow.document.body.appendChild(script1);
  6513. _iframe.contentWindow.document.body.appendChild(script2);
  6514. _iframe.contentWindow.document.body.appendChild(script4);
  6515. })
  6516. } else if (str == 'mind') {
  6517. _iframe = _formdiv.querySelector('iframe')
  6518. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6519. //
  6520. _iframe.contentWindow.document.body.appendChild(script1);
  6521. _iframe.contentWindow.document.body.appendChild(script2);
  6522. _iframe.contentWindow.document.body.appendChild(script4);
  6523. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6524. })
  6525. if (onloadListener) {
  6526. _iframe.contentDocument.location.reload()
  6527. } else {
  6528. _iframe.contentDocument.location.reload()
  6529. }
  6530. } else if (str == 'whiteboard') {
  6531. _iframe = _formdiv.querySelector('iframe')
  6532. let onloadListener = _iframe.onload = () => {
  6533. _iframe.contentWindow.document.body.appendChild(script1);
  6534. _iframe.contentWindow.document.body.appendChild(script2);
  6535. _iframe.contentWindow.document.body.appendChild(script4);
  6536. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6537. };
  6538. if (onloadListener) {
  6539. _iframe.contentDocument.location.reload()
  6540. } else {
  6541. _iframe.contentDocument.location.reload()
  6542. }
  6543. } else {
  6544. _iframe.onload = () => {
  6545. _iframe.contentWindow.document.body.appendChild(script1);
  6546. _iframe.contentWindow.document.body.appendChild(script2);
  6547. // _iframe.contentWindow.document.body.appendChild(script3);
  6548. _iframe.contentWindow.document.body.appendChild(script4);
  6549. };
  6550. }
  6551. _jie.onclick = async () => {
  6552. let text = ''
  6553. if (aTool == 1) {
  6554. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6555. } else if (aTool == 6) {
  6556. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6557. } else if (aTool == 3) {
  6558. text = await U.MD.D.I.getEditorContent(_iframe);
  6559. }
  6560. _loading.style.display = 'flex'
  6561. console.log(_loading);
  6562. var _ajs = _iframe.contentWindow.document.createElement("script");
  6563. _ajs.type = "text/javascript";
  6564. _ajs.innerHTML =
  6565. // 'console.log(' + _loading + ');\n' +
  6566. 'var _js = document.createElement("script");\n' +
  6567. '_js.type="text/javascript";\n' +
  6568. '_js.charset="UTF-8";\n' +
  6569. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6570. "_js.onload = function(){\n" +
  6571. ' var a = document.getElementsByTagName("img")\n' +
  6572. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6573. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6574. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6575. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6576. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6577. "beforeUpload_shishi(file," +
  6578. "'" +
  6579. _userid +
  6580. "'" +
  6581. ", " +
  6582. "'" +
  6583. _cid +
  6584. "'" +
  6585. ", " +
  6586. "'" +
  6587. _stage +
  6588. "'" +
  6589. ", " +
  6590. "'" +
  6591. _task +
  6592. "'" +
  6593. ", " +
  6594. "'" +
  6595. _tool +
  6596. "'" +
  6597. ", " +
  6598. "'" +
  6599. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6600. "'" +
  6601. ", " +
  6602. "'" +
  6603. aTool +
  6604. "'" +
  6605. ", " +
  6606. "`" +
  6607. text +
  6608. "`" +
  6609. ")\n" +
  6610. " });\n" +
  6611. "}\n" +
  6612. "document.head.appendChild(_js);\n";
  6613. _iframe.contentWindow.document.head.appendChild(_ajs);
  6614. }
  6615. }
  6616. }
  6617. U.MD.D.I.getEditorContent = function (iframe) {
  6618. return new Promise((resolve, reject) => {
  6619. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6620. console.log(content);
  6621. resolve(content)
  6622. });
  6623. });
  6624. }
  6625. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6626. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6627. // if (res.value[0].length > 0) {
  6628. // // resolve(res.value[0][0].text);
  6629. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6630. // $(fileInput).val('');
  6631. // });
  6632. // }
  6633. // }, [], { "type": "GET", "withCredentials": true });
  6634. var xmlhttp;
  6635. var Mac, Sn, DeviceId
  6636. if (window.XMLHttpRequest) {
  6637. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6638. xmlhttp = new XMLHttpRequest();
  6639. } else {
  6640. // IE6, IE5 浏览器执行代码
  6641. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6642. }
  6643. xmlhttp.onreadystatechange = function () {
  6644. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6645. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6646. // resolve(res.value[0][0].text);
  6647. if (type == '2') {
  6648. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6649. } else if (type == '3') {
  6650. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6651. }
  6652. } else {
  6653. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6654. }
  6655. }
  6656. }
  6657. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6658. xmlhttp.send();
  6659. }
  6660. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6661. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6662. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6663. _userinfo = US.userInfo, //登录用户信息
  6664. _userid = US.userInfo.userid //登录用户id
  6665. let _iframe;
  6666. let _cid = cid,
  6667. _stage = stage,
  6668. _task = task,
  6669. _tool = tool;
  6670. var _jie = $$("div", {
  6671. "style": {
  6672. "position": "absolute",
  6673. "bottom": "50px",
  6674. "right": "50px",
  6675. "zIndex": "9999",
  6676. "backgroundColor": "#2268bc",
  6677. "color": "#fff",
  6678. "padding": "12px 20px",
  6679. "cursor": "pointer",
  6680. "borderRadius": "4px",
  6681. },
  6682. "innerHTML": "确认并提交"
  6683. })
  6684. let aTool = ''
  6685. let _loading = document.createElement('div')
  6686. _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;"
  6687. // _loading.id = "";
  6688. let _lchild = document.createElement('div')
  6689. let _limg = document.createElement('img')
  6690. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6691. _limg.style = "width: 26px;margin-right: 10px;"
  6692. _lchild.appendChild(_limg)
  6693. let _lspan = document.createElement('span')
  6694. _lspan.innerHTML = "上传中..."
  6695. _lchild.appendChild(_lspan)
  6696. _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%);"
  6697. _loading.appendChild(_lchild)
  6698. var _box = $$('div', {
  6699. "style": {
  6700. "position": "relative",
  6701. "width": "100%",
  6702. "height": "100%",
  6703. },
  6704. })
  6705. _box.appendChild(_loading)
  6706. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6707. switch (str) {
  6708. case "whiteboard":
  6709. aTool = 1;
  6710. _iframe = $$("iframe", {
  6711. "frameborder": "no",
  6712. "border": "0",
  6713. "scrolling ": "no",
  6714. "style": {
  6715. "cssText": "border:0;width:100%;height:100%"
  6716. },
  6717. "src": "https://iwb.cocorobo.cn/"
  6718. })
  6719. _box.appendChild(_iframe);
  6720. _box.appendChild(_jie);
  6721. _formdiv = new U.UF.UI.form(
  6722. "电子白板",
  6723. _box, {
  6724. "id": "whiteboards" + cid + stage + task + tool,
  6725. "style": {
  6726. "width": "90%",
  6727. "height": "90%",
  6728. "overflow": 'hidden'
  6729. },
  6730. "onresize": function () { }
  6731. }, {
  6732. closecallback: function () { }
  6733. }, {
  6734. "style": {
  6735. "height": "36px"
  6736. }
  6737. }).form; //创建窗体
  6738. _taskbar = {
  6739. "id": str + _formdiv.id,
  6740. "style": {
  6741. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6742. },
  6743. "name": "电子白板",
  6744. "forms": _formdiv,
  6745. "click": function () {
  6746. U.MD.D.I.openApplication(str, obj, info);
  6747. }
  6748. }
  6749. break;
  6750. case "mind":
  6751. aTool = 3;
  6752. _iframe = $$("iframe", {
  6753. "frameborder": "no",
  6754. "border": "0",
  6755. "scrolling ": "no",
  6756. "style": {
  6757. "cssText": "border:0;width:100%;height:100%"
  6758. },
  6759. "src": "/kityminder-editor/dist/index.html"
  6760. });
  6761. _box.appendChild(_iframe);
  6762. _box.appendChild(_jie);
  6763. _formdiv = new U.UF.UI.form(
  6764. "思维导图",
  6765. _box, { //"/jsmind/example/demo.html"
  6766. "id": "minds" + cid + stage + task + tool,
  6767. "style": {
  6768. "width": "90%",
  6769. "height": "90%",
  6770. "overflow": 'hidden'
  6771. },
  6772. "onresize": function () { }
  6773. }, {
  6774. closecallback: function () { }
  6775. }, {
  6776. "style": {
  6777. "height": "36px"
  6778. }
  6779. }).form; //创建窗体
  6780. _taskbar = {
  6781. "id": str + _formdiv.id,
  6782. "style": {
  6783. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6784. },
  6785. "name": "思维导图",
  6786. "forms": _formdiv,
  6787. "click": function () {
  6788. U.MD.D.I.openApplication(str, obj, info);
  6789. }
  6790. }
  6791. break;
  6792. case "doc":
  6793. aTool = 6;
  6794. _iframe = $$("iframe", {
  6795. "frameborder": "no",
  6796. "border": "0",
  6797. "scrolling ": "no",
  6798. "style": {
  6799. "cssText": "border:0;width:100%;height:100%"
  6800. },
  6801. "src": "/Office/Word/WordEditArea.htm"
  6802. })
  6803. _box.appendChild(_iframe);
  6804. _box.appendChild(_jie);
  6805. _formdiv = new U.UF.UI.form(
  6806. "协同文档",
  6807. _box, {
  6808. "id": "docs" + cid + stage + task + tool,
  6809. "style": {
  6810. "width": "90%",
  6811. "height": "90%",
  6812. "overflow": 'hidden'
  6813. },
  6814. "onresize": function () { }
  6815. }, {
  6816. closecallback: function () { }
  6817. }, {
  6818. "style": {
  6819. "height": "36px"
  6820. }
  6821. }).form; //创建窗体
  6822. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6823. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6824. })
  6825. _taskbar = {
  6826. "id": str + _formdiv.id,
  6827. "style": {
  6828. "backgroundImage": "url(/img/icon/doc.png)"
  6829. },
  6830. "name": "协同文档",
  6831. "forms": _formdiv,
  6832. "click": function () {
  6833. U.MD.D.I.openApplication(str, obj, info);
  6834. }
  6835. }
  6836. break;
  6837. }
  6838. const script1 = document.createElement("script");
  6839. script1.type = "text/javascript";
  6840. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6841. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6842. const script2 = document.createElement("script");
  6843. script2.type = "text/javascript";
  6844. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6845. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6846. const script3 = document.createElement("script");
  6847. script3.type = "text/javascript";
  6848. script3.charset = "UTF-8";
  6849. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6850. const script4 = document.createElement("script");
  6851. script4.type = "text/javascript";
  6852. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6853. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6854. if (_iframe) {
  6855. if (str == 'doc') {
  6856. _iframe = _formdiv.querySelector('iframe')
  6857. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6858. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6859. _iframe.contentWindow.document.body.appendChild(script1);
  6860. _iframe.contentWindow.document.body.appendChild(script2);
  6861. // _iframe.contentWindow.document.body.appendChild(script3);
  6862. _iframe.contentWindow.document.body.appendChild(script4);
  6863. })
  6864. if (onloadListener) {
  6865. _iframe.contentDocument.location.reload()
  6866. } else {
  6867. _iframe.contentDocument.location.reload()
  6868. }
  6869. } else if (str == 'mind') {
  6870. _iframe = _formdiv.querySelector('iframe')
  6871. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6872. _iframe.contentWindow.document.body.appendChild(script1);
  6873. _iframe.contentWindow.document.body.appendChild(script2);
  6874. _iframe.contentWindow.document.body.appendChild(script4);
  6875. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6876. })
  6877. if (onloadListener) {
  6878. _iframe.contentDocument.location.reload()
  6879. } else {
  6880. _iframe.contentDocument.location.reload()
  6881. }
  6882. } else {
  6883. _iframe.onload = () => {
  6884. _iframe.contentWindow.document.body.appendChild(script1);
  6885. _iframe.contentWindow.document.body.appendChild(script2);
  6886. // _iframe.contentWindow.document.body.appendChild(script3);
  6887. _iframe.contentWindow.document.body.appendChild(script4);
  6888. };
  6889. }
  6890. _jie.onclick = async () => {
  6891. let text = ''
  6892. if (aTool == 6) {
  6893. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6894. } else if (aTool == 3) {
  6895. text = await U.MD.D.I.getEditorContent(_iframe);
  6896. }
  6897. _loading.style.display = 'flex'
  6898. console.log(_loading);
  6899. var _ajs = _iframe.contentWindow.document.createElement("script");
  6900. _ajs.type = "text/javascript";
  6901. _ajs.innerHTML =
  6902. // 'console.log(' + _loading + ');\n' +
  6903. 'var _js = document.createElement("script");\n' +
  6904. '_js.type="text/javascript";\n' +
  6905. '_js.charset="UTF-8";\n' +
  6906. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6907. "_js.onload = function(){\n" +
  6908. ' var a = document.getElementsByTagName("img")\n' +
  6909. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6910. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6911. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6912. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6913. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6914. "beforeUpload_shishi(file," +
  6915. "'" +
  6916. _userid +
  6917. "'" +
  6918. ", " +
  6919. "'" +
  6920. _cid +
  6921. "'" +
  6922. ", " +
  6923. "'" +
  6924. _stage +
  6925. "'" +
  6926. ", " +
  6927. "'" +
  6928. _task +
  6929. "'" +
  6930. ", " +
  6931. "'" +
  6932. _tool +
  6933. "'" +
  6934. ", " +
  6935. "'" +
  6936. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6937. "'" +
  6938. ", " +
  6939. "'" +
  6940. aTool +
  6941. "'" +
  6942. ", " +
  6943. "`" +
  6944. text +
  6945. "`" +
  6946. ")\n" +
  6947. " });\n" +
  6948. "}\n" +
  6949. "document.head.appendChild(_js);\n";
  6950. _iframe.contentWindow.document.head.appendChild(_ajs);
  6951. }
  6952. }
  6953. //U.MD.D.I.openClick(str);
  6954. //如果有任务栏信息
  6955. // if (_taskbar) {
  6956. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6957. // }
  6958. }
  6959. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  6960. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6961. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6962. _userinfo = US.userInfo, //登录用户信息
  6963. _userid = US.userInfo.userid //登录用户id
  6964. let _iframe;
  6965. let _cid = cid,
  6966. _stage = stage,
  6967. _task = task,
  6968. _tool = tool;
  6969. var _jie = $$("div", {
  6970. "style": {
  6971. "position": "absolute",
  6972. "bottom": "50px",
  6973. "right": "50px",
  6974. "zIndex": "9999",
  6975. "backgroundColor": "#2268bc",
  6976. "color": "#fff",
  6977. "padding": "12px 20px",
  6978. "cursor": "pointer",
  6979. "borderRadius": "4px",
  6980. },
  6981. "innerHTML": "确认并提交"
  6982. })
  6983. let aTool = ''
  6984. let _loading = document.createElement('div')
  6985. _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;"
  6986. // _loading.id = "";
  6987. let _lchild = document.createElement('div')
  6988. let _limg = document.createElement('img')
  6989. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6990. _limg.style = "width: 26px;margin-right: 10px;"
  6991. _lchild.appendChild(_limg)
  6992. let _lspan = document.createElement('span')
  6993. _lspan.innerHTML = "上传中..."
  6994. _lchild.appendChild(_lspan)
  6995. _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%);"
  6996. _loading.appendChild(_lchild)
  6997. var _box = $$('div', {
  6998. "style": {
  6999. "position": "relative",
  7000. "width": "100%",
  7001. "height": "100%",
  7002. },
  7003. })
  7004. _box.appendChild(_loading)
  7005. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7006. switch (str) {
  7007. case "whiteboard":
  7008. aTool = 1;
  7009. _iframe = $$("iframe", {
  7010. "frameborder": "no",
  7011. "border": "0",
  7012. "scrolling ": "no",
  7013. "style": {
  7014. "cssText": "border:0;width:100%;height:100%"
  7015. },
  7016. "src": "https://iwb.cocorobo.cn/"
  7017. })
  7018. _box.appendChild(_iframe);
  7019. _box.appendChild(_jie);
  7020. _formdiv = new U.UF.UI.form(
  7021. "电子白板",
  7022. _box, {
  7023. "id": "whiteboards" + cid + stage + task + tool,
  7024. "style": {
  7025. "width": "90%",
  7026. "height": "90%",
  7027. "overflow": 'hidden'
  7028. },
  7029. "onresize": function () { }
  7030. }, {
  7031. closecallback: function () { }
  7032. }, {
  7033. "style": {
  7034. "height": "36px"
  7035. }
  7036. }).form; //创建窗体
  7037. _taskbar = {
  7038. "id": str + _formdiv.id,
  7039. "style": {
  7040. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7041. },
  7042. "name": "电子白板",
  7043. "forms": _formdiv,
  7044. "click": function () {
  7045. U.MD.D.I.openApplication(str, obj, info);
  7046. }
  7047. }
  7048. break;
  7049. case "mind":
  7050. aTool = 3;
  7051. _iframe = $$("iframe", {
  7052. "frameborder": "no",
  7053. "border": "0",
  7054. "scrolling ": "no",
  7055. "style": {
  7056. "cssText": "border:0;width:100%;height:100%"
  7057. },
  7058. "src": "/kityminder-editor/dist/index.html"
  7059. });
  7060. _box.appendChild(_iframe);
  7061. _box.appendChild(_jie);
  7062. _formdiv = new U.UF.UI.form(
  7063. "思维导图",
  7064. _box, { //"/jsmind/example/demo.html"
  7065. "id": "minds" + cid + stage + task + tool,
  7066. "style": {
  7067. "width": "90%",
  7068. "height": "90%",
  7069. "overflow": 'hidden'
  7070. },
  7071. "onresize": function () { }
  7072. }, {
  7073. closecallback: function () { }
  7074. }, {
  7075. "style": {
  7076. "height": "36px"
  7077. }
  7078. }).form; //创建窗体
  7079. _taskbar = {
  7080. "id": str + _formdiv.id,
  7081. "style": {
  7082. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7083. },
  7084. "name": "思维导图",
  7085. "forms": _formdiv,
  7086. "click": function () {
  7087. U.MD.D.I.openApplication(str, obj, info);
  7088. }
  7089. }
  7090. break;
  7091. case "doc":
  7092. aTool = 6;
  7093. _iframe = $$("iframe", {
  7094. "frameborder": "no",
  7095. "border": "0",
  7096. "scrolling ": "no",
  7097. "style": {
  7098. "cssText": "border:0;width:100%;height:100%"
  7099. },
  7100. "src": "/Office/Word/WordEditArea.htm"
  7101. })
  7102. _box.appendChild(_iframe);
  7103. _box.appendChild(_jie);
  7104. _formdiv = new U.UF.UI.form(
  7105. "协同文档",
  7106. _box, {
  7107. "id": "docs" + cid + stage + task + tool,
  7108. "style": {
  7109. "width": "90%",
  7110. "height": "90%",
  7111. "overflow": 'hidden'
  7112. },
  7113. "onresize": function () { }
  7114. }, {
  7115. closecallback: function () { }
  7116. }, {
  7117. "style": {
  7118. "height": "36px"
  7119. }
  7120. }).form; //创建窗体
  7121. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7122. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7123. })
  7124. _taskbar = {
  7125. "id": str + _formdiv.id,
  7126. "style": {
  7127. "backgroundImage": "url(/img/icon/doc.png)"
  7128. },
  7129. "name": "协同文档",
  7130. "forms": _formdiv,
  7131. "click": function () {
  7132. U.MD.D.I.openApplication(str, obj, info);
  7133. }
  7134. }
  7135. break;
  7136. }
  7137. const script1 = document.createElement("script");
  7138. script1.type = "text/javascript";
  7139. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7140. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7141. const script2 = document.createElement("script");
  7142. script2.type = "text/javascript";
  7143. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7144. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7145. const script3 = document.createElement("script");
  7146. script3.type = "text/javascript";
  7147. script3.charset = "UTF-8";
  7148. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7149. const script4 = document.createElement("script");
  7150. script4.type = "text/javascript";
  7151. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7152. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7153. if (_iframe) {
  7154. if (str == 'doc') {
  7155. _iframe = _formdiv.querySelector('iframe')
  7156. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7157. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7158. _iframe.contentWindow.document.body.appendChild(script1);
  7159. _iframe.contentWindow.document.body.appendChild(script2);
  7160. // _iframe.contentWindow.document.body.appendChild(script3);
  7161. _iframe.contentWindow.document.body.appendChild(script4);
  7162. })
  7163. if (onloadListener) {
  7164. _iframe.contentDocument.location.reload()
  7165. } else {
  7166. _iframe.contentDocument.location.reload()
  7167. }
  7168. } else if (str == 'mind') {
  7169. _iframe = _formdiv.querySelector('iframe')
  7170. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7171. _iframe.contentWindow.document.body.appendChild(script1);
  7172. _iframe.contentWindow.document.body.appendChild(script2);
  7173. _iframe.contentWindow.document.body.appendChild(script4);
  7174. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7175. })
  7176. if (onloadListener) {
  7177. _iframe.contentDocument.location.reload()
  7178. } else {
  7179. _iframe.contentDocument.location.reload()
  7180. }
  7181. } else {
  7182. _iframe.onload = () => {
  7183. _iframe.contentWindow.document.body.appendChild(script1);
  7184. _iframe.contentWindow.document.body.appendChild(script2);
  7185. // _iframe.contentWindow.document.body.appendChild(script3);
  7186. _iframe.contentWindow.document.body.appendChild(script4);
  7187. };
  7188. }
  7189. _jie.onclick = async () => {
  7190. let text = ''
  7191. if (aTool == 6) {
  7192. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7193. } else if (aTool == 3) {
  7194. text = await U.MD.D.I.getEditorContent(_iframe);
  7195. }
  7196. _loading.style.display = 'flex'
  7197. console.log(_loading);
  7198. var _ajs = _iframe.contentWindow.document.createElement("script");
  7199. _ajs.type = "text/javascript";
  7200. _ajs.innerHTML =
  7201. // 'console.log(' + _loading + ');\n' +
  7202. 'var _js = document.createElement("script");\n' +
  7203. '_js.type="text/javascript";\n' +
  7204. '_js.charset="UTF-8";\n' +
  7205. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7206. "_js.onload = function(){\n" +
  7207. ' var a = document.getElementsByTagName("img")\n' +
  7208. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7209. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7210. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7211. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7212. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7213. "beforeUpload_shishi(file," +
  7214. "'" +
  7215. _userid +
  7216. "'" +
  7217. ", " +
  7218. "'" +
  7219. _cid +
  7220. "'" +
  7221. ", " +
  7222. "'" +
  7223. _stage +
  7224. "'" +
  7225. ", " +
  7226. "'" +
  7227. _task +
  7228. "'" +
  7229. ", " +
  7230. "'" +
  7231. _tool +
  7232. "'" +
  7233. ", " +
  7234. "'" +
  7235. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7236. "'" +
  7237. ", " +
  7238. "'" +
  7239. aTool +
  7240. "'" +
  7241. ", " +
  7242. "`" +
  7243. text +
  7244. "`" +
  7245. ")\n" +
  7246. " });\n" +
  7247. "}\n" +
  7248. "document.head.appendChild(_js);\n";
  7249. _iframe.contentWindow.document.head.appendChild(_ajs);
  7250. }
  7251. }
  7252. //U.MD.D.I.openClick(str);
  7253. //如果有任务栏信息
  7254. // if (_taskbar) {
  7255. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7256. // }
  7257. }
  7258. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7259. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7260. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7261. _userinfo = US.userInfo, //登录用户信息
  7262. _userid = US.userInfo.userid //登录用户id
  7263. let _iframe;
  7264. let _cid = cid,
  7265. _stage = stage,
  7266. _task = task,
  7267. _tool = tool;
  7268. var _jie = $$("div", {
  7269. "style": {
  7270. "position": "absolute",
  7271. "bottom": "50px",
  7272. "right": "50px",
  7273. "zIndex": "9999",
  7274. "backgroundColor": "#2268bc",
  7275. "color": "#fff",
  7276. "padding": "12px 20px",
  7277. "cursor": "pointer",
  7278. "borderRadius": "4px",
  7279. },
  7280. "innerHTML": "上传模板"
  7281. })
  7282. let aTool = ''
  7283. let _loading = document.createElement('div')
  7284. _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;"
  7285. // _loading.id = "";
  7286. let _lchild = document.createElement('div')
  7287. let _limg = document.createElement('img')
  7288. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7289. _limg.style = "width: 26px;margin-right: 10px;"
  7290. _lchild.appendChild(_limg)
  7291. let _lspan = document.createElement('span')
  7292. _lspan.innerHTML = "上传中..."
  7293. _lchild.appendChild(_lspan)
  7294. _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%);"
  7295. _loading.appendChild(_lchild)
  7296. var _box = $$('div', {
  7297. "style": {
  7298. "position": "relative",
  7299. "width": "100%",
  7300. "height": "100%",
  7301. },
  7302. })
  7303. _box.appendChild(_loading)
  7304. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7305. switch (str) {
  7306. case "whiteboard":
  7307. aTool = 1;
  7308. _iframe = $$("iframe", {
  7309. "frameborder": "no",
  7310. "border": "0",
  7311. "scrolling ": "no",
  7312. "style": {
  7313. "cssText": "border:0;width:100%;height:100%"
  7314. },
  7315. "src": "https://iwb.cocorobo.cn/"
  7316. })
  7317. _box.appendChild(_iframe);
  7318. _box.appendChild(_jie);
  7319. _formdiv = new U.UF.UI.form(
  7320. "电子白板",
  7321. _box, {
  7322. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7323. "style": {
  7324. "width": "90%",
  7325. "height": "90%",
  7326. "overflow": 'hidden'
  7327. },
  7328. "onresize": function () { }
  7329. }, {
  7330. closecallback: function () { }
  7331. }, {
  7332. "style": {
  7333. "height": "36px"
  7334. }
  7335. }).form; //创建窗体
  7336. _taskbar = {
  7337. "id": str + _formdiv.id,
  7338. "style": {
  7339. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7340. },
  7341. "name": "电子白板",
  7342. "forms": _formdiv,
  7343. "click": function () {
  7344. U.MD.D.I.openApplication(str, obj, info);
  7345. }
  7346. }
  7347. break;
  7348. case "mind":
  7349. aTool = 3;
  7350. _iframe = $$("iframe", {
  7351. "frameborder": "no",
  7352. "border": "0",
  7353. "scrolling ": "no",
  7354. "style": {
  7355. "cssText": "border:0;width:100%;height:100%"
  7356. },
  7357. "src": "/kityminder-editor/dist/index.html"
  7358. });
  7359. _box.appendChild(_iframe);
  7360. _box.appendChild(_jie);
  7361. _formdiv = new U.UF.UI.form(
  7362. "思维导图",
  7363. _box, { //"/jsmind/example/demo.html"
  7364. "id": "minds_Yu" + cid + stage + task + tool,
  7365. "style": {
  7366. "width": "90%",
  7367. "height": "90%",
  7368. "overflow": 'hidden'
  7369. },
  7370. "onresize": function () { }
  7371. }, {
  7372. closecallback: function () { }
  7373. }, {
  7374. "style": {
  7375. "height": "36px"
  7376. }
  7377. }).form; //创建窗体
  7378. _taskbar = {
  7379. "id": str + _formdiv.id,
  7380. "style": {
  7381. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7382. },
  7383. "name": "思维导图",
  7384. "forms": _formdiv,
  7385. "click": function () {
  7386. U.MD.D.I.openApplication(str, obj, info);
  7387. }
  7388. }
  7389. break;
  7390. case "doc":
  7391. aTool = 6;
  7392. _iframe = $$("iframe", {
  7393. "frameborder": "no",
  7394. "border": "0",
  7395. "scrolling ": "no",
  7396. "style": {
  7397. "cssText": "border:0;width:100%;height:100%"
  7398. },
  7399. "src": "/Office/Word/WordEditArea.htm"
  7400. })
  7401. _box.appendChild(_iframe);
  7402. _box.appendChild(_jie);
  7403. _formdiv = new U.UF.UI.form(
  7404. "协同文档",
  7405. _box, {
  7406. "id": "docs_Yu" + cid + stage + task + tool,
  7407. "style": {
  7408. "width": "90%",
  7409. "height": "90%",
  7410. "overflow": 'hidden'
  7411. },
  7412. "onresize": function () { }
  7413. }, {
  7414. closecallback: function () { }
  7415. }, {
  7416. "style": {
  7417. "height": "36px"
  7418. }
  7419. }).form; //创建窗体
  7420. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7421. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7422. })
  7423. _taskbar = {
  7424. "id": str + _formdiv.id,
  7425. "style": {
  7426. "backgroundImage": "url(/img/icon/doc.png)"
  7427. },
  7428. "name": "协同文档",
  7429. "forms": _formdiv,
  7430. "click": function () {
  7431. U.MD.D.I.openApplication(str, obj, info);
  7432. }
  7433. }
  7434. break;
  7435. case "CocoPi":
  7436. aTool = 57;
  7437. _iframe = $$("iframe", {
  7438. "allowpaymentrequest": "allowpaymentrequest",
  7439. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7440. "webkitallowfullscreen": "",
  7441. "mozallowfullscreen": "",
  7442. "frameborder": "no",
  7443. "border": "0",
  7444. "scrolling ": "no",
  7445. "style": {
  7446. "cssText": "border:0;width:100%;height:100%"
  7447. },
  7448. "src": "https://pi.cocorobo.cn/"
  7449. })
  7450. _box.appendChild(_iframe);
  7451. _box.appendChild(_jie);
  7452. _formdiv = new U.UF.UI.form(
  7453. "CocoPi",
  7454. _box, {
  7455. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7456. "style": {
  7457. "width": "90%",
  7458. "height": "90%",
  7459. "overflow": 'hidden'
  7460. },
  7461. "onresize": function () { }
  7462. }, {
  7463. closecallback: function () { }
  7464. }, {
  7465. "style": {
  7466. "height": "36px"
  7467. }
  7468. }).form; //创建窗体
  7469. _taskbar = {
  7470. "id": str + _formdiv.id,
  7471. "style": {
  7472. "backgroundImage": "url(/img/icon/cocopi.png)"
  7473. },
  7474. "name": "CocoPi",
  7475. "forms": _formdiv,
  7476. "click": function () {
  7477. U.MD.D.I.openApplication(str, obj, info);
  7478. }
  7479. }
  7480. break;
  7481. }
  7482. if (_iframe) {
  7483. if (str == 'doc') {
  7484. _iframe = _formdiv.querySelector('iframe')
  7485. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7486. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7487. })
  7488. if (onloadListener) {
  7489. _iframe.contentDocument.location.reload()
  7490. } else {
  7491. _iframe.contentDocument.location.reload()
  7492. }
  7493. } else if (str == 'mind') {
  7494. _iframe = _formdiv.querySelector('iframe')
  7495. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7496. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7497. })
  7498. if (onloadListener) {
  7499. _iframe.contentDocument.location.reload()
  7500. } else {
  7501. _iframe.contentDocument.location.reload()
  7502. }
  7503. } else if (str == 'whiteboard') {
  7504. _iframe = _formdiv.querySelector('iframe')
  7505. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7506. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7507. })
  7508. if (onloadListener) {
  7509. _iframe.contentDocument.location.reload()
  7510. } else {
  7511. _iframe.contentDocument.location.reload()
  7512. }
  7513. } else if (str == 'CocoPi') {
  7514. _iframe = _formdiv.querySelector('iframe')
  7515. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7516. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7517. })
  7518. if (onloadListener) {
  7519. _iframe.contentDocument.location.reload()
  7520. } else {
  7521. _iframe.contentDocument.location.reload()
  7522. }
  7523. } else {
  7524. _iframe.onload = () => { };
  7525. }
  7526. _jie.onclick = async () => {
  7527. let text = ''
  7528. let type = '2'
  7529. if (aTool == 1) {
  7530. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7531. type = '3'
  7532. } else if (aTool == 6) {
  7533. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7534. type = '1'
  7535. } else if (aTool == 3) {
  7536. text = await U.MD.D.I.getEditorContent(_iframe);
  7537. type = '2'
  7538. } else if (aTool == 57) {
  7539. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7540. type = '4'
  7541. }
  7542. _loading.style.display = 'flex'
  7543. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7544. }
  7545. }
  7546. //U.MD.D.I.openClick(str);
  7547. //如果有任务栏信息
  7548. // if (_taskbar) {
  7549. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7550. // }
  7551. }
  7552. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7553. var xmlhttp;
  7554. var Mac, Sn, DeviceId
  7555. if (window.XMLHttpRequest) {
  7556. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7557. xmlhttp = new XMLHttpRequest();
  7558. } else {
  7559. // IE6, IE5 浏览器执行代码
  7560. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7561. }
  7562. xmlhttp.onreadystatechange = function () {
  7563. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7564. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7565. // resolve(res.value[0][0].text);
  7566. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7567. }
  7568. }
  7569. }
  7570. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7571. xmlhttp.send();
  7572. }
  7573. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7574. var xmlhttp;
  7575. var Mac, Sn, DeviceId
  7576. if (window.XMLHttpRequest) {
  7577. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7578. xmlhttp = new XMLHttpRequest();
  7579. } else {
  7580. // IE6, IE5 浏览器执行代码
  7581. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7582. }
  7583. xmlhttp.onreadystatechange = function () {
  7584. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7585. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7586. // resolve(res.value[0][0].text);
  7587. if (type == '2') {
  7588. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7589. } else if (type == '3') {
  7590. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7591. } else if (type == '4') {
  7592. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7593. }
  7594. } else {
  7595. if (type == '2') {
  7596. iframe.contentWindow.editor.minder.importData('json', '')
  7597. } else if (type == '3') {
  7598. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7599. } else if (type == '4') {
  7600. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7601. }
  7602. }
  7603. }
  7604. }
  7605. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7606. xmlhttp.send();
  7607. }
  7608. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7609. var xmlhttp;
  7610. var Mac, Sn, DeviceId
  7611. if (window.XMLHttpRequest) {
  7612. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7613. xmlhttp = new XMLHttpRequest();
  7614. } else {
  7615. // IE6, IE5 浏览器执行代码
  7616. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7617. }
  7618. xmlhttp.onreadystatechange = function () {
  7619. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7620. if (xmlhttp.response) {
  7621. // resolve(res.value[0][0].text);
  7622. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7623. // $(fileInput).val('');
  7624. // });
  7625. span.innerHTML = '上传成功'
  7626. setTimeout(() => {
  7627. loading.style.display = 'none'
  7628. }, 1000);
  7629. }
  7630. }
  7631. }
  7632. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7633. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7634. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7635. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7636. // 设置请求头,表示请求体的编码格式
  7637. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7638. // 设置请求体,使用url-encoded格式的数据
  7639. }
  7640. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7641. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7642. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7643. _userinfo = US.userInfo, //登录用户信息
  7644. _userid = US.userInfo.userid //登录用户id
  7645. let _iframe;
  7646. let _cid = cid,
  7647. _stage = stage,
  7648. _task = task,
  7649. _tool = tool;
  7650. var _jie = $$("div", {
  7651. "style": {
  7652. "position": "absolute",
  7653. "bottom": "50px",
  7654. "right": "50px",
  7655. "zIndex": "9999",
  7656. "backgroundColor": "#2268bc",
  7657. "color": "#fff",
  7658. "padding": "12px 20px",
  7659. "cursor": "pointer",
  7660. "borderRadius": "4px",
  7661. },
  7662. "innerHTML": "提交作业"
  7663. })
  7664. let aTool = ''
  7665. let _loading = document.createElement('div')
  7666. _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;"
  7667. // _loading.id = "";
  7668. let _lchild = document.createElement('div')
  7669. let _limg = document.createElement('img')
  7670. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7671. _limg.style = "width: 26px;margin-right: 10px;"
  7672. _lchild.appendChild(_limg)
  7673. let _lspan = document.createElement('span')
  7674. _lspan.innerHTML = "上传中..."
  7675. _lchild.appendChild(_lspan)
  7676. _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%);"
  7677. _loading.appendChild(_lchild)
  7678. var _box = $$('div', {
  7679. "style": {
  7680. "position": "relative",
  7681. "width": "100%",
  7682. "height": "100%",
  7683. },
  7684. })
  7685. _box.appendChild(_loading)
  7686. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7687. switch (str) {
  7688. case "CocoPi":
  7689. aTool = 57;
  7690. _iframe = $$("iframe", {
  7691. "allowpaymentrequest": "allowpaymentrequest",
  7692. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7693. "webkitallowfullscreen": "",
  7694. "mozallowfullscreen": "",
  7695. "frameborder": "no",
  7696. "border": "0",
  7697. "scrolling ": "no",
  7698. "style": {
  7699. "cssText": "border:0;width:100%;height:100%"
  7700. },
  7701. "src": "https://pi.cocorobo.cn/"
  7702. })
  7703. _box.appendChild(_iframe);
  7704. _box.appendChild(_jie);
  7705. _formdiv = new U.UF.UI.form(
  7706. "CocoPi",
  7707. _box, {
  7708. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7709. "style": {
  7710. "width": "90%",
  7711. "height": "90%",
  7712. "overflow": 'hidden'
  7713. },
  7714. "onresize": function () { }
  7715. }, {
  7716. closecallback: function () { }
  7717. }, {
  7718. "style": {
  7719. "height": "36px"
  7720. }
  7721. }).form; //创建窗体
  7722. _taskbar = {
  7723. "id": str + _formdiv.id,
  7724. "style": {
  7725. "backgroundImage": "url(/img/icon/cocopi.png)"
  7726. },
  7727. "name": "CocoPi",
  7728. "forms": _formdiv,
  7729. "click": function () {
  7730. U.MD.D.I.openApplication(str, obj, info);
  7731. }
  7732. }
  7733. break;
  7734. }
  7735. if (_iframe) {
  7736. if (str == 'CocoPi') {
  7737. _iframe = _formdiv.querySelector('iframe')
  7738. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7739. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7740. })
  7741. if (onloadListener) {
  7742. _iframe.contentDocument.location.reload()
  7743. } else {
  7744. _iframe.contentDocument.location.reload()
  7745. }
  7746. }
  7747. _jie.onclick = async () => {
  7748. let text = ''
  7749. if (aTool == 57) {
  7750. text = _iframe.contentWindow.getLoadXmlStr()
  7751. }
  7752. _loading.style.display = 'flex'
  7753. console.log(_loading);
  7754. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7755. _loading.style.display = 'none'
  7756. let _div = document.createElement('div')
  7757. _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;"
  7758. let _inner = document.createElement('div')
  7759. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7760. _inner.innerHTML = "上传成功"
  7761. _div.appendChild(_inner)
  7762. _iframe.contentWindow.window.document.body.appendChild(_div)
  7763. _div.onclick = () => {
  7764. _iframe.contentWindow.window.document.body.removeChild(_div)
  7765. }
  7766. setTimeout(() => {
  7767. _iframe.contentWindow.window.document.body.removeChild(_div)
  7768. }, 1000);
  7769. }, [], { "type": "POST", "withCredentials": true });
  7770. }
  7771. }
  7772. }
  7773. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7774. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7775. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7776. _userid = student.userid, //登录用户id
  7777. _username = student.student //用户名字
  7778. let _iframe;
  7779. let _cid = cid,
  7780. _stage = stage,
  7781. _task = task,
  7782. _tool = tool;
  7783. var _jie = $$("div", {
  7784. "style": {
  7785. "position": "absolute",
  7786. "bottom": "50px",
  7787. "right": "50px",
  7788. "zIndex": "9999",
  7789. "backgroundColor": "#2268bc",
  7790. "color": "#fff",
  7791. "padding": "12px 20px",
  7792. "cursor": "pointer",
  7793. "borderRadius": "4px",
  7794. },
  7795. "innerHTML": "提交作业"
  7796. })
  7797. let aTool = ''
  7798. let _loading = document.createElement('div')
  7799. _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;"
  7800. // _loading.id = "";
  7801. let _lchild = document.createElement('div')
  7802. let _limg = document.createElement('img')
  7803. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7804. _limg.style = "width: 26px;margin-right: 10px;"
  7805. _lchild.appendChild(_limg)
  7806. let _lspan = document.createElement('span')
  7807. _lspan.innerHTML = "上传中..."
  7808. _lchild.appendChild(_lspan)
  7809. _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%);"
  7810. _loading.appendChild(_lchild)
  7811. var _box = $$('div', {
  7812. "style": {
  7813. "position": "relative",
  7814. "width": "100%",
  7815. "height": "100%",
  7816. },
  7817. })
  7818. _box.appendChild(_loading)
  7819. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7820. switch (str) {
  7821. case "CocoPi":
  7822. aTool = 57;
  7823. _iframe = $$("iframe", {
  7824. "allowpaymentrequest": "allowpaymentrequest",
  7825. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7826. "webkitallowfullscreen": "",
  7827. "mozallowfullscreen": "",
  7828. "frameborder": "no",
  7829. "border": "0",
  7830. "scrolling ": "no",
  7831. "style": {
  7832. "cssText": "border:0;width:100%;height:100%"
  7833. },
  7834. "src": "https://pi.cocorobo.cn/"
  7835. })
  7836. _box.appendChild(_iframe);
  7837. _box.appendChild(_jie);
  7838. _formdiv = new U.UF.UI.form(
  7839. "CocoPi-" + _username,
  7840. _box, {
  7841. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7842. "style": {
  7843. "width": "90%",
  7844. "height": "90%",
  7845. "overflow": 'hidden'
  7846. },
  7847. "onresize": function () { }
  7848. }, {
  7849. closecallback: function () { }
  7850. }, {
  7851. "style": {
  7852. "height": "36px"
  7853. }
  7854. }).form; //创建窗体
  7855. _taskbar = {
  7856. "id": str + _formdiv.id,
  7857. "style": {
  7858. "backgroundImage": "url(/img/icon/cocopi.png)"
  7859. },
  7860. "name": "CocoPi",
  7861. "forms": _formdiv,
  7862. "click": function () {
  7863. U.MD.D.I.openApplication(str, obj, info);
  7864. }
  7865. }
  7866. break;
  7867. }
  7868. if (_iframe) {
  7869. if (str == 'CocoPi') {
  7870. _iframe = _formdiv.querySelector('iframe')
  7871. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7872. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7873. })
  7874. if (onloadListener) {
  7875. _iframe.contentDocument.location.reload()
  7876. } else {
  7877. _iframe.contentDocument.location.reload()
  7878. }
  7879. }
  7880. _jie.onclick = async () => {
  7881. let text = ''
  7882. if (aTool == 57) {
  7883. text = _iframe.contentWindow.getLoadXmlStr()
  7884. }
  7885. _loading.style.display = 'flex'
  7886. console.log(_loading);
  7887. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7888. _loading.style.display = 'none'
  7889. let _div = document.createElement('div')
  7890. _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;"
  7891. let _inner = document.createElement('div')
  7892. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7893. _inner.innerHTML = "上传成功"
  7894. _div.appendChild(_inner)
  7895. _iframe.contentWindow.window.document.body.appendChild(_div)
  7896. _div.onclick = () => {
  7897. _iframe.contentWindow.window.document.body.removeChild(_div)
  7898. }
  7899. setTimeout(() => {
  7900. _iframe.contentWindow.window.document.body.removeChild(_div)
  7901. }, 1000);
  7902. }, [], { "type": "POST", "withCredentials": true });
  7903. }
  7904. }
  7905. }
  7906. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7907. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7908. if (res.value[0].length > 0) {
  7909. if (atool == 57) {
  7910. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7911. }
  7912. } else {
  7913. if (atool == 57) {
  7914. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7915. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7916. }
  7917. }
  7918. }, [], { "type": "POST", "withCredentials": true });
  7919. }