DeskTop.js 525 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  51. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  52. ];
  53. //极简模式
  54. U.MD.D.I.easyDeskIcon = [
  55. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  57. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  58. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  59. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  60. ];
  61. //教师桌面图标的全局变量
  62. U.MD.D.I.teacherDeskIcon2 = [
  63. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  64. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  65. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  66. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  67. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  68. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  69. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  70. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  71. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  72. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  73. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  74. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  75. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  76. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  77. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  78. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  79. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  80. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  81. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  82. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  83. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  84. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  85. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  86. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  87. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  88. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  89. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  90. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  91. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  92. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  93. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  94. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  95. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  96. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  97. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  98. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  99. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  100. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  101. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  102. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  103. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  104. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  105. ];
  106. U.MD.D.I.studentDeskIcon = [
  107. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  108. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  109. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  110. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  111. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  112. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  113. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  114. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  115. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  116. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  117. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  118. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  119. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  120. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  121. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  122. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  123. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  124. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  125. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  126. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  127. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  128. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  129. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  130. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  131. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  132. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  133. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  134. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  135. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  136. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  137. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  138. ];
  139. U.MD.D.I.studentDeskIcon2 = [
  140. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  141. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  142. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  143. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  144. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  145. ]
  146. U.MD.D.I.studentDeskIcon3 = [
  147. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  148. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  149. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  150. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  151. ]
  152. U.MD.D.I.schoolDeskIcon = [
  153. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  154. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  155. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  156. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  157. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  158. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  159. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  160. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  161. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  162. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  163. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  164. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  165. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  166. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  167. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  168. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  169. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  170. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  171. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  172. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  173. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  174. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  175. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  176. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  177. ];
  178. U.MD.D.I.orgDeskIcon = [
  179. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  180. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  181. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  182. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  183. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  184. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  185. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  186. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  187. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  188. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  189. { "Name": "案例征集", "Url": "ytpbl", "style": { "cssText": "background-image:url(/img/icon/gpbl2.png)" } },
  190. ];
  191. U.MD.D.I.orgStemDeskIcon = [
  192. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  193. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  194. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  195. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  196. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  197. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  198. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  199. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  200. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  201. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  202. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  203. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  204. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  205. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  206. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  207. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  208. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  209. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  210. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  211. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  212. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  213. ];
  214. U.MD.D.I.szulsDeskIcon = [
  215. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  216. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  217. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  218. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  219. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  220. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  221. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  222. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  223. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  224. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  225. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  226. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  227. ];
  228. U.MD.D.I.hanDeskIcon = [
  229. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  230. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  231. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  232. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  233. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  234. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  235. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  236. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  237. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  238. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  239. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  240. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  241. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  242. ];
  243. U.MD.D.I.GMteacherDeskIcon = [
  244. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  245. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  246. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  247. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  248. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  249. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  250. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  251. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  252. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  253. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  254. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  255. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  256. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  257. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  258. ];
  259. U.MD.D.I.GMstudentDeskIcon = [
  260. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  261. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  262. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  263. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  264. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  265. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  266. ];
  267. //北师大
  268. U.MD.D.I.BSDNSteacherDeskIcon = [
  269. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  270. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  271. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  272. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  273. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  274. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  275. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  276. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  277. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  278. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  279. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  280. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  281. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  282. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  283. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  284. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  285. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  286. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  287. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  288. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  289. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  290. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  291. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  292. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  293. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  294. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  295. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  296. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  297. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  298. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  299. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  300. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  301. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  302. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  303. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  304. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  305. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  306. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  307. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  308. ];
  309. //松山湖
  310. U.MD.D.I.SONGteacherDeskIcon = [
  311. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  312. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  313. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  314. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  315. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  316. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  317. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  318. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  319. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  320. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  321. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  322. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  323. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  324. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  325. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  326. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  327. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  328. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  329. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  330. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  331. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  332. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  333. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  334. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  335. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  336. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  337. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  338. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  339. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  340. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  341. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  342. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  343. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  344. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  345. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  346. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  347. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  348. ];
  349. U.MD.D.I.tcStudentDeskIcon = [
  350. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  351. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  352. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  353. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  354. ];
  355. U.MD.D.I.tcTeacherDeskIcon = [
  356. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  357. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  358. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  359. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  360. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  361. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  362. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  363. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  364. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  365. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  366. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  367. ];
  368. U.MD.D.I.tcOrganizerDeskIcon = [
  369. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  370. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  371. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  372. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  373. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  374. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  375. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  376. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  377. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  378. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  379. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  380. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  381. ];
  382. U.MD.D.I.szscStudentDeskIcon = [
  383. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  384. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  385. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  386. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  387. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  388. ];
  389. U.MD.D.I.szscTeacherDeskIcon = [
  390. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  391. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  392. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  393. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  394. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  395. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  396. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  397. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  398. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  399. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  400. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  401. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  402. ];
  403. U.MD.D.I.szscOrganizerDeskIcon = [
  404. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  405. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  406. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  407. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  408. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  409. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  410. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  411. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  412. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  413. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  414. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  415. ];
  416. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  417. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  418. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  419. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  420. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  421. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  422. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  423. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  424. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  425. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  426. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  427. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  428. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  429. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  430. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  431. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  432. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  433. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  434. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  435. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  436. ];
  437. U.MD.D.I.wankeAdminDeskIcon = [
  438. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  439. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  440. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  441. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  442. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  443. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  444. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  445. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  446. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  447. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  448. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  449. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  450. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  451. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  452. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  453. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  454. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  455. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  456. ];
  457. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  458. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  459. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  460. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  461. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  462. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  463. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  464. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  465. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  466. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  467. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  468. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  469. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  470. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  471. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  472. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  473. ];
  474. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  475. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  476. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  477. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  478. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  479. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  480. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  481. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  482. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  483. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  484. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  485. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  486. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  487. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  488. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  489. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  490. ];
  491. //明德教师桌面图标的全局变量
  492. U.MD.D.I.MingdeTeacherDeskIcon = [
  493. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  494. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  495. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  496. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  497. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  498. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  499. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  500. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  501. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  502. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  503. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  504. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  505. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  506. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  507. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  508. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  509. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  510. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  511. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  512. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  513. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  514. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  515. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  516. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  517. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  518. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  519. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  520. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  521. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  522. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  523. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  524. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  525. ];
  526. //97c4ee8b-d010-4042-986d-e9d3c217264f
  527. //教师桌面图标的全局变量
  528. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  529. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  530. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  531. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  532. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  533. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  534. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  535. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  536. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  537. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  538. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  539. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  540. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  541. ];
  542. //福田
  543. U.MD.D.I.futianTeacherDeskIcon = [
  544. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  545. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  546. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  547. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  548. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  549. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  550. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  551. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  552. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  553. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  554. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  555. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  556. ];
  557. //福田
  558. U.MD.D.I.futianAdminDeskIcon = [
  559. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  560. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  561. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  562. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  563. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  564. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  565. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  566. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  567. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  568. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  569. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  570. ];
  571. //lotech
  572. U.MD.D.I.lotechTeacherDeskIcon = [
  573. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  574. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  575. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  576. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  577. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  578. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  579. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  580. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  581. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  582. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  583. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  584. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  585. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  586. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  587. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  588. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  589. ];
  590. //龙华中心小学教师桌面图标的全局变量
  591. U.MD.D.I.longhuateacherDeskIcon = [
  592. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  593. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  594. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  595. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  596. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  597. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  598. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  599. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  600. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  601. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  602. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  603. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  604. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  605. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  606. ];
  607. //教科院实小教师桌面图标的全局变量
  608. U.MD.D.I.siesteacherDeskIcon = [
  609. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  610. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  611. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  612. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  613. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  614. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  615. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  616. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  617. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  618. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  619. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  620. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  621. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  622. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  623. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  624. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  625. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  626. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  627. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  628. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  629. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  630. { "Name": "评测看板", "Url": "dataBoardTest", "style": { "cssText": "background-image:url(/img/icon/databoardTest.png)" } },
  631. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  632. { "Name": "教师管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  633. { "Name": "教师中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  634. ];
  635. //教科院实小教师桌面图标的全局变量
  636. U.MD.D.I.siesStudentDeskIcon = [
  637. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  638. { "Name": "项目管理", "Url": "studentCourse", "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": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  641. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  642. ];
  643. //福田
  644. U.MD.D.I.gdjgTeacherDeskIcon = [
  645. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  646. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  647. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  648. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  649. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  650. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  651. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  652. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  653. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  654. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  655. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  656. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  657. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  658. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  659. ];
  660. //gdjg
  661. U.MD.D.I.gdjgAdminDeskIcon = [
  662. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  663. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  664. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  665. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  666. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  667. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  668. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  669. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  670. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  671. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  672. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  673. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  674. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  675. ];
  676. //hk
  677. U.MD.D.I.hkteacherDeskIcon = [
  678. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  679. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  680. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  681. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  682. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  683. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  684. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  685. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  686. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  687. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  688. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  689. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  690. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  691. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  692. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  693. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  694. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  695. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  696. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  697. ];
  698. //hk
  699. U.MD.D.I.hkStudentDeskIcon = [
  700. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  701. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  702. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  703. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  704. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  705. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  706. ];
  707. //hk
  708. U.MD.D.I.hkaceteacherDeskIcon = [
  709. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  710. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  711. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  712. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  713. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  714. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  715. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  716. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  717. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  718. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  719. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  720. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  721. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  722. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  723. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  724. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  725. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  726. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  727. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  728. ];
  729. //hk
  730. U.MD.D.I.hkaceStudentDeskIcon = [
  731. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  732. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  733. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  734. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  735. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  736. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  737. ];
  738. //香海正覺蓮社佛教正覺中學
  739. U.MD.D.I.hkZJLSteacherDeskIcon = [
  740. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  741. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  742. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  743. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  744. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  745. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  746. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  747. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  748. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  749. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  750. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  751. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  752. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  753. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  754. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  755. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  756. ];
  757. //香海正覺蓮社佛教正覺中學
  758. U.MD.D.I.hkZJLSStudentDeskIcon = [
  759. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  760. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  761. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  762. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  763. ];
  764. //云海
  765. U.MD.D.I.yunhaiTeacherDeskIcon = [
  766. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  767. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  768. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  769. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  770. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  771. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  772. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  773. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  774. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  775. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  776. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  777. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  778. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  779. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  780. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  781. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  782. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  783. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  784. ];
  785. //福田
  786. U.MD.D.I.heyuanTeacherDeskIcon = [
  787. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  788. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  789. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  790. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  791. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  792. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  793. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  794. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  795. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  796. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  797. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  798. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  799. ];
  800. //福田
  801. U.MD.D.I.heyuanAdminDeskIcon = [
  802. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  803. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  804. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  805. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  806. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  807. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  808. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  809. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  810. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  811. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  812. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  813. ];
  814. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  815. U.MD.D.I.szherTeacherDeskIcon = [
  816. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  817. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  818. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  819. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  820. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  821. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  822. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  823. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  824. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  825. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  826. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  827. ];
  828. //dsei
  829. U.MD.D.I.dseiTeacherDeskIcon = [
  830. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  831. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  832. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  833. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  834. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  835. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  836. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  837. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  838. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  839. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  840. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  841. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  842. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  843. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  844. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  845. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  846. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  847. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  848. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  849. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  850. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  851. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  852. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  853. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  854. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  855. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  856. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  857. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  858. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  859. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  860. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  861. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  862. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  863. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  864. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  865. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  866. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  867. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  868. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  869. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  870. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  871. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  872. ];
  873. //dsei
  874. U.MD.D.I.dseiAdminDeskIcon = [
  875. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  876. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  877. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  878. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  879. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  880. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  881. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  882. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  883. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  884. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  885. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  886. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  887. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  888. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  889. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  890. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  891. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  892. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  893. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  894. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  895. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  896. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  897. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  898. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  899. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  900. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  901. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  902. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  903. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  904. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  905. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  906. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  907. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  908. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  909. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  910. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  911. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.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. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  916. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  917. ];
  918. //dsei
  919. U.MD.D.I.dseiStudentDeskIcon = [
  920. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  921. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  922. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  923. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  924. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  925. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  926. ];
  927. //未来教育基地
  928. U.MD.D.I.szjkyTeacherDeskIcon = [
  929. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  930. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  931. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  932. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  933. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  934. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  935. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  936. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  937. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  938. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  939. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  940. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  941. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  942. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  943. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  944. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  945. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  946. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  947. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  948. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  949. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  950. ];
  951. //未来教育基地
  952. U.MD.D.I.szjkyAdminDeskIcon = [
  953. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  954. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  955. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  956. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  957. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  958. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  959. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  960. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  961. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  962. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  963. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  964. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  965. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  966. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  967. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  968. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  969. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  970. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  971. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  972. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  973. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  974. ];
  975. //未来教育基地
  976. U.MD.D.I.szjkyStudentDeskIcon = [
  977. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  978. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  979. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  980. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  981. ];
  982. //成华教育局
  983. U.MD.D.I.chjyjTeacherDeskIcon = [
  984. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  985. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  986. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  987. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  988. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  989. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  990. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  991. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  992. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  993. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  994. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  995. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  996. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  997. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  998. ];
  999. //成华教育局chjyj
  1000. U.MD.D.I.chjyjAdminDeskIcon = [
  1001. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1002. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1003. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1004. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1005. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1006. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1007. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1008. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1009. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1010. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1011. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1012. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1013. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1014. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1015. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1016. ];
  1017. //成华教育局chjyj
  1018. U.MD.D.I.chjyjStudentDeskIcon = [
  1019. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1020. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1021. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1022. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1023. ];
  1024. //tpc
  1025. U.MD.D.I.tpcStudentDeskIcon = [
  1026. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1027. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1028. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1029. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1030. ];
  1031. //tpc
  1032. U.MD.D.I.tpcTeacherDeskIcon = [
  1033. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1034. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1035. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1036. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1037. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1038. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1039. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1040. ];
  1041. //tpc
  1042. U.MD.D.I.tpcAdminDeskIcon = [
  1043. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1044. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1045. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1046. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1047. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1048. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1049. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1050. ];
  1051. //THU-IOE
  1052. U.MD.D.I.thuioeTeacherDeskIcon = [
  1053. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1054. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1055. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1056. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1057. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1058. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1059. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1060. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1061. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1062. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1063. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1064. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1065. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1066. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1067. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1068. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1069. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1070. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1071. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1072. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1073. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1074. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1075. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1076. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1077. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1078. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1079. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1080. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1081. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1082. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1083. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1084. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1085. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1086. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1087. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1088. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1089. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1090. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1091. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1092. ];
  1093. //THU-IOE
  1094. U.MD.D.I.thuioeStudentDeskIcon = [
  1095. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1096. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1097. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1098. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1099. ];
  1100. //jccssyl
  1101. U.MD.D.I.jccssylTeacherDeskIcon = [
  1102. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1103. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1104. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1105. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1106. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1107. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1108. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1109. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1110. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1111. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1112. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1113. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1114. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1115. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1116. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1117. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1118. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1119. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1120. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1121. ];
  1122. //jccssyl
  1123. U.MD.D.I.jccssylStudentDeskIcon = [
  1124. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1125. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1126. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1127. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1128. ];
  1129. //cale
  1130. U.MD.D.I.caleTeacherDeskIcon = [
  1131. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1132. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1133. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1134. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1135. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1136. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1137. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1138. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1139. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1140. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1141. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1142. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1143. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1144. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1145. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1146. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1147. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1148. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1149. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1150. ];
  1151. //cale
  1152. U.MD.D.I.caleStudentDeskIcon = [
  1153. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1154. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1155. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1156. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1157. ];
  1158. //lqwmsgzs
  1159. U.MD.D.I.lqwmsgzsTeacherDeskIcon = [
  1160. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1161. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1162. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1163. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1164. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1165. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1166. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1167. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1168. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1169. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1170. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1171. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1172. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1173. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1174. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1175. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1176. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1177. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1178. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1179. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1180. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1181. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1182. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1183. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1184. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1185. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1186. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1187. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1188. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1189. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1190. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1191. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1192. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1193. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1194. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1195. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1196. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1197. ];
  1198. //lqwmsgzs
  1199. U.MD.D.I.lqwmsgzsStudentDeskIcon = [
  1200. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1201. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1202. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1203. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1204. ];
  1205. //盐田区幼儿园
  1206. U.MD.D.I.ytyTeacherDeskIcon = [
  1207. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1208. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1209. { "Name": "课程评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1210. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1211. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1212. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1213. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1214. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1215. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1216. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1217. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1218. { "Name": "观察记录", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1219. ];
  1220. //盐田区幼儿园
  1221. U.MD.D.I.ytyStudentDeskIcon = [
  1222. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1223. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1224. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1225. ];
  1226. //#region 桌面初始化a
  1227. /**
  1228. * 初始化桌面的起始函数
  1229. *
  1230. */
  1231. U.MD.D.I.init = function () {
  1232. if ($("#U_MD_D_K")[0]) {
  1233. //初始化桌面图标
  1234. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1235. // var clickUrl = ':12588/requestIp.php';
  1236. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1237. // U.MD.D.I.Ip = data;
  1238. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1239. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1240. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1241. // })
  1242. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1243. // })
  1244. }
  1245. }
  1246. /**
  1247. * 模式切换
  1248. *
  1249. */
  1250. U.MD.D.I.ModeCheck = function (type) {
  1251. if (US.Config.type == type) {
  1252. return
  1253. }
  1254. US.Config.type = type
  1255. $('.U_PBL_Check .active')[0].className = ''
  1256. if (type == 1) {
  1257. $('.U_PBL_Check div')[0].className = 'active'
  1258. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1259. } else {
  1260. $('.U_PBL_Check div')[1].className = 'active'
  1261. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1262. }
  1263. //初始化桌面图标
  1264. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1265. if (type == 2) {
  1266. U.MD.D.I.openApplication("project")
  1267. }
  1268. }
  1269. /**
  1270. * 隐藏任务栏
  1271. *
  1272. * @param {element} 桌面元素
  1273. */
  1274. U.MD.D.I.hiddenTaskbar = function (el) {
  1275. //任务栏位置变小
  1276. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1277. //桌面的位置变大
  1278. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1279. }
  1280. /**
  1281. * 隐藏任务栏
  1282. *
  1283. * @param {element} 桌面元素
  1284. */
  1285. U.MD.D.I.hiddenTaskbarout = function (el) {
  1286. //任务栏位置变小
  1287. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1288. //任务栏位置变化
  1289. U.selectEl(el).css({ "bottom": "-60px" });
  1290. //桌面的位置变大
  1291. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1292. }
  1293. }
  1294. /**
  1295. * 初始化打印桌面图标
  1296. *
  1297. * @param {element} 桌面元素
  1298. */
  1299. U.MD.D.I.initDesktopIcons = function (el, type) {
  1300. var i, //用于循环
  1301. _content, //桌面图标元素
  1302. _iconcontent, //桌面图标元素
  1303. _frag = $$("frag"), //定义一个碎片元素
  1304. _type = US.userInfo.type,
  1305. _org = US.userInfo.org,
  1306. _oid = US.userInfo.organizeid,
  1307. _role = US.userInfo.role,
  1308. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1309. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1310. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1311. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1312. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1313. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1314. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1315. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1316. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1317. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1318. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1319. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1320. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1321. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1322. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1323. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1324. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1325. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1326. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1327. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1328. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1329. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1330. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1331. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1332. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1333. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1334. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1335. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1336. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1337. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1338. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1339. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1340. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1341. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1342. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1343. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1344. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1345. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1346. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1347. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1348. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1349. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1350. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1351. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1352. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1353. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1354. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1355. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1356. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1357. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1358. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1359. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1360. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1361. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1362. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1363. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1364. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1365. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1366. _caleStudentDeskIconInfo = U.MD.D.I.caleStudentDeskIcon, // jccssyl
  1367. _caleTeacherDeskIconInfo = U.MD.D.I.caleTeacherDeskIcon, // jccssyl
  1368. _lqwmsgzsStudentDeskIconInfo = U.MD.D.I.lqwmsgzsStudentDeskIcon, // lqwmsgzs
  1369. _lqwmsgzsTeacherDeskIconInfo = U.MD.D.I.lqwmsgzsTeacherDeskIcon, // lqwmsgzs
  1370. _ytyStudentDeskIconInfo = U.MD.D.I.ytyStudentDeskIcon, // 盐田幼儿园
  1371. _ytyTeacherDeskIconInfo = U.MD.D.I.ytyTeacherDeskIcon, // 盐田幼儿园
  1372. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1373. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1374. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1375. var _oidA = ['69893dca-1d47-11ed-8c78-005056b86db5', "91305d49-01ba-11ed-8c78-005056b86db5", "d9db3320-503a-11ed-8c78-005056b86db5", "05b62310-8cda-11ed-b13d-005056b86db5", '1c3b9def-8fbe-11ed-b13d-005056b86db5', '91305d49-01ba-11ed-8c78-005056b86db4', 'ea2a8c65-f38c-11ed-91d8-005056b86db5', '4c686762-1d0a-11ed-8c78-005056b86db5', 'b1095a3c-1d06-4ac8-854f-7c0d97f4ab41', '206c38d2-0cbe-11ee-91d8-005056b86db5', '2f30fe58-a94f-11ee-b534-005056b86db5', 'eaba9110-d1eb-11ee-b534-005056b86db5'];
  1376. var _orgA = ["7ada499f-4ec7-11ed-8c78-005056b86db5", "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d", "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b", "150e3120-9195-11ed-b13d-005056b86db5", "ee40e8e3-e36c-4872-8105-cf395481012s", '97c4ee8b-d010-4042-986d-e9d3c217264f', 'ec0af97a-7c10-4259-a7eb-db9cc8174cdc', '4df1b570-f6ac-48fc-8d50-d0b157dae776', 'e632b86c-f89d-11ed-91d8-005056b86db5', 'b50cf65a-001c-11ee-91d8-005056b86db5', '578de748-05d2-11ee-91d8-005056b86db5', '54f09f1e-09f0-11ee-91d8-005056b86db5', '7b016f69-0f4f-11ee-91d8-005056b86db5', '1973f6c7-1561-11ee-91d8-005056b86db5', '2fa75e51-189a-11ee-91d8-005056b86db5', 'a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956', 'fbb00cc1-380b-4173-add4-59b3cf7682b5', '63060b4a-89dc-4f0c-bf04-a1de22d479ff', '777559d2-7239-11ee-b98c-005056b86db5', '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344'];
  1377. //清楚桌面图标
  1378. el.innerHTML = "";
  1379. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1380. _teacherDesktopIconInfo.push(
  1381. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1382. { "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)" } },
  1383. )
  1384. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1385. }
  1386. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1387. _teacherDesktopIconInfo.push(
  1388. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1389. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1390. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1391. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1392. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1393. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1394. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1395. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1396. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1397. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1398. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1399. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1400. { "Name": "观察记录", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1401. )
  1402. }
  1403. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1404. // _teacherDesktopIconInfo.push(
  1405. // )
  1406. // }
  1407. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1408. _teacherDesktopIconInfo.push(
  1409. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1410. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1411. )
  1412. }
  1413. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1414. _teacherDesktopIconInfo.push(
  1415. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1416. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1417. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1418. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1419. )
  1420. _studentDesktopIconInfo.push(
  1421. )
  1422. }
  1423. if (_org == '1ef7bdf6-c300-11ed-8d51-005056b86db5') {
  1424. _teacherDesktopIconInfo.push(
  1425. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1426. )
  1427. _studentDesktopIconInfo.push(
  1428. )
  1429. }
  1430. //麒麟二中 和 民新小学
  1431. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1432. _teacherDesktopIconInfo.push(
  1433. )
  1434. }
  1435. if (_oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1436. _teacherDesktopIconInfo.push(
  1437. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1438. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1439. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1440. )
  1441. }
  1442. if (_oid == "215340ee-8f22-11ee-b98c-005056b86db5") {
  1443. _teacherDesktopIconInfo.push(
  1444. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1445. )
  1446. }
  1447. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1448. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1449. _teacherDesktopIconInfo.push(
  1450. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1451. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1452. )
  1453. }
  1454. //麒麟二中
  1455. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1456. _studentDesktopIconInfo.push(
  1457. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1458. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1459. )
  1460. }
  1461. //万科双语
  1462. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1463. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1464. if (el.Name == '项目管理') {
  1465. el.Name = 'PBL项目'
  1466. }
  1467. return el
  1468. })
  1469. _studentDesktopIconInfo3.push(
  1470. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1471. )
  1472. }
  1473. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1474. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1475. return el.Name != '魔盒识字' && el.Name != '24点'
  1476. })
  1477. }
  1478. 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) {
  1479. _studentDesktopIconInfo.push(
  1480. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1481. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1482. )
  1483. }
  1484. //循环创建桌面图标
  1485. if (type == 1) {
  1486. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1487. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1488. _content = $$("div", {
  1489. className: "U_MD_D_KO",
  1490. "onmousedown": U.UF.C.closure(function (obj) {
  1491. //防止拖动图标即打开了桌面应用
  1492. U.MD.D.click(this, obj);
  1493. }, [_studentDesktopIconInfo[i]]),
  1494. "onclick": U.UF.C.closure(function (obj) {
  1495. //防止拖动图标即打开了桌面应用
  1496. U.MD.D.click(this, obj);
  1497. }, [_studentDesktopIconInfo[i]])
  1498. }, _frag); //
  1499. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1500. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1501. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1502. }
  1503. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1504. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1505. _content = $$("div", {
  1506. className: "U_MD_D_KO",
  1507. "onmousedown": U.UF.C.closure(function (obj) {
  1508. //防止拖动图标即打开了桌面应用
  1509. U.MD.D.click(this, obj);
  1510. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1511. "onclick": U.UF.C.closure(function (obj) {
  1512. //防止拖动图标即打开了桌面应用
  1513. U.MD.D.click(this, obj);
  1514. }, [_hkZJLSStudentDeskIconInfo[i]])
  1515. }, _frag); //
  1516. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1517. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1518. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1519. } //
  1520. }else if (_type == 2 && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  1521. for (i = 0; i < _ytyStudentDeskIconInfo.length; i++) {
  1522. _content = $$("div", {
  1523. className: "U_MD_D_KO",
  1524. "onmousedown": U.UF.C.closure(function (obj) {
  1525. //防止拖动图标即打开了桌面应用
  1526. U.MD.D.click(this, obj);
  1527. }, [_ytyStudentDeskIconInfo[i]]),
  1528. "onclick": U.UF.C.closure(function (obj) {
  1529. //防止拖动图标即打开了桌面应用
  1530. U.MD.D.click(this, obj);
  1531. }, [_ytyStudentDeskIconInfo[i]])
  1532. }, _frag); //
  1533. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1534. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyStudentDeskIconInfo[i].style }, _iconcontent);
  1535. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyStudentDeskIconInfo[i].Name }, _iconcontent);
  1536. } //
  1537. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1538. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1539. _content = $$("div", {
  1540. className: "U_MD_D_KO",
  1541. "onmousedown": U.UF.C.closure(function (obj) {
  1542. //防止拖动图标即打开了桌面应用
  1543. U.MD.D.click(this, obj);
  1544. }, [_jccssylStudentDeskIconInfo[i]]),
  1545. "onclick": U.UF.C.closure(function (obj) {
  1546. //防止拖动图标即打开了桌面应用
  1547. U.MD.D.click(this, obj);
  1548. }, [_jccssylStudentDeskIconInfo[i]])
  1549. }, _frag); //
  1550. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1551. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1552. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1553. }
  1554. } else if (_type == 2 && (_org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344")) {
  1555. for (i = 0; i < _caleStudentDeskIconInfo.length; i++) {
  1556. _content = $$("div", {
  1557. className: "U_MD_D_KO",
  1558. "onmousedown": U.UF.C.closure(function (obj) {
  1559. //防止拖动图标即打开了桌面应用
  1560. U.MD.D.click(this, obj);
  1561. }, [_caleStudentDeskIconInfo[i]]),
  1562. "onclick": U.UF.C.closure(function (obj) {
  1563. //防止拖动图标即打开了桌面应用
  1564. U.MD.D.click(this, obj);
  1565. }, [_caleStudentDeskIconInfo[i]])
  1566. }, _frag); //
  1567. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1568. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleStudentDeskIconInfo[i].style }, _iconcontent);
  1569. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleStudentDeskIconInfo[i].Name }, _iconcontent);
  1570. }
  1571. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1572. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1573. _content = $$("div", {
  1574. className: "U_MD_D_KO",
  1575. "onmousedown": U.UF.C.closure(function (obj) {
  1576. //防止拖动图标即打开了桌面应用
  1577. U.MD.D.click(this, obj);
  1578. }, [_thuioeStudentDeskIconInfo[i]]),
  1579. "onclick": U.UF.C.closure(function (obj) {
  1580. //防止拖动图标即打开了桌面应用
  1581. U.MD.D.click(this, obj);
  1582. }, [_thuioeStudentDeskIconInfo[i]])
  1583. }, _frag); //
  1584. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1585. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1586. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1587. }
  1588. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1589. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1590. _content = $$("div", {
  1591. className: "U_MD_D_KO",
  1592. "onmousedown": U.UF.C.closure(function (obj) {
  1593. //防止拖动图标即打开了桌面应用
  1594. U.MD.D.click(this, obj);
  1595. }, [_tpcStudentDeskIconInfo[i]]),
  1596. "onclick": U.UF.C.closure(function (obj) {
  1597. //防止拖动图标即打开了桌面应用
  1598. U.MD.D.click(this, obj);
  1599. }, [_tpcStudentDeskIconInfo[i]])
  1600. }, _frag); //
  1601. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1602. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1603. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1604. } //
  1605. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1606. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1607. _content = $$("div", {
  1608. className: "U_MD_D_KO",
  1609. "onmousedown": U.UF.C.closure(function (obj) {
  1610. //防止拖动图标即打开了桌面应用
  1611. U.MD.D.click(this, obj);
  1612. }, [_chjyjStudentDeskIconInfo[i]]),
  1613. "onclick": U.UF.C.closure(function (obj) {
  1614. //防止拖动图标即打开了桌面应用
  1615. U.MD.D.click(this, obj);
  1616. }, [_chjyjStudentDeskIconInfo[i]])
  1617. }, _frag); //
  1618. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1619. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1620. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1621. }
  1622. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1623. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1624. _content = $$("div", {
  1625. className: "U_MD_D_KO",
  1626. "onmousedown": U.UF.C.closure(function (obj) {
  1627. //防止拖动图标即打开了桌面应用
  1628. U.MD.D.click(this, obj);
  1629. }, [_szjkyStudentDeskIconInfo[i]]),
  1630. "onclick": U.UF.C.closure(function (obj) {
  1631. //防止拖动图标即打开了桌面应用
  1632. U.MD.D.click(this, obj);
  1633. }, [_szjkyStudentDeskIconInfo[i]])
  1634. }, _frag); //
  1635. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1636. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1637. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1638. }
  1639. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1640. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1641. _content = $$("div", {
  1642. className: "U_MD_D_KO",
  1643. "onmousedown": U.UF.C.closure(function (obj) {
  1644. //防止拖动图标即打开了桌面应用
  1645. U.MD.D.click(this, obj);
  1646. }, [_dseiStudentDeskIconInfo[i]]),
  1647. "onclick": U.UF.C.closure(function (obj) {
  1648. //防止拖动图标即打开了桌面应用
  1649. U.MD.D.click(this, obj);
  1650. }, [_dseiStudentDeskIconInfo[i]])
  1651. }, _frag); //
  1652. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1653. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1654. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1655. }
  1656. } else if (_type == 2 && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1657. for (i = 0; i < _lqwmsgzsStudentDeskIconInfo.length; i++) {
  1658. _content = $$("div", {
  1659. className: "U_MD_D_KO",
  1660. "onmousedown": U.UF.C.closure(function (obj) {
  1661. //防止拖动图标即打开了桌面应用
  1662. U.MD.D.click(this, obj);
  1663. }, [_lqwmsgzsStudentDeskIconInfo[i]]),
  1664. "onclick": U.UF.C.closure(function (obj) {
  1665. //防止拖动图标即打开了桌面应用
  1666. U.MD.D.click(this, obj);
  1667. }, [_lqwmsgzsStudentDeskIconInfo[i]])
  1668. }, _frag); //
  1669. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1670. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsStudentDeskIconInfo[i].style }, _iconcontent);
  1671. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsStudentDeskIconInfo[i].Name }, _iconcontent);
  1672. }
  1673. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1674. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1675. _content = $$("div", {
  1676. className: "U_MD_D_KO",
  1677. "onmousedown": U.UF.C.closure(function (obj) {
  1678. //防止拖动图标即打开了桌面应用
  1679. U.MD.D.click(this, obj);
  1680. }, [_siesStudentDeskIconInfo[i]]),
  1681. "onclick": U.UF.C.closure(function (obj) {
  1682. //防止拖动图标即打开了桌面应用
  1683. U.MD.D.click(this, obj);
  1684. }, [_siesStudentDeskIconInfo[i]])
  1685. }, _frag); //
  1686. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1687. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1688. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1689. }
  1690. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1691. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1692. _content = $$("div", {
  1693. className: "U_MD_D_KO",
  1694. "onmousedown": U.UF.C.closure(function (obj) {
  1695. //防止拖动图标即打开了桌面应用
  1696. U.MD.D.click(this, obj);
  1697. }, [_hkStudentDeskIconInfo[i]]),
  1698. "onclick": U.UF.C.closure(function (obj) {
  1699. //防止拖动图标即打开了桌面应用
  1700. U.MD.D.click(this, obj);
  1701. }, [_hkStudentDeskIconInfo[i]])
  1702. }, _frag); //
  1703. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1704. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1705. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1706. }
  1707. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1708. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1709. _content = $$("div", {
  1710. className: "U_MD_D_KO",
  1711. "onmousedown": U.UF.C.closure(function (obj) {
  1712. //防止拖动图标即打开了桌面应用
  1713. U.MD.D.click(this, obj);
  1714. }, [_hkaceStudentDeskIconInfo[i]]),
  1715. "onclick": U.UF.C.closure(function (obj) {
  1716. //防止拖动图标即打开了桌面应用
  1717. U.MD.D.click(this, obj);
  1718. }, [_hkaceStudentDeskIconInfo[i]])
  1719. }, _frag); //
  1720. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1721. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1722. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1723. }
  1724. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1725. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1726. _content = $$("div", {
  1727. className: "U_MD_D_KO",
  1728. "onmousedown": U.UF.C.closure(function (obj) {
  1729. //防止拖动图标即打开了桌面应用
  1730. U.MD.D.click(this, obj);
  1731. }, [_studentDesktopIconInfo[i]]),
  1732. "onclick": U.UF.C.closure(function (obj) {
  1733. //防止拖动图标即打开了桌面应用
  1734. U.MD.D.click(this, obj);
  1735. }, [_studentDesktopIconInfo[i]])
  1736. }, _frag); //
  1737. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1738. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1739. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1740. }
  1741. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1742. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1743. _content = $$("div", {
  1744. className: "U_MD_D_KO",
  1745. "onmousedown": U.UF.C.closure(function (obj) {
  1746. //防止拖动图标即打开了桌面应用
  1747. U.MD.D.click(this, obj);
  1748. }, [_tcStudentDeskIconInfo[i]]),
  1749. "onclick": U.UF.C.closure(function (obj) {
  1750. //防止拖动图标即打开了桌面应用
  1751. U.MD.D.click(this, obj);
  1752. }, [_tcStudentDeskIconInfo[i]])
  1753. }, _frag); //
  1754. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1755. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1756. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1757. }
  1758. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1759. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1760. _content = $$("div", {
  1761. className: "U_MD_D_KO",
  1762. "onmousedown": U.UF.C.closure(function (obj) {
  1763. //防止拖动图标即打开了桌面应用
  1764. U.MD.D.click(this, obj);
  1765. }, [_szscStudentDeskIconInfo[i]]),
  1766. "onclick": U.UF.C.closure(function (obj) {
  1767. //防止拖动图标即打开了桌面应用
  1768. U.MD.D.click(this, obj);
  1769. }, [_szscStudentDeskIconInfo[i]])
  1770. }, _frag); //
  1771. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1772. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1773. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1774. }
  1775. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1776. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1777. _content = $$("div", {
  1778. className: "U_MD_D_KO",
  1779. "onmousedown": U.UF.C.closure(function (obj) {
  1780. //防止拖动图标即打开了桌面应用
  1781. U.MD.D.click(this, obj);
  1782. }, [_studentDesktopIconInfo3[i]]),
  1783. "onclick": U.UF.C.closure(function (obj) {
  1784. //防止拖动图标即打开了桌面应用
  1785. U.MD.D.click(this, obj);
  1786. }, [_studentDesktopIconInfo3[i]])
  1787. }, _frag); //
  1788. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1789. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1790. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1791. }
  1792. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1793. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1794. _content = $$("div", {
  1795. className: "U_MD_D_KO",
  1796. "onmousedown": U.UF.C.closure(function (obj) {
  1797. //防止拖动图标即打开了桌面应用
  1798. U.MD.D.click(this, obj);
  1799. }, [_studentDesktopIconInfo2[i]]),
  1800. "onclick": U.UF.C.closure(function (obj) {
  1801. //防止拖动图标即打开了桌面应用
  1802. U.MD.D.click(this, obj);
  1803. }, [_studentDesktopIconInfo2[i]])
  1804. }, _frag); //
  1805. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1806. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1807. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1808. }
  1809. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1810. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1811. _content = $$("div", {
  1812. className: "U_MD_D_KO",
  1813. "onmousedown": U.UF.C.closure(function (obj) {
  1814. //防止拖动图标即打开了桌面应用
  1815. U.MD.D.click(this, obj);
  1816. }, [_wanketeacherDesktopIconInfo[i]]),
  1817. "onclick": U.UF.C.closure(function (obj) {
  1818. //防止拖动图标即打开了桌面应用
  1819. U.MD.D.click(this, obj);
  1820. }, [_wanketeacherDesktopIconInfo[i]])
  1821. }, _frag); //
  1822. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1823. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1824. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1825. }
  1826. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1827. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1828. _content = $$("div", {
  1829. className: "U_MD_D_KO",
  1830. "onmousedown": U.UF.C.closure(function (obj) {
  1831. //防止拖动图标即打开了桌面应用
  1832. U.MD.D.click(this, obj);
  1833. }, [_wankeAdminDesktopIconInfo[i]]),
  1834. "onclick": U.UF.C.closure(function (obj) {
  1835. //防止拖动图标即打开了桌面应用
  1836. U.MD.D.click(this, obj);
  1837. }, [_wankeAdminDesktopIconInfo[i]])
  1838. }, _frag); //
  1839. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1840. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1841. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1842. }
  1843. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1844. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1845. _content = $$("div", {
  1846. className: "U_MD_D_KO",
  1847. "onmousedown": U.UF.C.closure(function (obj) {
  1848. //防止拖动图标即打开了桌面应用
  1849. U.MD.D.click(this, obj);
  1850. }, [_jccssylTeacherDeskIconInfo[i]]),
  1851. "onclick": U.UF.C.closure(function (obj) {
  1852. //防止拖动图标即打开了桌面应用
  1853. U.MD.D.click(this, obj);
  1854. }, [_jccssylTeacherDeskIconInfo[i]])
  1855. }, _frag); //
  1856. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1857. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1858. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1859. }
  1860. } else if ((_type == 1 || _type == 4) && _org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344") {
  1861. for (i = 0; i < _caleTeacherDeskIconInfo.length; i++) {
  1862. _content = $$("div", {
  1863. className: "U_MD_D_KO",
  1864. "onmousedown": U.UF.C.closure(function (obj) {
  1865. //防止拖动图标即打开了桌面应用
  1866. U.MD.D.click(this, obj);
  1867. }, [_caleTeacherDeskIconInfo[i]]),
  1868. "onclick": U.UF.C.closure(function (obj) {
  1869. //防止拖动图标即打开了桌面应用
  1870. U.MD.D.click(this, obj);
  1871. }, [_caleTeacherDeskIconInfo[i]])
  1872. }, _frag); //
  1873. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1874. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleTeacherDeskIconInfo[i].style }, _iconcontent);
  1875. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleTeacherDeskIconInfo[i].Name }, _iconcontent);
  1876. }
  1877. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1878. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1879. _content = $$("div", {
  1880. className: "U_MD_D_KO",
  1881. "onmousedown": U.UF.C.closure(function (obj) {
  1882. //防止拖动图标即打开了桌面应用
  1883. U.MD.D.click(this, obj);
  1884. }, [_tpcOrganizerDeskIconInfo[i]]),
  1885. "onclick": U.UF.C.closure(function (obj) {
  1886. //防止拖动图标即打开了桌面应用
  1887. U.MD.D.click(this, obj);
  1888. }, [_tpcOrganizerDeskIconInfo[i]])
  1889. }, _frag); //
  1890. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1891. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1892. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1893. }
  1894. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1895. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1896. _content = $$("div", {
  1897. className: "U_MD_D_KO",
  1898. "onmousedown": U.UF.C.closure(function (obj) {
  1899. //防止拖动图标即打开了桌面应用
  1900. U.MD.D.click(this, obj);
  1901. }, [_tpcTeacherDeskIconInfo[i]]),
  1902. "onclick": U.UF.C.closure(function (obj) {
  1903. //防止拖动图标即打开了桌面应用
  1904. U.MD.D.click(this, obj);
  1905. }, [_tpcTeacherDeskIconInfo[i]])
  1906. }, _frag); //
  1907. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1908. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1909. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1910. }
  1911. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1912. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1913. _content = $$("div", {
  1914. className: "U_MD_D_KO",
  1915. "onmousedown": U.UF.C.closure(function (obj) {
  1916. //防止拖动图标即打开了桌面应用
  1917. U.MD.D.click(this, obj);
  1918. }, [_teacherDesktopIconInfo2[i]]),
  1919. "onclick": U.UF.C.closure(function (obj) {
  1920. //防止拖动图标即打开了桌面应用
  1921. U.MD.D.click(this, obj);
  1922. }, [_teacherDesktopIconInfo2[i]])
  1923. }, _frag); //
  1924. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1925. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1926. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1927. }
  1928. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1929. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1930. _content = $$("div", {
  1931. className: "U_MD_D_KO",
  1932. "onmousedown": U.UF.C.closure(function (obj) {
  1933. //防止拖动图标即打开了桌面应用
  1934. U.MD.D.click(this, obj);
  1935. }, [_thuioeTeacherDeskIconInfo[i]]),
  1936. "onclick": U.UF.C.closure(function (obj) {
  1937. //防止拖动图标即打开了桌面应用
  1938. U.MD.D.click(this, obj);
  1939. }, [_thuioeTeacherDeskIconInfo[i]])
  1940. }, _frag); //
  1941. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1942. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1943. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1944. }
  1945. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1946. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1947. _content = $$("div", {
  1948. className: "U_MD_D_KO",
  1949. "onmousedown": U.UF.C.closure(function (obj) {
  1950. //防止拖动图标即打开了桌面应用
  1951. U.MD.D.click(this, obj);
  1952. }, [_lotechTeacherDeskIconInfo[i]]),
  1953. "onclick": U.UF.C.closure(function (obj) {
  1954. //防止拖动图标即打开了桌面应用
  1955. U.MD.D.click(this, obj);
  1956. }, [_lotechTeacherDeskIconInfo[i]])
  1957. }, _frag); //
  1958. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1959. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1960. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1961. }//
  1962. } else if ((_type == 1 || _type == 4) && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1963. for (i = 0; i < _lqwmsgzsTeacherDeskIconInfo.length; i++) {
  1964. _content = $$("div", {
  1965. className: "U_MD_D_KO",
  1966. "onmousedown": U.UF.C.closure(function (obj) {
  1967. //防止拖动图标即打开了桌面应用
  1968. U.MD.D.click(this, obj);
  1969. }, [_lqwmsgzsTeacherDeskIconInfo[i]]),
  1970. "onclick": U.UF.C.closure(function (obj) {
  1971. //防止拖动图标即打开了桌面应用
  1972. U.MD.D.click(this, obj);
  1973. }, [_lqwmsgzsTeacherDeskIconInfo[i]])
  1974. }, _frag); //
  1975. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1976. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsTeacherDeskIconInfo[i].style }, _iconcontent);
  1977. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsTeacherDeskIconInfo[i].Name }, _iconcontent);
  1978. }
  1979. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1980. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1981. _content = $$("div", {
  1982. className: "U_MD_D_KO",
  1983. "onmousedown": U.UF.C.closure(function (obj) {
  1984. //防止拖动图标即打开了桌面应用
  1985. U.MD.D.click(this, obj);
  1986. }, [_siesTeacherDeskIconInfo[i]]),
  1987. "onclick": U.UF.C.closure(function (obj) {
  1988. //防止拖动图标即打开了桌面应用
  1989. U.MD.D.click(this, obj);
  1990. }, [_siesTeacherDeskIconInfo[i]])
  1991. }, _frag); //
  1992. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1993. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1994. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1995. }
  1996. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1997. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1998. _content = $$("div", {
  1999. className: "U_MD_D_KO",
  2000. "onmousedown": U.UF.C.closure(function (obj) {
  2001. //防止拖动图标即打开了桌面应用
  2002. U.MD.D.click(this, obj);
  2003. }, [_longhuaTeacherDeskIconInfo[i]]),
  2004. "onclick": U.UF.C.closure(function (obj) {
  2005. //防止拖动图标即打开了桌面应用
  2006. U.MD.D.click(this, obj);
  2007. }, [_longhuaTeacherDeskIconInfo[i]])
  2008. }, _frag); //
  2009. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2010. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  2011. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  2012. }
  2013. } else if ((_type == 1 || _type == 4) && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  2014. for (i = 0; i < _ytyTeacherDeskIconInfo.length; i++) {
  2015. _content = $$("div", {
  2016. className: "U_MD_D_KO",
  2017. "onmousedown": U.UF.C.closure(function (obj) {
  2018. //防止拖动图标即打开了桌面应用
  2019. U.MD.D.click(this, obj);
  2020. }, [_ytyTeacherDeskIconInfo[i]]),
  2021. "onclick": U.UF.C.closure(function (obj) {
  2022. //防止拖动图标即打开了桌面应用
  2023. U.MD.D.click(this, obj);
  2024. }, [_ytyTeacherDeskIconInfo[i]])
  2025. }, _frag); //
  2026. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2027. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyTeacherDeskIconInfo[i].style }, _iconcontent);
  2028. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2029. }
  2030. }else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  2031. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  2032. _content = $$("div", {
  2033. className: "U_MD_D_KO",
  2034. "onmousedown": U.UF.C.closure(function (obj) {
  2035. //防止拖动图标即打开了桌面应用
  2036. U.MD.D.click(this, obj);
  2037. }, [_yunhaiTeacherDeskIconInfo[i]]),
  2038. "onclick": U.UF.C.closure(function (obj) {
  2039. //防止拖动图标即打开了桌面应用
  2040. U.MD.D.click(this, obj);
  2041. }, [_yunhaiTeacherDeskIconInfo[i]])
  2042. }, _frag); //
  2043. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2044. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  2045. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2046. } //_hkStudentDeskIconInfo
  2047. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  2048. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  2049. _content = $$("div", {
  2050. className: "U_MD_D_KO",
  2051. "onmousedown": U.UF.C.closure(function (obj) {
  2052. //防止拖动图标即打开了桌面应用
  2053. U.MD.D.click(this, obj);
  2054. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  2055. "onclick": U.UF.C.closure(function (obj) {
  2056. //防止拖动图标即打开了桌面应用
  2057. U.MD.D.click(this, obj);
  2058. }, [_hkZJLSTeacherDeskIconInfo[i]])
  2059. }, _frag); //
  2060. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2061. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  2062. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  2063. }
  2064. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  2065. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  2066. _content = $$("div", {
  2067. className: "U_MD_D_KO",
  2068. "onmousedown": U.UF.C.closure(function (obj) {
  2069. //防止拖动图标即打开了桌面应用
  2070. U.MD.D.click(this, obj);
  2071. }, [_hkTeacherDeskIconInfo[i]]),
  2072. "onclick": U.UF.C.closure(function (obj) {
  2073. //防止拖动图标即打开了桌面应用
  2074. U.MD.D.click(this, obj);
  2075. }, [_hkTeacherDeskIconInfo[i]])
  2076. }, _frag); //
  2077. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2078. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  2079. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  2080. }
  2081. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  2082. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  2083. _content = $$("div", {
  2084. className: "U_MD_D_KO",
  2085. "onmousedown": U.UF.C.closure(function (obj) {
  2086. //防止拖动图标即打开了桌面应用
  2087. U.MD.D.click(this, obj);
  2088. }, [_hkaceTeacherDeskIconInfo[i]]),
  2089. "onclick": U.UF.C.closure(function (obj) {
  2090. //防止拖动图标即打开了桌面应用
  2091. U.MD.D.click(this, obj);
  2092. }, [_hkaceTeacherDeskIconInfo[i]])
  2093. }, _frag); //
  2094. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2095. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  2096. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  2097. }
  2098. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  2099. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  2100. _content = $$("div", {
  2101. className: "U_MD_D_KO",
  2102. "onmousedown": U.UF.C.closure(function (obj) {
  2103. //防止拖动图标即打开了桌面应用
  2104. U.MD.D.click(this, obj);
  2105. }, [_gdjgAdminDeskIconInfo[i]]),
  2106. "onclick": U.UF.C.closure(function (obj) {
  2107. //防止拖动图标即打开了桌面应用
  2108. U.MD.D.click(this, obj);
  2109. }, [_gdjgAdminDeskIconInfo[i]])
  2110. }, _frag); //
  2111. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2112. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  2113. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  2114. }
  2115. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  2116. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  2117. _content = $$("div", {
  2118. className: "U_MD_D_KO",
  2119. "onmousedown": U.UF.C.closure(function (obj) {
  2120. //防止拖动图标即打开了桌面应用
  2121. U.MD.D.click(this, obj);
  2122. }, [_gdjgTeacherDeskIconInfo[i]]),
  2123. "onclick": U.UF.C.closure(function (obj) {
  2124. //防止拖动图标即打开了桌面应用
  2125. U.MD.D.click(this, obj);
  2126. }, [_gdjgTeacherDeskIconInfo[i]])
  2127. }, _frag); //
  2128. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2129. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  2130. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  2131. }
  2132. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  2133. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  2134. _content = $$("div", {
  2135. className: "U_MD_D_KO",
  2136. "onmousedown": U.UF.C.closure(function (obj) {
  2137. //防止拖动图标即打开了桌面应用
  2138. U.MD.D.click(this, obj);
  2139. }, [_szherTeacherDeskIconInfo[i]]),
  2140. "onclick": U.UF.C.closure(function (obj) {
  2141. //防止拖动图标即打开了桌面应用
  2142. U.MD.D.click(this, obj);
  2143. }, [_szherTeacherDeskIconInfo[i]])
  2144. }, _frag); //
  2145. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2146. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  2147. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  2148. }
  2149. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  2150. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  2151. _content = $$("div", {
  2152. className: "U_MD_D_KO",
  2153. "onmousedown": U.UF.C.closure(function (obj) {
  2154. //防止拖动图标即打开了桌面应用
  2155. U.MD.D.click(this, obj);
  2156. }, [_heyuannAdminDeskIconInfo[i]]),
  2157. "onclick": U.UF.C.closure(function (obj) {
  2158. //防止拖动图标即打开了桌面应用
  2159. U.MD.D.click(this, obj);
  2160. }, [_heyuannAdminDeskIconInfo[i]])
  2161. }, _frag); //
  2162. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2163. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  2164. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  2165. }
  2166. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  2167. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  2168. _content = $$("div", {
  2169. className: "U_MD_D_KO",
  2170. "onmousedown": U.UF.C.closure(function (obj) {
  2171. //防止拖动图标即打开了桌面应用
  2172. U.MD.D.click(this, obj);
  2173. }, [_heyuanTeacherDeskIconInfo[i]]),
  2174. "onclick": U.UF.C.closure(function (obj) {
  2175. //防止拖动图标即打开了桌面应用
  2176. U.MD.D.click(this, obj);
  2177. }, [_heyuanTeacherDeskIconInfo[i]])
  2178. }, _frag); //
  2179. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2180. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  2181. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  2182. } //
  2183. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  2184. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  2185. _content = $$("div", {
  2186. className: "U_MD_D_KO",
  2187. "onmousedown": U.UF.C.closure(function (obj) {
  2188. //防止拖动图标即打开了桌面应用
  2189. U.MD.D.click(this, obj);
  2190. }, [_dseiAdminDeskIconInfo[i]]),
  2191. "onclick": U.UF.C.closure(function (obj) {
  2192. //防止拖动图标即打开了桌面应用
  2193. U.MD.D.click(this, obj);
  2194. }, [_dseiAdminDeskIconInfo[i]])
  2195. }, _frag); //
  2196. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2197. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  2198. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  2199. }
  2200. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  2201. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  2202. _content = $$("div", {
  2203. className: "U_MD_D_KO",
  2204. "onmousedown": U.UF.C.closure(function (obj) {
  2205. //防止拖动图标即打开了桌面应用
  2206. U.MD.D.click(this, obj);
  2207. }, [_dseiTeacherDeskIconInfo[i]]),
  2208. "onclick": U.UF.C.closure(function (obj) {
  2209. //防止拖动图标即打开了桌面应用
  2210. U.MD.D.click(this, obj);
  2211. }, [_dseiTeacherDeskIconInfo[i]])
  2212. }, _frag); //
  2213. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2214. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  2215. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2216. } //
  2217. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  2218. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  2219. _content = $$("div", {
  2220. className: "U_MD_D_KO",
  2221. "onmousedown": U.UF.C.closure(function (obj) {
  2222. //防止拖动图标即打开了桌面应用
  2223. U.MD.D.click(this, obj);
  2224. }, [_chjyjAdminDeskIconInfo[i]]),
  2225. "onclick": U.UF.C.closure(function (obj) {
  2226. //防止拖动图标即打开了桌面应用
  2227. U.MD.D.click(this, obj);
  2228. }, [_chjyjAdminDeskIconInfo[i]])
  2229. }, _frag); //
  2230. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2231. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  2232. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  2233. }//
  2234. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  2235. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  2236. _content = $$("div", {
  2237. className: "U_MD_D_KO",
  2238. "onmousedown": U.UF.C.closure(function (obj) {
  2239. //防止拖动图标即打开了桌面应用
  2240. U.MD.D.click(this, obj);
  2241. }, [_chjyjTeacherDeskIconInfo[i]]),
  2242. "onclick": U.UF.C.closure(function (obj) {
  2243. //防止拖动图标即打开了桌面应用
  2244. U.MD.D.click(this, obj);
  2245. }, [_chjyjTeacherDeskIconInfo[i]])
  2246. }, _frag); //
  2247. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2248. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2249. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2250. }
  2251. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2252. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2253. _content = $$("div", {
  2254. className: "U_MD_D_KO",
  2255. "onmousedown": U.UF.C.closure(function (obj) {
  2256. //防止拖动图标即打开了桌面应用
  2257. U.MD.D.click(this, obj);
  2258. }, [_szjkyAdminDeskIconInfo[i]]),
  2259. "onclick": U.UF.C.closure(function (obj) {
  2260. //防止拖动图标即打开了桌面应用
  2261. U.MD.D.click(this, obj);
  2262. }, [_szjkyAdminDeskIconInfo[i]])
  2263. }, _frag); //
  2264. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2265. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2266. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2267. }//
  2268. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2269. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2270. _content = $$("div", {
  2271. className: "U_MD_D_KO",
  2272. "onmousedown": U.UF.C.closure(function (obj) {
  2273. //防止拖动图标即打开了桌面应用
  2274. U.MD.D.click(this, obj);
  2275. }, [_szjkyTeacherDeskIconInfo[i]]),
  2276. "onclick": U.UF.C.closure(function (obj) {
  2277. //防止拖动图标即打开了桌面应用
  2278. U.MD.D.click(this, obj);
  2279. }, [_szjkyTeacherDeskIconInfo[i]])
  2280. }, _frag); //
  2281. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2282. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2283. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2284. }
  2285. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2286. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2287. _content = $$("div", {
  2288. className: "U_MD_D_KO",
  2289. "onmousedown": U.UF.C.closure(function (obj) {
  2290. //防止拖动图标即打开了桌面应用
  2291. U.MD.D.click(this, obj);
  2292. }, [_futianAdminDeskIconInfo[i]]),
  2293. "onclick": U.UF.C.closure(function (obj) {
  2294. //防止拖动图标即打开了桌面应用
  2295. U.MD.D.click(this, obj);
  2296. }, [_futianAdminDeskIconInfo[i]])
  2297. }, _frag); //
  2298. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2299. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2300. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2301. }
  2302. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2303. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2304. _content = $$("div", {
  2305. className: "U_MD_D_KO",
  2306. "onmousedown": U.UF.C.closure(function (obj) {
  2307. //防止拖动图标即打开了桌面应用
  2308. U.MD.D.click(this, obj);
  2309. }, [_futianTeacherDeskIconInfo[i]]),
  2310. "onclick": U.UF.C.closure(function (obj) {
  2311. //防止拖动图标即打开了桌面应用
  2312. U.MD.D.click(this, obj);
  2313. }, [_futianTeacherDeskIconInfo[i]])
  2314. }, _frag); //
  2315. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2316. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2317. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2318. }
  2319. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2320. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2321. _content = $$("div", {
  2322. className: "U_MD_D_KO",
  2323. "onmousedown": U.UF.C.closure(function (obj) {
  2324. //防止拖动图标即打开了桌面应用
  2325. U.MD.D.click(this, obj);
  2326. }, [_MingdeTeacherDeskIcon[i]]),
  2327. "onclick": U.UF.C.closure(function (obj) {
  2328. //防止拖动图标即打开了桌面应用
  2329. U.MD.D.click(this, obj);
  2330. }, [_MingdeTeacherDeskIcon[i]])
  2331. }, _frag); //
  2332. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2333. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2334. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2335. }
  2336. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2337. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2338. _content = $$("div", {
  2339. className: "U_MD_D_KO",
  2340. "onmousedown": U.UF.C.closure(function (obj) {
  2341. //防止拖动图标即打开了桌面应用
  2342. U.MD.D.click(this, obj);
  2343. }, [_lhsAdminDesktopIconInfo[i]]),
  2344. "onclick": U.UF.C.closure(function (obj) {
  2345. //防止拖动图标即打开了桌面应用
  2346. U.MD.D.click(this, obj);
  2347. }, [_lhsAdminDesktopIconInfo[i]])
  2348. }, _frag); //
  2349. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2350. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2351. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2352. }
  2353. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2354. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2355. _content = $$("div", {
  2356. className: "U_MD_D_KO",
  2357. "onmousedown": U.UF.C.closure(function (obj) {
  2358. //防止拖动图标即打开了桌面应用
  2359. U.MD.D.click(this, obj);
  2360. }, [_lhsteacherDesktopIconInfo[i]]),
  2361. "onclick": U.UF.C.closure(function (obj) {
  2362. //防止拖动图标即打开了桌面应用
  2363. U.MD.D.click(this, obj);
  2364. }, [_lhsteacherDesktopIconInfo[i]])
  2365. }, _frag); //
  2366. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2367. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2368. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2369. }
  2370. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2371. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2372. _content = $$("div", {
  2373. className: "U_MD_D_KO",
  2374. "onmousedown": U.UF.C.closure(function (obj) {
  2375. //防止拖动图标即打开了桌面应用
  2376. U.MD.D.click(this, obj);
  2377. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2378. "onclick": U.UF.C.closure(function (obj) {
  2379. //防止拖动图标即打开了桌面应用
  2380. U.MD.D.click(this, obj);
  2381. }, [_zhoujiateacherDesktopIconInfo[i]])
  2382. }, _frag); //
  2383. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2384. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2385. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2386. }
  2387. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2388. for (i = 0; i < _hanDeskIcon.length; i++) {
  2389. _content = $$("div", {
  2390. className: "U_MD_D_KO",
  2391. "onmousedown": U.UF.C.closure(function (obj) {
  2392. //防止拖动图标即打开了桌面应用
  2393. U.MD.D.click(this, obj);
  2394. }, [_hanDeskIcon[i]]),
  2395. "onclick": U.UF.C.closure(function (obj) {
  2396. //防止拖动图标即打开了桌面应用
  2397. U.MD.D.click(this, obj);
  2398. }, [_hanDeskIcon[i]])
  2399. }, _frag); //
  2400. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2401. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2402. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2403. }
  2404. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2405. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2406. _content = $$("div", {
  2407. className: "U_MD_D_KO",
  2408. "onmousedown": U.UF.C.closure(function (obj) {
  2409. //防止拖动图标即打开了桌面应用
  2410. U.MD.D.click(this, obj);
  2411. }, [_orgStemDeskIcon[i]]),
  2412. "onclick": U.UF.C.closure(function (obj) {
  2413. //防止拖动图标即打开了桌面应用
  2414. U.MD.D.click(this, obj);
  2415. }, [_orgStemDeskIcon[i]])
  2416. }, _frag); //
  2417. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2418. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2419. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2420. }
  2421. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2422. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2423. _content = $$("div", {
  2424. className: "U_MD_D_KO",
  2425. "onmousedown": U.UF.C.closure(function (obj) {
  2426. //防止拖动图标即打开了桌面应用
  2427. U.MD.D.click(this, obj);
  2428. }, [_szulsDeskIcon[i]]),
  2429. "onclick": U.UF.C.closure(function (obj) {
  2430. //防止拖动图标即打开了桌面应用
  2431. U.MD.D.click(this, obj);
  2432. }, [_szulsDeskIcon[i]])
  2433. }, _frag); //
  2434. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2435. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2436. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2437. }
  2438. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2439. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2440. _content = $$("div", {
  2441. className: "U_MD_D_KO",
  2442. "onmousedown": U.UF.C.closure(function (obj) {
  2443. //防止拖动图标即打开了桌面应用
  2444. U.MD.D.click(this, obj);
  2445. }, [_orgDesktopIconInfo[i]]),
  2446. "onclick": U.UF.C.closure(function (obj) {
  2447. //防止拖动图标即打开了桌面应用
  2448. U.MD.D.click(this, obj);
  2449. }, [_orgDesktopIconInfo[i]])
  2450. }, _frag); //
  2451. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2452. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2453. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2454. }
  2455. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2456. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2457. _content = $$("div", {
  2458. className: "U_MD_D_KO",
  2459. "onmousedown": U.UF.C.closure(function (obj) {
  2460. //防止拖动图标即打开了桌面应用
  2461. U.MD.D.click(this, obj);
  2462. }, [_schoolDesktopIconInfo[i]]),
  2463. "onclick": U.UF.C.closure(function (obj) {
  2464. //防止拖动图标即打开了桌面应用
  2465. U.MD.D.click(this, obj);
  2466. }, [_schoolDesktopIconInfo[i]])
  2467. }, _frag); //
  2468. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2469. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2470. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2471. }
  2472. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2473. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2474. _content = $$("div", {
  2475. className: "U_MD_D_KO",
  2476. "onmousedown": U.UF.C.closure(function (obj) {
  2477. //防止拖动图标即打开了桌面应用
  2478. U.MD.D.click(this, obj);
  2479. }, [_GMteacherDesktopIconInfo[i]]),
  2480. "onclick": U.UF.C.closure(function (obj) {
  2481. //防止拖动图标即打开了桌面应用
  2482. U.MD.D.click(this, obj);
  2483. }, [_GMteacherDesktopIconInfo[i]])
  2484. }, _frag); //
  2485. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2486. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2487. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2488. }
  2489. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2490. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2491. _content = $$("div", {
  2492. className: "U_MD_D_KO",
  2493. "onmousedown": U.UF.C.closure(function (obj) {
  2494. //防止拖动图标即打开了桌面应用
  2495. U.MD.D.click(this, obj);
  2496. }, [_SONGteacherDesktopIconInfo[i]]),
  2497. "onclick": U.UF.C.closure(function (obj) {
  2498. //防止拖动图标即打开了桌面应用
  2499. U.MD.D.click(this, obj);
  2500. }, [_SONGteacherDesktopIconInfo[i]])
  2501. }, _frag); //
  2502. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2503. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2504. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2505. }
  2506. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2507. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2508. _content = $$("div", {
  2509. className: "U_MD_D_KO",
  2510. "onmousedown": U.UF.C.closure(function (obj) {
  2511. //防止拖动图标即打开了桌面应用
  2512. U.MD.D.click(this, obj);
  2513. }, [_GMstudentDesktopIconInfo[i]]),
  2514. "onclick": U.UF.C.closure(function (obj) {
  2515. //防止拖动图标即打开了桌面应用
  2516. U.MD.D.click(this, obj);
  2517. }, [_GMstudentDesktopIconInfo[i]])
  2518. }, _frag); //
  2519. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2520. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2521. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2522. }
  2523. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2524. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2525. _content = $$("div", {
  2526. className: "U_MD_D_KO",
  2527. "onmousedown": U.UF.C.closure(function (obj) {
  2528. //防止拖动图标即打开了桌面应用
  2529. U.MD.D.click(this, obj);
  2530. }, [_tcTeacherDeskIconInfo[i]]),
  2531. "onclick": U.UF.C.closure(function (obj) {
  2532. //防止拖动图标即打开了桌面应用
  2533. U.MD.D.click(this, obj);
  2534. }, [_tcTeacherDeskIconInfo[i]])
  2535. }, _frag); //
  2536. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2537. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2538. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2539. }
  2540. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2541. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2542. _content = $$("div", {
  2543. className: "U_MD_D_KO",
  2544. "onmousedown": U.UF.C.closure(function (obj) {
  2545. //防止拖动图标即打开了桌面应用
  2546. U.MD.D.click(this, obj);
  2547. }, [_tcOrganizerDeskIconInfo[i]]),
  2548. "onclick": U.UF.C.closure(function (obj) {
  2549. //防止拖动图标即打开了桌面应用
  2550. U.MD.D.click(this, obj);
  2551. }, [_tcOrganizerDeskIconInfo[i]])
  2552. }, _frag); //
  2553. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2554. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2555. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2556. }
  2557. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2558. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2559. _content = $$("div", {
  2560. className: "U_MD_D_KO",
  2561. "onmousedown": U.UF.C.closure(function (obj) {
  2562. //防止拖动图标即打开了桌面应用
  2563. U.MD.D.click(this, obj);
  2564. }, [_szscTeacherDeskIconInfo[i]]),
  2565. "onclick": U.UF.C.closure(function (obj) {
  2566. //防止拖动图标即打开了桌面应用
  2567. U.MD.D.click(this, obj);
  2568. }, [_szscTeacherDeskIconInfo[i]])
  2569. }, _frag); //
  2570. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2571. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2572. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2573. }
  2574. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2575. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2576. _content = $$("div", {
  2577. className: "U_MD_D_KO",
  2578. "onmousedown": U.UF.C.closure(function (obj) {
  2579. //防止拖动图标即打开了桌面应用
  2580. U.MD.D.click(this, obj);
  2581. }, [_szscOrganizerDeskIconInfo[i]]),
  2582. "onclick": U.UF.C.closure(function (obj) {
  2583. //防止拖动图标即打开了桌面应用
  2584. U.MD.D.click(this, obj);
  2585. }, [_szscOrganizerDeskIconInfo[i]])
  2586. }, _frag); //
  2587. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2588. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2589. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2590. }
  2591. } else {
  2592. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2593. _content = $$("div", {
  2594. className: "U_MD_D_KO",
  2595. "onmousedown": U.UF.C.closure(function (obj) {
  2596. //防止拖动图标即打开了桌面应用
  2597. U.MD.D.click(this, obj);
  2598. }, [_teacherDesktopIconInfo[i]]),
  2599. "onclick": U.UF.C.closure(function (obj) {
  2600. //防止拖动图标即打开了桌面应用
  2601. U.MD.D.click(this, obj);
  2602. }, [_teacherDesktopIconInfo[i]])
  2603. }, _frag); //
  2604. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2605. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2606. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2607. }
  2608. }
  2609. } else {
  2610. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2611. _content = $$("div", {
  2612. className: "U_MD_D_KO",
  2613. style: { 'width': '124px', 'height': '145px' },
  2614. "onmousedown": U.UF.C.closure(function (obj) {
  2615. //防止拖动图标即打开了桌面应用
  2616. U.MD.D.click(this, obj);
  2617. }, [_easyDesktopIconInfo[i]]),
  2618. "onclick": U.UF.C.closure(function (obj) {
  2619. //防止拖动图标即打开了桌面应用
  2620. U.MD.D.click(this, obj);
  2621. }, [_easyDesktopIconInfo[i]])
  2622. }, _frag); //
  2623. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2624. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2625. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2626. }
  2627. }
  2628. if (type == 1) {
  2629. //加载好后给图标定位
  2630. U.MD.D.iconPostion($(_frag).Child());
  2631. } else {
  2632. //加载好后给图标定位
  2633. U.MD.D.iconPostion2($(_frag).Child());
  2634. }
  2635. //把图标加载到页面
  2636. el.appendChild(_frag);
  2637. }
  2638. /**
  2639. * 显示任务栏
  2640. *
  2641. * @param {element} 桌面元素
  2642. */
  2643. U.MD.D.I.displayTaskbar = function (el) {
  2644. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2645. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2646. //任务栏位置变化
  2647. U.selectEl(el).css({ "bottom": "0px" });
  2648. //桌面位置变话
  2649. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2650. }
  2651. }
  2652. //#region 桌面图标拖动逻辑
  2653. /**
  2654. * 桌面排列图标
  2655. *
  2656. * @param {element} 桌面元素
  2657. * @param {object} 上下相距的距离
  2658. * @param {object} 左右相距的距离
  2659. * @return {object} 命名空间
  2660. */
  2661. U.MD.D.iconPostion = function (childs, top, left) {
  2662. var i; //用于循环处理
  2663. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2664. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2665. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2666. for (i = 0; i < childs.length; i++) {
  2667. //如果竖排top超过了范围处理
  2668. if (top + 95 > US.height - 10) {
  2669. //left超过了页面范围处理,则向上重叠打印处理
  2670. if ((left + 180) > US.width) {
  2671. top -= 110;
  2672. left -= 90;
  2673. }
  2674. //没有超过范围,那么left+90添加到下一个竖排打印
  2675. else {
  2676. left += 90;
  2677. top = 15;
  2678. };
  2679. }
  2680. //给图标的位置赋值
  2681. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2682. if (i < childs.length - 1) {
  2683. //页面图标每次向下加95
  2684. top += 95;
  2685. }
  2686. }
  2687. //返回最后调用的图标的位置
  2688. return [top, left];
  2689. }
  2690. /**
  2691. * 桌面排列图标
  2692. *
  2693. * @param {element} 桌面元素
  2694. * @param {object} 上下相距的距离
  2695. * @param {object} 左右相距的距离
  2696. * @return {object} 命名空间
  2697. */
  2698. U.MD.D.iconPostion2 = function (childs, top, left) {
  2699. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2700. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2701. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2702. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2703. for (i = 0; i < childs.length; i++) {
  2704. //如果竖排top超过了范围处理
  2705. if (left + 150 > US.width - 10) {
  2706. //left超过了页面范围处理,则向上重叠打印处理
  2707. if ((top + 180) > US.Height) {
  2708. top -= 150;
  2709. left -= 150;
  2710. }
  2711. //没有超过范围,那么left+90添加到下一个竖排打印
  2712. else {
  2713. top += 150;
  2714. left = ol;
  2715. };
  2716. }
  2717. //给图标的位置赋值
  2718. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2719. if (i < childs.length - 1) {
  2720. //页面图标每次向下加95
  2721. left += 150;
  2722. }
  2723. }
  2724. //返回最后调用的图标的位置
  2725. return [top, left];
  2726. }
  2727. /**
  2728. * 桌面点击事件逻辑
  2729. *
  2730. * @param {element} 桌面元素
  2731. * @param {object} 上下相距的距离
  2732. * @param {object} 左右相距的距离
  2733. * @return {object} 命名空间
  2734. */
  2735. U.MD.D.click = function (el, obj) {
  2736. var _buttonnumber = event.button; //点击的按钮的事件值
  2737. var _userinfo = US.userInfo;
  2738. U.UF.EV.stopBubble(); //阻止向上冒泡
  2739. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2740. if (_buttonnumber < 2) {
  2741. //如果是click事件的处理
  2742. if (event.type == "click") {
  2743. //如果元素在mousemove事件中没有移动则出发click事件
  2744. if (!U.MD.D.I.IsDrag) {
  2745. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2746. U.alert("请先登录您的账号!");
  2747. setTimeout(() => {
  2748. U.MD.U.L.login();
  2749. }, 2000);
  2750. } else {
  2751. //打开应用处理
  2752. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2753. }
  2754. }
  2755. }
  2756. //如果是mouse事件的处理
  2757. else {
  2758. if (US.Config.type == '1') {
  2759. //拖动处理,添加拖动和拖动结束事件
  2760. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2761. }
  2762. }
  2763. U.MD.D.I.IsDrag = false;
  2764. }
  2765. }
  2766. /**
  2767. * 拖动的处理
  2768. *
  2769. */
  2770. U.MD.D.iconMove = function () {
  2771. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2772. U.MD.D.I.IsDrag = true;
  2773. }
  2774. /**
  2775. * 拖动结束后,这里是定位处理,以网状的形式定位
  2776. *
  2777. * @param {element} 拖动的元素
  2778. * @return {object} 命名空间
  2779. */
  2780. U.MD.D.iconUp = function (el) {
  2781. var _top = 15,
  2782. _left = 20,
  2783. _margin,
  2784. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2785. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2786. if (_positioninfo["OT"] > 15) {
  2787. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2788. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2789. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2790. }
  2791. if (_positioninfo["OL"] > 20) {
  2792. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2793. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2794. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2795. }
  2796. //while循环判断么一个重叠的元素
  2797. do {
  2798. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2799. _top = _positioninfo[0] + 95; //得到定位后的top
  2800. _left = _positioninfo[1]; //得到定位后的left
  2801. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2802. }
  2803. /**
  2804. * 判断拖动后图标是否重叠
  2805. *
  2806. * @param {element} 拖动的元素
  2807. * @param {element} 桌面所有的元素
  2808. * @param {array} 拖动元素的位置
  2809. ----------[0] 上 top
  2810. ----------[1] 左 left
  2811. * @return {object} 命名空间
  2812. */
  2813. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2814. //循环所有的图标
  2815. for (var i = 0; i < childs.length; i++) {
  2816. //判断有没有和该图标诶子重叠的元素
  2817. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2818. return childs[i]; //如果有返回
  2819. }
  2820. }
  2821. }
  2822. //#endregion
  2823. //#endregion
  2824. //#region 桌面应用
  2825. /**
  2826. * 打开应用
  2827. *
  2828. * @param {string} 类型
  2829. -----------------Disk 网盘系统
  2830. -----------------PDisk 学习系统网盘
  2831. -----------------Poto 图片
  2832. -----------------Video 视频
  2833. -----------------Music 音乐
  2834. -----------------Word word
  2835. -----------------Excel excel
  2836. -----------------Txt 记事本
  2837. -----------------PB 学习系统
  2838. -----------------Blog 朋友圈系统
  2839. -----------------FTP ftp系统
  2840. -----------------Group 好友群
  2841. -----------------SY 首页系统
  2842. -----------------Set 个人设置
  2843. -----------------XSet 系统设置
  2844. -----------------App 我们所有的app
  2845. -----------------BC c.1473.cn 平台
  2846. -----------------CWeb d.1473.cn 变成平台
  2847. -----------------其他的外联系统 我们统一用iframe打开
  2848. * @param {array} 类型
  2849. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2850. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2851. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2852. 如果第一个参数为其他,则无第二个参数
  2853. * @returns {array}
  2854. */
  2855. window.addEventListener('message', function (e) { // 监听 message 事件
  2856. // alert(e.data.type);
  2857. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2858. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2859. //3是展示全部阶段 2学生 1老师 4专家
  2860. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2861. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2862. //3是展示全部阶段 2学生 1老师 4专家
  2863. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2864. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2865. //3是展示全部阶段 2学生 1老师 4专家
  2866. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2867. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2868. } else if (e.data.screenType && e.data.screenType == "3train") { //培训管理传入
  2869. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  2870. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2871. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2872. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2873. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2874. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2875. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2876. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2877. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2878. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2879. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2880. //3是展示全部阶段 2学生 1老师 4专家
  2881. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2882. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2883. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2884. U.MD.D.I.selectUser();
  2885. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2886. var _formel = document.getElementById("study");
  2887. U.UF.F.windowZooming(_formel);
  2888. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2889. var _formel = document.getElementById("studyDetail");
  2890. U.UF.F.windowZooming(_formel);
  2891. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2892. var _formel = document.getElementById("studyDetail");
  2893. U.UF.F.windowZooming(_formel);
  2894. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2895. var _formel = document.getElementById("studentStudy");
  2896. U.UF.F.windowZooming(_formel);
  2897. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2898. // var _formel = document.getElementById("study");
  2899. //如果最大化了,那么就把他缩小
  2900. // if (_formel.ismaximize) {
  2901. // return;
  2902. // }
  2903. // U.UF.F.windowZooming(_formel);
  2904. // U.UF.F.topWindow(_formel);
  2905. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2906. // var _formel = document.getElementById("studyDetail");
  2907. //如果最大化了,那么就把他缩小
  2908. // if (_formel.ismaximize) {
  2909. // return;
  2910. // }
  2911. // U.UF.F.windowZooming(_formel);
  2912. // U.UF.F.topWindow(_formel);
  2913. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2914. // var _formel = document.getElementById("studentStudy");
  2915. // if (_formel.ismaximize) {
  2916. // return;
  2917. // }
  2918. // U.UF.F.windowZooming(_formel);
  2919. // U.UF.F.topWindow(_formel);
  2920. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2921. var _formel = document.getElementById("study");
  2922. // if (_formel.ismaximize) {
  2923. // return;
  2924. // }
  2925. // U.UF.F.windowZooming(_formel);
  2926. U.UF.F.topWindow(_formel);
  2927. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2928. var _formel = document.getElementById("studentIndex");
  2929. U.UF.F.windowZooming(_formel);
  2930. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2931. var _formel = document.getElementById("studyDetailS");
  2932. U.UF.F.windowZooming(_formel);
  2933. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2934. var _formel = document.getElementById("studioIndex");
  2935. U.UF.F.windowZooming(_formel);
  2936. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2937. var _formel = document.getElementById("studyDetailStudio");
  2938. U.UF.F.windowZooming(_formel);
  2939. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2940. var _formel = document.getElementById("studyDetailStudio");
  2941. U.UF.F.windowZooming(_formel);
  2942. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2943. var _formel = document.getElementById("studyDetailNT");
  2944. U.UF.F.windowZooming(_formel);
  2945. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2946. var _formel = document.getElementById("studyDetailS");
  2947. U.UF.F.windowZooming(_formel);
  2948. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2949. var _formel = document.getElementById("studyDetailS");
  2950. U.UF.F.topWindow(_formel);
  2951. } else if (e.data.tools && e.data.tools == "1") {
  2952. // U.MD.D.I.openApplication("whiteboard")
  2953. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2954. } else if (e.data.tools && e.data.tools == "2") {
  2955. U.MD.D.I.openApplication("note")
  2956. } else if (e.data.tools && e.data.tools == "3") {
  2957. // U.MD.D.I.openApplication("mind")
  2958. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2959. } else if (e.data.tools && e.data.tools == "4") {
  2960. U.MD.D.I.openApplication("investigation")
  2961. } else if (e.data.tools && e.data.tools == "6") {
  2962. // U.MD.D.I.openApplication("doc")
  2963. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2964. } else if (e.data.tools && e.data.tools == "7") {
  2965. // U.MD.D.I.openApplication("mindNetwork")
  2966. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2967. } else if (e.data.tools && e.data.tools == "8") {
  2968. U.MD.D.I.openApplication("library")
  2969. } else if (e.data.tools && e.data.tools == "17") {
  2970. U.MD.D.I.openApplication("stuLibrary")
  2971. } else if (e.data.tools && e.data.tools == "18") {
  2972. U.MD.D.I.openApplication("train")
  2973. } else if (e.data.tools && e.data.tools == "21") {
  2974. U.MD.D.I.openApplication("program")
  2975. } else if (e.data.tools && e.data.tools == "22") {
  2976. U.MD.D.I.openApplication("AIprogram2")
  2977. } else if (e.data.tools && e.data.tools == "23") {
  2978. U.MD.D.I.openApplication("Pythonprogram")
  2979. } else if (e.data.tools && e.data.tools == "24") {
  2980. U.MD.D.I.openApplication("AIprogram")
  2981. } else if (e.data.tools && e.data.tools == "25") {
  2982. U.MD.D.I.openApplication("sys")
  2983. } else if (e.data.tools && e.data.tools == "26") {
  2984. // U.MD.D.I.openApplication("courseDesign")
  2985. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2986. } else if (e.data.tools && e.data.tools == "31") {
  2987. U.MD.D.I.openApplication("netWorkPanel")
  2988. } else if (e.data.tools && e.data.tools == "32") {
  2989. U.MD.D.I.openApplication("codeEdit")
  2990. } else if (e.data.tools && e.data.tools == "57") {
  2991. U.MD.D.I.openApplication("CocoPi")
  2992. } else if (e.data.tools && e.data.tools == "63") {
  2993. U.MD.D.I.openApplication("Wood")
  2994. } else if (e.data.tools && e.data.tools == "58") {
  2995. U.MD.D.I.openApplication("car")
  2996. } else if (e.data.tools && e.data.tools == "59") {
  2997. U.MD.D.I.openApplication("lineSearch")
  2998. } else if (e.data.tools && e.data.tools == "60") {
  2999. U.MD.D.I.openApplication("deepLearning")
  3000. } else if (e.data.tools && e.data.tools == "61") {
  3001. U.MD.D.I.openApplication("allHistory")
  3002. } else if (e.data.tools && e.data.tools == "28") {
  3003. U.MD.D.I.openApplication("translation")
  3004. } else if (e.data.tools && e.data.tools == "37") {
  3005. U.MD.D.I.openApplication("mohe")
  3006. } else if (e.data.tools && e.data.tools == "38") {
  3007. U.MD.D.I.openApplication("24game")
  3008. } else if (e.data.tools && e.data.tools == "39") {
  3009. U.MD.D.I.openApplication("GeoGebra")
  3010. } else if (e.data.tools && e.data.tools == "43") {
  3011. U.MD.D.I.openApplication("studentEvaluate")
  3012. } else if (e.data.tools && e.data.tools == "44") {
  3013. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  3014. } else if (e.data.tools && e.data.tools == "46") {
  3015. U.MD.D.I.openApplication("project")
  3016. } else if (e.data.tools && e.data.tools == "1s") {
  3017. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3018. } else if (e.data.tools && e.data.tools == "3s") {
  3019. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3020. } else if (e.data.tools && e.data.tools == "6s") {
  3021. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3022. } else if (e.data.tools && e.data.tools == "1studio") {
  3023. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3024. } else if (e.data.tools && e.data.tools == "3studio") {
  3025. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3026. } else if (e.data.tools && e.data.tools == "6studio") {
  3027. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3028. } else if (e.data.tools && e.data.tools == "3y") {
  3029. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3030. } else if (e.data.tools && e.data.tools == "1y") {
  3031. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3032. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  3033. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  3034. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  3035. U.MD.D.I.openApplication("AIAnalyse")
  3036. } else if (e.data.tools && e.data.tools == "1teacher") {
  3037. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3038. } else if (e.data.tools && e.data.tools == "3teacher") {
  3039. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3040. } else if (e.data.tools && e.data.tools == "7teacher") {
  3041. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3042. } else if (e.data.tools && e.data.tools == "1teacherE") {
  3043. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3044. } else if (e.data.tools && e.data.tools == "3teacherE") {
  3045. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3046. } else if (e.data.tools && e.data.tools == "1E") {
  3047. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3048. } else if (e.data.tools && e.data.tools == "3E") {
  3049. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3050. } else if (e.data.tools && e.data.tools == "57y") {
  3051. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3052. } else if (e.data.tools && e.data.tools == "57u") {
  3053. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3054. } else if (e.data.tools && e.data.tools == "57teacher") {
  3055. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3056. } else if (e.data.tools && e.data.tools == "64") {
  3057. U.MD.D.I.openApplication("AIChat")
  3058. } else if (e.data.tools && e.data.tools == "66") {
  3059. U.MD.D.I.openApplication("formulaEdi")
  3060. } else if (e.data.tools && e.data.tools == "67") {
  3061. U.MD.D.I.openApplication("molStr")
  3062. } else if (e.data.tools && e.data.tools == "68") {
  3063. U.MD.D.I.openApplication("timeAxis")
  3064. } else if (e.data.tools && e.data.tools == "openCourse") {
  3065. let _data = {
  3066. typea: e.data.typea || '',
  3067. typeb: e.data.typeb || '',
  3068. typed: e.data.typed || '',
  3069. }
  3070. U.MD.D.I.openInApplication("index", _data)
  3071. } else if (e.data.tools && e.data.tools == "openDataClass") {
  3072. let _data = {
  3073. classid: e.data.classid || '',
  3074. }
  3075. U.MD.D.I.openInApplication("dataClass", _data)
  3076. } else if (e.data.tools && e.data.tools == "opencCscl") {
  3077. let _data = {
  3078. cid: e.data.cid || '',
  3079. gid: e.data.gid || '',
  3080. }
  3081. U.MD.D.I.openInApplication("opencCscl", _data)
  3082. } else if (e.data.tools && e.data.tools == "dataBoardTest") {
  3083. U.MD.D.I.openApplication("dataBoardTest")
  3084. } else if (e.data.tools && e.data.tools == "openCourseUpdate") {
  3085. U.MD.D.I.openInApplication("openCourseUpdate", e.data.cid)
  3086. }else if (e.data.tools && e.data.tools == "openCourseEUpdate") {
  3087. U.MD.D.I.openInApplication("openCourseEUpdate", e.data.cid)
  3088. }
  3089. });
  3090. U.MD.D.I.selectUser = function () {
  3091. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  3092. if (res.value[0].length > 0) {
  3093. US.userInfo = res.value[0][0];
  3094. $(".userName")[0].innerHTML = US.userInfo.username;
  3095. }
  3096. }, [], { "type": "GET", "withCredentials": true });
  3097. }
  3098. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  3099. var _userinfo = US.userInfo, //登录用户信息
  3100. _userid = US.userInfo.userid, //登录用户id
  3101. _oid = _userinfo.organizeid,
  3102. _type = US.userInfo.type,
  3103. _org = US.userInfo.org,
  3104. _role = US.userInfo.role,
  3105. _classId = US.userInfo.classid;
  3106. if (_type == 4) {
  3107. tType = 4
  3108. }
  3109. switch (str) {
  3110. case "studyDetailNT": //无终端模式
  3111. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3112. setTimeout(() => {
  3113. U.MD.U.L.login();
  3114. }, 2000);
  3115. } else {
  3116. _formdiv = new U.UF.UI.form(
  3117. "课程详情",
  3118. $$("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 }), {
  3119. "id": "studyDetailNT",
  3120. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3121. "onresize": function () { }
  3122. }, {
  3123. closecallback: function () { }
  3124. }, { "style": { "height": "36px" } }).form; //创建窗体
  3125. _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); } }
  3126. break;
  3127. }
  3128. case "studyDetail":
  3129. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3130. setTimeout(() => {
  3131. U.MD.U.L.login();
  3132. }, 2000);
  3133. } else {
  3134. _formdiv = new U.UF.UI.form(
  3135. "课程详情",
  3136. $$("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 }), {
  3137. "id": "studyDetail",
  3138. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3139. "onresize": function () { }
  3140. }, {
  3141. closecallback: function () { }
  3142. }, { "style": { "height": "36px" } }).form; //创建窗体
  3143. _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); } }
  3144. break;
  3145. }
  3146. case "studyDetailTrain":
  3147. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3148. setTimeout(() => {
  3149. U.MD.U.L.login();
  3150. }, 2000);
  3151. } else {
  3152. _formdiv = new U.UF.UI.form(
  3153. "培训详情",
  3154. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailTrain?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  3155. "id": "studyDetailTrain",
  3156. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3157. "onresize": function () { }
  3158. }, {
  3159. closecallback: function () { }
  3160. }, { "style": { "height": "36px" } }).form; //创建窗体
  3161. _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); } }
  3162. break;
  3163. }
  3164. case "studyDetailS":
  3165. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3166. setTimeout(() => {
  3167. U.MD.U.L.login();
  3168. }, 2000);
  3169. } else {
  3170. _formdiv = new U.UF.UI.form(
  3171. "项目详情",
  3172. $$("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 }), {
  3173. "id": "studyDetailS",
  3174. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3175. "onresize": function () { }
  3176. }, {
  3177. closecallback: function () { }
  3178. }, { "style": { "height": "36px" } }).form; //创建窗体
  3179. _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); } }
  3180. break;
  3181. }
  3182. case "studyDetailStudio":
  3183. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3184. setTimeout(() => {
  3185. U.MD.U.L.login();
  3186. }, 2000);
  3187. } else {
  3188. _formdiv = new U.UF.UI.form(
  3189. "工作详情",
  3190. $$("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 }), {
  3191. "id": "studyDetailStudio",
  3192. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3193. "onresize": function () { }
  3194. }, {
  3195. closecallback: function () { }
  3196. }, { "style": { "height": "36px" } }).form; //创建窗体
  3197. _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); } }
  3198. break;
  3199. }
  3200. case "studyDetailS5":
  3201. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3202. setTimeout(() => {
  3203. U.MD.U.L.login();
  3204. }, 2000);
  3205. } else {
  3206. _formdiv = new U.UF.UI.form(
  3207. "项目详情",
  3208. $$("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 }), {
  3209. "id": "studyDetailS",
  3210. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3211. "onresize": function () { }
  3212. }, {
  3213. closecallback: function () { }
  3214. }, { "style": { "height": "36px" } }).form; //创建窗体
  3215. _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); } }
  3216. break;
  3217. }
  3218. case "studyDetailGM":
  3219. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3220. setTimeout(() => {
  3221. U.MD.U.L.login();
  3222. }, 2000);
  3223. } else {
  3224. _formdiv = new U.UF.UI.form(
  3225. "课程详情",
  3226. $$("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 }), {
  3227. "id": "studyDetail",
  3228. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3229. "onresize": function () { }
  3230. }, {
  3231. closecallback: function () { }
  3232. }, { "style": { "height": "36px" } }).form; //创建窗体
  3233. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3234. break;
  3235. }
  3236. case "hanUrl":
  3237. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3238. setTimeout(() => {
  3239. U.MD.U.L.login();
  3240. }, 2000);
  3241. } else {
  3242. _formdiv = new U.UF.UI.form(
  3243. "汉字宫",
  3244. $$("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" }), {
  3245. "id": "hanUrl",
  3246. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3247. "onresize": function () { }
  3248. }, {
  3249. closecallback: function () { }
  3250. }, { "style": { "height": "36px" } }).form; //创建窗体
  3251. _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); } }
  3252. break;
  3253. }
  3254. case "index":
  3255. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3256. setTimeout(() => {
  3257. U.MD.U.L.login();
  3258. }, 2000);
  3259. } else {
  3260. _formdiv = new U.UF.UI.form(
  3261. "课程中心",
  3262. $$("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 }), {
  3263. "id": "study",
  3264. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3265. "onresize": function () { }
  3266. }, {
  3267. closecallback: function () { }
  3268. }, { "style": { "height": "36px" } }).form; //创建窗体
  3269. _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); } }
  3270. break;
  3271. }
  3272. case "dataClass":
  3273. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3274. setTimeout(() => {
  3275. U.MD.U.L.login();
  3276. }, 2000);
  3277. } else {
  3278. _formdiv = new U.UF.UI.form(
  3279. "数据报告",
  3280. $$("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 }), {
  3281. "id": "dataClass",
  3282. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3283. "onresize": function () { }
  3284. }, {
  3285. closecallback: function () { }
  3286. }, { "style": { "height": "36px" } }).form; //创建窗体
  3287. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "数据报告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3288. break;
  3289. }
  3290. case "opencCscl":
  3291. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3292. setTimeout(() => {
  3293. U.MD.U.L.login();
  3294. }, 2000);
  3295. } else {
  3296. _formdiv = new U.UF.UI.form(
  3297. "协同建构",
  3298. $$("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 }), {
  3299. "id": "futureClass",
  3300. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3301. "onresize": function () { }
  3302. }, {
  3303. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3304. }, { "style": { "height": "36px" } }).form; //创建窗体
  3305. _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); } }
  3306. break;
  3307. }
  3308. case "openCourseUpdate":
  3309. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3310. setTimeout(() => {
  3311. U.MD.U.L.login();
  3312. }, 2000);
  3313. } else {
  3314. _formdiv = new U.UF.UI.form(
  3315. "课程管理",
  3316. $$("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/#/course/addCourse?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3317. "id": "openCourseUpdate",
  3318. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3319. "onresize": function () { }
  3320. }, {
  3321. closecallback: function () { }
  3322. }, { "style": { "height": "36px" } }).form; //创建窗体
  3323. break;
  3324. }
  3325. case "openCourseEUpdate":
  3326. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3327. setTimeout(() => {
  3328. U.MD.U.L.login();
  3329. }, 2000);
  3330. } else {
  3331. _formdiv = new U.UF.UI.form(
  3332. "课程管理",
  3333. $$("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/#/course/addCourseE?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3334. "id": "openCourseUpdate",
  3335. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3336. "onresize": function () { }
  3337. }, {
  3338. closecallback: function () { }
  3339. }, { "style": { "height": "36px" } }).form; //创建窗体
  3340. break;
  3341. }
  3342. case "inviteLoginSz":
  3343. _formdiv = new U.UF.UI.form(
  3344. "随机码登录",
  3345. $$("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/#/inviteLoginSZ?code=" + data }), {
  3346. "id": "inviteLoginSz",
  3347. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3348. "onresize": function () { }
  3349. }, {
  3350. closecallback: function () { }
  3351. }, { "style": { "height": "36px" } }).form; //创建窗体
  3352. break;
  3353. case "teacher":
  3354. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3355. setTimeout(() => {
  3356. U.MD.U.L.login();
  3357. }, 2000);
  3358. } else {
  3359. _formdiv = new U.UF.UI.form(
  3360. "教师管理",
  3361. $$("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/#/teacher?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3362. "id": "teacher",
  3363. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3364. "onresize": function () { }
  3365. }, {
  3366. closecallback: function () { }
  3367. }, { "style": { "height": "36px" } }).form; //创建窗体
  3368. break;
  3369. }
  3370. }
  3371. }
  3372. U.MD.D.I.openApplication = function (str, obj, info) {
  3373. obj = obj || {};
  3374. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3375. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3376. _userinfo = US.userInfo, //登录用户信息
  3377. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3378. _oid = obj.organizeid || _userinfo.organizeid,
  3379. _type = US.userInfo.type,
  3380. _org = US.userInfo.org,
  3381. _role = US.userInfo.role,
  3382. _classId = US.userInfo.classid,
  3383. _TscreenType = 1
  3384. _screenType = 2,
  3385. _SscreenType = 3;
  3386. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3387. return;
  3388. }
  3389. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3390. switch (str) {
  3391. case "studnetProject": //好友打开
  3392. _formdiv = new U.UF.UI.form(
  3393. "我的项目",
  3394. $$("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 }), {
  3395. "id": "studnetProject",
  3396. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3397. "onresize": function () { }
  3398. }, {
  3399. closecallback: function () { }
  3400. }, { "style": { "height": "36px" } }).form; //创建窗体
  3401. _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); } }
  3402. break;
  3403. case "studentEvaluate": //好友打开
  3404. _formdiv = new U.UF.UI.form(
  3405. "我的评价",
  3406. $$("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 }), {
  3407. "id": "studentEvaluate",
  3408. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3409. "onresize": function () { }
  3410. }, {
  3411. closecallback: function () { }
  3412. }, { "style": { "height": "36px" } }).form; //创建窗体
  3413. _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); } }
  3414. break;
  3415. case "my":
  3416. _formdiv = new U.UF.UI.form(
  3417. "我的资料",
  3418. $$("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 }), {
  3419. "id": "my",
  3420. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3421. "onresize": function () { }
  3422. }, {
  3423. closecallback: function () { }
  3424. }, { "style": { "height": "36px" } }).form; //创建窗体
  3425. _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); } }
  3426. break;
  3427. case "program":
  3428. _formdiv = new U.UF.UI.form(
  3429. "编程平台",
  3430. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3431. "id": "program",
  3432. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3433. "onresize": function () { }
  3434. }, {
  3435. closecallback: function () { }
  3436. }, { "style": { "height": "36px" } }).form; //创建窗体
  3437. _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); } }
  3438. break;
  3439. case "library":
  3440. _formdiv = new U.UF.UI.form(
  3441. "素材库",
  3442. $$("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 }), {
  3443. "id": "library",
  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/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3450. break;
  3451. case "whiteboard":
  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": "https://iwb.cocorobo.cn/" }), {
  3455. "id": "whiteboard",
  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/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3462. break;
  3463. case "investigation":
  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/#/ask?userid=" + _userid + "&org=" + _org }), {
  3467. "id": "investigation",
  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/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3474. break;
  3475. case "note":
  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/#/note?userid=" + _userid + "&org=" + _org }), {
  3479. "id": "note",
  3480. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3481. "onresize": function () { }
  3482. }, {
  3483. closecallback: function () { }
  3484. }, { "style": { "height": "36px" } }).form; //创建窗体
  3485. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3486. break;
  3487. // case "score":
  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": US.Config.bpbl + "" }), {
  3491. // "id": "score",
  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/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3498. // break;
  3499. case "mind":
  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": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3503. "id": "mind",
  3504. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3505. "onresize": function () { }
  3506. }, {
  3507. closecallback: function () { }
  3508. }, { "style": { "height": "36px" } }).form; //创建窗体
  3509. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3510. break;
  3511. case "doc":
  3512. // U.MD.D.I.isRoom();
  3513. _formdiv = new U.UF.UI.form(
  3514. "协同文档",
  3515. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3516. "id": "doc",
  3517. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3518. "onresize": function () { }
  3519. }, {
  3520. closecallback: function () { }
  3521. }, { "style": { "height": "36px" } }).form; //创建窗体
  3522. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3523. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3524. // })
  3525. _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); } }
  3526. break;
  3527. case "studentStudy":
  3528. _formdiv = new U.UF.UI.form(
  3529. "课程中心",
  3530. $$("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
  3531. "id": "studentStudy",
  3532. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3533. "onresize": function () { }
  3534. }, {
  3535. closecallback: function () { }
  3536. }, { "style": { "height": "36px" } }).form; //创建窗体
  3537. _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); } }
  3538. break;
  3539. case "train": //好友打开
  3540. _formdiv = new U.UF.UI.form(
  3541. "训练平台",
  3542. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3543. "id": "train",
  3544. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3545. "onresize": function () { }
  3546. }, {
  3547. closecallback: function () { }
  3548. }, { "style": { "height": "36px" } }).form; //创建窗体
  3549. _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); } }
  3550. break;
  3551. case "mindNetwork": //好友打开
  3552. _formdiv = new U.UF.UI.form(
  3553. "思维网格",
  3554. $$("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 }), {
  3555. "id": "mindNetwork",
  3556. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3557. "onresize": function () { }
  3558. }, {
  3559. closecallback: function () { }
  3560. }, { "style": { "height": "36px" } }).form; //创建窗体
  3561. _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); } }
  3562. break;
  3563. case "studentClassRoom": //好友打开
  3564. _formdiv = new U.UF.UI.form(
  3565. "实时课堂",
  3566. $$("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 }), {
  3567. "id": "studentClassRoom",
  3568. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3569. "onresize": function () { }
  3570. }, {
  3571. closecallback: function () { }
  3572. }, { "style": { "height": "36px" } }).form; //创建窗体
  3573. _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); } }
  3574. setTimeout(() => {
  3575. U.UF.F.windowZooming(_formdiv)
  3576. }, 0);
  3577. break;
  3578. }
  3579. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3580. switch (str) {
  3581. case "studnetProject": //好友打开
  3582. _formdiv = new U.UF.UI.form(
  3583. "我的项目",
  3584. $$("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 }), {
  3585. "id": "studnetProject",
  3586. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3587. "onresize": function () { }
  3588. }, {
  3589. closecallback: function () { }
  3590. }, { "style": { "height": "36px" } }).form; //创建窗体
  3591. _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); } }
  3592. break;
  3593. case "studentEvaluate": //好友打开
  3594. _formdiv = new U.UF.UI.form(
  3595. "我的评价",
  3596. $$("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 }), {
  3597. "id": "studentEvaluate",
  3598. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3599. "onresize": function () { }
  3600. }, {
  3601. closecallback: function () { }
  3602. }, { "style": { "height": "36px" } }).form; //创建窗体
  3603. _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); } }
  3604. break;
  3605. case "my":
  3606. _formdiv = new U.UF.UI.form(
  3607. "我的资料",
  3608. $$("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 }), {
  3609. "id": "my",
  3610. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3611. "onresize": function () { }
  3612. }, {
  3613. closecallback: function () { }
  3614. }, { "style": { "height": "36px" } }).form; //创建窗体
  3615. _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); } }
  3616. break;
  3617. case "program":
  3618. _formdiv = new U.UF.UI.form(
  3619. "编程平台",
  3620. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3621. "id": "program",
  3622. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3623. "onresize": function () { }
  3624. }, {
  3625. closecallback: function () { }
  3626. }, { "style": { "height": "36px" } }).form; //创建窗体
  3627. _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); } }
  3628. break;
  3629. case "library":
  3630. _formdiv = new U.UF.UI.form(
  3631. "素材库",
  3632. $$("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 }), {
  3633. "id": "library",
  3634. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3635. "onresize": function () { }
  3636. }, {
  3637. closecallback: function () { }
  3638. }, { "style": { "height": "36px" } }).form; //创建窗体
  3639. _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); } }
  3640. break;
  3641. case "whiteboard":
  3642. _formdiv = new U.UF.UI.form(
  3643. "电子白板",
  3644. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3645. "id": "whiteboard",
  3646. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3647. "onresize": function () { }
  3648. }, {
  3649. closecallback: function () { }
  3650. }, { "style": { "height": "36px" } }).form; //创建窗体
  3651. _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); } }
  3652. break;
  3653. case "investigation":
  3654. _formdiv = new U.UF.UI.form(
  3655. "问卷调查",
  3656. $$("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 }), {
  3657. "id": "investigation",
  3658. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3659. "onresize": function () { }
  3660. }, {
  3661. closecallback: function () { }
  3662. }, { "style": { "height": "36px" } }).form; //创建窗体
  3663. _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); } }
  3664. break;
  3665. case "note":
  3666. _formdiv = new U.UF.UI.form(
  3667. "便签分类",
  3668. $$("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 }), {
  3669. "id": "note",
  3670. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3671. "onresize": function () { }
  3672. }, {
  3673. closecallback: function () { }
  3674. }, { "style": { "height": "36px" } }).form; //创建窗体
  3675. _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); } }
  3676. break;
  3677. // case "score":
  3678. // _formdiv = new U.UF.UI.form(
  3679. // "量规评分",
  3680. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3681. // "id": "score",
  3682. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3683. // "onresize": function() {}
  3684. // }, {
  3685. // closecallback: function() {}
  3686. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3687. // _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); } }
  3688. // break;
  3689. case "mind":
  3690. _formdiv = new U.UF.UI.form(
  3691. "思维导图",
  3692. $$("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"
  3693. "id": "mind",
  3694. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3695. "onresize": function () { }
  3696. }, {
  3697. closecallback: function () { }
  3698. }, { "style": { "height": "36px" } }).form; //创建窗体
  3699. _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); } }
  3700. break;
  3701. case "doc":
  3702. // U.MD.D.I.isRoom();
  3703. _formdiv = new U.UF.UI.form(
  3704. "协同文档",
  3705. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3706. "id": "doc",
  3707. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3708. "onresize": function () { }
  3709. }, {
  3710. closecallback: function () { }
  3711. }, { "style": { "height": "36px" } }).form; //创建窗体
  3712. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3713. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3714. })
  3715. _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); } }
  3716. break;
  3717. case "train": //好友打开
  3718. _formdiv = new U.UF.UI.form(
  3719. "训练平台",
  3720. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3721. "id": "train",
  3722. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3723. "onresize": function () { }
  3724. }, {
  3725. closecallback: function () { }
  3726. }, { "style": { "height": "36px" } }).form; //创建窗体
  3727. _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); } }
  3728. break;
  3729. case "studentStudy":
  3730. _formdiv = new U.UF.UI.form(
  3731. "课程中心",
  3732. $$("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
  3733. "id": "studentStudy",
  3734. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3735. "onresize": function () { }
  3736. }, {
  3737. closecallback: function () { }
  3738. }, { "style": { "height": "36px" } }).form; //创建窗体
  3739. _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); } }
  3740. break;
  3741. case "mindNetwork": //好友打开
  3742. _formdiv = new U.UF.UI.form(
  3743. "思维网格",
  3744. $$("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 }), {
  3745. "id": "mindNetwork",
  3746. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3747. "onresize": function () { }
  3748. }, {
  3749. closecallback: function () { }
  3750. }, { "style": { "height": "36px" } }).form; //创建窗体
  3751. _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); } }
  3752. break;
  3753. case "studentClassRoom": //好友打开
  3754. _formdiv = new U.UF.UI.form(
  3755. "实时课堂",
  3756. $$("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 }), {
  3757. "id": "studentClassRoom",
  3758. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3759. "onresize": function () { }
  3760. }, {
  3761. closecallback: function () { }
  3762. }, { "style": { "height": "36px" } }).form; //创建窗体
  3763. _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); } }
  3764. setTimeout(() => {
  3765. U.UF.F.windowZooming(_formdiv)
  3766. }, 0);
  3767. break;
  3768. }
  3769. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3770. //选择应用处理
  3771. switch (str) {
  3772. case "project": //好友打开
  3773. _formdiv = new U.UF.UI.form(
  3774. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3775. $$("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 }), {
  3776. "id": "project",
  3777. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3778. "onresize": function () { }
  3779. }, {
  3780. closecallback: function () { }
  3781. }, { "style": { "height": "36px" } }).form; //创建窗体
  3782. _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); } }
  3783. break;
  3784. case "student":
  3785. _formdiv = new U.UF.UI.form(
  3786. "学生管理",
  3787. $$("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 }), {
  3788. "id": "student",
  3789. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3790. "onresize": function () { }
  3791. }, {
  3792. closecallback: function () { }
  3793. }, { "style": { "height": "36px" } }).form; //创建窗体
  3794. _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); } }
  3795. break;
  3796. case "evaluate":
  3797. _formdiv = new U.UF.UI.form(
  3798. "学生评价",
  3799. $$("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 }), {
  3800. "id": "evaluate",
  3801. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3802. "onresize": function () { }
  3803. }, {
  3804. closecallback: function () { }
  3805. }, { "style": { "height": "36px" } }).form; //创建窗体
  3806. _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); } }
  3807. break;
  3808. case "sys":
  3809. _formdiv = new U.UF.UI.form(
  3810. "目标管理",
  3811. $$("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 }), {
  3812. "id": "sys",
  3813. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3814. "onresize": function () { }
  3815. }, {
  3816. closecallback: function () { }
  3817. }, { "style": { "height": "36px" } }).form; //创建窗体
  3818. _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); } }
  3819. break;
  3820. case "courseDesign":
  3821. _formdiv = new U.UF.UI.form(
  3822. "项目设计",
  3823. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3824. "id": "courseDesign",
  3825. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3826. "onresize": function () { }
  3827. }, {
  3828. closecallback: function () { }
  3829. }, { "style": { "height": "36px" } }).form; //创建窗体
  3830. _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); } }
  3831. break;
  3832. case "program":
  3833. _formdiv = new U.UF.UI.form(
  3834. "编程平台",
  3835. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3836. "id": "program",
  3837. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3838. "onresize": function () { }
  3839. }, {
  3840. closecallback: function () { }
  3841. }, { "style": { "height": "36px" } }).form; //创建窗体
  3842. _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); } }
  3843. break;
  3844. case "class":
  3845. _formdiv = new U.UF.UI.form(
  3846. "班级管理",
  3847. $$("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 }), {
  3848. "id": "class",
  3849. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3850. "onresize": function () { }
  3851. }, {
  3852. closecallback: function () { }
  3853. }, { "style": { "height": "36px" } }).form; //创建窗体
  3854. _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); } }
  3855. break;
  3856. case "Grade":
  3857. _formdiv = new U.UF.UI.form(
  3858. "年级管理",
  3859. $$("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 }), {
  3860. "id": "Grade",
  3861. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3862. "onresize": function () { }
  3863. }, {
  3864. closecallback: function () { }
  3865. }, { "style": { "height": "36px" } }).form; //创建窗体
  3866. _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); } }
  3867. break;
  3868. case "teacherOffice":
  3869. _formdiv = new U.UF.UI.form(
  3870. "教研室",
  3871. $$("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 }), {
  3872. "id": "teacherOffice",
  3873. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3874. "onresize": function () { }
  3875. }, {
  3876. closecallback: function () { }
  3877. }, { "style": { "height": "36px" } }).form; //创建窗体
  3878. _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); } }
  3879. break;
  3880. case "my":
  3881. _formdiv = new U.UF.UI.form(
  3882. "我的资料",
  3883. $$("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 }), {
  3884. "id": "my",
  3885. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3886. "onresize": function () { }
  3887. }, {
  3888. closecallback: function () { }
  3889. }, { "style": { "height": "36px" } }).form; //创建窗体
  3890. _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); } }
  3891. break;
  3892. case "notice":
  3893. _formdiv = new U.UF.UI.form(
  3894. "通知公告",
  3895. $$("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 }), {
  3896. "id": "notice",
  3897. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3898. "onresize": function () { }
  3899. }, {
  3900. closecallback: function () { }
  3901. }, { "style": { "height": "36px" } }).form; //创建窗体
  3902. _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); } }
  3903. break;
  3904. case "library":
  3905. _formdiv = new U.UF.UI.form(
  3906. "素材库",
  3907. $$("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 }), {
  3908. "id": "library",
  3909. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3910. "onresize": function () { }
  3911. }, {
  3912. closecallback: function () { }
  3913. }, { "style": { "height": "36px" } }).form; //创建窗体
  3914. _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); } }
  3915. break;
  3916. case "whiteboard":
  3917. _formdiv = new U.UF.UI.form(
  3918. "电子白板",
  3919. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3920. "id": "whiteboard",
  3921. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3922. "onresize": function () { }
  3923. }, {
  3924. closecallback: function () { }
  3925. }, { "style": { "height": "36px" } }).form; //创建窗体
  3926. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3927. break;
  3928. case "investigation":
  3929. _formdiv = new U.UF.UI.form(
  3930. "问卷调查",
  3931. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3932. "id": "investigation",
  3933. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3934. "onresize": function () { }
  3935. }, {
  3936. closecallback: function () { }
  3937. }, { "style": { "height": "36px" } }).form; //创建窗体
  3938. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3939. break;
  3940. case "note":
  3941. _formdiv = new U.UF.UI.form(
  3942. "便签分类",
  3943. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3944. "id": "note",
  3945. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3946. "onresize": function () { }
  3947. }, {
  3948. closecallback: function () { }
  3949. }, { "style": { "height": "36px" } }).form; //创建窗体
  3950. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3951. break;
  3952. // case "score":
  3953. // _formdiv = new U.UF.UI.form(
  3954. // "量规评分",
  3955. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3956. // "id": "score",
  3957. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3958. // "onresize": function() {}
  3959. // }, {
  3960. // closecallback: function() {}
  3961. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3962. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3963. // break;
  3964. case "mind":
  3965. _formdiv = new U.UF.UI.form(
  3966. "思维导图",
  3967. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3968. "id": "mind",
  3969. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3970. "onresize": function () { }
  3971. }, {
  3972. closecallback: function () { }
  3973. }, { "style": { "height": "36px" } }).form; //创建窗体
  3974. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3975. break;
  3976. case "doc":
  3977. // U.MD.D.I.isRoom();
  3978. _formdiv = new U.UF.UI.form(
  3979. "协同文档",
  3980. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3981. "id": "doc",
  3982. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3983. "onresize": function () { }
  3984. }, {
  3985. closecallback: function () { }
  3986. }, { "style": { "height": "36px" } }).form; //创建窗体
  3987. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3988. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3989. })
  3990. _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); } }
  3991. break;
  3992. case "study":
  3993. _formdiv = new U.UF.UI.form(
  3994. "课程中心",
  3995. $$("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
  3996. "id": "study",
  3997. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3998. "onresize": function () { }
  3999. }, {
  4000. closecallback: function () { }
  4001. }, { "style": { "height": "36px" } }).form; //创建窗体
  4002. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4003. break;
  4004. case "mindNetwork": //好友打开
  4005. _formdiv = new U.UF.UI.form(
  4006. "思维网格",
  4007. $$("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 }), {
  4008. "id": "mindNetwork",
  4009. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4010. "onresize": function () { }
  4011. }, {
  4012. closecallback: function () { }
  4013. }, { "style": { "height": "36px" } }).form; //创建窗体
  4014. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4015. break;
  4016. case "train": //好友打开
  4017. _formdiv = new U.UF.UI.form(
  4018. "训练平台",
  4019. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4020. "id": "mindNetwork",
  4021. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4022. "onresize": function () { }
  4023. }, {
  4024. closecallback: function () { }
  4025. }, { "style": { "height": "36px" } }).form; //创建窗体
  4026. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4027. break;
  4028. case "teacherClassRoom": //好友打开
  4029. _formdiv = new U.UF.UI.form(
  4030. "实时课堂",
  4031. $$("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 }), {
  4032. "id": "teacherClassRoom",
  4033. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4034. "onresize": function () { }
  4035. }, {
  4036. closecallback: function () { }
  4037. }, { "style": { "height": "36px" } }).form; //创建窗体
  4038. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4039. setTimeout(() => {
  4040. U.UF.F.windowZooming(_formdiv)
  4041. }, 0);
  4042. break;
  4043. }
  4044. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  4045. switch (str) {
  4046. case "project": //好友打开
  4047. _formdiv = new U.UF.UI.form(
  4048. "课程管理",
  4049. $$("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 }), {
  4050. "id": "project",
  4051. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4052. "onresize": function () { }
  4053. }, {
  4054. closecallback: function () { }
  4055. }, { "style": { "height": "36px" } }).form; //创建窗体
  4056. _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); } }
  4057. break;
  4058. case "evaluate":
  4059. _formdiv = new U.UF.UI.form(
  4060. "学生评价",
  4061. $$("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 }), {
  4062. "id": "evaluate",
  4063. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4064. "onresize": function () { }
  4065. }, {
  4066. closecallback: function () { }
  4067. }, { "style": { "height": "36px" } }).form; //创建窗体
  4068. _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); } }
  4069. break;
  4070. case "notice":
  4071. _formdiv = new U.UF.UI.form(
  4072. "通知公告",
  4073. $$("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 }), {
  4074. "id": "notice",
  4075. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4076. "onresize": function () { }
  4077. }, {
  4078. closecallback: function () { }
  4079. }, { "style": { "height": "36px" } }).form; //创建窗体
  4080. _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); } }
  4081. break;
  4082. case "stuLibrary":
  4083. _formdiv = new U.UF.UI.form(
  4084. "学习资料",
  4085. $$("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 }), {
  4086. "id": "stuLibrary",
  4087. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4088. "onresize": function () { }
  4089. }, {
  4090. closecallback: function () { }
  4091. }, { "style": { "height": "36px" } }).form; //创建窗体
  4092. _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); } }
  4093. break;
  4094. case "program":
  4095. _formdiv = new U.UF.UI.form(
  4096. "编程平台",
  4097. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4098. "id": "program",
  4099. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4100. "onresize": function () { }
  4101. }, {
  4102. closecallback: function () { }
  4103. }, { "style": { "height": "36px" } }).form; //创建窗体
  4104. _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); } }
  4105. break;
  4106. case "whiteboard":
  4107. _formdiv = new U.UF.UI.form(
  4108. "电子白板",
  4109. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  4110. "id": "whiteboard",
  4111. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4112. "onresize": function () { }
  4113. }, {
  4114. closecallback: function () { }
  4115. }, { "style": { "height": "36px" } }).form; //创建窗体
  4116. _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); } }
  4117. break;
  4118. case "investigation":
  4119. _formdiv = new U.UF.UI.form(
  4120. "问卷调查",
  4121. $$("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 }), {
  4122. "id": "investigation",
  4123. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4124. "onresize": function () { }
  4125. }, {
  4126. closecallback: function () { }
  4127. }, { "style": { "height": "36px" } }).form; //创建窗体
  4128. _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); } }
  4129. break;
  4130. case "mind":
  4131. _formdiv = new U.UF.UI.form(
  4132. "思维导图",
  4133. $$("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"
  4134. "id": "mind",
  4135. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4136. "onresize": function () { }
  4137. }, {
  4138. closecallback: function () { }
  4139. }, { "style": { "height": "36px" } }).form; //创建窗体
  4140. _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); } }
  4141. break;
  4142. case "doc":
  4143. // U.MD.D.I.isRoom();
  4144. _formdiv = new U.UF.UI.form(
  4145. "协同文档",
  4146. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4147. "id": "doc",
  4148. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4149. "onresize": function () { }
  4150. }, {
  4151. closecallback: function () { }
  4152. }, { "style": { "height": "36px" } }).form; //创建窗体
  4153. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4154. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4155. })
  4156. _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); } }
  4157. break;
  4158. case "study":
  4159. _formdiv = new U.UF.UI.form(
  4160. "课程中心",
  4161. $$("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
  4162. "id": "study",
  4163. "style": { "width": "100%", "height": "100%", "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/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4169. break;
  4170. case "mindNetwork": //好友打开
  4171. _formdiv = new U.UF.UI.form(
  4172. "思维网格",
  4173. $$("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 }), {
  4174. "id": "mindNetwork",
  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/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4181. break;
  4182. case "train": //好友打开
  4183. _formdiv = new U.UF.UI.form(
  4184. "训练平台",
  4185. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4186. "id": "train",
  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/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4193. break;
  4194. case "sys":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4198. "id": "sys",
  4199. "style": { "width": "100%", "height": "100%", "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/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4205. break;
  4206. case "courseDesign":
  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": "/course-design-vue" }), {
  4210. "id": "courseDesign",
  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/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4217. break;
  4218. }
  4219. } else if (!_type) {
  4220. switch (str) {
  4221. case "my":
  4222. _formdiv = new U.UF.UI.form(
  4223. "我的资料",
  4224. $$("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 }), {
  4225. "id": "my",
  4226. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4227. "onresize": function () { }
  4228. }, {
  4229. closecallback: function () { }
  4230. }, { "style": { "height": "36px" } }).form; //创建窗体
  4231. _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); } }
  4232. break;
  4233. }
  4234. }
  4235. switch (str) {
  4236. // AIprogram2 AI体验 aihub.cocorobo.cn
  4237. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  4238. // AIprogram AI编程 ai-blockly.cocorobo.cn
  4239. case "formulaEdi": //公式编辑
  4240. _formdiv = new U.UF.UI.form(
  4241. "公式编辑",
  4242. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  4243. "id": "formulaEdi",
  4244. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4245. "onresize": function () { }
  4246. }, {
  4247. closecallback: function () { }
  4248. }, { "style": { "height": "36px" } }).form; //创建窗体
  4249. _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); } }
  4250. break;
  4251. case "molStr": //分子结构
  4252. _formdiv = new U.UF.UI.form(
  4253. "分子结构",
  4254. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  4255. "id": "molStr",
  4256. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4257. "onresize": function () { }
  4258. }, {
  4259. closecallback: function () { }
  4260. }, { "style": { "height": "36px" } }).form; //创建窗体
  4261. _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); } }
  4262. break;
  4263. case "timeAxis": //时间轴
  4264. _formdiv = new U.UF.UI.form(
  4265. "时间轴",
  4266. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  4267. "id": "timeAxis",
  4268. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4269. "onresize": function () { }
  4270. }, {
  4271. closecallback: function () { }
  4272. }, { "style": { "height": "36px" } }).form; //创建窗体
  4273. _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); } }
  4274. break;
  4275. case "AIprogram2": //AI体验
  4276. _formdiv = new U.UF.UI.form(
  4277. "AI体验",
  4278. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  4279. "id": "AIprogram2",
  4280. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4281. "onresize": function () { }
  4282. }, {
  4283. closecallback: function () { }
  4284. }, { "style": { "height": "36px" } }).form; //创建窗体
  4285. _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); } }
  4286. break;
  4287. case "Pythonprogram": //python编程
  4288. _formdiv = new U.UF.UI.form(
  4289. "Python编程",
  4290. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  4291. "id": "Pythonprogram",
  4292. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4293. "onresize": function () { }
  4294. }, {
  4295. closecallback: function () { }
  4296. }, { "style": { "height": "36px" } }).form; //创建窗体
  4297. _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); } }
  4298. break;
  4299. case "AIprogram": //ai编程
  4300. _formdiv = new U.UF.UI.form(
  4301. "AI编程平台",
  4302. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4303. "id": "AIprogram",
  4304. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4305. "onresize": function () { }
  4306. }, {
  4307. closecallback: function () { }
  4308. }, { "style": { "height": "36px" } }).form; //创建窗体
  4309. _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); } }
  4310. break;
  4311. case "CocoPi": //CocoPi
  4312. _formdiv = new U.UF.UI.form(
  4313. "CocoPi",
  4314. $$("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" }), {
  4315. "id": "CocoPi",
  4316. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4317. "onresize": function () { }
  4318. }, {
  4319. closecallback: function () { }
  4320. }, { "style": { "height": "36px" } }).form; //创建窗体
  4321. _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); } }
  4322. break;
  4323. case "Wood": //Wood
  4324. _formdiv = new U.UF.UI.form(
  4325. "海龟编程",
  4326. $$("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/" }), {
  4327. "id": "Wood",
  4328. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4329. "onresize": function () { }
  4330. }, {
  4331. closecallback: function () { }
  4332. }, { "style": { "height": "36px" } }).form; //创建窗体
  4333. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Wood.png)" }, "name": "海龟编程", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4334. break;
  4335. case "car": //模拟驾驶
  4336. _formdiv = new U.UF.UI.form(
  4337. "模拟驾驶",
  4338. $$("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/" }), {
  4339. "id": "car",
  4340. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4341. "onresize": function () { }
  4342. }, {
  4343. closecallback: function () { }
  4344. }, { "style": { "height": "36px" } }).form; //创建窗体
  4345. _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); } }
  4346. break;
  4347. case "lineSearch": //路径搜索
  4348. _formdiv = new U.UF.UI.form(
  4349. "路径搜索",
  4350. $$("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/" }), {
  4351. "id": "lineSearch",
  4352. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4353. "onresize": function () { }
  4354. }, {
  4355. closecallback: function () { }
  4356. }, { "style": { "height": "36px" } }).form; //创建窗体
  4357. _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); } }
  4358. break;
  4359. case "deepLearning": //深度学习
  4360. _formdiv = new U.UF.UI.form(
  4361. "深度学习",
  4362. $$("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/#" }), {
  4363. "id": "deepLearning",
  4364. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4365. "onresize": function () { }
  4366. }, {
  4367. closecallback: function () { }
  4368. }, { "style": { "height": "36px" } }).form; //创建窗体
  4369. _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); } }
  4370. break;
  4371. case "allHistory": //深度学习
  4372. _formdiv = new U.UF.UI.form(
  4373. "全历史",
  4374. $$("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/" }), {
  4375. "id": "allHistory",
  4376. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4377. "onresize": function () { }
  4378. }, {
  4379. closecallback: function () { }
  4380. }, { "style": { "height": "36px" } }).form; //创建窗体
  4381. _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); } }
  4382. break;
  4383. case "chatPDF": //ai编程
  4384. _formdiv = new U.UF.UI.form(
  4385. "chatPDF",
  4386. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4387. "id": "chatPDF",
  4388. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4389. "onresize": function () { }
  4390. }, {
  4391. closecallback: function () { }
  4392. }, { "style": { "height": "36px" } }).form; //创建窗体
  4393. _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); } }
  4394. break;
  4395. case "resources": //国家教育
  4396. _formdiv = new U.UF.UI.form(
  4397. "国家教育",
  4398. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4399. "id": "resources",
  4400. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4401. "onresize": function () { }
  4402. }, {
  4403. closecallback: function () { }
  4404. }, { "style": { "height": "36px" } }).form; //创建窗体
  4405. _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); } }
  4406. break;
  4407. case "codeEdit": //源码编辑
  4408. _formdiv = new U.UF.UI.form(
  4409. "源码编辑",
  4410. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4411. "id": "codeEdit",
  4412. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4413. "onresize": function () { }
  4414. }, {
  4415. closecallback: function () { }
  4416. }, { "style": { "height": "36px" } }).form; //创建窗体
  4417. _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); } }
  4418. break; //
  4419. case "MindMap": //MindMap
  4420. _formdiv = new U.UF.UI.form(
  4421. "MindMap",
  4422. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4423. "id": "MindMap",
  4424. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4425. "onresize": function () { }
  4426. }, {
  4427. closecallback: function () { }
  4428. }, { "style": { "height": "36px" } }).form; //创建窗体
  4429. _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); } }
  4430. break;
  4431. case "netWorkPanel": //netWorkPanel
  4432. _formdiv = new U.UF.UI.form(
  4433. "netWorkPanel",
  4434. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4435. "id": "netWorkPanel",
  4436. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4437. "onresize": function () { }
  4438. }, {
  4439. closecallback: function () { }
  4440. }, { "style": { "height": "36px" } }).form; //创建窗体
  4441. _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); } }
  4442. break;
  4443. case "GeoGebra": //GeoGebra
  4444. _formdiv = new U.UF.UI.form(
  4445. "GeoGebra",
  4446. $$("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" }), {
  4447. "id": "GeoGebra",
  4448. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4449. "onresize": function () { }
  4450. }, {
  4451. closecallback: function () { }
  4452. }, { "style": { "height": "36px" } }).form; //创建窗体
  4453. _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); } }
  4454. break;
  4455. case "translation": //翻译
  4456. _formdiv = new U.UF.UI.form(
  4457. "翻译",
  4458. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4459. "id": "translation",
  4460. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4461. "onresize": function () { }
  4462. }, {
  4463. closecallback: function () { }
  4464. }, { "style": { "height": "36px" } }).form; //创建窗体
  4465. _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); } }
  4466. break;
  4467. case "mohe": //魔盒
  4468. _formdiv = new U.UF.UI.form(
  4469. "魔盒识字",
  4470. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4471. "id": "mohe",
  4472. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4473. "onresize": function () { }
  4474. }, {
  4475. closecallback: function () { }
  4476. }, { "style": { "height": "36px" } }).form; //创建窗体
  4477. _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); } }
  4478. break;
  4479. case "24game": //24点
  4480. _formdiv = new U.UF.UI.form(
  4481. "24点",
  4482. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4483. "id": "24game",
  4484. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4485. "onresize": function () { }
  4486. }, {
  4487. closecallback: function () { }
  4488. }, { "style": { "height": "36px" } }).form; //创建窗体
  4489. _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); } }
  4490. break;
  4491. case "case":
  4492. _formdiv = new U.UF.UI.form(
  4493. "课程进展",
  4494. $$("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 }), {
  4495. "id": "case",
  4496. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4497. "onresize": function () { }
  4498. }, {
  4499. closecallback: function () { }
  4500. }, { "style": { "height": "36px" } }).form; //创建窗体
  4501. _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); } }
  4502. break;
  4503. case "snf":
  4504. _formdiv = new U.UF.UI.form(
  4505. "赛诺梵",
  4506. $$("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" }), {
  4507. "id": "snf",
  4508. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4509. "onresize": function () { }
  4510. }, {
  4511. closecallback: function () { }
  4512. }, { "style": { "height": "36px" } }).form; //创建窗体
  4513. _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); } }
  4514. break;
  4515. case "hanFamily":
  4516. _formdiv = new U.UF.UI.form(
  4517. "汉字家族",
  4518. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4519. "id": "hanFamily",
  4520. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4521. "onresize": function () { }
  4522. }, {
  4523. closecallback: function () { }
  4524. }, { "style": { "height": "36px" } }).form; //创建窗体
  4525. _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); } }
  4526. break;
  4527. case "hanClassics":
  4528. _formdiv = new U.UF.UI.form(
  4529. "国学经典",
  4530. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4531. "id": "hanClassics",
  4532. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4533. "onresize": function () { }
  4534. }, {
  4535. closecallback: function () { }
  4536. }, { "style": { "height": "36px" } }).form; //创建窗体
  4537. _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); } }
  4538. break;
  4539. case "hanTraining":
  4540. _formdiv = new U.UF.UI.form(
  4541. "笔画训练",
  4542. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4543. "id": "hanTraining",
  4544. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4545. "onresize": function () { }
  4546. }, {
  4547. closecallback: function () { }
  4548. }, { "style": { "height": "36px" } }).form; //创建窗体
  4549. _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); } }
  4550. break;
  4551. case "hanClass":
  4552. _formdiv = new U.UF.UI.form(
  4553. "书法课堂",
  4554. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4555. "id": "hanClass",
  4556. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4557. "onresize": function () { }
  4558. }, {
  4559. closecallback: function () { }
  4560. }, { "style": { "height": "36px" } }).form; //创建窗体
  4561. _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); } }
  4562. break;
  4563. case "han":
  4564. _formdiv = new U.UF.UI.form(
  4565. "汉字宫",
  4566. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4567. "id": "han",
  4568. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4569. "onresize": function () { }
  4570. }, {
  4571. closecallback: function () { }
  4572. }, { "style": { "height": "36px" } }).form; //创建窗体
  4573. _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); } }
  4574. break;
  4575. case "projectGM": //课程管理
  4576. _formdiv = new U.UF.UI.form(
  4577. "课程管理",
  4578. $$("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 }), {
  4579. "id": "projectGM",
  4580. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4581. "onresize": function () { }
  4582. }, {
  4583. closecallback: function () { }
  4584. }, { "style": { "height": "36px" } }).form; //创建窗体
  4585. _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); } }
  4586. break;
  4587. case "studyGM": //课程中心
  4588. _formdiv = new U.UF.UI.form(
  4589. "课程中心",
  4590. $$("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
  4591. "id": "study",
  4592. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4593. "onresize": function () { }
  4594. }, {
  4595. closecallback: function () { }
  4596. }, { "style": { "height": "36px" } }).form; //创建窗体
  4597. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4598. break;
  4599. // studentGM
  4600. case "studentGM": //学生管理
  4601. _formdiv = new U.UF.UI.form(
  4602. "学生管理",
  4603. $$("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 }), {
  4604. "id": "studentGM",
  4605. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4606. "onresize": function () { }
  4607. }, {
  4608. closecallback: function () { }
  4609. }, { "style": { "height": "36px" } }).form; //创建窗体
  4610. _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); } }
  4611. break;
  4612. case "evaluateGM": //学生评价
  4613. _formdiv = new U.UF.UI.form(
  4614. "学生评价",
  4615. $$("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 }), {
  4616. "id": "evaluateGM",
  4617. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4618. "onresize": function () { }
  4619. }, {
  4620. closecallback: function () { }
  4621. }, { "style": { "height": "36px" } }).form; //创建窗体
  4622. _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); } }
  4623. break;
  4624. // classGM
  4625. case "classGM": //班级管理
  4626. _formdiv = new U.UF.UI.form(
  4627. "班级管理",
  4628. $$("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 }), {
  4629. "id": "classGM",
  4630. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4631. "onresize": function () { }
  4632. }, {
  4633. closecallback: function () { }
  4634. }, { "style": { "height": "36px" } }).form; //创建窗体
  4635. _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); } }
  4636. break;
  4637. // dataGM
  4638. case "dataGM":
  4639. _formdiv = new U.UF.UI.form(
  4640. "我的资料",
  4641. $$("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 }), {
  4642. "id": "dataGM",
  4643. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4644. "onresize": function () { }
  4645. }, {
  4646. closecallback: function () { }
  4647. }, { "style": { "height": "36px" } }).form; //创建窗体
  4648. _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); } }
  4649. break;
  4650. // caseGM
  4651. case "caseGM": //课程进展
  4652. _formdiv = new U.UF.UI.form(
  4653. "课程进展",
  4654. $$("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 }), {
  4655. "id": "caseGM",
  4656. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4657. "onresize": function () { }
  4658. }, {
  4659. closecallback: function () { }
  4660. }, { "style": { "height": "36px" } }).form; //创建窗体
  4661. _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); } }
  4662. break;
  4663. // meterialGM
  4664. case "meterialGM": //素材库
  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/#/libraryGM?userid=" + _userid + "&org=" + _org }), {
  4668. "id": "meterialGM",
  4669. "style": { "width": "90%", "height": "90%", "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/gm/material.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4675. break;
  4676. // evaluateSGM
  4677. case "evaluateSGM": //我的评价
  4678. _formdiv = new U.UF.UI.form(
  4679. "我的评价",
  4680. $$("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 }), {
  4681. "id": "evaluateSGM",
  4682. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4683. "onresize": function () { }
  4684. }, {
  4685. closecallback: function () { }
  4686. }, { "style": { "height": "36px" } }).form; //创建窗体
  4687. _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); } }
  4688. break;
  4689. case "jupyter": //jupyter
  4690. _formdiv = new U.UF.UI.form(
  4691. "jupyter",
  4692. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4693. "id": "jupyter",
  4694. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4695. "onresize": function () { }
  4696. }, {
  4697. closecallback: function () { }
  4698. }, { "style": { "height": "36px" } }).form; //创建窗体
  4699. _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); } }
  4700. break;
  4701. case "number": //数字实验室
  4702. _formdiv = new U.UF.UI.form(
  4703. "数字实验室",
  4704. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4705. "id": "number",
  4706. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4707. "onresize": function () { }
  4708. }, {
  4709. closecallback: function () { }
  4710. }, { "style": { "height": "36px" } }).form; //创建窗体
  4711. _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); } }
  4712. break;
  4713. case "studentCourse": //项目管理 学生
  4714. _formdiv = new U.UF.UI.form(
  4715. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4716. $$("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 }), {
  4717. "id": "studentCourse",
  4718. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4719. "onresize": function () { }
  4720. }, {
  4721. closecallback: function () { }
  4722. }, { "style": { "height": "36px" } }).form; //创建窗体
  4723. _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); } }
  4724. break;
  4725. case "studentCourseS": //项目管理 老师
  4726. _formdiv = new U.UF.UI.form(
  4727. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4728. $$("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 }), {
  4729. "id": "studentCourseS",
  4730. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4731. "onresize": function () { }
  4732. }, {
  4733. closecallback: function () { }
  4734. }, { "style": { "height": "36px" } }).form; //创建窗体
  4735. _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); } }
  4736. break;
  4737. case "studentIndex": //项目中心
  4738. _formdiv = new U.UF.UI.form(
  4739. "项目中心",
  4740. $$("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 }), {
  4741. "id": "studentIndex",
  4742. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4743. "onresize": function () { }
  4744. }, {
  4745. closecallback: function () { }
  4746. }, { "style": { "height": "36px" } }).form; //创建窗体
  4747. _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); } }
  4748. break;
  4749. case "CaseDesignS":
  4750. _formdiv = new U.UF.UI.form(
  4751. "项目进展",
  4752. $$("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 }), {
  4753. "id": "case",
  4754. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4755. "onresize": function () { }
  4756. }, {
  4757. closecallback: function () { }
  4758. }, { "style": { "height": "36px" } }).form; //创建窗体
  4759. _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); } }
  4760. break;
  4761. case "tcStudent": //腾讯学生管理
  4762. _formdiv = new U.UF.UI.form(
  4763. "学生管理",
  4764. $$("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 }), {
  4765. "id": "tcStudent",
  4766. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4767. "onresize": function () { }
  4768. }, {
  4769. closecallback: function () { }
  4770. }, { "style": { "height": "36px" } }).form; //创建窗体
  4771. _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); } }
  4772. break;
  4773. case "tcSchool": //腾讯学校管理
  4774. _formdiv = new U.UF.UI.form(
  4775. "学校管理",
  4776. $$("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 }), {
  4777. "id": "tcSchool",
  4778. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4779. "onresize": function () { }
  4780. }, {
  4781. closecallback: function () { }
  4782. }, { "style": { "height": "36px" } }).form; //创建窗体
  4783. _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); } }
  4784. break;
  4785. case "tcTeacher": //腾讯学校管理
  4786. _formdiv = new U.UF.UI.form(
  4787. "教师管理",
  4788. $$("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 }), {
  4789. "id": "tcTeacher",
  4790. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4791. "onresize": function () { }
  4792. }, {
  4793. closecallback: function () { }
  4794. }, { "style": { "height": "36px" } }).form; //创建窗体
  4795. _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); } }
  4796. break;
  4797. case "tcData": //腾讯我的资料
  4798. _formdiv = new U.UF.UI.form(
  4799. "我的资料",
  4800. $$("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 }), {
  4801. "id": "tcData",
  4802. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4803. "onresize": function () { }
  4804. }, {
  4805. closecallback: function () { }
  4806. }, { "style": { "height": "36px" } }).form; //创建窗体
  4807. _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); } }
  4808. break;
  4809. case "tcNotice": //腾讯消息通知
  4810. _formdiv = new U.UF.UI.form(
  4811. "消息通知",
  4812. $$("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 }), {
  4813. "id": "tcNotice",
  4814. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4815. "onresize": function () { }
  4816. }, {
  4817. closecallback: function () { }
  4818. }, { "style": { "height": "36px" } }).form; //创建窗体
  4819. _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); } }
  4820. break;
  4821. case "myReport": //好友打开
  4822. _formdiv = new U.UF.UI.form(
  4823. "我的评价",
  4824. $$("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 }), {
  4825. "id": "myReport",
  4826. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4827. "onresize": function () { }
  4828. }, {
  4829. closecallback: function () { }
  4830. }, { "style": { "height": "36px" } }).form; //创建窗体
  4831. _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); } }
  4832. break;
  4833. case "learnAna": //好友打开
  4834. _formdiv = new U.UF.UI.form(
  4835. "学习分析",
  4836. $$("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 }), {
  4837. "id": "learnAna",
  4838. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4839. "onresize": function () { }
  4840. }, {
  4841. closecallback: function () { }
  4842. }, { "style": { "height": "36px" } }).form; //创建窗体
  4843. _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); } }
  4844. break;
  4845. case "AIChat": //AI共创
  4846. _formdiv = new U.UF.UI.form(
  4847. "AI共创",
  4848. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4849. "id": "AIChat",
  4850. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4851. "onresize": function () { }
  4852. }, {
  4853. istop: true,
  4854. closecallback: function () { $("#aichat_icon").remove(); },
  4855. narrowcallback: function () {
  4856. if (!$("#aichat_icon")[0]) {
  4857. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4858. }
  4859. },
  4860. }, { "style": { "height": "36px" } }).form; //创建窗体
  4861. _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); } }
  4862. break;
  4863. case "ainew": //AI共创
  4864. _formdiv = new U.UF.UI.form(
  4865. "AI协同",
  4866. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4867. "id": "ainew",
  4868. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4869. "onresize": function () { }
  4870. }, {
  4871. closecallback: function () { }
  4872. }, { "style": { "height": "36px" } }).form; //创建窗体
  4873. _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); } }
  4874. break;
  4875. case "gpt4": //gpt4
  4876. _formdiv = new U.UF.UI.form(
  4877. "AI助手",
  4878. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/gpt4/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4879. "id": "gpt4",
  4880. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4881. "onresize": function () { }
  4882. }, {
  4883. closecallback: function () { }
  4884. }, { "style": { "height": "36px" } }).form; //创建窗体
  4885. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gpt4.png)" }, "name": "AI助手", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4886. break;
  4887. case "aigpt": //gpt4
  4888. _formdiv = new U.UF.UI.form(
  4889. "AI助手+",
  4890. $$("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.cloud.cocorobo.cn/aigpt/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4891. "id": "aigpt",
  4892. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4893. "onresize": function () { }
  4894. }, {
  4895. closecallback: function () { }
  4896. }, { "style": { "height": "36px" } }).form; //创建窗体
  4897. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aigpt.png)" }, "name": "AI助手+", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4898. break;
  4899. case "futureClass": //AI共创
  4900. _formdiv = new U.UF.UI.form(
  4901. "协同建构",
  4902. $$("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
  4903. "id": "synergyCourse",
  4904. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4905. "onresize": function () { }
  4906. }, {
  4907. closecallback: function () {
  4908. $("iframe", _formdiv)[0].contentWindow.loginout();
  4909. }
  4910. }, { "style": { "height": "36px" } }).form; //创建窗体
  4911. _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); } }
  4912. break;
  4913. case "aiagent": //ai agent
  4914. _formdiv = new U.UF.UI.form(
  4915. "AI Agent",
  4916. $$("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" }), {
  4917. "id": "AIAgent",
  4918. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4919. "onresize": function () { }
  4920. }, {
  4921. closecallback: function () { }
  4922. }, { "style": { "height": "36px" } }).form; //创建窗体
  4923. _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); } }
  4924. break;
  4925. case "dataBoard": //数据看板
  4926. _formdiv = new U.UF.UI.form(
  4927. "数据看板",
  4928. $$("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 }), {
  4929. "id": "dataBoard",
  4930. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4931. "onresize": function () { }
  4932. }, {
  4933. closecallback: function () { }
  4934. }, { "style": { "height": "36px" } }).form; //创建窗体
  4935. _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); } }
  4936. break;
  4937. case "dataBoardSies": //数据融合
  4938. _formdiv = new U.UF.UI.form(
  4939. "数据融合",
  4940. $$("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 }), {
  4941. "id": "dataBoardSies",
  4942. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4943. "onresize": function () { }
  4944. }, {
  4945. closecallback: function () { }
  4946. }, { "style": { "height": "36px" } }).form; //创建窗体
  4947. _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); } }
  4948. break;
  4949. case "dataBoardNew": //数据看板
  4950. _formdiv = new U.UF.UI.form(
  4951. "综合看板",
  4952. $$("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 }), {
  4953. "id": "dataBoardNew",
  4954. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4955. "onresize": function () { }
  4956. }, {
  4957. closecallback: function () { }
  4958. }, { "style": { "height": "36px" } }).form; //创建窗体
  4959. _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); } }
  4960. break;
  4961. case "dataBoardTest": //数据看板
  4962. _formdiv = new U.UF.UI.form(
  4963. "评测看板",
  4964. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoardTest?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4965. "id": "dataBoardTest",
  4966. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4967. "onresize": function () { }
  4968. }, {
  4969. closecallback: function () { }
  4970. }, { "style": { "height": "36px" } }).form; //创建窗体
  4971. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardTest.png)" }, "name": "评测看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4972. break;
  4973. case "AIAnalyse": //AI共创
  4974. _formdiv = new U.UF.UI.form(
  4975. "AI分析",
  4976. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4977. "id": "AIAnalyse",
  4978. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4979. "onresize": function () { }
  4980. }, {
  4981. closecallback: function () { }
  4982. }, { "style": { "height": "36px" } }).form; //创建窗体
  4983. _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); } }
  4984. break;
  4985. case "studioCourse": //AI共创
  4986. _formdiv = new U.UF.UI.form(
  4987. "工作管理",
  4988. $$("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 }), {
  4989. "id": "studioCourse",
  4990. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4991. "onresize": function () { }
  4992. }, {
  4993. closecallback: function () { }
  4994. }, { "style": { "height": "36px" } }).form; //创建窗体
  4995. _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); } }
  4996. break;
  4997. case "studioIndex": //AI共创
  4998. _formdiv = new U.UF.UI.form(
  4999. "工作中心",
  5000. $$("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 }), {
  5001. "id": "studioIndex",
  5002. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5003. "onresize": function () { }
  5004. }, {
  5005. closecallback: function () { }
  5006. }, { "style": { "height": "36px" } }).form; //创建窗体
  5007. _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); } }
  5008. break;
  5009. case "source":
  5010. _formdiv = new U.UF.UI.form(
  5011. "教学资源",
  5012. $$("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 }), {
  5013. "id": "source",
  5014. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5015. "onresize": function () { }
  5016. }, {
  5017. closecallback: function () { }
  5018. }, { "style": { "height": "36px" } }).form; //创建窗体
  5019. _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); } }
  5020. break;
  5021. case "testTeacher":
  5022. _formdiv = new U.UF.UI.form(
  5023. "教师管理",
  5024. $$("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 }), {
  5025. "id": "testTeacher",
  5026. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5027. "onresize": function () { }
  5028. }, {
  5029. closecallback: function () { }
  5030. }, { "style": { "height": "36px" } }).form; //创建窗体
  5031. _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); } }
  5032. break;
  5033. case "testStudent":
  5034. _formdiv = new U.UF.UI.form(
  5035. "教师中心",
  5036. $$("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 }), {
  5037. "id": "testStudent",
  5038. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5039. "onresize": function () { }
  5040. }, {
  5041. closecallback: function () { }
  5042. }, { "style": { "height": "36px" } }).form; //创建窗体
  5043. _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); } }
  5044. break;
  5045. case "testTeacherSies":
  5046. _formdiv = new U.UF.UI.form(
  5047. "教师管理",
  5048. $$("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 }), {
  5049. "id": "testTeacherSies",
  5050. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5051. "onresize": function () { }
  5052. }, {
  5053. closecallback: function () { }
  5054. }, { "style": { "height": "36px" } }).form; //创建窗体
  5055. _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); } }
  5056. break;
  5057. case "testStudentSies":
  5058. _formdiv = new U.UF.UI.form(
  5059. "教师中心",
  5060. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/testPerson?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId + "&role=" + _role }), {
  5061. "id": "testStudentSies",
  5062. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5063. "onresize": function () { }
  5064. }, {
  5065. closecallback: function () { }
  5066. }, { "style": { "height": "36px" } }).form; //创建窗体
  5067. _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); } }
  5068. break;
  5069. case "ytpbl": //消息通知
  5070. _formdiv = new U.UF.UI.form(
  5071. "案例征集",
  5072. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pblyt.cocorobo.cn/#/login?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  5073. "id": "ytpbl",
  5074. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5075. "onresize": function () { }
  5076. }, {
  5077. closecallback: function () { }
  5078. }, { "style": { "height": "36px" } }).form; //创建窗体
  5079. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gpbl2.png)" }, "name": "案例征集", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5080. // window.open("https://gdpbl.cocorobo.cn/#/login", "案例征集", "height=" + US.height + ", width=" + US.width + ", top=100, left=100, toolbar=no, menubar=0, resizable=0, location=0, status=no");
  5081. break;
  5082. case "aiCourseResource": //人工智能窗体
  5083. _formdiv = new U.UF.UI.form(
  5084. false,
  5085. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/course_resource/index.html" + window.location.search }), {
  5086. "id": "aiCourseResource",
  5087. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5088. "onresize": function () { },
  5089. "isdrag": false,
  5090. }, {
  5091. closecallback: function () { }
  5092. }, { "style": { "height": "36px" } }).form; //创建窗体
  5093. _taskbar = ''
  5094. break;
  5095. case "szdjgCocooroboX": //图形化编程
  5096. _formdiv = new U.UF.UI.form(
  5097. "图形化编程",
  5098. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/course_resource/cocoblockly-x/index.html" }), {
  5099. "id": "szdjgCocooroboX",
  5100. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5101. "onresize": function () { }
  5102. }, {
  5103. closecallback: function () { }
  5104. }, { "style": { "height": "36px" } }).form; //创建窗体
  5105. _taskbar = ''
  5106. break;
  5107. case "szdjgPython": //python编程
  5108. _formdiv = new U.UF.UI.form(
  5109. "python编程",
  5110. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/course_resource/cocoblockly-x/python/index.html" }), {
  5111. "id": "szdjgPython",
  5112. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5113. "onresize": function () { }
  5114. }, {
  5115. closecallback: function () { }
  5116. }, { "style": { "height": "36px" } }).form; //创建窗体
  5117. _taskbar = ''
  5118. break;
  5119. case "Record":
  5120. _formdiv = new U.UF.UI.form(
  5121. "观察记录",
  5122. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/record?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  5123. "id": "Record",
  5124. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5125. "onresize": function () { }
  5126. }, {
  5127. closecallback: function () { }
  5128. }, { "style": { "height": "36px" } }).form; //创建窗体
  5129. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Record.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5130. break;
  5131. }
  5132. //U.MD.D.I.openClick(str);
  5133. //如果有任务栏信息
  5134. if (_taskbar) {
  5135. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5136. }
  5137. }
  5138. // U.MD.D.I.openClick = function(str){
  5139. // var click = '';
  5140. // switch(str){
  5141. // case 'friend':
  5142. // click = '我的好友';
  5143. // break;
  5144. // case 'domain':
  5145. // click = '域名管理';
  5146. // break;
  5147. // case 'disk':
  5148. // click = '我的云盘';
  5149. // break;
  5150. // case 'word':
  5151. // click = 'Word';
  5152. // break;
  5153. // case 'excel':
  5154. // click = 'Execl';
  5155. // break;
  5156. // case 'txt':
  5157. // click = '文本文件';
  5158. // break;
  5159. // case 'lookupFriend':
  5160. // click = '查找好友';
  5161. // break;
  5162. // case 'ftp':
  5163. // click = 'FTP';
  5164. // break;
  5165. // case 'group':
  5166. // click = '群组';
  5167. // break;
  5168. // case 'set':
  5169. // click = '我的设置';
  5170. // break;
  5171. // case 'systemSet':
  5172. // click = '系统设置';
  5173. // break;
  5174. // case 'boomYun':
  5175. // click = '互联办公';
  5176. // break;
  5177. // case 'xz':
  5178. // click = '云端下载';
  5179. // break;
  5180. // case 'client':
  5181. // click = '有思浏览器';
  5182. // break;
  5183. // case 'backEndProgramming':
  5184. // click = '在线后台编程';
  5185. // break;
  5186. // case 'frontEndProgramming':
  5187. // click = '在线前端编程';
  5188. // break;
  5189. // default: break;
  5190. // }
  5191. // if(U.MD.D.I.Ip && click){
  5192. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  5193. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  5194. // })
  5195. // }
  5196. // }
  5197. /**
  5198. *函数作用:ajax简易函数,使用post格式
  5199. *@param url {data} 后台地址
  5200. *@param data {data} 参数json
  5201. *@param fn {data} 回调函数
  5202. *
  5203. */
  5204. // U.MD.D.I.Mysqlrequest = function(url,fn){
  5205. // var xhr = new XMLHttpRequest();
  5206. // xhr.open("GET",url,true);
  5207. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  5208. // xhr.onreadystatechange = function(){
  5209. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  5210. // fn.call(this,xhr.responseText);
  5211. // }
  5212. // };
  5213. // xhr.send();
  5214. // }
  5215. /*判断是否是内网IP*/
  5216. // U.MD.D.I.isInnerIPFn = function(str){
  5217. // var curPageUrl = str;
  5218. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  5219. // curPageUrl =curPageUrl.replace(reg1,'');
  5220. // // console.log('curPageUrl-1 '+curPageUrl);
  5221. // var reg2 = /\:+/g;//替换冒号为一点
  5222. // curPageUrl =curPageUrl.replace(reg2,'.');
  5223. // // console.log('curPageUrl-2 '+curPageUrl);
  5224. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  5225. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  5226. // if(curPageUrl[2] != '16'){
  5227. // return ipAddress;
  5228. // }else{
  5229. // return false;
  5230. // }
  5231. // }
  5232. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  5233. // //compatibility for firefox and chrome
  5234. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  5235. // var pc = new myPeerConnection({
  5236. // iceServers: []
  5237. // }),
  5238. // noop = function() {},
  5239. // localIPs = {},
  5240. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  5241. // key;
  5242. // function iterateIP(ip) {
  5243. // if (!localIPs[ip]) onNewIP(ip);
  5244. // localIPs[ip] = true;
  5245. // }
  5246. // //create a bogus data channel
  5247. // pc.createDataChannel("");
  5248. // // create offer and set local description
  5249. // pc.createOffer().then(function(sdp) {
  5250. // sdp.sdp.split('\n').forEach(function(line) {
  5251. // if (line.indexOf('candidate') < 0) return;
  5252. // line.match(ipRegex).forEach(iterateIP);
  5253. // });
  5254. // pc.setLocalDescription(sdp, noop, noop);
  5255. // }).catch(function(reason) {
  5256. // // An error occurred, so handle the failure to connect
  5257. // });
  5258. // //sten for candidate events
  5259. // pc.onicecandidate = function(ice) {
  5260. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  5261. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  5262. // };
  5263. // }
  5264. // U.MD.D.I.getUserIpBool = function(callback){
  5265. // U.MD.D.I.getUserIP(function(ip){
  5266. // alert("Got IP! :" + ip);
  5267. // });
  5268. //}
  5269. //#endregion
  5270. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  5271. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5272. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5273. _userinfo = US.userInfo, //登录用户信息
  5274. _userid = US.userInfo.userid //登录用户id
  5275. let _iframe;
  5276. let _cid = cid,
  5277. _stage = stage,
  5278. _task = task,
  5279. _tool = tool;
  5280. var _jie = $$("div", {
  5281. "style": {
  5282. "position": "absolute",
  5283. "bottom": "50px",
  5284. "right": "50px",
  5285. "zIndex": "9999",
  5286. "backgroundColor": "#2268bc",
  5287. "color": "#fff",
  5288. "padding": "12px 20px",
  5289. "cursor": "pointer",
  5290. "borderRadius": "4px",
  5291. },
  5292. "innerHTML": "提交作业"
  5293. })
  5294. let aTool = ''
  5295. let _loading = document.createElement('div')
  5296. _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;"
  5297. // _loading.id = "";
  5298. let _lchild = document.createElement('div')
  5299. let _limg = document.createElement('img')
  5300. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5301. _limg.style = "width: 26px;margin-right: 10px;"
  5302. _lchild.appendChild(_limg)
  5303. let _lspan = document.createElement('span')
  5304. _lspan.innerHTML = "上传中..."
  5305. _lchild.appendChild(_lspan)
  5306. _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%);"
  5307. _loading.appendChild(_lchild)
  5308. var _box = $$('div', {
  5309. "style": {
  5310. "position": "relative",
  5311. "width": "100%",
  5312. "height": "100%",
  5313. },
  5314. })
  5315. _box.appendChild(_loading)
  5316. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  5317. switch (str) {
  5318. case "whiteboard":
  5319. aTool = 1;
  5320. _iframe = $$("iframe", {
  5321. "frameborder": "no",
  5322. "border": "0",
  5323. "scrolling ": "no",
  5324. "style": {
  5325. "cssText": "border:0;width:100%;height:100%"
  5326. },
  5327. "src": "https://iwb.cocorobo.cn/"
  5328. })
  5329. _box.appendChild(_iframe);
  5330. _box.appendChild(_jie);
  5331. _formdiv = new U.UF.UI.form(
  5332. "电子白板",
  5333. _box, {
  5334. "id": "whiteboard" + cid + stage + task + tool,
  5335. "style": {
  5336. "width": "90%",
  5337. "height": "90%",
  5338. "overflow": 'hidden'
  5339. },
  5340. "onresize": function () { }
  5341. }, {
  5342. closecallback: function () { }
  5343. }, {
  5344. "style": {
  5345. "height": "36px"
  5346. }
  5347. }).form; //创建窗体
  5348. _taskbar = {
  5349. "id": str + _formdiv.id,
  5350. "style": {
  5351. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5352. },
  5353. "name": "电子白板",
  5354. "forms": _formdiv,
  5355. "click": function () {
  5356. U.MD.D.I.openApplication(str, obj, info);
  5357. }
  5358. }
  5359. break;
  5360. case "mind":
  5361. aTool = 3;
  5362. _iframe = $$("iframe", {
  5363. "frameborder": "no",
  5364. "border": "0",
  5365. "scrolling ": "no",
  5366. "style": {
  5367. "cssText": "border:0;width:100%;height:100%"
  5368. },
  5369. "src": "/kityminder-editor/dist/index.html"
  5370. })
  5371. _box.appendChild(_iframe);
  5372. _box.appendChild(_jie);
  5373. _formdiv = new U.UF.UI.form(
  5374. "思维导图",
  5375. _box, { //"/jsmind/example/demo.html"
  5376. "id": "mind" + cid + stage + task + tool,
  5377. "style": {
  5378. "width": "90%",
  5379. "height": "90%",
  5380. "overflow": 'hidden'
  5381. },
  5382. "onresize": function () { }
  5383. }, {
  5384. closecallback: function () { }
  5385. }, {
  5386. "style": {
  5387. "height": "36px"
  5388. }
  5389. }).form; //创建窗体
  5390. _taskbar = {
  5391. "id": str + _formdiv.id,
  5392. "style": {
  5393. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5394. },
  5395. "name": "思维导图",
  5396. "forms": _formdiv,
  5397. "click": function () {
  5398. U.MD.D.I.openApplication(str, obj, info);
  5399. }
  5400. }
  5401. break;
  5402. case "MindMap":
  5403. aTool = 3;
  5404. _iframe = $$("iframe", {
  5405. "frameborder": "no",
  5406. "border": "0",
  5407. "scrolling ": "no",
  5408. "style": {
  5409. "cssText": "border:0;width:100%;height:100%"
  5410. },
  5411. "src": "//cloud.cocorobo.cn/mind/"
  5412. })
  5413. _box.appendChild(_iframe);
  5414. _box.appendChild(_jie);
  5415. _formdiv = new U.UF.UI.form(
  5416. "思维导图",
  5417. _box, { //"/jsmind/example/demo.html"
  5418. "id": "mind" + cid + stage + task + tool,
  5419. "style": {
  5420. "width": "90%",
  5421. "height": "90%",
  5422. "overflow": 'hidden'
  5423. },
  5424. "onresize": function () { }
  5425. }, {
  5426. closecallback: function () { }
  5427. }, {
  5428. "style": {
  5429. "height": "36px"
  5430. }
  5431. }).form; //创建窗体
  5432. _taskbar = {
  5433. "id": str + _formdiv.id,
  5434. "style": {
  5435. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5436. },
  5437. "name": "思维导图",
  5438. "forms": _formdiv,
  5439. "click": function () {
  5440. U.MD.D.I.openApplication(str, obj, info);
  5441. }
  5442. }
  5443. break;
  5444. case "doc":
  5445. aTool = 6;
  5446. _iframe = $$("iframe", {
  5447. "frameborder": "no",
  5448. "border": "0",
  5449. "scrolling ": "no",
  5450. "style": {
  5451. "cssText": "border:0;width:100%;height:100%"
  5452. },
  5453. "src": "/Office/Word/WordEditArea.htm"
  5454. })
  5455. _box.appendChild(_iframe);
  5456. _box.appendChild(_jie);
  5457. _formdiv = new U.UF.UI.form(
  5458. "协同文档",
  5459. _box, {
  5460. "id": "doc" + cid + stage + task + tool,
  5461. "style": {
  5462. "width": "90%",
  5463. "height": "90%",
  5464. "overflow": 'hidden'
  5465. },
  5466. "onresize": function () { }
  5467. }, {
  5468. closecallback: function () { }
  5469. }, {
  5470. "style": {
  5471. "height": "36px"
  5472. }
  5473. }).form; //创建窗体
  5474. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5475. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5476. })
  5477. _taskbar = {
  5478. "id": str + _formdiv.id,
  5479. "style": {
  5480. "backgroundImage": "url(/img/icon/doc.png)"
  5481. },
  5482. "name": "协同文档",
  5483. "forms": _formdiv,
  5484. "click": function () {
  5485. U.MD.D.I.openApplication(str, obj, info);
  5486. }
  5487. }
  5488. break;
  5489. case "mindNetwork": //好友打开
  5490. aTool = 7;
  5491. _iframe = $$("iframe", {
  5492. "webkitallowfullscreen": "",
  5493. "mozallowfullscreen": "",
  5494. "allowfullscreen": "",
  5495. "frameborder": "no",
  5496. "border": "0",
  5497. "scrolling ": "no",
  5498. "style": {
  5499. "cssText": "border:0; width:100%; height:100%;"
  5500. },
  5501. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5502. })
  5503. _box.appendChild(_iframe);
  5504. _box.appendChild(_jie);
  5505. _formdiv = new U.UF.UI.form(
  5506. "思维网格",
  5507. _box, {
  5508. "id": "mindNetwork" + cid + stage + task + tool,
  5509. "style": {
  5510. "width": "90%",
  5511. "height": "90%",
  5512. "overflow": 'hidden'
  5513. },
  5514. "onresize": function () { }
  5515. }, {
  5516. closecallback: function () { }
  5517. }, {
  5518. "style": {
  5519. "height": "36px"
  5520. }
  5521. }).form; //创建窗体
  5522. _taskbar = {
  5523. "id": str + _formdiv.id,
  5524. "style": {
  5525. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5526. },
  5527. "name": "思维网格",
  5528. "forms": _formdiv,
  5529. "click": function () {
  5530. U.MD.D.I.openApplication(str, obj, info);
  5531. }
  5532. }
  5533. break;
  5534. case "courseDesign":
  5535. _iframe = $$("iframe", {
  5536. "webkitallowfullscreen": "",
  5537. "mozallowfullscreen": "",
  5538. "allowfullscreen": "",
  5539. "frameborder": "no",
  5540. "border": "0",
  5541. "scrolling ": "no",
  5542. "style": {
  5543. "cssText": "border:0; width:100%; height:100%;"
  5544. },
  5545. "src": "/course-design-vue"
  5546. })
  5547. _box.appendChild(_iframe);
  5548. _box.appendChild(_jie);
  5549. _formdiv = new U.UF.UI.form(
  5550. "项目设计",
  5551. _box, {
  5552. "id": "courseDesign" + cid + stage + task + tool,
  5553. "style": {
  5554. "width": "90%",
  5555. "height": "90%",
  5556. "overflow": 'hidden'
  5557. },
  5558. "onresize": function () { }
  5559. }, {
  5560. closecallback: function () { }
  5561. }, {
  5562. "style": {
  5563. "height": "36px"
  5564. }
  5565. }).form; //创建窗体
  5566. _taskbar = {
  5567. "id": str + _formdiv.id,
  5568. "style": {
  5569. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5570. },
  5571. "name": "项目设计",
  5572. "forms": _formdiv,
  5573. "click": function () {
  5574. U.MD.D.I.openApplication(str, obj, info);
  5575. }
  5576. }
  5577. break;
  5578. }
  5579. const script1 = document.createElement("script");
  5580. script1.type = "text/javascript";
  5581. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5582. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5583. const script2 = document.createElement("script");
  5584. script2.type = "text/javascript";
  5585. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5586. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5587. const script3 = document.createElement("script");
  5588. script3.type = "text/javascript";
  5589. script3.charset = "UTF-8";
  5590. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5591. const script4 = document.createElement("script");
  5592. script4.type = "text/javascript";
  5593. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5594. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5595. if (_iframe) {
  5596. if (str == 'doc') {
  5597. _iframe = _formdiv.querySelector('iframe')
  5598. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5599. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5600. _iframe.contentWindow.document.body.appendChild(script1);
  5601. _iframe.contentWindow.document.body.appendChild(script2);
  5602. // _iframe.contentWindow.document.body.appendChild(script3);
  5603. _iframe.contentWindow.document.body.appendChild(script4);
  5604. })
  5605. if (onloadListener) {
  5606. _iframe.contentDocument.location.reload()
  5607. } else {
  5608. _iframe.contentDocument.location.reload()
  5609. }
  5610. } else if (str == 'courseDesign') {
  5611. U.UF.DL.iframeLoad(_iframe, function () {
  5612. // _iframe.contentWindow.U.MD.O.W.load();
  5613. // _iframe.contentWindow.document.body.appendChild(script1);
  5614. _iframe.contentWindow.document.body.appendChild(script2);
  5615. _iframe.contentWindow.document.body.appendChild(script4);
  5616. })
  5617. } else if (str == 'mind') {
  5618. _iframe = _formdiv.querySelector('iframe')
  5619. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5620. //
  5621. _iframe.contentWindow.document.body.appendChild(script1);
  5622. _iframe.contentWindow.document.body.appendChild(script2);
  5623. _iframe.contentWindow.document.body.appendChild(script4);
  5624. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5625. })
  5626. if (onloadListener) {
  5627. _iframe.contentDocument.location.reload()
  5628. } else {
  5629. _iframe.contentDocument.location.reload()
  5630. }
  5631. } else if (str == 'whiteboard') {
  5632. _iframe = _formdiv.querySelector('iframe')
  5633. let onloadListener = _iframe.onload = () => {
  5634. _iframe.contentWindow.document.body.appendChild(script1);
  5635. _iframe.contentWindow.document.body.appendChild(script2);
  5636. _iframe.contentWindow.document.body.appendChild(script4);
  5637. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5638. };
  5639. if (onloadListener) {
  5640. _iframe.contentDocument.location.reload()
  5641. } else {
  5642. _iframe.contentDocument.location.reload()
  5643. }
  5644. } else {
  5645. _iframe.onload = () => {
  5646. _iframe.contentWindow.document.body.appendChild(script1);
  5647. _iframe.contentWindow.document.body.appendChild(script2);
  5648. // _iframe.contentWindow.document.body.appendChild(script3);
  5649. _iframe.contentWindow.document.body.appendChild(script4);
  5650. };
  5651. }
  5652. _jie.onclick = async () => {
  5653. let text = ''
  5654. if (aTool == 1) {
  5655. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5656. } else if (aTool == 6) {
  5657. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5658. } else if (aTool == 3) {
  5659. text = await U.MD.D.I.getEditorContent(_iframe);
  5660. }
  5661. _loading.style.display = 'flex'
  5662. console.log(_loading);
  5663. var _ajs = _iframe.contentWindow.document.createElement("script");
  5664. _ajs.type = "text/javascript";
  5665. _ajs.innerHTML =
  5666. // 'console.log(' + _loading + ');\n' +
  5667. 'var _js = document.createElement("script");\n' +
  5668. '_js.type="text/javascript";\n' +
  5669. '_js.charset="UTF-8";\n' +
  5670. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5671. "_js.onload = function(){\n" +
  5672. ' var a = document.getElementsByTagName("img")\n' +
  5673. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5674. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5675. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5676. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5677. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5678. "beforeUpload_shishi(file," +
  5679. "'" +
  5680. _userid +
  5681. "'" +
  5682. ", " +
  5683. "'" +
  5684. _cid +
  5685. "'" +
  5686. ", " +
  5687. "'" +
  5688. _stage +
  5689. "'" +
  5690. ", " +
  5691. "'" +
  5692. _task +
  5693. "'" +
  5694. ", " +
  5695. "'" +
  5696. _tool +
  5697. "'" +
  5698. ", " +
  5699. "'" +
  5700. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5701. "'" +
  5702. ", " +
  5703. "'" +
  5704. aTool +
  5705. "'" +
  5706. ", " +
  5707. "`" +
  5708. text +
  5709. "`" +
  5710. ")\n" +
  5711. " });\n" +
  5712. "}\n" +
  5713. "document.head.appendChild(_js);\n";
  5714. _iframe.contentWindow.document.head.appendChild(_ajs);
  5715. }
  5716. }
  5717. //U.MD.D.I.openClick(str);
  5718. //如果有任务栏信息
  5719. // if (_taskbar) {
  5720. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5721. // }
  5722. }
  5723. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5724. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5725. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5726. _userinfo = US.userInfo, //登录用户信息
  5727. _userid = US.userInfo.userid //登录用户id
  5728. let _iframe;
  5729. let _cid = cid,
  5730. _stage = stage,
  5731. _task = task,
  5732. _tool = tool;
  5733. var _jie = $$("div", {
  5734. "style": {
  5735. "position": "absolute",
  5736. "bottom": "50px",
  5737. "right": "50px",
  5738. "zIndex": "9999",
  5739. "backgroundColor": "#2268bc",
  5740. "color": "#fff",
  5741. "padding": "12px 20px",
  5742. "cursor": "pointer",
  5743. "borderRadius": "4px",
  5744. },
  5745. "innerHTML": "提交作业"
  5746. })
  5747. let aTool = ''
  5748. let _loading = document.createElement('div')
  5749. _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;"
  5750. // _loading.id = "";
  5751. let _lchild = document.createElement('div')
  5752. let _limg = document.createElement('img')
  5753. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5754. _limg.style = "width: 26px;margin-right: 10px;"
  5755. _lchild.appendChild(_limg)
  5756. let _lspan = document.createElement('span')
  5757. _lspan.innerHTML = "上传中..."
  5758. _lchild.appendChild(_lspan)
  5759. _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%);"
  5760. _loading.appendChild(_lchild)
  5761. var _box = $$('div', {
  5762. "style": {
  5763. "position": "relative",
  5764. "width": "100%",
  5765. "height": "100%",
  5766. },
  5767. })
  5768. _box.appendChild(_loading)
  5769. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5770. switch (str) {
  5771. case "whiteboard":
  5772. aTool = 1;
  5773. _iframe = $$("iframe", {
  5774. "frameborder": "no",
  5775. "border": "0",
  5776. "scrolling ": "no",
  5777. "style": {
  5778. "cssText": "border:0;width:100%;height:100%"
  5779. },
  5780. "src": "https://iwb.cocorobo.cn/"
  5781. })
  5782. _box.appendChild(_iframe);
  5783. _box.appendChild(_jie);
  5784. _formdiv = new U.UF.UI.form(
  5785. "电子白板",
  5786. _box, {
  5787. "id": "whiteboard" + cid + stage + task + tool,
  5788. "style": {
  5789. "width": "90%",
  5790. "height": "90%",
  5791. "overflow": 'hidden'
  5792. },
  5793. "onresize": function () { }
  5794. }, {
  5795. closecallback: function () { }
  5796. }, {
  5797. "style": {
  5798. "height": "36px"
  5799. }
  5800. }).form; //创建窗体
  5801. _taskbar = {
  5802. "id": str + _formdiv.id,
  5803. "style": {
  5804. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5805. },
  5806. "name": "电子白板",
  5807. "forms": _formdiv,
  5808. "click": function () {
  5809. U.MD.D.I.openApplication(str, obj, info);
  5810. }
  5811. }
  5812. break;
  5813. case "mind":
  5814. aTool = 3;
  5815. _iframe = $$("iframe", {
  5816. "frameborder": "no",
  5817. "border": "0",
  5818. "scrolling ": "no",
  5819. "style": {
  5820. "cssText": "border:0;width:100%;height:100%"
  5821. },
  5822. "src": "/kityminder-editor/dist/index.html"
  5823. })
  5824. _box.appendChild(_iframe);
  5825. _box.appendChild(_jie);
  5826. _formdiv = new U.UF.UI.form(
  5827. "思维导图",
  5828. _box, { //"/jsmind/example/demo.html"
  5829. "id": "mind" + cid + stage + task + tool,
  5830. "style": {
  5831. "width": "90%",
  5832. "height": "90%",
  5833. "overflow": 'hidden'
  5834. },
  5835. "onresize": function () { }
  5836. }, {
  5837. closecallback: function () { }
  5838. }, {
  5839. "style": {
  5840. "height": "36px"
  5841. }
  5842. }).form; //创建窗体
  5843. _taskbar = {
  5844. "id": str + _formdiv.id,
  5845. "style": {
  5846. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5847. },
  5848. "name": "思维导图",
  5849. "forms": _formdiv,
  5850. "click": function () {
  5851. U.MD.D.I.openApplication(str, obj, info);
  5852. }
  5853. }
  5854. break;
  5855. case "MindMap":
  5856. aTool = 3;
  5857. _iframe = $$("iframe", {
  5858. "frameborder": "no",
  5859. "border": "0",
  5860. "scrolling ": "no",
  5861. "style": {
  5862. "cssText": "border:0;width:100%;height:100%"
  5863. },
  5864. "src": "//cloud.cocorobo.cn/mind/"
  5865. })
  5866. _box.appendChild(_iframe);
  5867. _box.appendChild(_jie);
  5868. _formdiv = new U.UF.UI.form(
  5869. "思维导图",
  5870. _box, { //"/jsmind/example/demo.html"
  5871. "id": "mind" + cid + stage + task + tool,
  5872. "style": {
  5873. "width": "90%",
  5874. "height": "90%",
  5875. "overflow": 'hidden'
  5876. },
  5877. "onresize": function () { }
  5878. }, {
  5879. closecallback: function () { }
  5880. }, {
  5881. "style": {
  5882. "height": "36px"
  5883. }
  5884. }).form; //创建窗体
  5885. _taskbar = {
  5886. "id": str + _formdiv.id,
  5887. "style": {
  5888. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5889. },
  5890. "name": "思维导图",
  5891. "forms": _formdiv,
  5892. "click": function () {
  5893. U.MD.D.I.openApplication(str, obj, info);
  5894. }
  5895. }
  5896. break;
  5897. case "doc":
  5898. aTool = 6;
  5899. _iframe = $$("iframe", {
  5900. "frameborder": "no",
  5901. "border": "0",
  5902. "scrolling ": "no",
  5903. "style": {
  5904. "cssText": "border:0;width:100%;height:100%"
  5905. },
  5906. "src": "/Office/Word/WordEditArea.htm"
  5907. })
  5908. _box.appendChild(_iframe);
  5909. _box.appendChild(_jie);
  5910. _formdiv = new U.UF.UI.form(
  5911. "协同文档",
  5912. _box, {
  5913. "id": "doc" + cid + stage + task + tool,
  5914. "style": {
  5915. "width": "90%",
  5916. "height": "90%",
  5917. "overflow": 'hidden'
  5918. },
  5919. "onresize": function () { }
  5920. }, {
  5921. closecallback: function () { }
  5922. }, {
  5923. "style": {
  5924. "height": "36px"
  5925. }
  5926. }).form; //创建窗体
  5927. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5928. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5929. })
  5930. _taskbar = {
  5931. "id": str + _formdiv.id,
  5932. "style": {
  5933. "backgroundImage": "url(/img/icon/doc.png)"
  5934. },
  5935. "name": "协同文档",
  5936. "forms": _formdiv,
  5937. "click": function () {
  5938. U.MD.D.I.openApplication(str, obj, info);
  5939. }
  5940. }
  5941. break;
  5942. case "mindNetwork": //好友打开
  5943. aTool = 7;
  5944. _iframe = $$("iframe", {
  5945. "webkitallowfullscreen": "",
  5946. "mozallowfullscreen": "",
  5947. "allowfullscreen": "",
  5948. "frameborder": "no",
  5949. "border": "0",
  5950. "scrolling ": "no",
  5951. "style": {
  5952. "cssText": "border:0; width:100%; height:100%;"
  5953. },
  5954. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5955. })
  5956. _box.appendChild(_iframe);
  5957. _box.appendChild(_jie);
  5958. _formdiv = new U.UF.UI.form(
  5959. "思维网格",
  5960. _box, {
  5961. "id": "mindNetwork" + cid + stage + task + tool,
  5962. "style": {
  5963. "width": "90%",
  5964. "height": "90%",
  5965. "overflow": 'hidden'
  5966. },
  5967. "onresize": function () { }
  5968. }, {
  5969. closecallback: function () { }
  5970. }, {
  5971. "style": {
  5972. "height": "36px"
  5973. }
  5974. }).form; //创建窗体
  5975. _taskbar = {
  5976. "id": str + _formdiv.id,
  5977. "style": {
  5978. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5979. },
  5980. "name": "思维网格",
  5981. "forms": _formdiv,
  5982. "click": function () {
  5983. U.MD.D.I.openApplication(str, obj, info);
  5984. }
  5985. }
  5986. break;
  5987. case "courseDesign":
  5988. _iframe = $$("iframe", {
  5989. "webkitallowfullscreen": "",
  5990. "mozallowfullscreen": "",
  5991. "allowfullscreen": "",
  5992. "frameborder": "no",
  5993. "border": "0",
  5994. "scrolling ": "no",
  5995. "style": {
  5996. "cssText": "border:0; width:100%; height:100%;"
  5997. },
  5998. "src": "/course-design-vue"
  5999. })
  6000. _box.appendChild(_iframe);
  6001. _box.appendChild(_jie);
  6002. _formdiv = new U.UF.UI.form(
  6003. "项目设计",
  6004. _box, {
  6005. "id": "courseDesign" + cid + stage + task + tool,
  6006. "style": {
  6007. "width": "90%",
  6008. "height": "90%",
  6009. "overflow": 'hidden'
  6010. },
  6011. "onresize": function () { }
  6012. }, {
  6013. closecallback: function () { }
  6014. }, {
  6015. "style": {
  6016. "height": "36px"
  6017. }
  6018. }).form; //创建窗体
  6019. _taskbar = {
  6020. "id": str + _formdiv.id,
  6021. "style": {
  6022. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6023. },
  6024. "name": "项目设计",
  6025. "forms": _formdiv,
  6026. "click": function () {
  6027. U.MD.D.I.openApplication(str, obj, info);
  6028. }
  6029. }
  6030. break;
  6031. }
  6032. const script1 = document.createElement("script");
  6033. script1.type = "text/javascript";
  6034. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6035. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6036. const script2 = document.createElement("script");
  6037. script2.type = "text/javascript";
  6038. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6039. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6040. const script3 = document.createElement("script");
  6041. script3.type = "text/javascript";
  6042. script3.charset = "UTF-8";
  6043. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6044. const script4 = document.createElement("script");
  6045. script4.type = "text/javascript";
  6046. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6047. script4.src = window.origin + "/js/Common/jietu2E.js";
  6048. if (_iframe) {
  6049. if (str == 'doc') {
  6050. _iframe = _formdiv.querySelector('iframe')
  6051. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6052. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6053. _iframe.contentWindow.document.body.appendChild(script1);
  6054. _iframe.contentWindow.document.body.appendChild(script2);
  6055. // _iframe.contentWindow.document.body.appendChild(script3);
  6056. _iframe.contentWindow.document.body.appendChild(script4);
  6057. })
  6058. if (onloadListener) {
  6059. _iframe.contentDocument.location.reload()
  6060. } else {
  6061. _iframe.contentDocument.location.reload()
  6062. }
  6063. } else if (str == 'courseDesign') {
  6064. U.UF.DL.iframeLoad(_iframe, function () {
  6065. // _iframe.contentWindow.U.MD.O.W.load();
  6066. // _iframe.contentWindow.document.body.appendChild(script1);
  6067. _iframe.contentWindow.document.body.appendChild(script2);
  6068. _iframe.contentWindow.document.body.appendChild(script4);
  6069. })
  6070. } else if (str == 'mind') {
  6071. _iframe = _formdiv.querySelector('iframe')
  6072. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6073. //
  6074. _iframe.contentWindow.document.body.appendChild(script1);
  6075. _iframe.contentWindow.document.body.appendChild(script2);
  6076. _iframe.contentWindow.document.body.appendChild(script4);
  6077. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6078. })
  6079. if (onloadListener) {
  6080. _iframe.contentDocument.location.reload()
  6081. } else {
  6082. _iframe.contentDocument.location.reload()
  6083. }
  6084. } else if (str == 'whiteboard') {
  6085. _iframe = _formdiv.querySelector('iframe')
  6086. let onloadListener = _iframe.onload = () => {
  6087. _iframe.contentWindow.document.body.appendChild(script1);
  6088. _iframe.contentWindow.document.body.appendChild(script2);
  6089. _iframe.contentWindow.document.body.appendChild(script4);
  6090. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6091. };
  6092. if (onloadListener) {
  6093. _iframe.contentDocument.location.reload()
  6094. } else {
  6095. _iframe.contentDocument.location.reload()
  6096. }
  6097. } else {
  6098. _iframe.onload = () => {
  6099. _iframe.contentWindow.document.body.appendChild(script1);
  6100. _iframe.contentWindow.document.body.appendChild(script2);
  6101. // _iframe.contentWindow.document.body.appendChild(script3);
  6102. _iframe.contentWindow.document.body.appendChild(script4);
  6103. };
  6104. }
  6105. _jie.onclick = async () => {
  6106. let text = ''
  6107. if (aTool == 1) {
  6108. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6109. } else if (aTool == 6) {
  6110. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6111. } else if (aTool == 3) {
  6112. text = await U.MD.D.I.getEditorContent(_iframe);
  6113. }
  6114. _loading.style.display = 'flex'
  6115. console.log(_loading);
  6116. var _ajs = _iframe.contentWindow.document.createElement("script");
  6117. _ajs.type = "text/javascript";
  6118. _ajs.innerHTML =
  6119. // 'console.log(' + _loading + ');\n' +
  6120. 'var _js = document.createElement("script");\n' +
  6121. '_js.type="text/javascript";\n' +
  6122. '_js.charset="UTF-8";\n' +
  6123. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6124. "_js.onload = function(){\n" +
  6125. ' var a = document.getElementsByTagName("img")\n' +
  6126. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6127. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6128. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6129. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6130. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6131. "beforeUpload_shishi(file," +
  6132. "'" +
  6133. _userid +
  6134. "'" +
  6135. ", " +
  6136. "'" +
  6137. _cid +
  6138. "'" +
  6139. ", " +
  6140. "'" +
  6141. _stage +
  6142. "'" +
  6143. ", " +
  6144. "'" +
  6145. _task +
  6146. "'" +
  6147. ", " +
  6148. "'" +
  6149. _tool +
  6150. "'" +
  6151. ", " +
  6152. "'" +
  6153. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  6154. "'" +
  6155. ", " +
  6156. "'" +
  6157. aTool +
  6158. "'" +
  6159. ", " +
  6160. "`" +
  6161. text +
  6162. "`" +
  6163. ")\n" +
  6164. " });\n" +
  6165. "}\n" +
  6166. "document.head.appendChild(_js);\n";
  6167. _iframe.contentWindow.document.head.appendChild(_ajs);
  6168. }
  6169. }
  6170. //U.MD.D.I.openClick(str);
  6171. //如果有任务栏信息
  6172. // if (_taskbar) {
  6173. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6174. // }
  6175. }
  6176. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  6177. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6178. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6179. _userid = student.userid, //登录用户id
  6180. _username = student.student //用户名字
  6181. let _iframe;
  6182. let _cid = cid,
  6183. _stage = stage,
  6184. _task = task,
  6185. _tool = tool;
  6186. var _jie = $$("div", {
  6187. "style": {
  6188. "position": "absolute",
  6189. "bottom": "50px",
  6190. "right": "50px",
  6191. "zIndex": "9999",
  6192. "backgroundColor": "#2268bc",
  6193. "color": "#fff",
  6194. "padding": "12px 20px",
  6195. "cursor": "pointer",
  6196. "borderRadius": "4px",
  6197. },
  6198. "innerHTML": "提交作业"
  6199. })
  6200. let aTool = ''
  6201. let _loading = document.createElement('div')
  6202. _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;"
  6203. // _loading.id = "";
  6204. let _lchild = document.createElement('div')
  6205. let _limg = document.createElement('img')
  6206. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6207. _limg.style = "width: 26px;margin-right: 10px;"
  6208. _lchild.appendChild(_limg)
  6209. let _lspan = document.createElement('span')
  6210. _lspan.innerHTML = "上传中..."
  6211. _lchild.appendChild(_lspan)
  6212. _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%);"
  6213. _loading.appendChild(_lchild)
  6214. var _box = $$('div', {
  6215. "style": {
  6216. "position": "relative",
  6217. "width": "100%",
  6218. "height": "100%",
  6219. },
  6220. })
  6221. _box.appendChild(_loading)
  6222. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  6223. switch (str) {
  6224. case "whiteboard":
  6225. aTool = 1;
  6226. _iframe = $$("iframe", {
  6227. "frameborder": "no",
  6228. "border": "0",
  6229. "scrolling ": "no",
  6230. "style": {
  6231. "cssText": "border:0;width:100%;height:100%"
  6232. },
  6233. "src": "https://iwb.cocorobo.cn/"
  6234. })
  6235. _box.appendChild(_iframe);
  6236. _box.appendChild(_jie);
  6237. _formdiv = new U.UF.UI.form(
  6238. "电子白板-" + _username,
  6239. _box, {
  6240. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6241. "style": {
  6242. "width": "90%",
  6243. "height": "90%",
  6244. "overflow": 'hidden'
  6245. },
  6246. "onresize": function () { }
  6247. }, {
  6248. closecallback: function () { }
  6249. }, {
  6250. "style": {
  6251. "height": "36px"
  6252. }
  6253. }).form; //创建窗体
  6254. _taskbar = {
  6255. "id": str + _formdiv.id,
  6256. "style": {
  6257. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6258. },
  6259. "name": "电子白板",
  6260. "forms": _formdiv,
  6261. "click": function () {
  6262. U.MD.D.I.openApplication(str, obj, info);
  6263. }
  6264. }
  6265. break;
  6266. case "mind":
  6267. aTool = 3;
  6268. _iframe = $$("iframe", {
  6269. "frameborder": "no",
  6270. "border": "0",
  6271. "scrolling ": "no",
  6272. "style": {
  6273. "cssText": "border:0;width:100%;height:100%"
  6274. },
  6275. "src": "/kityminder-editor/dist/index.html"
  6276. })
  6277. _box.appendChild(_iframe);
  6278. _box.appendChild(_jie);
  6279. _formdiv = new U.UF.UI.form(
  6280. "思维导图-" + _username,
  6281. _box, { //"/jsmind/example/demo.html"
  6282. "id": "mind" + cid + stage + task + tool + _userid,
  6283. "style": {
  6284. "width": "90%",
  6285. "height": "90%",
  6286. "overflow": 'hidden'
  6287. },
  6288. "onresize": function () { }
  6289. }, {
  6290. closecallback: function () { }
  6291. }, {
  6292. "style": {
  6293. "height": "36px"
  6294. }
  6295. }).form; //创建窗体
  6296. _taskbar = {
  6297. "id": str + _formdiv.id,
  6298. "style": {
  6299. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6300. },
  6301. "name": "思维导图",
  6302. "forms": _formdiv,
  6303. "click": function () {
  6304. U.MD.D.I.openApplication(str, obj, info);
  6305. }
  6306. }
  6307. break;
  6308. case "MindMap":
  6309. aTool = 3;
  6310. _iframe = $$("iframe", {
  6311. "frameborder": "no",
  6312. "border": "0",
  6313. "scrolling ": "no",
  6314. "style": {
  6315. "cssText": "border:0;width:100%;height:100%"
  6316. },
  6317. "src": "//cloud.cocorobo.cn/mind/"
  6318. })
  6319. _box.appendChild(_iframe);
  6320. _box.appendChild(_jie);
  6321. _formdiv = new U.UF.UI.form(
  6322. "思维导图-" + _username,
  6323. _box, { //"/jsmind/example/demo.html"
  6324. "id": "mind" + cid + stage + task + tool + _userid,
  6325. "style": {
  6326. "width": "90%",
  6327. "height": "90%",
  6328. "overflow": 'hidden'
  6329. },
  6330. "onresize": function () { }
  6331. }, {
  6332. closecallback: function () { }
  6333. }, {
  6334. "style": {
  6335. "height": "36px"
  6336. }
  6337. }).form; //创建窗体
  6338. _taskbar = {
  6339. "id": str + _formdiv.id,
  6340. "style": {
  6341. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6342. },
  6343. "name": "思维导图",
  6344. "forms": _formdiv,
  6345. "click": function () {
  6346. U.MD.D.I.openApplication(str, obj, info);
  6347. }
  6348. }
  6349. break;
  6350. case "doc":
  6351. aTool = 6;
  6352. _iframe = $$("iframe", {
  6353. "frameborder": "no",
  6354. "border": "0",
  6355. "scrolling ": "no",
  6356. "style": {
  6357. "cssText": "border:0;width:100%;height:100%"
  6358. },
  6359. "src": "/Office/Word/WordEditArea.htm"
  6360. })
  6361. _box.appendChild(_iframe);
  6362. _box.appendChild(_jie);
  6363. _formdiv = new U.UF.UI.form(
  6364. "协同文档-" + _username,
  6365. _box, {
  6366. "id": "doc" + cid + stage + task + tool + _userid,
  6367. "style": {
  6368. "width": "90%",
  6369. "height": "90%",
  6370. "overflow": 'hidden'
  6371. },
  6372. "onresize": function () { }
  6373. }, {
  6374. closecallback: function () { }
  6375. }, {
  6376. "style": {
  6377. "height": "36px"
  6378. }
  6379. }).form; //创建窗体
  6380. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6381. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6382. })
  6383. _taskbar = {
  6384. "id": str + _formdiv.id,
  6385. "style": {
  6386. "backgroundImage": "url(/img/icon/doc.png)"
  6387. },
  6388. "name": "协同文档",
  6389. "forms": _formdiv,
  6390. "click": function () {
  6391. U.MD.D.I.openApplication(str, obj, info);
  6392. }
  6393. }
  6394. break;
  6395. case "mindNetwork": //好友打开
  6396. aTool = 7;
  6397. _iframe = $$("iframe", {
  6398. "webkitallowfullscreen": "",
  6399. "mozallowfullscreen": "",
  6400. "allowfullscreen": "",
  6401. "frameborder": "no",
  6402. "border": "0",
  6403. "scrolling ": "no",
  6404. "style": {
  6405. "cssText": "border:0; width:100%; height:100%;"
  6406. },
  6407. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6408. })
  6409. _box.appendChild(_iframe);
  6410. _box.appendChild(_jie);
  6411. _formdiv = new U.UF.UI.form(
  6412. "思维网格-" + _username,
  6413. _box, {
  6414. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6415. "style": {
  6416. "width": "90%",
  6417. "height": "90%",
  6418. "overflow": 'hidden'
  6419. },
  6420. "onresize": function () { }
  6421. }, {
  6422. closecallback: function () { }
  6423. }, {
  6424. "style": {
  6425. "height": "36px"
  6426. }
  6427. }).form; //创建窗体
  6428. _taskbar = {
  6429. "id": str + _formdiv.id,
  6430. "style": {
  6431. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6432. },
  6433. "name": "思维网格",
  6434. "forms": _formdiv,
  6435. "click": function () {
  6436. U.MD.D.I.openApplication(str, obj, info);
  6437. }
  6438. }
  6439. break;
  6440. case "courseDesign":
  6441. _iframe = $$("iframe", {
  6442. "webkitallowfullscreen": "",
  6443. "mozallowfullscreen": "",
  6444. "allowfullscreen": "",
  6445. "frameborder": "no",
  6446. "border": "0",
  6447. "scrolling ": "no",
  6448. "style": {
  6449. "cssText": "border:0; width:100%; height:100%;"
  6450. },
  6451. "src": "/course-design-vue"
  6452. })
  6453. _box.appendChild(_iframe);
  6454. _box.appendChild(_jie);
  6455. _formdiv = new U.UF.UI.form(
  6456. "项目设计-" + _username,
  6457. _box, {
  6458. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6459. "style": {
  6460. "width": "90%",
  6461. "height": "90%",
  6462. "overflow": 'hidden'
  6463. },
  6464. "onresize": function () { }
  6465. }, {
  6466. closecallback: function () { }
  6467. }, {
  6468. "style": {
  6469. "height": "36px"
  6470. }
  6471. }).form; //创建窗体
  6472. _taskbar = {
  6473. "id": str + _formdiv.id,
  6474. "style": {
  6475. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6476. },
  6477. "name": "项目设计",
  6478. "forms": _formdiv,
  6479. "click": function () {
  6480. U.MD.D.I.openApplication(str, obj, info);
  6481. }
  6482. }
  6483. break;
  6484. }
  6485. const script1 = document.createElement("script");
  6486. script1.type = "text/javascript";
  6487. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6488. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6489. const script2 = document.createElement("script");
  6490. script2.type = "text/javascript";
  6491. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6492. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6493. const script3 = document.createElement("script");
  6494. script3.type = "text/javascript";
  6495. script3.charset = "UTF-8";
  6496. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6497. const script4 = document.createElement("script");
  6498. script4.type = "text/javascript";
  6499. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6500. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6501. if (_iframe) {
  6502. if (str == 'doc') {
  6503. _iframe = _formdiv.querySelector('iframe')
  6504. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6505. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6506. _iframe.contentWindow.document.body.appendChild(script1);
  6507. _iframe.contentWindow.document.body.appendChild(script2);
  6508. // _iframe.contentWindow.document.body.appendChild(script3);
  6509. _iframe.contentWindow.document.body.appendChild(script4);
  6510. })
  6511. if (onloadListener) {
  6512. _iframe.contentDocument.location.reload()
  6513. } else {
  6514. _iframe.contentDocument.location.reload()
  6515. }
  6516. } else if (str == 'courseDesign') {
  6517. U.UF.DL.iframeLoad(_iframe, function () {
  6518. // _iframe.contentWindow.U.MD.O.W.load();
  6519. // _iframe.contentWindow.document.body.appendChild(script1);
  6520. _iframe.contentWindow.document.body.appendChild(script2);
  6521. _iframe.contentWindow.document.body.appendChild(script4);
  6522. })
  6523. } else if (str == 'mind') {
  6524. _iframe = _formdiv.querySelector('iframe')
  6525. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6526. //
  6527. _iframe.contentWindow.document.body.appendChild(script1);
  6528. _iframe.contentWindow.document.body.appendChild(script2);
  6529. _iframe.contentWindow.document.body.appendChild(script4);
  6530. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6531. })
  6532. if (onloadListener) {
  6533. _iframe.contentDocument.location.reload()
  6534. } else {
  6535. _iframe.contentDocument.location.reload()
  6536. }
  6537. } else if (str == 'whiteboard') {
  6538. _iframe = _formdiv.querySelector('iframe')
  6539. let onloadListener = _iframe.onload = () => {
  6540. _iframe.contentWindow.document.body.appendChild(script1);
  6541. _iframe.contentWindow.document.body.appendChild(script2);
  6542. _iframe.contentWindow.document.body.appendChild(script4);
  6543. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6544. };
  6545. if (onloadListener) {
  6546. _iframe.contentDocument.location.reload()
  6547. } else {
  6548. _iframe.contentDocument.location.reload()
  6549. }
  6550. } else {
  6551. _iframe.onload = () => {
  6552. _iframe.contentWindow.document.body.appendChild(script1);
  6553. _iframe.contentWindow.document.body.appendChild(script2);
  6554. // _iframe.contentWindow.document.body.appendChild(script3);
  6555. _iframe.contentWindow.document.body.appendChild(script4);
  6556. };
  6557. }
  6558. _jie.onclick = async () => {
  6559. let text = ''
  6560. if (aTool == 1) {
  6561. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6562. } else if (aTool == 6) {
  6563. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6564. } else if (aTool == 3) {
  6565. text = await U.MD.D.I.getEditorContent(_iframe);
  6566. }
  6567. _loading.style.display = 'flex'
  6568. console.log(_loading);
  6569. var _ajs = _iframe.contentWindow.document.createElement("script");
  6570. _ajs.type = "text/javascript";
  6571. _ajs.innerHTML =
  6572. // 'console.log(' + _loading + ');\n' +
  6573. 'var _js = document.createElement("script");\n' +
  6574. '_js.type="text/javascript";\n' +
  6575. '_js.charset="UTF-8";\n' +
  6576. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6577. "_js.onload = function(){\n" +
  6578. ' var a = document.getElementsByTagName("img")\n' +
  6579. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6580. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6581. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6582. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6583. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6584. "beforeUpload_shishi(file," +
  6585. "'" +
  6586. _userid +
  6587. "'" +
  6588. ", " +
  6589. "'" +
  6590. _cid +
  6591. "'" +
  6592. ", " +
  6593. "'" +
  6594. _stage +
  6595. "'" +
  6596. ", " +
  6597. "'" +
  6598. _task +
  6599. "'" +
  6600. ", " +
  6601. "'" +
  6602. _tool +
  6603. "'" +
  6604. ", " +
  6605. "'" +
  6606. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6607. "'" +
  6608. ", " +
  6609. "'" +
  6610. aTool +
  6611. "'" +
  6612. ", " +
  6613. "`" +
  6614. text +
  6615. "`" +
  6616. ")\n" +
  6617. " });\n" +
  6618. "}\n" +
  6619. "document.head.appendChild(_js);\n";
  6620. _iframe.contentWindow.document.head.appendChild(_ajs);
  6621. }
  6622. }
  6623. }
  6624. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6625. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6626. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6627. _userid = student.userid, //登录用户id
  6628. _username = student.student //用户名字
  6629. let _iframe;
  6630. let _cid = cid,
  6631. _stage = stage,
  6632. _task = task,
  6633. _tool = tool;
  6634. var _jie = $$("div", {
  6635. "style": {
  6636. "position": "absolute",
  6637. "bottom": "50px",
  6638. "right": "50px",
  6639. "zIndex": "9999",
  6640. "backgroundColor": "#2268bc",
  6641. "color": "#fff",
  6642. "padding": "12px 20px",
  6643. "cursor": "pointer",
  6644. "borderRadius": "4px",
  6645. },
  6646. "innerHTML": "提交作业"
  6647. })
  6648. let aTool = ''
  6649. let _loading = document.createElement('div')
  6650. _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;"
  6651. // _loading.id = "";
  6652. let _lchild = document.createElement('div')
  6653. let _limg = document.createElement('img')
  6654. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6655. _limg.style = "width: 26px;margin-right: 10px;"
  6656. _lchild.appendChild(_limg)
  6657. let _lspan = document.createElement('span')
  6658. _lspan.innerHTML = "上传中..."
  6659. _lchild.appendChild(_lspan)
  6660. _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%);"
  6661. _loading.appendChild(_lchild)
  6662. var _box = $$('div', {
  6663. "style": {
  6664. "position": "relative",
  6665. "width": "100%",
  6666. "height": "100%",
  6667. },
  6668. })
  6669. _box.appendChild(_loading)
  6670. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6671. switch (str) {
  6672. case "whiteboard":
  6673. aTool = 1;
  6674. _iframe = $$("iframe", {
  6675. "frameborder": "no",
  6676. "border": "0",
  6677. "scrolling ": "no",
  6678. "style": {
  6679. "cssText": "border:0;width:100%;height:100%"
  6680. },
  6681. "src": "https://iwb.cocorobo.cn/"
  6682. })
  6683. _box.appendChild(_iframe);
  6684. _box.appendChild(_jie);
  6685. _formdiv = new U.UF.UI.form(
  6686. "电子白板-" + _username,
  6687. _box, {
  6688. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6689. "style": {
  6690. "width": "90%",
  6691. "height": "90%",
  6692. "overflow": 'hidden'
  6693. },
  6694. "onresize": function () { }
  6695. }, {
  6696. closecallback: function () { }
  6697. }, {
  6698. "style": {
  6699. "height": "36px"
  6700. }
  6701. }).form; //创建窗体
  6702. _taskbar = {
  6703. "id": str + _formdiv.id,
  6704. "style": {
  6705. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6706. },
  6707. "name": "电子白板",
  6708. "forms": _formdiv,
  6709. "click": function () {
  6710. U.MD.D.I.openApplication(str, obj, info);
  6711. }
  6712. }
  6713. break;
  6714. case "mind":
  6715. aTool = 3;
  6716. _iframe = $$("iframe", {
  6717. "frameborder": "no",
  6718. "border": "0",
  6719. "scrolling ": "no",
  6720. "style": {
  6721. "cssText": "border:0;width:100%;height:100%"
  6722. },
  6723. "src": "/kityminder-editor/dist/index.html"
  6724. })
  6725. _box.appendChild(_iframe);
  6726. _box.appendChild(_jie);
  6727. _formdiv = new U.UF.UI.form(
  6728. "思维导图-" + _username,
  6729. _box, { //"/jsmind/example/demo.html"
  6730. "id": "mind" + cid + stage + task + tool + _userid,
  6731. "style": {
  6732. "width": "90%",
  6733. "height": "90%",
  6734. "overflow": 'hidden'
  6735. },
  6736. "onresize": function () { }
  6737. }, {
  6738. closecallback: function () { }
  6739. }, {
  6740. "style": {
  6741. "height": "36px"
  6742. }
  6743. }).form; //创建窗体
  6744. _taskbar = {
  6745. "id": str + _formdiv.id,
  6746. "style": {
  6747. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6748. },
  6749. "name": "思维导图",
  6750. "forms": _formdiv,
  6751. "click": function () {
  6752. U.MD.D.I.openApplication(str, obj, info);
  6753. }
  6754. }
  6755. break;
  6756. case "MindMap":
  6757. aTool = 3;
  6758. _iframe = $$("iframe", {
  6759. "frameborder": "no",
  6760. "border": "0",
  6761. "scrolling ": "no",
  6762. "style": {
  6763. "cssText": "border:0;width:100%;height:100%"
  6764. },
  6765. "src": "//cloud.cocorobo.cn/mind/"
  6766. })
  6767. _box.appendChild(_iframe);
  6768. _box.appendChild(_jie);
  6769. _formdiv = new U.UF.UI.form(
  6770. "思维导图-" + _username,
  6771. _box, { //"/jsmind/example/demo.html"
  6772. "id": "mind" + cid + stage + task + tool + _userid,
  6773. "style": {
  6774. "width": "90%",
  6775. "height": "90%",
  6776. "overflow": 'hidden'
  6777. },
  6778. "onresize": function () { }
  6779. }, {
  6780. closecallback: function () { }
  6781. }, {
  6782. "style": {
  6783. "height": "36px"
  6784. }
  6785. }).form; //创建窗体
  6786. _taskbar = {
  6787. "id": str + _formdiv.id,
  6788. "style": {
  6789. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6790. },
  6791. "name": "思维导图",
  6792. "forms": _formdiv,
  6793. "click": function () {
  6794. U.MD.D.I.openApplication(str, obj, info);
  6795. }
  6796. }
  6797. break;
  6798. case "doc":
  6799. aTool = 6;
  6800. _iframe = $$("iframe", {
  6801. "frameborder": "no",
  6802. "border": "0",
  6803. "scrolling ": "no",
  6804. "style": {
  6805. "cssText": "border:0;width:100%;height:100%"
  6806. },
  6807. "src": "/Office/Word/WordEditArea.htm"
  6808. })
  6809. _box.appendChild(_iframe);
  6810. _box.appendChild(_jie);
  6811. _formdiv = new U.UF.UI.form(
  6812. "协同文档-" + _username,
  6813. _box, {
  6814. "id": "doc" + cid + stage + task + tool + _userid,
  6815. "style": {
  6816. "width": "90%",
  6817. "height": "90%",
  6818. "overflow": 'hidden'
  6819. },
  6820. "onresize": function () { }
  6821. }, {
  6822. closecallback: function () { }
  6823. }, {
  6824. "style": {
  6825. "height": "36px"
  6826. }
  6827. }).form; //创建窗体
  6828. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6829. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6830. })
  6831. _taskbar = {
  6832. "id": str + _formdiv.id,
  6833. "style": {
  6834. "backgroundImage": "url(/img/icon/doc.png)"
  6835. },
  6836. "name": "协同文档",
  6837. "forms": _formdiv,
  6838. "click": function () {
  6839. U.MD.D.I.openApplication(str, obj, info);
  6840. }
  6841. }
  6842. break;
  6843. case "mindNetwork": //好友打开
  6844. aTool = 7;
  6845. _iframe = $$("iframe", {
  6846. "webkitallowfullscreen": "",
  6847. "mozallowfullscreen": "",
  6848. "allowfullscreen": "",
  6849. "frameborder": "no",
  6850. "border": "0",
  6851. "scrolling ": "no",
  6852. "style": {
  6853. "cssText": "border:0; width:100%; height:100%;"
  6854. },
  6855. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6856. })
  6857. _box.appendChild(_iframe);
  6858. _box.appendChild(_jie);
  6859. _formdiv = new U.UF.UI.form(
  6860. "思维网格-" + _username,
  6861. _box, {
  6862. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6863. "style": {
  6864. "width": "90%",
  6865. "height": "90%",
  6866. "overflow": 'hidden'
  6867. },
  6868. "onresize": function () { }
  6869. }, {
  6870. closecallback: function () { }
  6871. }, {
  6872. "style": {
  6873. "height": "36px"
  6874. }
  6875. }).form; //创建窗体
  6876. _taskbar = {
  6877. "id": str + _formdiv.id,
  6878. "style": {
  6879. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6880. },
  6881. "name": "思维网格",
  6882. "forms": _formdiv,
  6883. "click": function () {
  6884. U.MD.D.I.openApplication(str, obj, info);
  6885. }
  6886. }
  6887. break;
  6888. case "courseDesign":
  6889. _iframe = $$("iframe", {
  6890. "webkitallowfullscreen": "",
  6891. "mozallowfullscreen": "",
  6892. "allowfullscreen": "",
  6893. "frameborder": "no",
  6894. "border": "0",
  6895. "scrolling ": "no",
  6896. "style": {
  6897. "cssText": "border:0; width:100%; height:100%;"
  6898. },
  6899. "src": "/course-design-vue"
  6900. })
  6901. _box.appendChild(_iframe);
  6902. _box.appendChild(_jie);
  6903. _formdiv = new U.UF.UI.form(
  6904. "项目设计-" + _username,
  6905. _box, {
  6906. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6907. "style": {
  6908. "width": "90%",
  6909. "height": "90%",
  6910. "overflow": 'hidden'
  6911. },
  6912. "onresize": function () { }
  6913. }, {
  6914. closecallback: function () { }
  6915. }, {
  6916. "style": {
  6917. "height": "36px"
  6918. }
  6919. }).form; //创建窗体
  6920. _taskbar = {
  6921. "id": str + _formdiv.id,
  6922. "style": {
  6923. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6924. },
  6925. "name": "项目设计",
  6926. "forms": _formdiv,
  6927. "click": function () {
  6928. U.MD.D.I.openApplication(str, obj, info);
  6929. }
  6930. }
  6931. break;
  6932. }
  6933. const script1 = document.createElement("script");
  6934. script1.type = "text/javascript";
  6935. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6936. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6937. const script2 = document.createElement("script");
  6938. script2.type = "text/javascript";
  6939. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6940. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6941. const script3 = document.createElement("script");
  6942. script3.type = "text/javascript";
  6943. script3.charset = "UTF-8";
  6944. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6945. const script4 = document.createElement("script");
  6946. script4.type = "text/javascript";
  6947. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6948. script4.src = window.origin + "/js/Common/jietu2E.js";
  6949. if (_iframe) {
  6950. if (str == 'doc') {
  6951. _iframe = _formdiv.querySelector('iframe')
  6952. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6953. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6954. _iframe.contentWindow.document.body.appendChild(script1);
  6955. _iframe.contentWindow.document.body.appendChild(script2);
  6956. // _iframe.contentWindow.document.body.appendChild(script3);
  6957. _iframe.contentWindow.document.body.appendChild(script4);
  6958. })
  6959. if (onloadListener) {
  6960. _iframe.contentDocument.location.reload()
  6961. } else {
  6962. _iframe.contentDocument.location.reload()
  6963. }
  6964. } else if (str == 'courseDesign') {
  6965. U.UF.DL.iframeLoad(_iframe, function () {
  6966. // _iframe.contentWindow.U.MD.O.W.load();
  6967. // _iframe.contentWindow.document.body.appendChild(script1);
  6968. _iframe.contentWindow.document.body.appendChild(script2);
  6969. _iframe.contentWindow.document.body.appendChild(script4);
  6970. })
  6971. } else if (str == 'mind') {
  6972. _iframe = _formdiv.querySelector('iframe')
  6973. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6974. //
  6975. _iframe.contentWindow.document.body.appendChild(script1);
  6976. _iframe.contentWindow.document.body.appendChild(script2);
  6977. _iframe.contentWindow.document.body.appendChild(script4);
  6978. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6979. })
  6980. if (onloadListener) {
  6981. _iframe.contentDocument.location.reload()
  6982. } else {
  6983. _iframe.contentDocument.location.reload()
  6984. }
  6985. } else if (str == 'whiteboard') {
  6986. _iframe = _formdiv.querySelector('iframe')
  6987. let onloadListener = _iframe.onload = () => {
  6988. _iframe.contentWindow.document.body.appendChild(script1);
  6989. _iframe.contentWindow.document.body.appendChild(script2);
  6990. _iframe.contentWindow.document.body.appendChild(script4);
  6991. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6992. };
  6993. if (onloadListener) {
  6994. _iframe.contentDocument.location.reload()
  6995. } else {
  6996. _iframe.contentDocument.location.reload()
  6997. }
  6998. } else {
  6999. _iframe.onload = () => {
  7000. _iframe.contentWindow.document.body.appendChild(script1);
  7001. _iframe.contentWindow.document.body.appendChild(script2);
  7002. // _iframe.contentWindow.document.body.appendChild(script3);
  7003. _iframe.contentWindow.document.body.appendChild(script4);
  7004. };
  7005. }
  7006. _jie.onclick = async () => {
  7007. let text = ''
  7008. if (aTool == 1) {
  7009. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7010. } else if (aTool == 6) {
  7011. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7012. } else if (aTool == 3) {
  7013. text = await U.MD.D.I.getEditorContent(_iframe);
  7014. }
  7015. _loading.style.display = 'flex'
  7016. console.log(_loading);
  7017. var _ajs = _iframe.contentWindow.document.createElement("script");
  7018. _ajs.type = "text/javascript";
  7019. _ajs.innerHTML =
  7020. // 'console.log(' + _loading + ');\n' +
  7021. 'var _js = document.createElement("script");\n' +
  7022. '_js.type="text/javascript";\n' +
  7023. '_js.charset="UTF-8";\n' +
  7024. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7025. "_js.onload = function(){\n" +
  7026. ' var a = document.getElementsByTagName("img")\n' +
  7027. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7028. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7029. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7030. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7031. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7032. "beforeUpload_shishi(file," +
  7033. "'" +
  7034. _userid +
  7035. "'" +
  7036. ", " +
  7037. "'" +
  7038. _cid +
  7039. "'" +
  7040. ", " +
  7041. "'" +
  7042. _stage +
  7043. "'" +
  7044. ", " +
  7045. "'" +
  7046. _task +
  7047. "'" +
  7048. ", " +
  7049. "'" +
  7050. _tool +
  7051. "'" +
  7052. ", " +
  7053. "'" +
  7054. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  7055. "'" +
  7056. ", " +
  7057. "'" +
  7058. aTool +
  7059. "'" +
  7060. ", " +
  7061. "`" +
  7062. text +
  7063. "`" +
  7064. ")\n" +
  7065. " });\n" +
  7066. "}\n" +
  7067. "document.head.appendChild(_js);\n";
  7068. _iframe.contentWindow.document.head.appendChild(_ajs);
  7069. }
  7070. }
  7071. }
  7072. U.MD.D.I.getEditorContent = function (iframe) {
  7073. return new Promise((resolve, reject) => {
  7074. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  7075. console.log(content);
  7076. resolve(content)
  7077. });
  7078. });
  7079. }
  7080. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  7081. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  7082. // if (res.value[0].length > 0) {
  7083. // // resolve(res.value[0][0].text);
  7084. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  7085. // $(fileInput).val('');
  7086. // });
  7087. // }
  7088. // }, [], { "type": "GET", "withCredentials": true });
  7089. var xmlhttp;
  7090. var Mac, Sn, DeviceId
  7091. if (window.XMLHttpRequest) {
  7092. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7093. xmlhttp = new XMLHttpRequest();
  7094. } else {
  7095. // IE6, IE5 浏览器执行代码
  7096. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7097. }
  7098. xmlhttp.onreadystatechange = function () {
  7099. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7100. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7101. // resolve(res.value[0][0].text);
  7102. if (type == '2') {
  7103. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7104. } else if (type == '3') {
  7105. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7106. }
  7107. } else {
  7108. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  7109. }
  7110. }
  7111. }
  7112. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7113. xmlhttp.send();
  7114. }
  7115. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  7116. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7117. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7118. _userinfo = US.userInfo, //登录用户信息
  7119. _userid = US.userInfo.userid //登录用户id
  7120. let _iframe;
  7121. let _cid = cid,
  7122. _stage = stage,
  7123. _task = task,
  7124. _tool = tool;
  7125. var _jie = $$("div", {
  7126. "style": {
  7127. "position": "absolute",
  7128. "bottom": "50px",
  7129. "right": "50px",
  7130. "zIndex": "9999",
  7131. "backgroundColor": "#2268bc",
  7132. "color": "#fff",
  7133. "padding": "12px 20px",
  7134. "cursor": "pointer",
  7135. "borderRadius": "4px",
  7136. },
  7137. "innerHTML": "确认并提交"
  7138. })
  7139. let aTool = ''
  7140. let _loading = document.createElement('div')
  7141. _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;"
  7142. // _loading.id = "";
  7143. let _lchild = document.createElement('div')
  7144. let _limg = document.createElement('img')
  7145. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7146. _limg.style = "width: 26px;margin-right: 10px;"
  7147. _lchild.appendChild(_limg)
  7148. let _lspan = document.createElement('span')
  7149. _lspan.innerHTML = "上传中..."
  7150. _lchild.appendChild(_lspan)
  7151. _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%);"
  7152. _loading.appendChild(_lchild)
  7153. var _box = $$('div', {
  7154. "style": {
  7155. "position": "relative",
  7156. "width": "100%",
  7157. "height": "100%",
  7158. },
  7159. })
  7160. _box.appendChild(_loading)
  7161. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  7162. switch (str) {
  7163. case "whiteboard":
  7164. aTool = 1;
  7165. _iframe = $$("iframe", {
  7166. "frameborder": "no",
  7167. "border": "0",
  7168. "scrolling ": "no",
  7169. "style": {
  7170. "cssText": "border:0;width:100%;height:100%"
  7171. },
  7172. "src": "https://iwb.cocorobo.cn/"
  7173. })
  7174. _box.appendChild(_iframe);
  7175. _box.appendChild(_jie);
  7176. _formdiv = new U.UF.UI.form(
  7177. "电子白板",
  7178. _box, {
  7179. "id": "whiteboards" + cid + stage + task + tool,
  7180. "style": {
  7181. "width": "90%",
  7182. "height": "90%",
  7183. "overflow": 'hidden'
  7184. },
  7185. "onresize": function () { }
  7186. }, {
  7187. closecallback: function () { }
  7188. }, {
  7189. "style": {
  7190. "height": "36px"
  7191. }
  7192. }).form; //创建窗体
  7193. _taskbar = {
  7194. "id": str + _formdiv.id,
  7195. "style": {
  7196. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7197. },
  7198. "name": "电子白板",
  7199. "forms": _formdiv,
  7200. "click": function () {
  7201. U.MD.D.I.openApplication(str, obj, info);
  7202. }
  7203. }
  7204. break;
  7205. case "mind":
  7206. aTool = 3;
  7207. _iframe = $$("iframe", {
  7208. "frameborder": "no",
  7209. "border": "0",
  7210. "scrolling ": "no",
  7211. "style": {
  7212. "cssText": "border:0;width:100%;height:100%"
  7213. },
  7214. "src": "/kityminder-editor/dist/index.html"
  7215. });
  7216. _box.appendChild(_iframe);
  7217. _box.appendChild(_jie);
  7218. _formdiv = new U.UF.UI.form(
  7219. "思维导图",
  7220. _box, { //"/jsmind/example/demo.html"
  7221. "id": "minds" + cid + stage + task + tool,
  7222. "style": {
  7223. "width": "90%",
  7224. "height": "90%",
  7225. "overflow": 'hidden'
  7226. },
  7227. "onresize": function () { }
  7228. }, {
  7229. closecallback: function () { }
  7230. }, {
  7231. "style": {
  7232. "height": "36px"
  7233. }
  7234. }).form; //创建窗体
  7235. _taskbar = {
  7236. "id": str + _formdiv.id,
  7237. "style": {
  7238. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7239. },
  7240. "name": "思维导图",
  7241. "forms": _formdiv,
  7242. "click": function () {
  7243. U.MD.D.I.openApplication(str, obj, info);
  7244. }
  7245. }
  7246. break;
  7247. case "doc":
  7248. aTool = 6;
  7249. _iframe = $$("iframe", {
  7250. "frameborder": "no",
  7251. "border": "0",
  7252. "scrolling ": "no",
  7253. "style": {
  7254. "cssText": "border:0;width:100%;height:100%"
  7255. },
  7256. "src": "/Office/Word/WordEditArea.htm"
  7257. })
  7258. _box.appendChild(_iframe);
  7259. _box.appendChild(_jie);
  7260. _formdiv = new U.UF.UI.form(
  7261. "协同文档",
  7262. _box, {
  7263. "id": "docs" + cid + stage + task + tool,
  7264. "style": {
  7265. "width": "90%",
  7266. "height": "90%",
  7267. "overflow": 'hidden'
  7268. },
  7269. "onresize": function () { }
  7270. }, {
  7271. closecallback: function () { }
  7272. }, {
  7273. "style": {
  7274. "height": "36px"
  7275. }
  7276. }).form; //创建窗体
  7277. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7278. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7279. })
  7280. _taskbar = {
  7281. "id": str + _formdiv.id,
  7282. "style": {
  7283. "backgroundImage": "url(/img/icon/doc.png)"
  7284. },
  7285. "name": "协同文档",
  7286. "forms": _formdiv,
  7287. "click": function () {
  7288. U.MD.D.I.openApplication(str, obj, info);
  7289. }
  7290. }
  7291. break;
  7292. }
  7293. const script1 = document.createElement("script");
  7294. script1.type = "text/javascript";
  7295. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7296. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7297. const script2 = document.createElement("script");
  7298. script2.type = "text/javascript";
  7299. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7300. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7301. const script3 = document.createElement("script");
  7302. script3.type = "text/javascript";
  7303. script3.charset = "UTF-8";
  7304. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7305. const script4 = document.createElement("script");
  7306. script4.type = "text/javascript";
  7307. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7308. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  7309. if (_iframe) {
  7310. if (str == 'doc') {
  7311. _iframe = _formdiv.querySelector('iframe')
  7312. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7313. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7314. _iframe.contentWindow.document.body.appendChild(script1);
  7315. _iframe.contentWindow.document.body.appendChild(script2);
  7316. // _iframe.contentWindow.document.body.appendChild(script3);
  7317. _iframe.contentWindow.document.body.appendChild(script4);
  7318. })
  7319. if (onloadListener) {
  7320. _iframe.contentDocument.location.reload()
  7321. } else {
  7322. _iframe.contentDocument.location.reload()
  7323. }
  7324. } else if (str == 'mind') {
  7325. _iframe = _formdiv.querySelector('iframe')
  7326. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7327. _iframe.contentWindow.document.body.appendChild(script1);
  7328. _iframe.contentWindow.document.body.appendChild(script2);
  7329. _iframe.contentWindow.document.body.appendChild(script4);
  7330. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7331. })
  7332. if (onloadListener) {
  7333. _iframe.contentDocument.location.reload()
  7334. } else {
  7335. _iframe.contentDocument.location.reload()
  7336. }
  7337. } else {
  7338. _iframe.onload = () => {
  7339. _iframe.contentWindow.document.body.appendChild(script1);
  7340. _iframe.contentWindow.document.body.appendChild(script2);
  7341. // _iframe.contentWindow.document.body.appendChild(script3);
  7342. _iframe.contentWindow.document.body.appendChild(script4);
  7343. };
  7344. }
  7345. _jie.onclick = async () => {
  7346. let text = ''
  7347. if (aTool == 6) {
  7348. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7349. } else if (aTool == 3) {
  7350. text = await U.MD.D.I.getEditorContent(_iframe);
  7351. }
  7352. _loading.style.display = 'flex'
  7353. console.log(_loading);
  7354. var _ajs = _iframe.contentWindow.document.createElement("script");
  7355. _ajs.type = "text/javascript";
  7356. _ajs.innerHTML =
  7357. // 'console.log(' + _loading + ');\n' +
  7358. 'var _js = document.createElement("script");\n' +
  7359. '_js.type="text/javascript";\n' +
  7360. '_js.charset="UTF-8";\n' +
  7361. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7362. "_js.onload = function(){\n" +
  7363. ' var a = document.getElementsByTagName("img")\n' +
  7364. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7365. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7366. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7367. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7368. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7369. "beforeUpload_shishi(file," +
  7370. "'" +
  7371. _userid +
  7372. "'" +
  7373. ", " +
  7374. "'" +
  7375. _cid +
  7376. "'" +
  7377. ", " +
  7378. "'" +
  7379. _stage +
  7380. "'" +
  7381. ", " +
  7382. "'" +
  7383. _task +
  7384. "'" +
  7385. ", " +
  7386. "'" +
  7387. _tool +
  7388. "'" +
  7389. ", " +
  7390. "'" +
  7391. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7392. "'" +
  7393. ", " +
  7394. "'" +
  7395. aTool +
  7396. "'" +
  7397. ", " +
  7398. "`" +
  7399. text +
  7400. "`" +
  7401. ")\n" +
  7402. " });\n" +
  7403. "}\n" +
  7404. "document.head.appendChild(_js);\n";
  7405. _iframe.contentWindow.document.head.appendChild(_ajs);
  7406. }
  7407. }
  7408. //U.MD.D.I.openClick(str);
  7409. //如果有任务栏信息
  7410. // if (_taskbar) {
  7411. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7412. // }
  7413. }
  7414. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7415. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7416. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7417. _userinfo = US.userInfo, //登录用户信息
  7418. _userid = US.userInfo.userid //登录用户id
  7419. let _iframe;
  7420. let _cid = cid,
  7421. _stage = stage,
  7422. _task = task,
  7423. _tool = tool;
  7424. var _jie = $$("div", {
  7425. "style": {
  7426. "position": "absolute",
  7427. "bottom": "50px",
  7428. "right": "50px",
  7429. "zIndex": "9999",
  7430. "backgroundColor": "#2268bc",
  7431. "color": "#fff",
  7432. "padding": "12px 20px",
  7433. "cursor": "pointer",
  7434. "borderRadius": "4px",
  7435. },
  7436. "innerHTML": "确认并提交"
  7437. })
  7438. let aTool = ''
  7439. let _loading = document.createElement('div')
  7440. _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;"
  7441. // _loading.id = "";
  7442. let _lchild = document.createElement('div')
  7443. let _limg = document.createElement('img')
  7444. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7445. _limg.style = "width: 26px;margin-right: 10px;"
  7446. _lchild.appendChild(_limg)
  7447. let _lspan = document.createElement('span')
  7448. _lspan.innerHTML = "上传中..."
  7449. _lchild.appendChild(_lspan)
  7450. _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%);"
  7451. _loading.appendChild(_lchild)
  7452. var _box = $$('div', {
  7453. "style": {
  7454. "position": "relative",
  7455. "width": "100%",
  7456. "height": "100%",
  7457. },
  7458. })
  7459. _box.appendChild(_loading)
  7460. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7461. switch (str) {
  7462. case "whiteboard":
  7463. aTool = 1;
  7464. _iframe = $$("iframe", {
  7465. "frameborder": "no",
  7466. "border": "0",
  7467. "scrolling ": "no",
  7468. "style": {
  7469. "cssText": "border:0;width:100%;height:100%"
  7470. },
  7471. "src": "https://iwb.cocorobo.cn/"
  7472. })
  7473. _box.appendChild(_iframe);
  7474. _box.appendChild(_jie);
  7475. _formdiv = new U.UF.UI.form(
  7476. "电子白板",
  7477. _box, {
  7478. "id": "whiteboards" + cid + stage + task + tool,
  7479. "style": {
  7480. "width": "90%",
  7481. "height": "90%",
  7482. "overflow": 'hidden'
  7483. },
  7484. "onresize": function () { }
  7485. }, {
  7486. closecallback: function () { }
  7487. }, {
  7488. "style": {
  7489. "height": "36px"
  7490. }
  7491. }).form; //创建窗体
  7492. _taskbar = {
  7493. "id": str + _formdiv.id,
  7494. "style": {
  7495. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7496. },
  7497. "name": "电子白板",
  7498. "forms": _formdiv,
  7499. "click": function () {
  7500. U.MD.D.I.openApplication(str, obj, info);
  7501. }
  7502. }
  7503. break;
  7504. case "mind":
  7505. aTool = 3;
  7506. _iframe = $$("iframe", {
  7507. "frameborder": "no",
  7508. "border": "0",
  7509. "scrolling ": "no",
  7510. "style": {
  7511. "cssText": "border:0;width:100%;height:100%"
  7512. },
  7513. "src": "/kityminder-editor/dist/index.html"
  7514. });
  7515. _box.appendChild(_iframe);
  7516. _box.appendChild(_jie);
  7517. _formdiv = new U.UF.UI.form(
  7518. "思维导图",
  7519. _box, { //"/jsmind/example/demo.html"
  7520. "id": "minds" + cid + stage + task + tool,
  7521. "style": {
  7522. "width": "90%",
  7523. "height": "90%",
  7524. "overflow": 'hidden'
  7525. },
  7526. "onresize": function () { }
  7527. }, {
  7528. closecallback: function () { }
  7529. }, {
  7530. "style": {
  7531. "height": "36px"
  7532. }
  7533. }).form; //创建窗体
  7534. _taskbar = {
  7535. "id": str + _formdiv.id,
  7536. "style": {
  7537. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7538. },
  7539. "name": "思维导图",
  7540. "forms": _formdiv,
  7541. "click": function () {
  7542. U.MD.D.I.openApplication(str, obj, info);
  7543. }
  7544. }
  7545. break;
  7546. case "doc":
  7547. aTool = 6;
  7548. _iframe = $$("iframe", {
  7549. "frameborder": "no",
  7550. "border": "0",
  7551. "scrolling ": "no",
  7552. "style": {
  7553. "cssText": "border:0;width:100%;height:100%"
  7554. },
  7555. "src": "/Office/Word/WordEditArea.htm"
  7556. })
  7557. _box.appendChild(_iframe);
  7558. _box.appendChild(_jie);
  7559. _formdiv = new U.UF.UI.form(
  7560. "协同文档",
  7561. _box, {
  7562. "id": "docs" + cid + stage + task + tool,
  7563. "style": {
  7564. "width": "90%",
  7565. "height": "90%",
  7566. "overflow": 'hidden'
  7567. },
  7568. "onresize": function () { }
  7569. }, {
  7570. closecallback: function () { }
  7571. }, {
  7572. "style": {
  7573. "height": "36px"
  7574. }
  7575. }).form; //创建窗体
  7576. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7577. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7578. })
  7579. _taskbar = {
  7580. "id": str + _formdiv.id,
  7581. "style": {
  7582. "backgroundImage": "url(/img/icon/doc.png)"
  7583. },
  7584. "name": "协同文档",
  7585. "forms": _formdiv,
  7586. "click": function () {
  7587. U.MD.D.I.openApplication(str, obj, info);
  7588. }
  7589. }
  7590. break;
  7591. }
  7592. const script1 = document.createElement("script");
  7593. script1.type = "text/javascript";
  7594. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7595. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7596. const script2 = document.createElement("script");
  7597. script2.type = "text/javascript";
  7598. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7599. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7600. const script3 = document.createElement("script");
  7601. script3.type = "text/javascript";
  7602. script3.charset = "UTF-8";
  7603. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7604. const script4 = document.createElement("script");
  7605. script4.type = "text/javascript";
  7606. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7607. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7608. if (_iframe) {
  7609. if (str == 'doc') {
  7610. _iframe = _formdiv.querySelector('iframe')
  7611. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7612. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7613. _iframe.contentWindow.document.body.appendChild(script1);
  7614. _iframe.contentWindow.document.body.appendChild(script2);
  7615. // _iframe.contentWindow.document.body.appendChild(script3);
  7616. _iframe.contentWindow.document.body.appendChild(script4);
  7617. })
  7618. if (onloadListener) {
  7619. _iframe.contentDocument.location.reload()
  7620. } else {
  7621. _iframe.contentDocument.location.reload()
  7622. }
  7623. } else if (str == 'mind') {
  7624. _iframe = _formdiv.querySelector('iframe')
  7625. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7626. _iframe.contentWindow.document.body.appendChild(script1);
  7627. _iframe.contentWindow.document.body.appendChild(script2);
  7628. _iframe.contentWindow.document.body.appendChild(script4);
  7629. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7630. })
  7631. if (onloadListener) {
  7632. _iframe.contentDocument.location.reload()
  7633. } else {
  7634. _iframe.contentDocument.location.reload()
  7635. }
  7636. } else {
  7637. _iframe.onload = () => {
  7638. _iframe.contentWindow.document.body.appendChild(script1);
  7639. _iframe.contentWindow.document.body.appendChild(script2);
  7640. // _iframe.contentWindow.document.body.appendChild(script3);
  7641. _iframe.contentWindow.document.body.appendChild(script4);
  7642. };
  7643. }
  7644. _jie.onclick = async () => {
  7645. let text = ''
  7646. if (aTool == 6) {
  7647. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7648. } else if (aTool == 3) {
  7649. text = await U.MD.D.I.getEditorContent(_iframe);
  7650. }
  7651. _loading.style.display = 'flex'
  7652. console.log(_loading);
  7653. var _ajs = _iframe.contentWindow.document.createElement("script");
  7654. _ajs.type = "text/javascript";
  7655. _ajs.innerHTML =
  7656. // 'console.log(' + _loading + ');\n' +
  7657. 'var _js = document.createElement("script");\n' +
  7658. '_js.type="text/javascript";\n' +
  7659. '_js.charset="UTF-8";\n' +
  7660. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7661. "_js.onload = function(){\n" +
  7662. ' var a = document.getElementsByTagName("img")\n' +
  7663. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7664. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7665. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7666. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7667. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7668. "beforeUpload_shishi(file," +
  7669. "'" +
  7670. _userid +
  7671. "'" +
  7672. ", " +
  7673. "'" +
  7674. _cid +
  7675. "'" +
  7676. ", " +
  7677. "'" +
  7678. _stage +
  7679. "'" +
  7680. ", " +
  7681. "'" +
  7682. _task +
  7683. "'" +
  7684. ", " +
  7685. "'" +
  7686. _tool +
  7687. "'" +
  7688. ", " +
  7689. "'" +
  7690. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7691. "'" +
  7692. ", " +
  7693. "'" +
  7694. aTool +
  7695. "'" +
  7696. ", " +
  7697. "`" +
  7698. text +
  7699. "`" +
  7700. ")\n" +
  7701. " });\n" +
  7702. "}\n" +
  7703. "document.head.appendChild(_js);\n";
  7704. _iframe.contentWindow.document.head.appendChild(_ajs);
  7705. }
  7706. }
  7707. //U.MD.D.I.openClick(str);
  7708. //如果有任务栏信息
  7709. // if (_taskbar) {
  7710. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7711. // }
  7712. }
  7713. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7714. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7715. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7716. _userinfo = US.userInfo, //登录用户信息
  7717. _userid = US.userInfo.userid //登录用户id
  7718. let _iframe;
  7719. let _cid = cid,
  7720. _stage = stage,
  7721. _task = task,
  7722. _tool = tool;
  7723. var _jie = $$("div", {
  7724. "style": {
  7725. "position": "absolute",
  7726. "bottom": "50px",
  7727. "right": "50px",
  7728. "zIndex": "9999",
  7729. "backgroundColor": "#2268bc",
  7730. "color": "#fff",
  7731. "padding": "12px 20px",
  7732. "cursor": "pointer",
  7733. "borderRadius": "4px",
  7734. },
  7735. "innerHTML": "上传模板"
  7736. })
  7737. let aTool = ''
  7738. let _loading = document.createElement('div')
  7739. _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;"
  7740. // _loading.id = "";
  7741. let _lchild = document.createElement('div')
  7742. let _limg = document.createElement('img')
  7743. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7744. _limg.style = "width: 26px;margin-right: 10px;"
  7745. _lchild.appendChild(_limg)
  7746. let _lspan = document.createElement('span')
  7747. _lspan.innerHTML = "上传中..."
  7748. _lchild.appendChild(_lspan)
  7749. _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%);"
  7750. _loading.appendChild(_lchild)
  7751. var _box = $$('div', {
  7752. "style": {
  7753. "position": "relative",
  7754. "width": "100%",
  7755. "height": "100%",
  7756. },
  7757. })
  7758. _box.appendChild(_loading)
  7759. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7760. switch (str) {
  7761. case "whiteboard":
  7762. aTool = 1;
  7763. _iframe = $$("iframe", {
  7764. "frameborder": "no",
  7765. "border": "0",
  7766. "scrolling ": "no",
  7767. "style": {
  7768. "cssText": "border:0;width:100%;height:100%"
  7769. },
  7770. "src": "https://iwb.cocorobo.cn/"
  7771. })
  7772. _box.appendChild(_iframe);
  7773. _box.appendChild(_jie);
  7774. _formdiv = new U.UF.UI.form(
  7775. "电子白板",
  7776. _box, {
  7777. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7778. "style": {
  7779. "width": "90%",
  7780. "height": "90%",
  7781. "overflow": 'hidden'
  7782. },
  7783. "onresize": function () { }
  7784. }, {
  7785. closecallback: function () { }
  7786. }, {
  7787. "style": {
  7788. "height": "36px"
  7789. }
  7790. }).form; //创建窗体
  7791. _taskbar = {
  7792. "id": str + _formdiv.id,
  7793. "style": {
  7794. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7795. },
  7796. "name": "电子白板",
  7797. "forms": _formdiv,
  7798. "click": function () {
  7799. U.MD.D.I.openApplication(str, obj, info);
  7800. }
  7801. }
  7802. break;
  7803. case "mind":
  7804. aTool = 3;
  7805. _iframe = $$("iframe", {
  7806. "frameborder": "no",
  7807. "border": "0",
  7808. "scrolling ": "no",
  7809. "style": {
  7810. "cssText": "border:0;width:100%;height:100%"
  7811. },
  7812. "src": "/kityminder-editor/dist/index.html"
  7813. });
  7814. _box.appendChild(_iframe);
  7815. _box.appendChild(_jie);
  7816. _formdiv = new U.UF.UI.form(
  7817. "思维导图",
  7818. _box, { //"/jsmind/example/demo.html"
  7819. "id": "minds_Yu" + cid + stage + task + tool,
  7820. "style": {
  7821. "width": "90%",
  7822. "height": "90%",
  7823. "overflow": 'hidden'
  7824. },
  7825. "onresize": function () { }
  7826. }, {
  7827. closecallback: function () { }
  7828. }, {
  7829. "style": {
  7830. "height": "36px"
  7831. }
  7832. }).form; //创建窗体
  7833. _taskbar = {
  7834. "id": str + _formdiv.id,
  7835. "style": {
  7836. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7837. },
  7838. "name": "思维导图",
  7839. "forms": _formdiv,
  7840. "click": function () {
  7841. U.MD.D.I.openApplication(str, obj, info);
  7842. }
  7843. }
  7844. break;
  7845. case "doc":
  7846. aTool = 6;
  7847. _iframe = $$("iframe", {
  7848. "frameborder": "no",
  7849. "border": "0",
  7850. "scrolling ": "no",
  7851. "style": {
  7852. "cssText": "border:0;width:100%;height:100%"
  7853. },
  7854. "src": "/Office/Word/WordEditArea.htm"
  7855. })
  7856. _box.appendChild(_iframe);
  7857. _box.appendChild(_jie);
  7858. _formdiv = new U.UF.UI.form(
  7859. "协同文档",
  7860. _box, {
  7861. "id": "docs_Yu" + cid + stage + task + tool,
  7862. "style": {
  7863. "width": "90%",
  7864. "height": "90%",
  7865. "overflow": 'hidden'
  7866. },
  7867. "onresize": function () { }
  7868. }, {
  7869. closecallback: function () { }
  7870. }, {
  7871. "style": {
  7872. "height": "36px"
  7873. }
  7874. }).form; //创建窗体
  7875. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7876. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7877. })
  7878. _taskbar = {
  7879. "id": str + _formdiv.id,
  7880. "style": {
  7881. "backgroundImage": "url(/img/icon/doc.png)"
  7882. },
  7883. "name": "协同文档",
  7884. "forms": _formdiv,
  7885. "click": function () {
  7886. U.MD.D.I.openApplication(str, obj, info);
  7887. }
  7888. }
  7889. break;
  7890. case "CocoPi":
  7891. aTool = 57;
  7892. _iframe = $$("iframe", {
  7893. "allowpaymentrequest": "allowpaymentrequest",
  7894. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7895. "webkitallowfullscreen": "",
  7896. "mozallowfullscreen": "",
  7897. "frameborder": "no",
  7898. "border": "0",
  7899. "scrolling ": "no",
  7900. "style": {
  7901. "cssText": "border:0;width:100%;height:100%"
  7902. },
  7903. "src": "https://pi.cocorobo.cn/"
  7904. })
  7905. _box.appendChild(_iframe);
  7906. _box.appendChild(_jie);
  7907. _formdiv = new U.UF.UI.form(
  7908. "CocoPi",
  7909. _box, {
  7910. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7911. "style": {
  7912. "width": "90%",
  7913. "height": "90%",
  7914. "overflow": 'hidden'
  7915. },
  7916. "onresize": function () { }
  7917. }, {
  7918. closecallback: function () { }
  7919. }, {
  7920. "style": {
  7921. "height": "36px"
  7922. }
  7923. }).form; //创建窗体
  7924. _taskbar = {
  7925. "id": str + _formdiv.id,
  7926. "style": {
  7927. "backgroundImage": "url(/img/icon/cocopi.png)"
  7928. },
  7929. "name": "CocoPi",
  7930. "forms": _formdiv,
  7931. "click": function () {
  7932. U.MD.D.I.openApplication(str, obj, info);
  7933. }
  7934. }
  7935. break;
  7936. }
  7937. if (_iframe) {
  7938. if (str == 'doc') {
  7939. _iframe = _formdiv.querySelector('iframe')
  7940. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7941. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7942. })
  7943. if (onloadListener) {
  7944. _iframe.contentDocument.location.reload()
  7945. } else {
  7946. _iframe.contentDocument.location.reload()
  7947. }
  7948. } else if (str == 'mind') {
  7949. _iframe = _formdiv.querySelector('iframe')
  7950. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7951. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7952. })
  7953. if (onloadListener) {
  7954. _iframe.contentDocument.location.reload()
  7955. } else {
  7956. _iframe.contentDocument.location.reload()
  7957. }
  7958. } else if (str == 'whiteboard') {
  7959. _iframe = _formdiv.querySelector('iframe')
  7960. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7961. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7962. })
  7963. if (onloadListener) {
  7964. _iframe.contentDocument.location.reload()
  7965. } else {
  7966. _iframe.contentDocument.location.reload()
  7967. }
  7968. } else if (str == 'CocoPi') {
  7969. _iframe = _formdiv.querySelector('iframe')
  7970. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7971. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7972. })
  7973. if (onloadListener) {
  7974. _iframe.contentDocument.location.reload()
  7975. } else {
  7976. _iframe.contentDocument.location.reload()
  7977. }
  7978. } else {
  7979. _iframe.onload = () => { };
  7980. }
  7981. _jie.onclick = async () => {
  7982. let text = ''
  7983. let type = '2'
  7984. if (aTool == 1) {
  7985. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7986. type = '3'
  7987. } else if (aTool == 6) {
  7988. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7989. type = '1'
  7990. } else if (aTool == 3) {
  7991. text = await U.MD.D.I.getEditorContent(_iframe);
  7992. type = '2'
  7993. } else if (aTool == 57) {
  7994. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7995. type = '4'
  7996. }
  7997. _loading.style.display = 'flex'
  7998. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7999. }
  8000. }
  8001. //U.MD.D.I.openClick(str);
  8002. //如果有任务栏信息
  8003. // if (_taskbar) {
  8004. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  8005. // }
  8006. }
  8007. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  8008. var xmlhttp;
  8009. var Mac, Sn, DeviceId
  8010. if (window.XMLHttpRequest) {
  8011. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8012. xmlhttp = new XMLHttpRequest();
  8013. } else {
  8014. // IE6, IE5 浏览器执行代码
  8015. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8016. }
  8017. xmlhttp.onreadystatechange = function () {
  8018. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8019. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  8020. // resolve(res.value[0][0].text);
  8021. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  8022. }
  8023. }
  8024. }
  8025. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8026. xmlhttp.send();
  8027. }
  8028. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  8029. var xmlhttp;
  8030. var Mac, Sn, DeviceId
  8031. if (window.XMLHttpRequest) {
  8032. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8033. xmlhttp = new XMLHttpRequest();
  8034. } else {
  8035. // IE6, IE5 浏览器执行代码
  8036. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8037. }
  8038. xmlhttp.onreadystatechange = function () {
  8039. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8040. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  8041. // resolve(res.value[0][0].text);
  8042. if (type == '2') {
  8043. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  8044. } else if (type == '3') {
  8045. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  8046. } else if (type == '4') {
  8047. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  8048. }
  8049. } else {
  8050. if (type == '2') {
  8051. iframe.contentWindow.editor.minder.importData('json', '')
  8052. } else if (type == '3') {
  8053. iframe.contentWindow.h.app.updateScene({ elements: [] })
  8054. } else if (type == '4') {
  8055. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8056. }
  8057. }
  8058. }
  8059. }
  8060. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8061. xmlhttp.send();
  8062. }
  8063. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  8064. var xmlhttp;
  8065. var Mac, Sn, DeviceId
  8066. if (window.XMLHttpRequest) {
  8067. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8068. xmlhttp = new XMLHttpRequest();
  8069. } else {
  8070. // IE6, IE5 浏览器执行代码
  8071. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8072. }
  8073. xmlhttp.onreadystatechange = function () {
  8074. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8075. if (xmlhttp.response) {
  8076. // resolve(res.value[0][0].text);
  8077. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  8078. // $(fileInput).val('');
  8079. // });
  8080. span.innerHTML = '上传成功'
  8081. setTimeout(() => {
  8082. loading.style.display = 'none'
  8083. }, 1000);
  8084. }
  8085. }
  8086. }
  8087. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  8088. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  8089. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  8090. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  8091. // 设置请求头,表示请求体的编码格式
  8092. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  8093. // 设置请求体,使用url-encoded格式的数据
  8094. }
  8095. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  8096. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8097. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8098. _userinfo = US.userInfo, //登录用户信息
  8099. _userid = US.userInfo.userid //登录用户id
  8100. let _iframe;
  8101. let _cid = cid,
  8102. _stage = stage,
  8103. _task = task,
  8104. _tool = tool;
  8105. var _jie = $$("div", {
  8106. "style": {
  8107. "position": "absolute",
  8108. "bottom": "50px",
  8109. "right": "50px",
  8110. "zIndex": "9999",
  8111. "backgroundColor": "#2268bc",
  8112. "color": "#fff",
  8113. "padding": "12px 20px",
  8114. "cursor": "pointer",
  8115. "borderRadius": "4px",
  8116. },
  8117. "innerHTML": "提交作业"
  8118. })
  8119. let aTool = ''
  8120. let _loading = document.createElement('div')
  8121. _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;"
  8122. // _loading.id = "";
  8123. let _lchild = document.createElement('div')
  8124. let _limg = document.createElement('img')
  8125. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8126. _limg.style = "width: 26px;margin-right: 10px;"
  8127. _lchild.appendChild(_limg)
  8128. let _lspan = document.createElement('span')
  8129. _lspan.innerHTML = "上传中..."
  8130. _lchild.appendChild(_lspan)
  8131. _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%);"
  8132. _loading.appendChild(_lchild)
  8133. var _box = $$('div', {
  8134. "style": {
  8135. "position": "relative",
  8136. "width": "100%",
  8137. "height": "100%",
  8138. },
  8139. })
  8140. _box.appendChild(_loading)
  8141. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  8142. switch (str) {
  8143. case "CocoPi":
  8144. aTool = 57;
  8145. _iframe = $$("iframe", {
  8146. "allowpaymentrequest": "allowpaymentrequest",
  8147. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8148. "webkitallowfullscreen": "",
  8149. "mozallowfullscreen": "",
  8150. "frameborder": "no",
  8151. "border": "0",
  8152. "scrolling ": "no",
  8153. "style": {
  8154. "cssText": "border:0;width:100%;height:100%"
  8155. },
  8156. "src": "https://pi.cocorobo.cn/"
  8157. })
  8158. _box.appendChild(_iframe);
  8159. _box.appendChild(_jie);
  8160. _formdiv = new U.UF.UI.form(
  8161. "CocoPi",
  8162. _box, {
  8163. "id": "CocoPi_Upload" + cid + stage + task + tool,
  8164. "style": {
  8165. "width": "90%",
  8166. "height": "90%",
  8167. "overflow": 'hidden'
  8168. },
  8169. "onresize": function () { }
  8170. }, {
  8171. closecallback: function () { }
  8172. }, {
  8173. "style": {
  8174. "height": "36px"
  8175. }
  8176. }).form; //创建窗体
  8177. _taskbar = {
  8178. "id": str + _formdiv.id,
  8179. "style": {
  8180. "backgroundImage": "url(/img/icon/cocopi.png)"
  8181. },
  8182. "name": "CocoPi",
  8183. "forms": _formdiv,
  8184. "click": function () {
  8185. U.MD.D.I.openApplication(str, obj, info);
  8186. }
  8187. }
  8188. break;
  8189. }
  8190. if (_iframe) {
  8191. if (str == 'CocoPi') {
  8192. _iframe = _formdiv.querySelector('iframe')
  8193. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8194. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8195. })
  8196. if (onloadListener) {
  8197. _iframe.contentDocument.location.reload()
  8198. } else {
  8199. _iframe.contentDocument.location.reload()
  8200. }
  8201. }
  8202. _jie.onclick = async () => {
  8203. let text = ''
  8204. if (aTool == 57) {
  8205. text = _iframe.contentWindow.getLoadXmlStr()
  8206. }
  8207. _loading.style.display = 'flex'
  8208. console.log(_loading);
  8209. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8210. _loading.style.display = 'none'
  8211. let _div = document.createElement('div')
  8212. _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;"
  8213. let _inner = document.createElement('div')
  8214. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8215. _inner.innerHTML = "上传成功"
  8216. _div.appendChild(_inner)
  8217. _iframe.contentWindow.window.document.body.appendChild(_div)
  8218. _div.onclick = () => {
  8219. _iframe.contentWindow.window.document.body.removeChild(_div)
  8220. }
  8221. setTimeout(() => {
  8222. _iframe.contentWindow.window.document.body.removeChild(_div)
  8223. }, 1000);
  8224. }, [], { "type": "POST", "withCredentials": true });
  8225. }
  8226. }
  8227. }
  8228. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  8229. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8230. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8231. _userid = student.userid, //登录用户id
  8232. _username = student.student //用户名字
  8233. let _iframe;
  8234. let _cid = cid,
  8235. _stage = stage,
  8236. _task = task,
  8237. _tool = tool;
  8238. var _jie = $$("div", {
  8239. "style": {
  8240. "position": "absolute",
  8241. "bottom": "50px",
  8242. "right": "50px",
  8243. "zIndex": "9999",
  8244. "backgroundColor": "#2268bc",
  8245. "color": "#fff",
  8246. "padding": "12px 20px",
  8247. "cursor": "pointer",
  8248. "borderRadius": "4px",
  8249. },
  8250. "innerHTML": "提交作业"
  8251. })
  8252. let aTool = ''
  8253. let _loading = document.createElement('div')
  8254. _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;"
  8255. // _loading.id = "";
  8256. let _lchild = document.createElement('div')
  8257. let _limg = document.createElement('img')
  8258. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8259. _limg.style = "width: 26px;margin-right: 10px;"
  8260. _lchild.appendChild(_limg)
  8261. let _lspan = document.createElement('span')
  8262. _lspan.innerHTML = "上传中..."
  8263. _lchild.appendChild(_lspan)
  8264. _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%);"
  8265. _loading.appendChild(_lchild)
  8266. var _box = $$('div', {
  8267. "style": {
  8268. "position": "relative",
  8269. "width": "100%",
  8270. "height": "100%",
  8271. },
  8272. })
  8273. _box.appendChild(_loading)
  8274. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  8275. switch (str) {
  8276. case "CocoPi":
  8277. aTool = 57;
  8278. _iframe = $$("iframe", {
  8279. "allowpaymentrequest": "allowpaymentrequest",
  8280. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8281. "webkitallowfullscreen": "",
  8282. "mozallowfullscreen": "",
  8283. "frameborder": "no",
  8284. "border": "0",
  8285. "scrolling ": "no",
  8286. "style": {
  8287. "cssText": "border:0;width:100%;height:100%"
  8288. },
  8289. "src": "https://pi.cocorobo.cn/"
  8290. })
  8291. _box.appendChild(_iframe);
  8292. _box.appendChild(_jie);
  8293. _formdiv = new U.UF.UI.form(
  8294. "CocoPi-" + _username,
  8295. _box, {
  8296. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  8297. "style": {
  8298. "width": "90%",
  8299. "height": "90%",
  8300. "overflow": 'hidden'
  8301. },
  8302. "onresize": function () { }
  8303. }, {
  8304. closecallback: function () { }
  8305. }, {
  8306. "style": {
  8307. "height": "36px"
  8308. }
  8309. }).form; //创建窗体
  8310. _taskbar = {
  8311. "id": str + _formdiv.id,
  8312. "style": {
  8313. "backgroundImage": "url(/img/icon/cocopi.png)"
  8314. },
  8315. "name": "CocoPi",
  8316. "forms": _formdiv,
  8317. "click": function () {
  8318. U.MD.D.I.openApplication(str, obj, info);
  8319. }
  8320. }
  8321. break;
  8322. }
  8323. if (_iframe) {
  8324. if (str == 'CocoPi') {
  8325. _iframe = _formdiv.querySelector('iframe')
  8326. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8327. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8328. })
  8329. if (onloadListener) {
  8330. _iframe.contentDocument.location.reload()
  8331. } else {
  8332. _iframe.contentDocument.location.reload()
  8333. }
  8334. }
  8335. _jie.onclick = async () => {
  8336. let text = ''
  8337. if (aTool == 57) {
  8338. text = _iframe.contentWindow.getLoadXmlStr()
  8339. }
  8340. _loading.style.display = 'flex'
  8341. console.log(_loading);
  8342. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8343. _loading.style.display = 'none'
  8344. let _div = document.createElement('div')
  8345. _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;"
  8346. let _inner = document.createElement('div')
  8347. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8348. _inner.innerHTML = "上传成功"
  8349. _div.appendChild(_inner)
  8350. _iframe.contentWindow.window.document.body.appendChild(_div)
  8351. _div.onclick = () => {
  8352. _iframe.contentWindow.window.document.body.removeChild(_div)
  8353. }
  8354. setTimeout(() => {
  8355. _iframe.contentWindow.window.document.body.removeChild(_div)
  8356. }, 1000);
  8357. }, [], { "type": "POST", "withCredentials": true });
  8358. }
  8359. }
  8360. }
  8361. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  8362. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  8363. if (res.value[0].length > 0) {
  8364. if (atool == 57) {
  8365. iframe.contentWindow.loadingXml(res.value[0][0].content)
  8366. }
  8367. } else {
  8368. if (atool == 57) {
  8369. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  8370. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8371. }
  8372. }
  8373. }, [], { "type": "POST", "withCredentials": true });
  8374. }