DeskTop.js 512 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  51. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  52. ];
  53. //极简模式
  54. U.MD.D.I.easyDeskIcon = [
  55. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  57. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  58. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  59. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  60. ];
  61. //教师桌面图标的全局变量
  62. U.MD.D.I.teacherDeskIcon2 = [
  63. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  64. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  65. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  66. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  67. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  68. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  69. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  70. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  71. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  72. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  73. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  74. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  75. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  76. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  77. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  78. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  79. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  80. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  81. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  82. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  83. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  84. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  85. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  86. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  87. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  88. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  89. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  90. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  91. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  92. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  93. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  94. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  95. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  96. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  97. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  98. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  99. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  100. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  101. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  102. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  103. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  104. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  105. ];
  106. U.MD.D.I.studentDeskIcon = [
  107. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  108. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  109. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  110. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  111. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  112. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  113. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  114. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  115. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  116. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  117. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  118. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  119. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  120. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  121. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  122. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  123. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  124. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  125. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  126. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  127. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  128. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  129. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  130. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  131. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  132. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  133. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  134. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  135. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  136. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  137. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  138. ];
  139. U.MD.D.I.studentDeskIcon2 = [
  140. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  141. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  142. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  143. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  144. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  145. ]
  146. U.MD.D.I.studentDeskIcon3 = [
  147. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  148. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  149. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  150. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  151. ]
  152. U.MD.D.I.schoolDeskIcon = [
  153. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  154. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  155. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  156. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  157. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  158. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  159. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  160. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  161. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  162. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  163. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  164. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  165. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  166. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  167. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  168. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  169. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  170. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  171. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  172. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  173. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  174. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  175. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  176. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  177. ];
  178. U.MD.D.I.orgDeskIcon = [
  179. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  180. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  181. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  182. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  183. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  184. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  185. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  186. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  187. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  188. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  189. { "Name": "案例征集", "Url": "ytpbl", "style": { "cssText": "background-image:url(/img/icon/gpbl2.png)" } },
  190. ];
  191. U.MD.D.I.orgStemDeskIcon = [
  192. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  193. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  194. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  195. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  196. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  197. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  198. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  199. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  200. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  201. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  202. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  203. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  204. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  205. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  206. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  207. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  208. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  209. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  210. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  211. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  212. ];
  213. U.MD.D.I.szulsDeskIcon = [
  214. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  215. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  216. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  217. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  218. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  219. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  220. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  221. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  222. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  223. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  224. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  225. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  226. ];
  227. U.MD.D.I.hanDeskIcon = [
  228. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  229. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  230. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  231. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  232. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  233. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  234. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  235. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  236. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  237. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  238. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  239. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  240. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  241. ];
  242. U.MD.D.I.GMteacherDeskIcon = [
  243. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  244. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  245. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  246. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  247. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  248. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  249. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  250. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  251. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  252. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  253. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  254. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  255. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  256. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  257. ];
  258. U.MD.D.I.GMstudentDeskIcon = [
  259. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  260. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  261. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  262. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  263. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  264. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  265. ];
  266. //北师大
  267. U.MD.D.I.BSDNSteacherDeskIcon = [
  268. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  269. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  270. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  271. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  272. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  273. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  274. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  275. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  276. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  277. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  278. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  279. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  280. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  281. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  282. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  283. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  284. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  285. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  286. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  287. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  288. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  289. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  290. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  291. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  292. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  293. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  294. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  295. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  296. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  297. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  298. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  299. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  300. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  301. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  302. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  303. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  304. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  305. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  306. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  307. ];
  308. //松山湖
  309. U.MD.D.I.SONGteacherDeskIcon = [
  310. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  311. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  312. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  313. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  314. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  315. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  316. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  317. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  318. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  319. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  320. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  321. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  322. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  323. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  324. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  325. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  326. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  327. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  328. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  329. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  330. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  331. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  332. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  333. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  334. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  335. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  336. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  337. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  338. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  339. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  340. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  341. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  342. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  343. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  344. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  345. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  346. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  347. ];
  348. U.MD.D.I.tcStudentDeskIcon = [
  349. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  350. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  351. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  352. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  353. ];
  354. U.MD.D.I.tcTeacherDeskIcon = [
  355. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  356. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  357. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  358. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  359. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  360. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  361. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  362. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  363. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  364. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  365. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  366. ];
  367. U.MD.D.I.tcOrganizerDeskIcon = [
  368. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  369. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  370. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  371. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  372. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  373. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  374. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  375. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  376. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  377. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  378. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  379. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  380. ];
  381. U.MD.D.I.szscStudentDeskIcon = [
  382. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  383. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  384. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  385. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  386. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  387. ];
  388. U.MD.D.I.szscTeacherDeskIcon = [
  389. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  390. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  391. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  392. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  393. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  394. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  395. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  396. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  397. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  398. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  399. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  400. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  401. ];
  402. U.MD.D.I.szscOrganizerDeskIcon = [
  403. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  404. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  405. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  406. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  407. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  408. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  409. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  410. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  411. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  412. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  413. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  414. ];
  415. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  416. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  417. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  418. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  419. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  420. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  421. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  422. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  423. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  424. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  425. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  426. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  427. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  428. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  429. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  430. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  431. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  432. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  433. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  434. ];
  435. U.MD.D.I.wankeAdminDeskIcon = [
  436. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  437. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  438. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  439. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  440. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  441. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  442. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  443. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  444. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  445. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  446. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  447. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  448. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  449. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  450. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  451. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  452. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  453. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  454. ];
  455. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  456. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  457. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  458. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  459. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  460. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  461. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  462. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  463. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  464. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  465. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  466. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  467. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  468. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  469. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  470. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  471. ];
  472. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  473. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  474. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  475. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  476. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  477. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  478. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  479. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  480. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  481. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  482. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  483. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  484. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  485. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  486. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  487. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  488. ];
  489. //明德教师桌面图标的全局变量
  490. U.MD.D.I.MingdeTeacherDeskIcon = [
  491. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  492. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  493. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  494. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  495. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  496. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  497. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  498. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  499. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  500. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  501. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  502. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  503. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  504. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  505. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  506. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  507. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  508. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  509. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  510. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  511. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  512. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  513. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  514. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  515. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  516. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  517. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  518. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  519. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  520. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  521. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  522. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  523. ];
  524. //97c4ee8b-d010-4042-986d-e9d3c217264f
  525. //教师桌面图标的全局变量
  526. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  527. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  528. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  529. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  530. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  531. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  532. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  533. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  534. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  535. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  536. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  537. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  538. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  539. ];
  540. //福田
  541. U.MD.D.I.futianTeacherDeskIcon = [
  542. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  543. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  544. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  545. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  546. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  547. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  548. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  549. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  550. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  551. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  552. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  553. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  554. ];
  555. //福田
  556. U.MD.D.I.futianAdminDeskIcon = [
  557. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  558. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  559. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  560. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  561. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  562. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  563. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  564. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  565. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  566. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  567. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  568. ];
  569. //lotech
  570. U.MD.D.I.lotechTeacherDeskIcon = [
  571. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  572. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  573. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  574. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  575. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  576. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  577. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  578. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  579. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  580. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  581. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  582. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  583. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  584. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  585. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  586. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  587. ];
  588. //龙华中心小学教师桌面图标的全局变量
  589. U.MD.D.I.longhuateacherDeskIcon = [
  590. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  591. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  592. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  593. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  594. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  595. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  596. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  597. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  598. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  599. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  600. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  601. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  602. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  603. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  604. ];
  605. //教科院实小教师桌面图标的全局变量
  606. U.MD.D.I.siesteacherDeskIcon = [
  607. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  608. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  609. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  610. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  611. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  612. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  613. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  614. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  615. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  616. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  617. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  618. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  619. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  620. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  621. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  622. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  623. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  624. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  625. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  626. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  627. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  628. { "Name": "评测看板", "Url": "dataBoardTest", "style": { "cssText": "background-image:url(/img/icon/databoardTest.png)" } },
  629. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  630. { "Name": "教师管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  631. { "Name": "教师中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  632. ];
  633. //教科院实小教师桌面图标的全局变量
  634. U.MD.D.I.siesStudentDeskIcon = [
  635. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  636. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  637. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  638. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  639. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  640. ];
  641. //福田
  642. U.MD.D.I.gdjgTeacherDeskIcon = [
  643. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  644. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  645. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  646. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  647. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  648. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  649. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  650. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  651. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  652. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  653. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  654. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  655. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  656. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  657. ];
  658. //gdjg
  659. U.MD.D.I.gdjgAdminDeskIcon = [
  660. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  661. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  662. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  663. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  664. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  665. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  666. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  667. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  668. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  669. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  670. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  671. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  672. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  673. ];
  674. //hk
  675. U.MD.D.I.hkteacherDeskIcon = [
  676. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  677. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  678. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  679. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  680. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  681. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  682. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  683. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  684. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  685. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  686. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  687. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  688. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  689. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  690. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  691. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  692. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  693. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  694. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  695. ];
  696. //hk
  697. U.MD.D.I.hkStudentDeskIcon = [
  698. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  699. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  700. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  701. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  702. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  703. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  704. ];
  705. //hk
  706. U.MD.D.I.hkaceteacherDeskIcon = [
  707. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  708. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  709. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  710. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  711. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  712. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  713. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  714. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  715. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  716. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  717. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  718. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  719. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  720. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  721. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  722. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  723. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  724. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  725. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  726. ];
  727. //hk
  728. U.MD.D.I.hkaceStudentDeskIcon = [
  729. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  730. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  731. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  732. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  733. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  734. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  735. ];
  736. //香海正覺蓮社佛教正覺中學
  737. U.MD.D.I.hkZJLSteacherDeskIcon = [
  738. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  739. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  740. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  741. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  742. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  743. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  744. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  745. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  746. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  747. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  748. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  749. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  750. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  751. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  752. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  753. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  754. ];
  755. //香海正覺蓮社佛教正覺中學
  756. U.MD.D.I.hkZJLSStudentDeskIcon = [
  757. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  758. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  759. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  760. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  761. ];
  762. //云海
  763. U.MD.D.I.yunhaiTeacherDeskIcon = [
  764. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  765. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  766. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  767. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  768. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  769. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  770. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  771. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  772. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  773. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  774. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  775. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  776. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  777. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  778. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  779. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  780. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  781. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  782. ];
  783. //福田
  784. U.MD.D.I.heyuanTeacherDeskIcon = [
  785. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  786. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  787. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  788. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  789. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  790. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  791. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  792. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  793. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  794. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  795. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  796. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  797. ];
  798. //福田
  799. U.MD.D.I.heyuanAdminDeskIcon = [
  800. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  801. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  802. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  803. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  804. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  805. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  806. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  807. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  808. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  809. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  810. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  811. ];
  812. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  813. U.MD.D.I.szherTeacherDeskIcon = [
  814. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  815. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  816. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  817. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  818. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  819. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  820. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  821. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  822. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  823. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  824. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  825. ];
  826. //dsei
  827. U.MD.D.I.dseiTeacherDeskIcon = [
  828. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  829. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  830. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  831. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  832. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  833. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  834. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  835. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  836. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  837. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  838. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  839. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  840. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  841. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  842. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  843. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  844. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  845. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  846. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  847. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  848. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  849. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  850. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  851. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  852. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  853. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  854. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  855. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  856. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  857. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  858. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  859. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  860. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  861. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  862. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  863. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  864. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  865. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  866. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  867. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  868. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  869. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  870. ];
  871. //dsei
  872. U.MD.D.I.dseiAdminDeskIcon = [
  873. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  874. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  875. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  876. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  877. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  878. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  879. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  880. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  881. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  882. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  883. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  884. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  885. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  886. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  887. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  888. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  889. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  890. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  891. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  892. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  893. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  894. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  895. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  896. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  897. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  898. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  899. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  900. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  901. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  902. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  903. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  904. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  905. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  906. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  907. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  908. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  909. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  910. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  911. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  912. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  913. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  914. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  915. ];
  916. //dsei
  917. U.MD.D.I.dseiStudentDeskIcon = [
  918. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  919. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  920. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  921. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  922. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  923. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  924. ];
  925. //未来教育基地
  926. U.MD.D.I.szjkyTeacherDeskIcon = [
  927. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  928. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  929. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  930. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  931. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  932. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  933. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  934. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  935. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  936. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  937. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  938. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  939. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  940. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  941. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  942. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  943. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  944. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  945. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  946. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  947. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  948. ];
  949. //未来教育基地
  950. U.MD.D.I.szjkyAdminDeskIcon = [
  951. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  952. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  953. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  954. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  955. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  956. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  957. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  958. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  959. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  960. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  961. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  962. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  963. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  964. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  965. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  966. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  967. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  968. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  969. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  970. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  971. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  972. ];
  973. //未来教育基地
  974. U.MD.D.I.szjkyStudentDeskIcon = [
  975. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  976. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  977. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  978. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  979. ];
  980. //成华教育局
  981. U.MD.D.I.chjyjTeacherDeskIcon = [
  982. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  983. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  984. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  985. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  986. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  987. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  988. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  989. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  990. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  991. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  992. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  993. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  994. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  995. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  996. ];
  997. //成华教育局chjyj
  998. U.MD.D.I.chjyjAdminDeskIcon = [
  999. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1000. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1001. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1002. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1003. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1004. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1005. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1006. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1007. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1008. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1009. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1010. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1011. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1012. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1013. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1014. ];
  1015. //成华教育局chjyj
  1016. U.MD.D.I.chjyjStudentDeskIcon = [
  1017. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1018. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1019. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1020. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1021. ];
  1022. //tpc
  1023. U.MD.D.I.tpcStudentDeskIcon = [
  1024. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1025. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1026. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1027. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1028. ];
  1029. //tpc
  1030. U.MD.D.I.tpcTeacherDeskIcon = [
  1031. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1032. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1033. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1034. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1035. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1036. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1037. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1038. ];
  1039. //tpc
  1040. U.MD.D.I.tpcAdminDeskIcon = [
  1041. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1042. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1043. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1044. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1045. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1046. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1047. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1048. ];
  1049. //THU-IOE
  1050. U.MD.D.I.thuioeTeacherDeskIcon = [
  1051. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1052. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1053. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1054. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1055. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1056. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1057. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1058. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1059. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1060. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1061. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1062. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1063. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1064. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1065. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1066. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1067. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1068. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1069. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1070. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1071. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1072. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1073. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1074. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1075. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1076. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1077. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1078. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1079. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1080. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1081. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1082. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1083. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1084. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1085. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1086. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1087. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1088. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1089. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1090. ];
  1091. //THU-IOE
  1092. U.MD.D.I.thuioeStudentDeskIcon = [
  1093. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1094. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1095. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1096. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1097. ];
  1098. //jccssyl
  1099. U.MD.D.I.jccssylTeacherDeskIcon = [
  1100. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1101. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1102. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1103. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1104. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1105. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1106. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1107. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1108. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1109. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1110. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1111. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1112. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1113. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1114. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1115. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1116. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1117. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1118. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1119. ];
  1120. //jccssyl
  1121. U.MD.D.I.jccssylStudentDeskIcon = [
  1122. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1123. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1124. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1125. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1126. ];
  1127. //cale
  1128. U.MD.D.I.caleTeacherDeskIcon = [
  1129. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1130. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1131. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1132. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1133. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1134. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1135. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1136. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1137. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1138. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1139. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1140. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1141. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1142. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1143. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1144. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1145. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1146. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1147. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1148. ];
  1149. //cale
  1150. U.MD.D.I.caleStudentDeskIcon = [
  1151. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1152. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1153. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1154. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1155. ];
  1156. //lqwmsgzs
  1157. U.MD.D.I.lqwmsgzsTeacherDeskIcon = [
  1158. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1159. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1160. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1161. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1162. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1163. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1164. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1165. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1166. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1167. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1168. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1169. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1170. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1171. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1172. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1173. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1174. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1175. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1176. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1177. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1178. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1179. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1180. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1181. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1182. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1183. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1184. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1185. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1186. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1187. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1188. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1189. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1190. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1191. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1192. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1193. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1194. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1195. ];
  1196. //lqwmsgzs
  1197. U.MD.D.I.lqwmsgzsStudentDeskIcon = [
  1198. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1199. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1200. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1201. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1202. ];
  1203. //#region 桌面初始化a
  1204. /**
  1205. * 初始化桌面的起始函数
  1206. *
  1207. */
  1208. U.MD.D.I.init = function () {
  1209. if ($("#U_MD_D_K")[0]) {
  1210. //初始化桌面图标
  1211. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1212. // var clickUrl = ':12588/requestIp.php';
  1213. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1214. // U.MD.D.I.Ip = data;
  1215. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1216. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1217. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1218. // })
  1219. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1220. // })
  1221. }
  1222. }
  1223. /**
  1224. * 模式切换
  1225. *
  1226. */
  1227. U.MD.D.I.ModeCheck = function (type) {
  1228. if (US.Config.type == type) {
  1229. return
  1230. }
  1231. US.Config.type = type
  1232. $('.U_PBL_Check .active')[0].className = ''
  1233. if (type == 1) {
  1234. $('.U_PBL_Check div')[0].className = 'active'
  1235. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1236. } else {
  1237. $('.U_PBL_Check div')[1].className = 'active'
  1238. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1239. }
  1240. //初始化桌面图标
  1241. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1242. if (type == 2) {
  1243. U.MD.D.I.openApplication("project")
  1244. }
  1245. }
  1246. /**
  1247. * 隐藏任务栏
  1248. *
  1249. * @param {element} 桌面元素
  1250. */
  1251. U.MD.D.I.hiddenTaskbar = function (el) {
  1252. //任务栏位置变小
  1253. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1254. //桌面的位置变大
  1255. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1256. }
  1257. /**
  1258. * 隐藏任务栏
  1259. *
  1260. * @param {element} 桌面元素
  1261. */
  1262. U.MD.D.I.hiddenTaskbarout = function (el) {
  1263. //任务栏位置变小
  1264. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1265. //任务栏位置变化
  1266. U.selectEl(el).css({ "bottom": "-60px" });
  1267. //桌面的位置变大
  1268. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1269. }
  1270. }
  1271. /**
  1272. * 初始化打印桌面图标
  1273. *
  1274. * @param {element} 桌面元素
  1275. */
  1276. U.MD.D.I.initDesktopIcons = function (el, type) {
  1277. var i, //用于循环
  1278. _content, //桌面图标元素
  1279. _iconcontent, //桌面图标元素
  1280. _frag = $$("frag"), //定义一个碎片元素
  1281. _type = US.userInfo.type,
  1282. _org = US.userInfo.org,
  1283. _oid = US.userInfo.organizeid,
  1284. _role = US.userInfo.role,
  1285. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1286. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1287. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1288. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1289. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1290. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1291. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1292. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1293. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1294. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1295. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1296. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1297. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1298. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1299. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1300. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1301. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1302. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1303. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1304. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1305. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1306. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1307. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1308. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1309. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1310. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1311. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1312. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1313. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1314. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1315. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1316. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1317. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1318. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1319. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1320. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1321. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1322. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1323. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1324. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1325. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1326. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1327. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1328. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1329. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1330. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1331. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1332. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1333. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1334. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1335. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1336. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1337. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1338. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1339. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1340. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1341. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1342. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1343. _caleStudentDeskIconInfo = U.MD.D.I.caleStudentDeskIcon, // jccssyl
  1344. _caleTeacherDeskIconInfo = U.MD.D.I.caleTeacherDeskIcon, // jccssyl
  1345. _lqwmsgzsStudentDeskIconInfo = U.MD.D.I.lqwmsgzsStudentDeskIcon, // lqwmsgzs
  1346. _lqwmsgzsTeacherDeskIconInfo = U.MD.D.I.lqwmsgzsTeacherDeskIcon, // lqwmsgzs
  1347. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1348. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1349. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1350. 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'];
  1351. 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'];
  1352. //清楚桌面图标
  1353. el.innerHTML = "";
  1354. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1355. _teacherDesktopIconInfo.push(
  1356. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1357. { "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)" } },
  1358. )
  1359. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1360. }
  1361. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1362. _teacherDesktopIconInfo.push(
  1363. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1364. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1365. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1366. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1367. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1368. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1369. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1370. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1371. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1372. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1373. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1374. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1375. )
  1376. }
  1377. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1378. // _teacherDesktopIconInfo.push(
  1379. // )
  1380. // }
  1381. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1382. _teacherDesktopIconInfo.push(
  1383. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1384. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1385. )
  1386. }
  1387. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1388. _teacherDesktopIconInfo.push(
  1389. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1390. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1391. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1392. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1393. )
  1394. _studentDesktopIconInfo.push(
  1395. )
  1396. }
  1397. //麒麟二中 和 民新小学
  1398. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1399. _teacherDesktopIconInfo.push(
  1400. )
  1401. }
  1402. if (_oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1403. _teacherDesktopIconInfo.push(
  1404. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1405. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1406. )
  1407. }
  1408. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1409. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1410. _teacherDesktopIconInfo.push(
  1411. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1412. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1413. )
  1414. }
  1415. //麒麟二中
  1416. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1417. _studentDesktopIconInfo.push(
  1418. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1419. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1420. )
  1421. }
  1422. //万科双语
  1423. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1424. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1425. if (el.Name == '项目管理') {
  1426. el.Name = 'PBL项目'
  1427. }
  1428. return el
  1429. })
  1430. _studentDesktopIconInfo3.push(
  1431. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1432. )
  1433. }
  1434. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1435. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1436. return el.Name != '魔盒识字' && el.Name != '24点'
  1437. })
  1438. }
  1439. 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) {
  1440. _studentDesktopIconInfo.push(
  1441. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1442. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1443. )
  1444. }
  1445. //循环创建桌面图标
  1446. if (type == 1) {
  1447. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1448. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1449. _content = $$("div", {
  1450. className: "U_MD_D_KO",
  1451. "onmousedown": U.UF.C.closure(function (obj) {
  1452. //防止拖动图标即打开了桌面应用
  1453. U.MD.D.click(this, obj);
  1454. }, [_studentDesktopIconInfo[i]]),
  1455. "onclick": U.UF.C.closure(function (obj) {
  1456. //防止拖动图标即打开了桌面应用
  1457. U.MD.D.click(this, obj);
  1458. }, [_studentDesktopIconInfo[i]])
  1459. }, _frag); //
  1460. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1461. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1462. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1463. }
  1464. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1465. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1466. _content = $$("div", {
  1467. className: "U_MD_D_KO",
  1468. "onmousedown": U.UF.C.closure(function (obj) {
  1469. //防止拖动图标即打开了桌面应用
  1470. U.MD.D.click(this, obj);
  1471. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1472. "onclick": U.UF.C.closure(function (obj) {
  1473. //防止拖动图标即打开了桌面应用
  1474. U.MD.D.click(this, obj);
  1475. }, [_hkZJLSStudentDeskIconInfo[i]])
  1476. }, _frag); //
  1477. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1478. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1479. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1480. } //
  1481. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1482. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1483. _content = $$("div", {
  1484. className: "U_MD_D_KO",
  1485. "onmousedown": U.UF.C.closure(function (obj) {
  1486. //防止拖动图标即打开了桌面应用
  1487. U.MD.D.click(this, obj);
  1488. }, [_jccssylStudentDeskIconInfo[i]]),
  1489. "onclick": U.UF.C.closure(function (obj) {
  1490. //防止拖动图标即打开了桌面应用
  1491. U.MD.D.click(this, obj);
  1492. }, [_jccssylStudentDeskIconInfo[i]])
  1493. }, _frag); //
  1494. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1495. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1496. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1497. }
  1498. } else if (_type == 2 && (_org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344")) {
  1499. for (i = 0; i < _caleStudentDeskIconInfo.length; i++) {
  1500. _content = $$("div", {
  1501. className: "U_MD_D_KO",
  1502. "onmousedown": U.UF.C.closure(function (obj) {
  1503. //防止拖动图标即打开了桌面应用
  1504. U.MD.D.click(this, obj);
  1505. }, [_caleStudentDeskIconInfo[i]]),
  1506. "onclick": U.UF.C.closure(function (obj) {
  1507. //防止拖动图标即打开了桌面应用
  1508. U.MD.D.click(this, obj);
  1509. }, [_caleStudentDeskIconInfo[i]])
  1510. }, _frag); //
  1511. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1512. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleStudentDeskIconInfo[i].style }, _iconcontent);
  1513. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleStudentDeskIconInfo[i].Name }, _iconcontent);
  1514. }
  1515. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1516. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1517. _content = $$("div", {
  1518. className: "U_MD_D_KO",
  1519. "onmousedown": U.UF.C.closure(function (obj) {
  1520. //防止拖动图标即打开了桌面应用
  1521. U.MD.D.click(this, obj);
  1522. }, [_thuioeStudentDeskIconInfo[i]]),
  1523. "onclick": U.UF.C.closure(function (obj) {
  1524. //防止拖动图标即打开了桌面应用
  1525. U.MD.D.click(this, obj);
  1526. }, [_thuioeStudentDeskIconInfo[i]])
  1527. }, _frag); //
  1528. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1529. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1530. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1531. }
  1532. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1533. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1534. _content = $$("div", {
  1535. className: "U_MD_D_KO",
  1536. "onmousedown": U.UF.C.closure(function (obj) {
  1537. //防止拖动图标即打开了桌面应用
  1538. U.MD.D.click(this, obj);
  1539. }, [_tpcStudentDeskIconInfo[i]]),
  1540. "onclick": U.UF.C.closure(function (obj) {
  1541. //防止拖动图标即打开了桌面应用
  1542. U.MD.D.click(this, obj);
  1543. }, [_tpcStudentDeskIconInfo[i]])
  1544. }, _frag); //
  1545. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1546. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1547. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1548. } //
  1549. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1550. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1551. _content = $$("div", {
  1552. className: "U_MD_D_KO",
  1553. "onmousedown": U.UF.C.closure(function (obj) {
  1554. //防止拖动图标即打开了桌面应用
  1555. U.MD.D.click(this, obj);
  1556. }, [_chjyjStudentDeskIconInfo[i]]),
  1557. "onclick": U.UF.C.closure(function (obj) {
  1558. //防止拖动图标即打开了桌面应用
  1559. U.MD.D.click(this, obj);
  1560. }, [_chjyjStudentDeskIconInfo[i]])
  1561. }, _frag); //
  1562. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1563. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1564. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1565. }
  1566. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1567. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1568. _content = $$("div", {
  1569. className: "U_MD_D_KO",
  1570. "onmousedown": U.UF.C.closure(function (obj) {
  1571. //防止拖动图标即打开了桌面应用
  1572. U.MD.D.click(this, obj);
  1573. }, [_szjkyStudentDeskIconInfo[i]]),
  1574. "onclick": U.UF.C.closure(function (obj) {
  1575. //防止拖动图标即打开了桌面应用
  1576. U.MD.D.click(this, obj);
  1577. }, [_szjkyStudentDeskIconInfo[i]])
  1578. }, _frag); //
  1579. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1580. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1581. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1582. }
  1583. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1584. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1585. _content = $$("div", {
  1586. className: "U_MD_D_KO",
  1587. "onmousedown": U.UF.C.closure(function (obj) {
  1588. //防止拖动图标即打开了桌面应用
  1589. U.MD.D.click(this, obj);
  1590. }, [_dseiStudentDeskIconInfo[i]]),
  1591. "onclick": U.UF.C.closure(function (obj) {
  1592. //防止拖动图标即打开了桌面应用
  1593. U.MD.D.click(this, obj);
  1594. }, [_dseiStudentDeskIconInfo[i]])
  1595. }, _frag); //
  1596. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1597. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1598. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1599. }
  1600. } else if (_type == 2 && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1601. for (i = 0; i < _lqwmsgzsStudentDeskIconInfo.length; i++) {
  1602. _content = $$("div", {
  1603. className: "U_MD_D_KO",
  1604. "onmousedown": U.UF.C.closure(function (obj) {
  1605. //防止拖动图标即打开了桌面应用
  1606. U.MD.D.click(this, obj);
  1607. }, [_lqwmsgzsStudentDeskIconInfo[i]]),
  1608. "onclick": U.UF.C.closure(function (obj) {
  1609. //防止拖动图标即打开了桌面应用
  1610. U.MD.D.click(this, obj);
  1611. }, [_lqwmsgzsStudentDeskIconInfo[i]])
  1612. }, _frag); //
  1613. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1614. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsStudentDeskIconInfo[i].style }, _iconcontent);
  1615. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsStudentDeskIconInfo[i].Name }, _iconcontent);
  1616. }
  1617. }else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1618. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1619. _content = $$("div", {
  1620. className: "U_MD_D_KO",
  1621. "onmousedown": U.UF.C.closure(function (obj) {
  1622. //防止拖动图标即打开了桌面应用
  1623. U.MD.D.click(this, obj);
  1624. }, [_siesStudentDeskIconInfo[i]]),
  1625. "onclick": U.UF.C.closure(function (obj) {
  1626. //防止拖动图标即打开了桌面应用
  1627. U.MD.D.click(this, obj);
  1628. }, [_siesStudentDeskIconInfo[i]])
  1629. }, _frag); //
  1630. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1631. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1632. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1633. }
  1634. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1635. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1636. _content = $$("div", {
  1637. className: "U_MD_D_KO",
  1638. "onmousedown": U.UF.C.closure(function (obj) {
  1639. //防止拖动图标即打开了桌面应用
  1640. U.MD.D.click(this, obj);
  1641. }, [_hkStudentDeskIconInfo[i]]),
  1642. "onclick": U.UF.C.closure(function (obj) {
  1643. //防止拖动图标即打开了桌面应用
  1644. U.MD.D.click(this, obj);
  1645. }, [_hkStudentDeskIconInfo[i]])
  1646. }, _frag); //
  1647. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1648. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1649. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1650. }
  1651. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1652. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1653. _content = $$("div", {
  1654. className: "U_MD_D_KO",
  1655. "onmousedown": U.UF.C.closure(function (obj) {
  1656. //防止拖动图标即打开了桌面应用
  1657. U.MD.D.click(this, obj);
  1658. }, [_hkaceStudentDeskIconInfo[i]]),
  1659. "onclick": U.UF.C.closure(function (obj) {
  1660. //防止拖动图标即打开了桌面应用
  1661. U.MD.D.click(this, obj);
  1662. }, [_hkaceStudentDeskIconInfo[i]])
  1663. }, _frag); //
  1664. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1665. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1666. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1667. }
  1668. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1669. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1670. _content = $$("div", {
  1671. className: "U_MD_D_KO",
  1672. "onmousedown": U.UF.C.closure(function (obj) {
  1673. //防止拖动图标即打开了桌面应用
  1674. U.MD.D.click(this, obj);
  1675. }, [_studentDesktopIconInfo[i]]),
  1676. "onclick": U.UF.C.closure(function (obj) {
  1677. //防止拖动图标即打开了桌面应用
  1678. U.MD.D.click(this, obj);
  1679. }, [_studentDesktopIconInfo[i]])
  1680. }, _frag); //
  1681. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1682. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1683. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1684. }
  1685. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1686. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1687. _content = $$("div", {
  1688. className: "U_MD_D_KO",
  1689. "onmousedown": U.UF.C.closure(function (obj) {
  1690. //防止拖动图标即打开了桌面应用
  1691. U.MD.D.click(this, obj);
  1692. }, [_tcStudentDeskIconInfo[i]]),
  1693. "onclick": U.UF.C.closure(function (obj) {
  1694. //防止拖动图标即打开了桌面应用
  1695. U.MD.D.click(this, obj);
  1696. }, [_tcStudentDeskIconInfo[i]])
  1697. }, _frag); //
  1698. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1699. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1700. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1701. }
  1702. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1703. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1704. _content = $$("div", {
  1705. className: "U_MD_D_KO",
  1706. "onmousedown": U.UF.C.closure(function (obj) {
  1707. //防止拖动图标即打开了桌面应用
  1708. U.MD.D.click(this, obj);
  1709. }, [_szscStudentDeskIconInfo[i]]),
  1710. "onclick": U.UF.C.closure(function (obj) {
  1711. //防止拖动图标即打开了桌面应用
  1712. U.MD.D.click(this, obj);
  1713. }, [_szscStudentDeskIconInfo[i]])
  1714. }, _frag); //
  1715. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1716. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1717. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1718. }
  1719. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1720. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1721. _content = $$("div", {
  1722. className: "U_MD_D_KO",
  1723. "onmousedown": U.UF.C.closure(function (obj) {
  1724. //防止拖动图标即打开了桌面应用
  1725. U.MD.D.click(this, obj);
  1726. }, [_studentDesktopIconInfo3[i]]),
  1727. "onclick": U.UF.C.closure(function (obj) {
  1728. //防止拖动图标即打开了桌面应用
  1729. U.MD.D.click(this, obj);
  1730. }, [_studentDesktopIconInfo3[i]])
  1731. }, _frag); //
  1732. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1733. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1734. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1735. }
  1736. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1737. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1738. _content = $$("div", {
  1739. className: "U_MD_D_KO",
  1740. "onmousedown": U.UF.C.closure(function (obj) {
  1741. //防止拖动图标即打开了桌面应用
  1742. U.MD.D.click(this, obj);
  1743. }, [_studentDesktopIconInfo2[i]]),
  1744. "onclick": U.UF.C.closure(function (obj) {
  1745. //防止拖动图标即打开了桌面应用
  1746. U.MD.D.click(this, obj);
  1747. }, [_studentDesktopIconInfo2[i]])
  1748. }, _frag); //
  1749. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1750. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1751. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1752. }
  1753. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1754. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1755. _content = $$("div", {
  1756. className: "U_MD_D_KO",
  1757. "onmousedown": U.UF.C.closure(function (obj) {
  1758. //防止拖动图标即打开了桌面应用
  1759. U.MD.D.click(this, obj);
  1760. }, [_wanketeacherDesktopIconInfo[i]]),
  1761. "onclick": U.UF.C.closure(function (obj) {
  1762. //防止拖动图标即打开了桌面应用
  1763. U.MD.D.click(this, obj);
  1764. }, [_wanketeacherDesktopIconInfo[i]])
  1765. }, _frag); //
  1766. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1767. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1768. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1769. }
  1770. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1771. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1772. _content = $$("div", {
  1773. className: "U_MD_D_KO",
  1774. "onmousedown": U.UF.C.closure(function (obj) {
  1775. //防止拖动图标即打开了桌面应用
  1776. U.MD.D.click(this, obj);
  1777. }, [_wankeAdminDesktopIconInfo[i]]),
  1778. "onclick": U.UF.C.closure(function (obj) {
  1779. //防止拖动图标即打开了桌面应用
  1780. U.MD.D.click(this, obj);
  1781. }, [_wankeAdminDesktopIconInfo[i]])
  1782. }, _frag); //
  1783. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1784. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1785. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1786. }
  1787. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1788. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1789. _content = $$("div", {
  1790. className: "U_MD_D_KO",
  1791. "onmousedown": U.UF.C.closure(function (obj) {
  1792. //防止拖动图标即打开了桌面应用
  1793. U.MD.D.click(this, obj);
  1794. }, [_jccssylTeacherDeskIconInfo[i]]),
  1795. "onclick": U.UF.C.closure(function (obj) {
  1796. //防止拖动图标即打开了桌面应用
  1797. U.MD.D.click(this, obj);
  1798. }, [_jccssylTeacherDeskIconInfo[i]])
  1799. }, _frag); //
  1800. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1801. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1802. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1803. }
  1804. } else if ((_type == 1 || _type == 4) && _org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344") {
  1805. for (i = 0; i < _caleTeacherDeskIconInfo.length; i++) {
  1806. _content = $$("div", {
  1807. className: "U_MD_D_KO",
  1808. "onmousedown": U.UF.C.closure(function (obj) {
  1809. //防止拖动图标即打开了桌面应用
  1810. U.MD.D.click(this, obj);
  1811. }, [_caleTeacherDeskIconInfo[i]]),
  1812. "onclick": U.UF.C.closure(function (obj) {
  1813. //防止拖动图标即打开了桌面应用
  1814. U.MD.D.click(this, obj);
  1815. }, [_caleTeacherDeskIconInfo[i]])
  1816. }, _frag); //
  1817. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1818. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleTeacherDeskIconInfo[i].style }, _iconcontent);
  1819. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleTeacherDeskIconInfo[i].Name }, _iconcontent);
  1820. }
  1821. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1822. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1823. _content = $$("div", {
  1824. className: "U_MD_D_KO",
  1825. "onmousedown": U.UF.C.closure(function (obj) {
  1826. //防止拖动图标即打开了桌面应用
  1827. U.MD.D.click(this, obj);
  1828. }, [_tpcOrganizerDeskIconInfo[i]]),
  1829. "onclick": U.UF.C.closure(function (obj) {
  1830. //防止拖动图标即打开了桌面应用
  1831. U.MD.D.click(this, obj);
  1832. }, [_tpcOrganizerDeskIconInfo[i]])
  1833. }, _frag); //
  1834. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1835. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1836. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1837. }
  1838. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1839. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1840. _content = $$("div", {
  1841. className: "U_MD_D_KO",
  1842. "onmousedown": U.UF.C.closure(function (obj) {
  1843. //防止拖动图标即打开了桌面应用
  1844. U.MD.D.click(this, obj);
  1845. }, [_tpcTeacherDeskIconInfo[i]]),
  1846. "onclick": U.UF.C.closure(function (obj) {
  1847. //防止拖动图标即打开了桌面应用
  1848. U.MD.D.click(this, obj);
  1849. }, [_tpcTeacherDeskIconInfo[i]])
  1850. }, _frag); //
  1851. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1852. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1853. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1854. }
  1855. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1856. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1857. _content = $$("div", {
  1858. className: "U_MD_D_KO",
  1859. "onmousedown": U.UF.C.closure(function (obj) {
  1860. //防止拖动图标即打开了桌面应用
  1861. U.MD.D.click(this, obj);
  1862. }, [_teacherDesktopIconInfo2[i]]),
  1863. "onclick": U.UF.C.closure(function (obj) {
  1864. //防止拖动图标即打开了桌面应用
  1865. U.MD.D.click(this, obj);
  1866. }, [_teacherDesktopIconInfo2[i]])
  1867. }, _frag); //
  1868. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1869. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1870. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1871. }
  1872. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1873. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1874. _content = $$("div", {
  1875. className: "U_MD_D_KO",
  1876. "onmousedown": U.UF.C.closure(function (obj) {
  1877. //防止拖动图标即打开了桌面应用
  1878. U.MD.D.click(this, obj);
  1879. }, [_thuioeTeacherDeskIconInfo[i]]),
  1880. "onclick": U.UF.C.closure(function (obj) {
  1881. //防止拖动图标即打开了桌面应用
  1882. U.MD.D.click(this, obj);
  1883. }, [_thuioeTeacherDeskIconInfo[i]])
  1884. }, _frag); //
  1885. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1886. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1887. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1888. }
  1889. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1890. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1891. _content = $$("div", {
  1892. className: "U_MD_D_KO",
  1893. "onmousedown": U.UF.C.closure(function (obj) {
  1894. //防止拖动图标即打开了桌面应用
  1895. U.MD.D.click(this, obj);
  1896. }, [_lotechTeacherDeskIconInfo[i]]),
  1897. "onclick": U.UF.C.closure(function (obj) {
  1898. //防止拖动图标即打开了桌面应用
  1899. U.MD.D.click(this, obj);
  1900. }, [_lotechTeacherDeskIconInfo[i]])
  1901. }, _frag); //
  1902. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1903. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1904. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1905. }//
  1906. } else if ((_type == 1 || _type == 4) && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1907. for (i = 0; i < _lqwmsgzsTeacherDeskIconInfo.length; i++) {
  1908. _content = $$("div", {
  1909. className: "U_MD_D_KO",
  1910. "onmousedown": U.UF.C.closure(function (obj) {
  1911. //防止拖动图标即打开了桌面应用
  1912. U.MD.D.click(this, obj);
  1913. }, [_lqwmsgzsTeacherDeskIconInfo[i]]),
  1914. "onclick": U.UF.C.closure(function (obj) {
  1915. //防止拖动图标即打开了桌面应用
  1916. U.MD.D.click(this, obj);
  1917. }, [_lqwmsgzsTeacherDeskIconInfo[i]])
  1918. }, _frag); //
  1919. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1920. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsTeacherDeskIconInfo[i].style }, _iconcontent);
  1921. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsTeacherDeskIconInfo[i].Name }, _iconcontent);
  1922. }
  1923. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1924. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1925. _content = $$("div", {
  1926. className: "U_MD_D_KO",
  1927. "onmousedown": U.UF.C.closure(function (obj) {
  1928. //防止拖动图标即打开了桌面应用
  1929. U.MD.D.click(this, obj);
  1930. }, [_siesTeacherDeskIconInfo[i]]),
  1931. "onclick": U.UF.C.closure(function (obj) {
  1932. //防止拖动图标即打开了桌面应用
  1933. U.MD.D.click(this, obj);
  1934. }, [_siesTeacherDeskIconInfo[i]])
  1935. }, _frag); //
  1936. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1937. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1938. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1939. }
  1940. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1941. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1942. _content = $$("div", {
  1943. className: "U_MD_D_KO",
  1944. "onmousedown": U.UF.C.closure(function (obj) {
  1945. //防止拖动图标即打开了桌面应用
  1946. U.MD.D.click(this, obj);
  1947. }, [_longhuaTeacherDeskIconInfo[i]]),
  1948. "onclick": U.UF.C.closure(function (obj) {
  1949. //防止拖动图标即打开了桌面应用
  1950. U.MD.D.click(this, obj);
  1951. }, [_longhuaTeacherDeskIconInfo[i]])
  1952. }, _frag); //
  1953. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1954. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1955. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1956. }
  1957. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1958. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1959. _content = $$("div", {
  1960. className: "U_MD_D_KO",
  1961. "onmousedown": U.UF.C.closure(function (obj) {
  1962. //防止拖动图标即打开了桌面应用
  1963. U.MD.D.click(this, obj);
  1964. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1965. "onclick": U.UF.C.closure(function (obj) {
  1966. //防止拖动图标即打开了桌面应用
  1967. U.MD.D.click(this, obj);
  1968. }, [_yunhaiTeacherDeskIconInfo[i]])
  1969. }, _frag); //
  1970. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1971. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1972. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1973. } //_hkStudentDeskIconInfo
  1974. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1975. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1976. _content = $$("div", {
  1977. className: "U_MD_D_KO",
  1978. "onmousedown": U.UF.C.closure(function (obj) {
  1979. //防止拖动图标即打开了桌面应用
  1980. U.MD.D.click(this, obj);
  1981. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1982. "onclick": U.UF.C.closure(function (obj) {
  1983. //防止拖动图标即打开了桌面应用
  1984. U.MD.D.click(this, obj);
  1985. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1986. }, _frag); //
  1987. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1988. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1989. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1990. }
  1991. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1992. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1993. _content = $$("div", {
  1994. className: "U_MD_D_KO",
  1995. "onmousedown": U.UF.C.closure(function (obj) {
  1996. //防止拖动图标即打开了桌面应用
  1997. U.MD.D.click(this, obj);
  1998. }, [_hkTeacherDeskIconInfo[i]]),
  1999. "onclick": U.UF.C.closure(function (obj) {
  2000. //防止拖动图标即打开了桌面应用
  2001. U.MD.D.click(this, obj);
  2002. }, [_hkTeacherDeskIconInfo[i]])
  2003. }, _frag); //
  2004. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2005. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  2006. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  2007. }
  2008. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  2009. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  2010. _content = $$("div", {
  2011. className: "U_MD_D_KO",
  2012. "onmousedown": U.UF.C.closure(function (obj) {
  2013. //防止拖动图标即打开了桌面应用
  2014. U.MD.D.click(this, obj);
  2015. }, [_hkaceTeacherDeskIconInfo[i]]),
  2016. "onclick": U.UF.C.closure(function (obj) {
  2017. //防止拖动图标即打开了桌面应用
  2018. U.MD.D.click(this, obj);
  2019. }, [_hkaceTeacherDeskIconInfo[i]])
  2020. }, _frag); //
  2021. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2022. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  2023. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  2024. }
  2025. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  2026. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  2027. _content = $$("div", {
  2028. className: "U_MD_D_KO",
  2029. "onmousedown": U.UF.C.closure(function (obj) {
  2030. //防止拖动图标即打开了桌面应用
  2031. U.MD.D.click(this, obj);
  2032. }, [_gdjgAdminDeskIconInfo[i]]),
  2033. "onclick": U.UF.C.closure(function (obj) {
  2034. //防止拖动图标即打开了桌面应用
  2035. U.MD.D.click(this, obj);
  2036. }, [_gdjgAdminDeskIconInfo[i]])
  2037. }, _frag); //
  2038. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2039. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  2040. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  2041. }
  2042. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  2043. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  2044. _content = $$("div", {
  2045. className: "U_MD_D_KO",
  2046. "onmousedown": U.UF.C.closure(function (obj) {
  2047. //防止拖动图标即打开了桌面应用
  2048. U.MD.D.click(this, obj);
  2049. }, [_gdjgTeacherDeskIconInfo[i]]),
  2050. "onclick": U.UF.C.closure(function (obj) {
  2051. //防止拖动图标即打开了桌面应用
  2052. U.MD.D.click(this, obj);
  2053. }, [_gdjgTeacherDeskIconInfo[i]])
  2054. }, _frag); //
  2055. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2056. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  2057. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  2058. }
  2059. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  2060. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  2061. _content = $$("div", {
  2062. className: "U_MD_D_KO",
  2063. "onmousedown": U.UF.C.closure(function (obj) {
  2064. //防止拖动图标即打开了桌面应用
  2065. U.MD.D.click(this, obj);
  2066. }, [_szherTeacherDeskIconInfo[i]]),
  2067. "onclick": U.UF.C.closure(function (obj) {
  2068. //防止拖动图标即打开了桌面应用
  2069. U.MD.D.click(this, obj);
  2070. }, [_szherTeacherDeskIconInfo[i]])
  2071. }, _frag); //
  2072. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2073. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  2074. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  2075. }
  2076. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  2077. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  2078. _content = $$("div", {
  2079. className: "U_MD_D_KO",
  2080. "onmousedown": U.UF.C.closure(function (obj) {
  2081. //防止拖动图标即打开了桌面应用
  2082. U.MD.D.click(this, obj);
  2083. }, [_heyuannAdminDeskIconInfo[i]]),
  2084. "onclick": U.UF.C.closure(function (obj) {
  2085. //防止拖动图标即打开了桌面应用
  2086. U.MD.D.click(this, obj);
  2087. }, [_heyuannAdminDeskIconInfo[i]])
  2088. }, _frag); //
  2089. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2090. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  2091. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  2092. }
  2093. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  2094. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  2095. _content = $$("div", {
  2096. className: "U_MD_D_KO",
  2097. "onmousedown": U.UF.C.closure(function (obj) {
  2098. //防止拖动图标即打开了桌面应用
  2099. U.MD.D.click(this, obj);
  2100. }, [_heyuanTeacherDeskIconInfo[i]]),
  2101. "onclick": U.UF.C.closure(function (obj) {
  2102. //防止拖动图标即打开了桌面应用
  2103. U.MD.D.click(this, obj);
  2104. }, [_heyuanTeacherDeskIconInfo[i]])
  2105. }, _frag); //
  2106. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2107. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  2108. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  2109. } //
  2110. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  2111. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  2112. _content = $$("div", {
  2113. className: "U_MD_D_KO",
  2114. "onmousedown": U.UF.C.closure(function (obj) {
  2115. //防止拖动图标即打开了桌面应用
  2116. U.MD.D.click(this, obj);
  2117. }, [_dseiAdminDeskIconInfo[i]]),
  2118. "onclick": U.UF.C.closure(function (obj) {
  2119. //防止拖动图标即打开了桌面应用
  2120. U.MD.D.click(this, obj);
  2121. }, [_dseiAdminDeskIconInfo[i]])
  2122. }, _frag); //
  2123. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2124. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  2125. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  2126. }
  2127. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  2128. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  2129. _content = $$("div", {
  2130. className: "U_MD_D_KO",
  2131. "onmousedown": U.UF.C.closure(function (obj) {
  2132. //防止拖动图标即打开了桌面应用
  2133. U.MD.D.click(this, obj);
  2134. }, [_dseiTeacherDeskIconInfo[i]]),
  2135. "onclick": U.UF.C.closure(function (obj) {
  2136. //防止拖动图标即打开了桌面应用
  2137. U.MD.D.click(this, obj);
  2138. }, [_dseiTeacherDeskIconInfo[i]])
  2139. }, _frag); //
  2140. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2141. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  2142. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2143. } //
  2144. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  2145. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  2146. _content = $$("div", {
  2147. className: "U_MD_D_KO",
  2148. "onmousedown": U.UF.C.closure(function (obj) {
  2149. //防止拖动图标即打开了桌面应用
  2150. U.MD.D.click(this, obj);
  2151. }, [_chjyjAdminDeskIconInfo[i]]),
  2152. "onclick": U.UF.C.closure(function (obj) {
  2153. //防止拖动图标即打开了桌面应用
  2154. U.MD.D.click(this, obj);
  2155. }, [_chjyjAdminDeskIconInfo[i]])
  2156. }, _frag); //
  2157. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2158. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  2159. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  2160. }//
  2161. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  2162. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  2163. _content = $$("div", {
  2164. className: "U_MD_D_KO",
  2165. "onmousedown": U.UF.C.closure(function (obj) {
  2166. //防止拖动图标即打开了桌面应用
  2167. U.MD.D.click(this, obj);
  2168. }, [_chjyjTeacherDeskIconInfo[i]]),
  2169. "onclick": U.UF.C.closure(function (obj) {
  2170. //防止拖动图标即打开了桌面应用
  2171. U.MD.D.click(this, obj);
  2172. }, [_chjyjTeacherDeskIconInfo[i]])
  2173. }, _frag); //
  2174. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2175. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2176. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2177. }
  2178. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2179. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2180. _content = $$("div", {
  2181. className: "U_MD_D_KO",
  2182. "onmousedown": U.UF.C.closure(function (obj) {
  2183. //防止拖动图标即打开了桌面应用
  2184. U.MD.D.click(this, obj);
  2185. }, [_szjkyAdminDeskIconInfo[i]]),
  2186. "onclick": U.UF.C.closure(function (obj) {
  2187. //防止拖动图标即打开了桌面应用
  2188. U.MD.D.click(this, obj);
  2189. }, [_szjkyAdminDeskIconInfo[i]])
  2190. }, _frag); //
  2191. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2192. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2193. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2194. }//
  2195. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2196. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2197. _content = $$("div", {
  2198. className: "U_MD_D_KO",
  2199. "onmousedown": U.UF.C.closure(function (obj) {
  2200. //防止拖动图标即打开了桌面应用
  2201. U.MD.D.click(this, obj);
  2202. }, [_szjkyTeacherDeskIconInfo[i]]),
  2203. "onclick": U.UF.C.closure(function (obj) {
  2204. //防止拖动图标即打开了桌面应用
  2205. U.MD.D.click(this, obj);
  2206. }, [_szjkyTeacherDeskIconInfo[i]])
  2207. }, _frag); //
  2208. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2209. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2210. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2211. }
  2212. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2213. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2214. _content = $$("div", {
  2215. className: "U_MD_D_KO",
  2216. "onmousedown": U.UF.C.closure(function (obj) {
  2217. //防止拖动图标即打开了桌面应用
  2218. U.MD.D.click(this, obj);
  2219. }, [_futianAdminDeskIconInfo[i]]),
  2220. "onclick": U.UF.C.closure(function (obj) {
  2221. //防止拖动图标即打开了桌面应用
  2222. U.MD.D.click(this, obj);
  2223. }, [_futianAdminDeskIconInfo[i]])
  2224. }, _frag); //
  2225. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2226. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2227. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2228. }
  2229. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2230. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2231. _content = $$("div", {
  2232. className: "U_MD_D_KO",
  2233. "onmousedown": U.UF.C.closure(function (obj) {
  2234. //防止拖动图标即打开了桌面应用
  2235. U.MD.D.click(this, obj);
  2236. }, [_futianTeacherDeskIconInfo[i]]),
  2237. "onclick": U.UF.C.closure(function (obj) {
  2238. //防止拖动图标即打开了桌面应用
  2239. U.MD.D.click(this, obj);
  2240. }, [_futianTeacherDeskIconInfo[i]])
  2241. }, _frag); //
  2242. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2243. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2244. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2245. }
  2246. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2247. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2248. _content = $$("div", {
  2249. className: "U_MD_D_KO",
  2250. "onmousedown": U.UF.C.closure(function (obj) {
  2251. //防止拖动图标即打开了桌面应用
  2252. U.MD.D.click(this, obj);
  2253. }, [_MingdeTeacherDeskIcon[i]]),
  2254. "onclick": U.UF.C.closure(function (obj) {
  2255. //防止拖动图标即打开了桌面应用
  2256. U.MD.D.click(this, obj);
  2257. }, [_MingdeTeacherDeskIcon[i]])
  2258. }, _frag); //
  2259. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2260. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2261. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2262. }
  2263. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2264. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2265. _content = $$("div", {
  2266. className: "U_MD_D_KO",
  2267. "onmousedown": U.UF.C.closure(function (obj) {
  2268. //防止拖动图标即打开了桌面应用
  2269. U.MD.D.click(this, obj);
  2270. }, [_lhsAdminDesktopIconInfo[i]]),
  2271. "onclick": U.UF.C.closure(function (obj) {
  2272. //防止拖动图标即打开了桌面应用
  2273. U.MD.D.click(this, obj);
  2274. }, [_lhsAdminDesktopIconInfo[i]])
  2275. }, _frag); //
  2276. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2277. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2278. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2279. }
  2280. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2281. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2282. _content = $$("div", {
  2283. className: "U_MD_D_KO",
  2284. "onmousedown": U.UF.C.closure(function (obj) {
  2285. //防止拖动图标即打开了桌面应用
  2286. U.MD.D.click(this, obj);
  2287. }, [_lhsteacherDesktopIconInfo[i]]),
  2288. "onclick": U.UF.C.closure(function (obj) {
  2289. //防止拖动图标即打开了桌面应用
  2290. U.MD.D.click(this, obj);
  2291. }, [_lhsteacherDesktopIconInfo[i]])
  2292. }, _frag); //
  2293. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2294. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2295. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2296. }
  2297. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2298. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2299. _content = $$("div", {
  2300. className: "U_MD_D_KO",
  2301. "onmousedown": U.UF.C.closure(function (obj) {
  2302. //防止拖动图标即打开了桌面应用
  2303. U.MD.D.click(this, obj);
  2304. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2305. "onclick": U.UF.C.closure(function (obj) {
  2306. //防止拖动图标即打开了桌面应用
  2307. U.MD.D.click(this, obj);
  2308. }, [_zhoujiateacherDesktopIconInfo[i]])
  2309. }, _frag); //
  2310. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2311. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2312. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2313. }
  2314. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2315. for (i = 0; i < _hanDeskIcon.length; i++) {
  2316. _content = $$("div", {
  2317. className: "U_MD_D_KO",
  2318. "onmousedown": U.UF.C.closure(function (obj) {
  2319. //防止拖动图标即打开了桌面应用
  2320. U.MD.D.click(this, obj);
  2321. }, [_hanDeskIcon[i]]),
  2322. "onclick": U.UF.C.closure(function (obj) {
  2323. //防止拖动图标即打开了桌面应用
  2324. U.MD.D.click(this, obj);
  2325. }, [_hanDeskIcon[i]])
  2326. }, _frag); //
  2327. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2328. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2329. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2330. }
  2331. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2332. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2333. _content = $$("div", {
  2334. className: "U_MD_D_KO",
  2335. "onmousedown": U.UF.C.closure(function (obj) {
  2336. //防止拖动图标即打开了桌面应用
  2337. U.MD.D.click(this, obj);
  2338. }, [_orgStemDeskIcon[i]]),
  2339. "onclick": U.UF.C.closure(function (obj) {
  2340. //防止拖动图标即打开了桌面应用
  2341. U.MD.D.click(this, obj);
  2342. }, [_orgStemDeskIcon[i]])
  2343. }, _frag); //
  2344. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2345. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2346. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2347. }
  2348. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2349. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2350. _content = $$("div", {
  2351. className: "U_MD_D_KO",
  2352. "onmousedown": U.UF.C.closure(function (obj) {
  2353. //防止拖动图标即打开了桌面应用
  2354. U.MD.D.click(this, obj);
  2355. }, [_szulsDeskIcon[i]]),
  2356. "onclick": U.UF.C.closure(function (obj) {
  2357. //防止拖动图标即打开了桌面应用
  2358. U.MD.D.click(this, obj);
  2359. }, [_szulsDeskIcon[i]])
  2360. }, _frag); //
  2361. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2362. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2363. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2364. }
  2365. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2366. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2367. _content = $$("div", {
  2368. className: "U_MD_D_KO",
  2369. "onmousedown": U.UF.C.closure(function (obj) {
  2370. //防止拖动图标即打开了桌面应用
  2371. U.MD.D.click(this, obj);
  2372. }, [_orgDesktopIconInfo[i]]),
  2373. "onclick": U.UF.C.closure(function (obj) {
  2374. //防止拖动图标即打开了桌面应用
  2375. U.MD.D.click(this, obj);
  2376. }, [_orgDesktopIconInfo[i]])
  2377. }, _frag); //
  2378. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2379. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2380. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2381. }
  2382. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2383. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2384. _content = $$("div", {
  2385. className: "U_MD_D_KO",
  2386. "onmousedown": U.UF.C.closure(function (obj) {
  2387. //防止拖动图标即打开了桌面应用
  2388. U.MD.D.click(this, obj);
  2389. }, [_schoolDesktopIconInfo[i]]),
  2390. "onclick": U.UF.C.closure(function (obj) {
  2391. //防止拖动图标即打开了桌面应用
  2392. U.MD.D.click(this, obj);
  2393. }, [_schoolDesktopIconInfo[i]])
  2394. }, _frag); //
  2395. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2396. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2397. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2398. }
  2399. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2400. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2401. _content = $$("div", {
  2402. className: "U_MD_D_KO",
  2403. "onmousedown": U.UF.C.closure(function (obj) {
  2404. //防止拖动图标即打开了桌面应用
  2405. U.MD.D.click(this, obj);
  2406. }, [_GMteacherDesktopIconInfo[i]]),
  2407. "onclick": U.UF.C.closure(function (obj) {
  2408. //防止拖动图标即打开了桌面应用
  2409. U.MD.D.click(this, obj);
  2410. }, [_GMteacherDesktopIconInfo[i]])
  2411. }, _frag); //
  2412. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2413. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2414. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2415. }
  2416. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2417. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2418. _content = $$("div", {
  2419. className: "U_MD_D_KO",
  2420. "onmousedown": U.UF.C.closure(function (obj) {
  2421. //防止拖动图标即打开了桌面应用
  2422. U.MD.D.click(this, obj);
  2423. }, [_SONGteacherDesktopIconInfo[i]]),
  2424. "onclick": U.UF.C.closure(function (obj) {
  2425. //防止拖动图标即打开了桌面应用
  2426. U.MD.D.click(this, obj);
  2427. }, [_SONGteacherDesktopIconInfo[i]])
  2428. }, _frag); //
  2429. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2430. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2431. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2432. }
  2433. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2434. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2435. _content = $$("div", {
  2436. className: "U_MD_D_KO",
  2437. "onmousedown": U.UF.C.closure(function (obj) {
  2438. //防止拖动图标即打开了桌面应用
  2439. U.MD.D.click(this, obj);
  2440. }, [_GMstudentDesktopIconInfo[i]]),
  2441. "onclick": U.UF.C.closure(function (obj) {
  2442. //防止拖动图标即打开了桌面应用
  2443. U.MD.D.click(this, obj);
  2444. }, [_GMstudentDesktopIconInfo[i]])
  2445. }, _frag); //
  2446. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2447. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2448. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2449. }
  2450. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2451. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2452. _content = $$("div", {
  2453. className: "U_MD_D_KO",
  2454. "onmousedown": U.UF.C.closure(function (obj) {
  2455. //防止拖动图标即打开了桌面应用
  2456. U.MD.D.click(this, obj);
  2457. }, [_tcTeacherDeskIconInfo[i]]),
  2458. "onclick": U.UF.C.closure(function (obj) {
  2459. //防止拖动图标即打开了桌面应用
  2460. U.MD.D.click(this, obj);
  2461. }, [_tcTeacherDeskIconInfo[i]])
  2462. }, _frag); //
  2463. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2464. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2465. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2466. }
  2467. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2468. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2469. _content = $$("div", {
  2470. className: "U_MD_D_KO",
  2471. "onmousedown": U.UF.C.closure(function (obj) {
  2472. //防止拖动图标即打开了桌面应用
  2473. U.MD.D.click(this, obj);
  2474. }, [_tcOrganizerDeskIconInfo[i]]),
  2475. "onclick": U.UF.C.closure(function (obj) {
  2476. //防止拖动图标即打开了桌面应用
  2477. U.MD.D.click(this, obj);
  2478. }, [_tcOrganizerDeskIconInfo[i]])
  2479. }, _frag); //
  2480. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2481. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2482. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2483. }
  2484. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2485. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2486. _content = $$("div", {
  2487. className: "U_MD_D_KO",
  2488. "onmousedown": U.UF.C.closure(function (obj) {
  2489. //防止拖动图标即打开了桌面应用
  2490. U.MD.D.click(this, obj);
  2491. }, [_szscTeacherDeskIconInfo[i]]),
  2492. "onclick": U.UF.C.closure(function (obj) {
  2493. //防止拖动图标即打开了桌面应用
  2494. U.MD.D.click(this, obj);
  2495. }, [_szscTeacherDeskIconInfo[i]])
  2496. }, _frag); //
  2497. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2498. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2499. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2500. }
  2501. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2502. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2503. _content = $$("div", {
  2504. className: "U_MD_D_KO",
  2505. "onmousedown": U.UF.C.closure(function (obj) {
  2506. //防止拖动图标即打开了桌面应用
  2507. U.MD.D.click(this, obj);
  2508. }, [_szscOrganizerDeskIconInfo[i]]),
  2509. "onclick": U.UF.C.closure(function (obj) {
  2510. //防止拖动图标即打开了桌面应用
  2511. U.MD.D.click(this, obj);
  2512. }, [_szscOrganizerDeskIconInfo[i]])
  2513. }, _frag); //
  2514. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2515. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2516. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2517. }
  2518. } else {
  2519. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2520. _content = $$("div", {
  2521. className: "U_MD_D_KO",
  2522. "onmousedown": U.UF.C.closure(function (obj) {
  2523. //防止拖动图标即打开了桌面应用
  2524. U.MD.D.click(this, obj);
  2525. }, [_teacherDesktopIconInfo[i]]),
  2526. "onclick": U.UF.C.closure(function (obj) {
  2527. //防止拖动图标即打开了桌面应用
  2528. U.MD.D.click(this, obj);
  2529. }, [_teacherDesktopIconInfo[i]])
  2530. }, _frag); //
  2531. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2532. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2533. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2534. }
  2535. }
  2536. } else {
  2537. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2538. _content = $$("div", {
  2539. className: "U_MD_D_KO",
  2540. style: { 'width': '124px', 'height': '145px' },
  2541. "onmousedown": U.UF.C.closure(function (obj) {
  2542. //防止拖动图标即打开了桌面应用
  2543. U.MD.D.click(this, obj);
  2544. }, [_easyDesktopIconInfo[i]]),
  2545. "onclick": U.UF.C.closure(function (obj) {
  2546. //防止拖动图标即打开了桌面应用
  2547. U.MD.D.click(this, obj);
  2548. }, [_easyDesktopIconInfo[i]])
  2549. }, _frag); //
  2550. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2551. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2552. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2553. }
  2554. }
  2555. if (type == 1) {
  2556. //加载好后给图标定位
  2557. U.MD.D.iconPostion($(_frag).Child());
  2558. } else {
  2559. //加载好后给图标定位
  2560. U.MD.D.iconPostion2($(_frag).Child());
  2561. }
  2562. //把图标加载到页面
  2563. el.appendChild(_frag);
  2564. }
  2565. /**
  2566. * 显示任务栏
  2567. *
  2568. * @param {element} 桌面元素
  2569. */
  2570. U.MD.D.I.displayTaskbar = function (el) {
  2571. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2572. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2573. //任务栏位置变化
  2574. U.selectEl(el).css({ "bottom": "0px" });
  2575. //桌面位置变话
  2576. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2577. }
  2578. }
  2579. //#region 桌面图标拖动逻辑
  2580. /**
  2581. * 桌面排列图标
  2582. *
  2583. * @param {element} 桌面元素
  2584. * @param {object} 上下相距的距离
  2585. * @param {object} 左右相距的距离
  2586. * @return {object} 命名空间
  2587. */
  2588. U.MD.D.iconPostion = function (childs, top, left) {
  2589. var i; //用于循环处理
  2590. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2591. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2592. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2593. for (i = 0; i < childs.length; i++) {
  2594. //如果竖排top超过了范围处理
  2595. if (top + 95 > US.height - 10) {
  2596. //left超过了页面范围处理,则向上重叠打印处理
  2597. if ((left + 180) > US.width) {
  2598. top -= 110;
  2599. left -= 90;
  2600. }
  2601. //没有超过范围,那么left+90添加到下一个竖排打印
  2602. else {
  2603. left += 90;
  2604. top = 15;
  2605. };
  2606. }
  2607. //给图标的位置赋值
  2608. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2609. if (i < childs.length - 1) {
  2610. //页面图标每次向下加95
  2611. top += 95;
  2612. }
  2613. }
  2614. //返回最后调用的图标的位置
  2615. return [top, left];
  2616. }
  2617. /**
  2618. * 桌面排列图标
  2619. *
  2620. * @param {element} 桌面元素
  2621. * @param {object} 上下相距的距离
  2622. * @param {object} 左右相距的距离
  2623. * @return {object} 命名空间
  2624. */
  2625. U.MD.D.iconPostion2 = function (childs, top, left) {
  2626. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2627. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2628. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2629. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2630. for (i = 0; i < childs.length; i++) {
  2631. //如果竖排top超过了范围处理
  2632. if (left + 150 > US.width - 10) {
  2633. //left超过了页面范围处理,则向上重叠打印处理
  2634. if ((top + 180) > US.Height) {
  2635. top -= 150;
  2636. left -= 150;
  2637. }
  2638. //没有超过范围,那么left+90添加到下一个竖排打印
  2639. else {
  2640. top += 150;
  2641. left = ol;
  2642. };
  2643. }
  2644. //给图标的位置赋值
  2645. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2646. if (i < childs.length - 1) {
  2647. //页面图标每次向下加95
  2648. left += 150;
  2649. }
  2650. }
  2651. //返回最后调用的图标的位置
  2652. return [top, left];
  2653. }
  2654. /**
  2655. * 桌面点击事件逻辑
  2656. *
  2657. * @param {element} 桌面元素
  2658. * @param {object} 上下相距的距离
  2659. * @param {object} 左右相距的距离
  2660. * @return {object} 命名空间
  2661. */
  2662. U.MD.D.click = function (el, obj) {
  2663. var _buttonnumber = event.button; //点击的按钮的事件值
  2664. var _userinfo = US.userInfo;
  2665. U.UF.EV.stopBubble(); //阻止向上冒泡
  2666. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2667. if (_buttonnumber < 2) {
  2668. //如果是click事件的处理
  2669. if (event.type == "click") {
  2670. //如果元素在mousemove事件中没有移动则出发click事件
  2671. if (!U.MD.D.I.IsDrag) {
  2672. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2673. U.alert("请先登录您的账号!");
  2674. setTimeout(() => {
  2675. U.MD.U.L.login();
  2676. }, 2000);
  2677. } else {
  2678. //打开应用处理
  2679. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2680. }
  2681. }
  2682. }
  2683. //如果是mouse事件的处理
  2684. else {
  2685. if (US.Config.type == '1') {
  2686. //拖动处理,添加拖动和拖动结束事件
  2687. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2688. }
  2689. }
  2690. U.MD.D.I.IsDrag = false;
  2691. }
  2692. }
  2693. /**
  2694. * 拖动的处理
  2695. *
  2696. */
  2697. U.MD.D.iconMove = function () {
  2698. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2699. U.MD.D.I.IsDrag = true;
  2700. }
  2701. /**
  2702. * 拖动结束后,这里是定位处理,以网状的形式定位
  2703. *
  2704. * @param {element} 拖动的元素
  2705. * @return {object} 命名空间
  2706. */
  2707. U.MD.D.iconUp = function (el) {
  2708. var _top = 15,
  2709. _left = 20,
  2710. _margin,
  2711. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2712. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2713. if (_positioninfo["OT"] > 15) {
  2714. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2715. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2716. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2717. }
  2718. if (_positioninfo["OL"] > 20) {
  2719. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2720. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2721. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2722. }
  2723. //while循环判断么一个重叠的元素
  2724. do {
  2725. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2726. _top = _positioninfo[0] + 95; //得到定位后的top
  2727. _left = _positioninfo[1]; //得到定位后的left
  2728. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2729. }
  2730. /**
  2731. * 判断拖动后图标是否重叠
  2732. *
  2733. * @param {element} 拖动的元素
  2734. * @param {element} 桌面所有的元素
  2735. * @param {array} 拖动元素的位置
  2736. ----------[0] 上 top
  2737. ----------[1] 左 left
  2738. * @return {object} 命名空间
  2739. */
  2740. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2741. //循环所有的图标
  2742. for (var i = 0; i < childs.length; i++) {
  2743. //判断有没有和该图标诶子重叠的元素
  2744. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2745. return childs[i]; //如果有返回
  2746. }
  2747. }
  2748. }
  2749. //#endregion
  2750. //#endregion
  2751. //#region 桌面应用
  2752. /**
  2753. * 打开应用
  2754. *
  2755. * @param {string} 类型
  2756. -----------------Disk 网盘系统
  2757. -----------------PDisk 学习系统网盘
  2758. -----------------Poto 图片
  2759. -----------------Video 视频
  2760. -----------------Music 音乐
  2761. -----------------Word word
  2762. -----------------Excel excel
  2763. -----------------Txt 记事本
  2764. -----------------PB 学习系统
  2765. -----------------Blog 朋友圈系统
  2766. -----------------FTP ftp系统
  2767. -----------------Group 好友群
  2768. -----------------SY 首页系统
  2769. -----------------Set 个人设置
  2770. -----------------XSet 系统设置
  2771. -----------------App 我们所有的app
  2772. -----------------BC c.1473.cn 平台
  2773. -----------------CWeb d.1473.cn 变成平台
  2774. -----------------其他的外联系统 我们统一用iframe打开
  2775. * @param {array} 类型
  2776. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2777. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2778. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2779. 如果第一个参数为其他,则无第二个参数
  2780. * @returns {array}
  2781. */
  2782. window.addEventListener('message', function (e) { // 监听 message 事件
  2783. // alert(e.data.type);
  2784. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2785. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2786. //3是展示全部阶段 2学生 1老师 4专家
  2787. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2788. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2789. //3是展示全部阶段 2学生 1老师 4专家
  2790. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2791. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2792. //3是展示全部阶段 2学生 1老师 4专家
  2793. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2794. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2795. } else if (e.data.screenType && e.data.screenType == "3train") { //培训管理传入
  2796. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  2797. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2798. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2799. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2800. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2801. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2802. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2803. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2804. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2805. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2806. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2807. //3是展示全部阶段 2学生 1老师 4专家
  2808. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2809. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2810. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2811. U.MD.D.I.selectUser();
  2812. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2813. var _formel = document.getElementById("study");
  2814. U.UF.F.windowZooming(_formel);
  2815. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2816. var _formel = document.getElementById("studyDetail");
  2817. U.UF.F.windowZooming(_formel);
  2818. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2819. var _formel = document.getElementById("studyDetail");
  2820. U.UF.F.windowZooming(_formel);
  2821. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2822. var _formel = document.getElementById("studentStudy");
  2823. U.UF.F.windowZooming(_formel);
  2824. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2825. // var _formel = document.getElementById("study");
  2826. //如果最大化了,那么就把他缩小
  2827. // if (_formel.ismaximize) {
  2828. // return;
  2829. // }
  2830. // U.UF.F.windowZooming(_formel);
  2831. // U.UF.F.topWindow(_formel);
  2832. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2833. // var _formel = document.getElementById("studyDetail");
  2834. //如果最大化了,那么就把他缩小
  2835. // if (_formel.ismaximize) {
  2836. // return;
  2837. // }
  2838. // U.UF.F.windowZooming(_formel);
  2839. // U.UF.F.topWindow(_formel);
  2840. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2841. // var _formel = document.getElementById("studentStudy");
  2842. // if (_formel.ismaximize) {
  2843. // return;
  2844. // }
  2845. // U.UF.F.windowZooming(_formel);
  2846. // U.UF.F.topWindow(_formel);
  2847. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2848. var _formel = document.getElementById("study");
  2849. // if (_formel.ismaximize) {
  2850. // return;
  2851. // }
  2852. // U.UF.F.windowZooming(_formel);
  2853. U.UF.F.topWindow(_formel);
  2854. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2855. var _formel = document.getElementById("studentIndex");
  2856. U.UF.F.windowZooming(_formel);
  2857. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2858. var _formel = document.getElementById("studyDetailS");
  2859. U.UF.F.windowZooming(_formel);
  2860. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2861. var _formel = document.getElementById("studioIndex");
  2862. U.UF.F.windowZooming(_formel);
  2863. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2864. var _formel = document.getElementById("studyDetailStudio");
  2865. U.UF.F.windowZooming(_formel);
  2866. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2867. var _formel = document.getElementById("studyDetailStudio");
  2868. U.UF.F.windowZooming(_formel);
  2869. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2870. var _formel = document.getElementById("studyDetailNT");
  2871. U.UF.F.windowZooming(_formel);
  2872. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2873. var _formel = document.getElementById("studyDetailS");
  2874. U.UF.F.windowZooming(_formel);
  2875. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2876. var _formel = document.getElementById("studyDetailS");
  2877. U.UF.F.topWindow(_formel);
  2878. } else if (e.data.tools && e.data.tools == "1") {
  2879. // U.MD.D.I.openApplication("whiteboard")
  2880. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2881. } else if (e.data.tools && e.data.tools == "2") {
  2882. U.MD.D.I.openApplication("note")
  2883. } else if (e.data.tools && e.data.tools == "3") {
  2884. // U.MD.D.I.openApplication("mind")
  2885. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2886. } else if (e.data.tools && e.data.tools == "4") {
  2887. U.MD.D.I.openApplication("investigation")
  2888. } else if (e.data.tools && e.data.tools == "6") {
  2889. // U.MD.D.I.openApplication("doc")
  2890. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2891. } else if (e.data.tools && e.data.tools == "7") {
  2892. // U.MD.D.I.openApplication("mindNetwork")
  2893. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2894. } else if (e.data.tools && e.data.tools == "8") {
  2895. U.MD.D.I.openApplication("library")
  2896. } else if (e.data.tools && e.data.tools == "17") {
  2897. U.MD.D.I.openApplication("stuLibrary")
  2898. } else if (e.data.tools && e.data.tools == "18") {
  2899. U.MD.D.I.openApplication("train")
  2900. } else if (e.data.tools && e.data.tools == "21") {
  2901. U.MD.D.I.openApplication("program")
  2902. } else if (e.data.tools && e.data.tools == "22") {
  2903. U.MD.D.I.openApplication("AIprogram2")
  2904. } else if (e.data.tools && e.data.tools == "23") {
  2905. U.MD.D.I.openApplication("Pythonprogram")
  2906. } else if (e.data.tools && e.data.tools == "24") {
  2907. U.MD.D.I.openApplication("AIprogram")
  2908. } else if (e.data.tools && e.data.tools == "25") {
  2909. U.MD.D.I.openApplication("sys")
  2910. } else if (e.data.tools && e.data.tools == "26") {
  2911. // U.MD.D.I.openApplication("courseDesign")
  2912. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2913. } else if (e.data.tools && e.data.tools == "31") {
  2914. U.MD.D.I.openApplication("netWorkPanel")
  2915. } else if (e.data.tools && e.data.tools == "32") {
  2916. U.MD.D.I.openApplication("codeEdit")
  2917. } else if (e.data.tools && e.data.tools == "57") {
  2918. U.MD.D.I.openApplication("CocoPi")
  2919. } else if (e.data.tools && e.data.tools == "63") {
  2920. U.MD.D.I.openApplication("Wood")
  2921. } else if (e.data.tools && e.data.tools == "58") {
  2922. U.MD.D.I.openApplication("car")
  2923. } else if (e.data.tools && e.data.tools == "59") {
  2924. U.MD.D.I.openApplication("lineSearch")
  2925. } else if (e.data.tools && e.data.tools == "60") {
  2926. U.MD.D.I.openApplication("deepLearning")
  2927. } else if (e.data.tools && e.data.tools == "61") {
  2928. U.MD.D.I.openApplication("allHistory")
  2929. } else if (e.data.tools && e.data.tools == "28") {
  2930. U.MD.D.I.openApplication("translation")
  2931. } else if (e.data.tools && e.data.tools == "37") {
  2932. U.MD.D.I.openApplication("mohe")
  2933. } else if (e.data.tools && e.data.tools == "38") {
  2934. U.MD.D.I.openApplication("24game")
  2935. } else if (e.data.tools && e.data.tools == "39") {
  2936. U.MD.D.I.openApplication("GeoGebra")
  2937. } else if (e.data.tools && e.data.tools == "43") {
  2938. U.MD.D.I.openApplication("studentEvaluate")
  2939. } else if (e.data.tools && e.data.tools == "44") {
  2940. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2941. } else if (e.data.tools && e.data.tools == "46") {
  2942. U.MD.D.I.openApplication("project")
  2943. } else if (e.data.tools && e.data.tools == "1s") {
  2944. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2945. } else if (e.data.tools && e.data.tools == "3s") {
  2946. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2947. } else if (e.data.tools && e.data.tools == "6s") {
  2948. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2949. } else if (e.data.tools && e.data.tools == "1studio") {
  2950. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2951. } else if (e.data.tools && e.data.tools == "3studio") {
  2952. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2953. } else if (e.data.tools && e.data.tools == "6studio") {
  2954. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2955. } else if (e.data.tools && e.data.tools == "3y") {
  2956. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2957. } else if (e.data.tools && e.data.tools == "1y") {
  2958. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2959. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2960. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2961. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2962. U.MD.D.I.openApplication("AIAnalyse")
  2963. } else if (e.data.tools && e.data.tools == "1teacher") {
  2964. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2965. } else if (e.data.tools && e.data.tools == "3teacher") {
  2966. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2967. } else if (e.data.tools && e.data.tools == "7teacher") {
  2968. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2969. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2970. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2971. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2972. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2973. } else if (e.data.tools && e.data.tools == "1E") {
  2974. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2975. } else if (e.data.tools && e.data.tools == "3E") {
  2976. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2977. } else if (e.data.tools && e.data.tools == "57y") {
  2978. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2979. } else if (e.data.tools && e.data.tools == "57u") {
  2980. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2981. } else if (e.data.tools && e.data.tools == "57teacher") {
  2982. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2983. } else if (e.data.tools && e.data.tools == "64") {
  2984. U.MD.D.I.openApplication("AIChat")
  2985. } else if (e.data.tools && e.data.tools == "66") {
  2986. U.MD.D.I.openApplication("formulaEdi")
  2987. } else if (e.data.tools && e.data.tools == "67") {
  2988. U.MD.D.I.openApplication("molStr")
  2989. } else if (e.data.tools && e.data.tools == "68") {
  2990. U.MD.D.I.openApplication("timeAxis")
  2991. } else if (e.data.tools && e.data.tools == "openCourse") {
  2992. let _data = {
  2993. typea: e.data.typea || '',
  2994. typeb: e.data.typeb || '',
  2995. typed: e.data.typed || '',
  2996. }
  2997. U.MD.D.I.openInApplication("index", _data)
  2998. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2999. let _data = {
  3000. classid: e.data.classid || '',
  3001. }
  3002. U.MD.D.I.openInApplication("dataClass", _data)
  3003. } else if (e.data.tools && e.data.tools == "opencCscl") {
  3004. let _data = {
  3005. cid: e.data.cid || '',
  3006. gid: e.data.gid || '',
  3007. }
  3008. U.MD.D.I.openInApplication("opencCscl", _data)
  3009. } else if (e.data.tools && e.data.tools == "dataBoardTest") {
  3010. U.MD.D.I.openApplication("dataBoardTest")
  3011. }
  3012. });
  3013. U.MD.D.I.selectUser = function () {
  3014. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  3015. if (res.value[0].length > 0) {
  3016. US.userInfo = res.value[0][0];
  3017. $(".userName")[0].innerHTML = US.userInfo.username;
  3018. }
  3019. }, [], { "type": "GET", "withCredentials": true });
  3020. }
  3021. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  3022. var _userinfo = US.userInfo, //登录用户信息
  3023. _userid = US.userInfo.userid, //登录用户id
  3024. _oid = _userinfo.organizeid,
  3025. _type = US.userInfo.type,
  3026. _org = US.userInfo.org,
  3027. _role = US.userInfo.role,
  3028. _classId = US.userInfo.classid;
  3029. if (_type == 4) {
  3030. tType = 4
  3031. }
  3032. switch (str) {
  3033. case "studyDetailNT": //无终端模式
  3034. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3035. setTimeout(() => {
  3036. U.MD.U.L.login();
  3037. }, 2000);
  3038. } else {
  3039. _formdiv = new U.UF.UI.form(
  3040. "课程详情",
  3041. $$("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 }), {
  3042. "id": "studyDetailNT",
  3043. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3044. "onresize": function () { }
  3045. }, {
  3046. closecallback: function () { }
  3047. }, { "style": { "height": "36px" } }).form; //创建窗体
  3048. _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); } }
  3049. break;
  3050. }
  3051. case "studyDetail":
  3052. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3053. setTimeout(() => {
  3054. U.MD.U.L.login();
  3055. }, 2000);
  3056. } else {
  3057. _formdiv = new U.UF.UI.form(
  3058. "课程详情",
  3059. $$("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 }), {
  3060. "id": "studyDetail",
  3061. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3062. "onresize": function () { }
  3063. }, {
  3064. closecallback: function () { }
  3065. }, { "style": { "height": "36px" } }).form; //创建窗体
  3066. _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); } }
  3067. break;
  3068. }
  3069. case "studyDetailTrain":
  3070. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3071. setTimeout(() => {
  3072. U.MD.U.L.login();
  3073. }, 2000);
  3074. } else {
  3075. _formdiv = new U.UF.UI.form(
  3076. "培训详情",
  3077. $$("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 }), {
  3078. "id": "studyDetailTrain",
  3079. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3080. "onresize": function () { }
  3081. }, {
  3082. closecallback: function () { }
  3083. }, { "style": { "height": "36px" } }).form; //创建窗体
  3084. _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); } }
  3085. break;
  3086. }
  3087. case "studyDetailS":
  3088. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3089. setTimeout(() => {
  3090. U.MD.U.L.login();
  3091. }, 2000);
  3092. } else {
  3093. _formdiv = new U.UF.UI.form(
  3094. "项目详情",
  3095. $$("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 }), {
  3096. "id": "studyDetailS",
  3097. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3098. "onresize": function () { }
  3099. }, {
  3100. closecallback: function () { }
  3101. }, { "style": { "height": "36px" } }).form; //创建窗体
  3102. _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); } }
  3103. break;
  3104. }
  3105. case "studyDetailStudio":
  3106. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3107. setTimeout(() => {
  3108. U.MD.U.L.login();
  3109. }, 2000);
  3110. } else {
  3111. _formdiv = new U.UF.UI.form(
  3112. "工作详情",
  3113. $$("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 }), {
  3114. "id": "studyDetailStudio",
  3115. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3116. "onresize": function () { }
  3117. }, {
  3118. closecallback: function () { }
  3119. }, { "style": { "height": "36px" } }).form; //创建窗体
  3120. _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); } }
  3121. break;
  3122. }
  3123. case "studyDetailS5":
  3124. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3125. setTimeout(() => {
  3126. U.MD.U.L.login();
  3127. }, 2000);
  3128. } else {
  3129. _formdiv = new U.UF.UI.form(
  3130. "项目详情",
  3131. $$("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 }), {
  3132. "id": "studyDetailS",
  3133. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3134. "onresize": function () { }
  3135. }, {
  3136. closecallback: function () { }
  3137. }, { "style": { "height": "36px" } }).form; //创建窗体
  3138. _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); } }
  3139. break;
  3140. }
  3141. case "studyDetailGM":
  3142. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3143. setTimeout(() => {
  3144. U.MD.U.L.login();
  3145. }, 2000);
  3146. } else {
  3147. _formdiv = new U.UF.UI.form(
  3148. "课程详情",
  3149. $$("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 }), {
  3150. "id": "studyDetail",
  3151. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3152. "onresize": function () { }
  3153. }, {
  3154. closecallback: function () { }
  3155. }, { "style": { "height": "36px" } }).form; //创建窗体
  3156. _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); } }
  3157. break;
  3158. }
  3159. case "hanUrl":
  3160. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3161. setTimeout(() => {
  3162. U.MD.U.L.login();
  3163. }, 2000);
  3164. } else {
  3165. _formdiv = new U.UF.UI.form(
  3166. "汉字宫",
  3167. $$("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" }), {
  3168. "id": "hanUrl",
  3169. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3170. "onresize": function () { }
  3171. }, {
  3172. closecallback: function () { }
  3173. }, { "style": { "height": "36px" } }).form; //创建窗体
  3174. _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); } }
  3175. break;
  3176. }
  3177. case "index":
  3178. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3179. setTimeout(() => {
  3180. U.MD.U.L.login();
  3181. }, 2000);
  3182. } else {
  3183. _formdiv = new U.UF.UI.form(
  3184. "课程中心",
  3185. $$("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 }), {
  3186. "id": "study",
  3187. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3188. "onresize": function () { }
  3189. }, {
  3190. closecallback: function () { }
  3191. }, { "style": { "height": "36px" } }).form; //创建窗体
  3192. _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); } }
  3193. break;
  3194. }
  3195. case "dataClass":
  3196. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3197. setTimeout(() => {
  3198. U.MD.U.L.login();
  3199. }, 2000);
  3200. } else {
  3201. _formdiv = new U.UF.UI.form(
  3202. "数据报告",
  3203. $$("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 }), {
  3204. "id": "dataClass",
  3205. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3206. "onresize": function () { }
  3207. }, {
  3208. closecallback: function () { }
  3209. }, { "style": { "height": "36px" } }).form; //创建窗体
  3210. _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); } }
  3211. break;
  3212. }
  3213. case "opencCscl":
  3214. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3215. setTimeout(() => {
  3216. U.MD.U.L.login();
  3217. }, 2000);
  3218. } else {
  3219. _formdiv = new U.UF.UI.form(
  3220. "协同建构",
  3221. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  3222. "id": "futureClass",
  3223. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3224. "onresize": function () { }
  3225. }, {
  3226. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3227. }, { "style": { "height": "36px" } }).form; //创建窗体
  3228. _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); } }
  3229. break;
  3230. }
  3231. }
  3232. }
  3233. U.MD.D.I.openApplication = function (str, obj, info) {
  3234. obj = obj || {};
  3235. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3236. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3237. _userinfo = US.userInfo, //登录用户信息
  3238. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3239. _oid = obj.organizeid || _userinfo.organizeid,
  3240. _type = US.userInfo.type,
  3241. _org = US.userInfo.org,
  3242. _role = US.userInfo.role,
  3243. _classId = US.userInfo.classid,
  3244. _TscreenType = 1
  3245. _screenType = 2,
  3246. _SscreenType = 3;
  3247. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3248. return;
  3249. }
  3250. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3251. switch (str) {
  3252. case "studnetProject": //好友打开
  3253. _formdiv = new U.UF.UI.form(
  3254. "我的项目",
  3255. $$("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 }), {
  3256. "id": "studnetProject",
  3257. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3258. "onresize": function () { }
  3259. }, {
  3260. closecallback: function () { }
  3261. }, { "style": { "height": "36px" } }).form; //创建窗体
  3262. _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); } }
  3263. break;
  3264. case "studentEvaluate": //好友打开
  3265. _formdiv = new U.UF.UI.form(
  3266. "我的评价",
  3267. $$("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 }), {
  3268. "id": "studentEvaluate",
  3269. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3270. "onresize": function () { }
  3271. }, {
  3272. closecallback: function () { }
  3273. }, { "style": { "height": "36px" } }).form; //创建窗体
  3274. _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); } }
  3275. break;
  3276. case "my":
  3277. _formdiv = new U.UF.UI.form(
  3278. "我的资料",
  3279. $$("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 }), {
  3280. "id": "my",
  3281. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3282. "onresize": function () { }
  3283. }, {
  3284. closecallback: function () { }
  3285. }, { "style": { "height": "36px" } }).form; //创建窗体
  3286. _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); } }
  3287. break;
  3288. case "program":
  3289. _formdiv = new U.UF.UI.form(
  3290. "编程平台",
  3291. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3292. "id": "program",
  3293. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3294. "onresize": function () { }
  3295. }, {
  3296. closecallback: function () { }
  3297. }, { "style": { "height": "36px" } }).form; //创建窗体
  3298. _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); } }
  3299. break;
  3300. case "library":
  3301. _formdiv = new U.UF.UI.form(
  3302. "素材库",
  3303. $$("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 }), {
  3304. "id": "library",
  3305. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3306. "onresize": function () { }
  3307. }, {
  3308. closecallback: function () { }
  3309. }, { "style": { "height": "36px" } }).form; //创建窗体
  3310. _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); } }
  3311. break;
  3312. case "whiteboard":
  3313. _formdiv = new U.UF.UI.form(
  3314. "电子白板",
  3315. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3316. "id": "whiteboard",
  3317. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3318. "onresize": function () { }
  3319. }, {
  3320. closecallback: function () { }
  3321. }, { "style": { "height": "36px" } }).form; //创建窗体
  3322. _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); } }
  3323. break;
  3324. case "investigation":
  3325. _formdiv = new U.UF.UI.form(
  3326. "问卷调查",
  3327. $$("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 }), {
  3328. "id": "investigation",
  3329. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3330. "onresize": function () { }
  3331. }, {
  3332. closecallback: function () { }
  3333. }, { "style": { "height": "36px" } }).form; //创建窗体
  3334. _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); } }
  3335. break;
  3336. case "note":
  3337. _formdiv = new U.UF.UI.form(
  3338. "便签分类",
  3339. $$("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 }), {
  3340. "id": "note",
  3341. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3342. "onresize": function () { }
  3343. }, {
  3344. closecallback: function () { }
  3345. }, { "style": { "height": "36px" } }).form; //创建窗体
  3346. _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); } }
  3347. break;
  3348. // case "score":
  3349. // _formdiv = new U.UF.UI.form(
  3350. // "量规评分",
  3351. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3352. // "id": "score",
  3353. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3354. // "onresize": function() {}
  3355. // }, {
  3356. // closecallback: function() {}
  3357. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3358. // _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); } }
  3359. // break;
  3360. case "mind":
  3361. _formdiv = new U.UF.UI.form(
  3362. "思维导图",
  3363. $$("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"
  3364. "id": "mind",
  3365. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3366. "onresize": function () { }
  3367. }, {
  3368. closecallback: function () { }
  3369. }, { "style": { "height": "36px" } }).form; //创建窗体
  3370. _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); } }
  3371. break;
  3372. case "doc":
  3373. // U.MD.D.I.isRoom();
  3374. _formdiv = new U.UF.UI.form(
  3375. "协同文档",
  3376. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3377. "id": "doc",
  3378. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3379. "onresize": function () { }
  3380. }, {
  3381. closecallback: function () { }
  3382. }, { "style": { "height": "36px" } }).form; //创建窗体
  3383. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3384. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3385. // })
  3386. _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); } }
  3387. break;
  3388. case "studentStudy":
  3389. _formdiv = new U.UF.UI.form(
  3390. "课程中心",
  3391. $$("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
  3392. "id": "studentStudy",
  3393. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3394. "onresize": function () { }
  3395. }, {
  3396. closecallback: function () { }
  3397. }, { "style": { "height": "36px" } }).form; //创建窗体
  3398. _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); } }
  3399. break;
  3400. case "train": //好友打开
  3401. _formdiv = new U.UF.UI.form(
  3402. "训练平台",
  3403. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3404. "id": "train",
  3405. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3406. "onresize": function () { }
  3407. }, {
  3408. closecallback: function () { }
  3409. }, { "style": { "height": "36px" } }).form; //创建窗体
  3410. _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); } }
  3411. break;
  3412. case "mindNetwork": //好友打开
  3413. _formdiv = new U.UF.UI.form(
  3414. "思维网格",
  3415. $$("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 }), {
  3416. "id": "mindNetwork",
  3417. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3418. "onresize": function () { }
  3419. }, {
  3420. closecallback: function () { }
  3421. }, { "style": { "height": "36px" } }).form; //创建窗体
  3422. _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); } }
  3423. break;
  3424. case "studentClassRoom": //好友打开
  3425. _formdiv = new U.UF.UI.form(
  3426. "实时课堂",
  3427. $$("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 }), {
  3428. "id": "studentClassRoom",
  3429. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3430. "onresize": function () { }
  3431. }, {
  3432. closecallback: function () { }
  3433. }, { "style": { "height": "36px" } }).form; //创建窗体
  3434. _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); } }
  3435. setTimeout(() => {
  3436. U.UF.F.windowZooming(_formdiv)
  3437. }, 0);
  3438. break;
  3439. }
  3440. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3441. switch (str) {
  3442. case "studnetProject": //好友打开
  3443. _formdiv = new U.UF.UI.form(
  3444. "我的项目",
  3445. $$("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 }), {
  3446. "id": "studnetProject",
  3447. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3448. "onresize": function () { }
  3449. }, {
  3450. closecallback: function () { }
  3451. }, { "style": { "height": "36px" } }).form; //创建窗体
  3452. _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); } }
  3453. break;
  3454. case "studentEvaluate": //好友打开
  3455. _formdiv = new U.UF.UI.form(
  3456. "我的评价",
  3457. $$("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 }), {
  3458. "id": "studentEvaluate",
  3459. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3460. "onresize": function () { }
  3461. }, {
  3462. closecallback: function () { }
  3463. }, { "style": { "height": "36px" } }).form; //创建窗体
  3464. _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); } }
  3465. break;
  3466. case "my":
  3467. _formdiv = new U.UF.UI.form(
  3468. "我的资料",
  3469. $$("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 }), {
  3470. "id": "my",
  3471. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3472. "onresize": function () { }
  3473. }, {
  3474. closecallback: function () { }
  3475. }, { "style": { "height": "36px" } }).form; //创建窗体
  3476. _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); } }
  3477. break;
  3478. case "program":
  3479. _formdiv = new U.UF.UI.form(
  3480. "编程平台",
  3481. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3482. "id": "program",
  3483. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3484. "onresize": function () { }
  3485. }, {
  3486. closecallback: function () { }
  3487. }, { "style": { "height": "36px" } }).form; //创建窗体
  3488. _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); } }
  3489. break;
  3490. case "library":
  3491. _formdiv = new U.UF.UI.form(
  3492. "素材库",
  3493. $$("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 }), {
  3494. "id": "library",
  3495. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3496. "onresize": function () { }
  3497. }, {
  3498. closecallback: function () { }
  3499. }, { "style": { "height": "36px" } }).form; //创建窗体
  3500. _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); } }
  3501. break;
  3502. case "whiteboard":
  3503. _formdiv = new U.UF.UI.form(
  3504. "电子白板",
  3505. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3506. "id": "whiteboard",
  3507. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3508. "onresize": function () { }
  3509. }, {
  3510. closecallback: function () { }
  3511. }, { "style": { "height": "36px" } }).form; //创建窗体
  3512. _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); } }
  3513. break;
  3514. case "investigation":
  3515. _formdiv = new U.UF.UI.form(
  3516. "问卷调查",
  3517. $$("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 }), {
  3518. "id": "investigation",
  3519. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3520. "onresize": function () { }
  3521. }, {
  3522. closecallback: function () { }
  3523. }, { "style": { "height": "36px" } }).form; //创建窗体
  3524. _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); } }
  3525. break;
  3526. case "note":
  3527. _formdiv = new U.UF.UI.form(
  3528. "便签分类",
  3529. $$("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 }), {
  3530. "id": "note",
  3531. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3532. "onresize": function () { }
  3533. }, {
  3534. closecallback: function () { }
  3535. }, { "style": { "height": "36px" } }).form; //创建窗体
  3536. _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); } }
  3537. break;
  3538. // case "score":
  3539. // _formdiv = new U.UF.UI.form(
  3540. // "量规评分",
  3541. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3542. // "id": "score",
  3543. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3544. // "onresize": function() {}
  3545. // }, {
  3546. // closecallback: function() {}
  3547. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3548. // _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); } }
  3549. // break;
  3550. case "mind":
  3551. _formdiv = new U.UF.UI.form(
  3552. "思维导图",
  3553. $$("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"
  3554. "id": "mind",
  3555. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3556. "onresize": function () { }
  3557. }, {
  3558. closecallback: function () { }
  3559. }, { "style": { "height": "36px" } }).form; //创建窗体
  3560. _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); } }
  3561. break;
  3562. case "doc":
  3563. // U.MD.D.I.isRoom();
  3564. _formdiv = new U.UF.UI.form(
  3565. "协同文档",
  3566. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3567. "id": "doc",
  3568. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3569. "onresize": function () { }
  3570. }, {
  3571. closecallback: function () { }
  3572. }, { "style": { "height": "36px" } }).form; //创建窗体
  3573. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3574. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3575. })
  3576. _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); } }
  3577. break;
  3578. case "train": //好友打开
  3579. _formdiv = new U.UF.UI.form(
  3580. "训练平台",
  3581. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3582. "id": "train",
  3583. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3584. "onresize": function () { }
  3585. }, {
  3586. closecallback: function () { }
  3587. }, { "style": { "height": "36px" } }).form; //创建窗体
  3588. _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); } }
  3589. break;
  3590. case "studentStudy":
  3591. _formdiv = new U.UF.UI.form(
  3592. "课程中心",
  3593. $$("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
  3594. "id": "studentStudy",
  3595. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3596. "onresize": function () { }
  3597. }, {
  3598. closecallback: function () { }
  3599. }, { "style": { "height": "36px" } }).form; //创建窗体
  3600. _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); } }
  3601. break;
  3602. case "mindNetwork": //好友打开
  3603. _formdiv = new U.UF.UI.form(
  3604. "思维网格",
  3605. $$("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 }), {
  3606. "id": "mindNetwork",
  3607. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3608. "onresize": function () { }
  3609. }, {
  3610. closecallback: function () { }
  3611. }, { "style": { "height": "36px" } }).form; //创建窗体
  3612. _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); } }
  3613. break;
  3614. case "studentClassRoom": //好友打开
  3615. _formdiv = new U.UF.UI.form(
  3616. "实时课堂",
  3617. $$("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 }), {
  3618. "id": "studentClassRoom",
  3619. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3620. "onresize": function () { }
  3621. }, {
  3622. closecallback: function () { }
  3623. }, { "style": { "height": "36px" } }).form; //创建窗体
  3624. _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); } }
  3625. setTimeout(() => {
  3626. U.UF.F.windowZooming(_formdiv)
  3627. }, 0);
  3628. break;
  3629. }
  3630. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3631. //选择应用处理
  3632. switch (str) {
  3633. case "project": //好友打开
  3634. _formdiv = new U.UF.UI.form(
  3635. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3636. $$("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 }), {
  3637. "id": "project",
  3638. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3639. "onresize": function () { }
  3640. }, {
  3641. closecallback: function () { }
  3642. }, { "style": { "height": "36px" } }).form; //创建窗体
  3643. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3644. break;
  3645. case "student":
  3646. _formdiv = new U.UF.UI.form(
  3647. "学生管理",
  3648. $$("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 }), {
  3649. "id": "student",
  3650. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3651. "onresize": function () { }
  3652. }, {
  3653. closecallback: function () { }
  3654. }, { "style": { "height": "36px" } }).form; //创建窗体
  3655. _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); } }
  3656. break;
  3657. case "evaluate":
  3658. _formdiv = new U.UF.UI.form(
  3659. "学生评价",
  3660. $$("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 }), {
  3661. "id": "evaluate",
  3662. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3663. "onresize": function () { }
  3664. }, {
  3665. closecallback: function () { }
  3666. }, { "style": { "height": "36px" } }).form; //创建窗体
  3667. _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); } }
  3668. break;
  3669. case "sys":
  3670. _formdiv = new U.UF.UI.form(
  3671. "目标管理",
  3672. $$("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 }), {
  3673. "id": "sys",
  3674. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3675. "onresize": function () { }
  3676. }, {
  3677. closecallback: function () { }
  3678. }, { "style": { "height": "36px" } }).form; //创建窗体
  3679. _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); } }
  3680. break;
  3681. case "courseDesign":
  3682. _formdiv = new U.UF.UI.form(
  3683. "项目设计",
  3684. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3685. "id": "courseDesign",
  3686. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3687. "onresize": function () { }
  3688. }, {
  3689. closecallback: function () { }
  3690. }, { "style": { "height": "36px" } }).form; //创建窗体
  3691. _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); } }
  3692. break;
  3693. case "program":
  3694. _formdiv = new U.UF.UI.form(
  3695. "编程平台",
  3696. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3697. "id": "program",
  3698. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3699. "onresize": function () { }
  3700. }, {
  3701. closecallback: function () { }
  3702. }, { "style": { "height": "36px" } }).form; //创建窗体
  3703. _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); } }
  3704. break;
  3705. case "class":
  3706. _formdiv = new U.UF.UI.form(
  3707. "班级管理",
  3708. $$("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 }), {
  3709. "id": "class",
  3710. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3711. "onresize": function () { }
  3712. }, {
  3713. closecallback: function () { }
  3714. }, { "style": { "height": "36px" } }).form; //创建窗体
  3715. _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); } }
  3716. break;
  3717. case "Grade":
  3718. _formdiv = new U.UF.UI.form(
  3719. "年级管理",
  3720. $$("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 }), {
  3721. "id": "Grade",
  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/Grade.png)" }, "name": "年级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3728. break;
  3729. case "teacherOffice":
  3730. _formdiv = new U.UF.UI.form(
  3731. "教研室",
  3732. $$("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 }), {
  3733. "id": "teacherOffice",
  3734. "style": { "width": "90%", "height": "90%", "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/teacherOffice.png)" }, "name": "教研室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3740. break;
  3741. case "my":
  3742. _formdiv = new U.UF.UI.form(
  3743. "我的资料",
  3744. $$("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 }), {
  3745. "id": "my",
  3746. "style": { "width": "42%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3752. break;
  3753. case "notice":
  3754. _formdiv = new U.UF.UI.form(
  3755. "通知公告",
  3756. $$("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 }), {
  3757. "id": "notice",
  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/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3764. break;
  3765. case "library":
  3766. _formdiv = new U.UF.UI.form(
  3767. "素材库",
  3768. $$("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 }), {
  3769. "id": "library",
  3770. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3771. "onresize": function () { }
  3772. }, {
  3773. closecallback: function () { }
  3774. }, { "style": { "height": "36px" } }).form; //创建窗体
  3775. _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); } }
  3776. break;
  3777. case "whiteboard":
  3778. _formdiv = new U.UF.UI.form(
  3779. "电子白板",
  3780. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3781. "id": "whiteboard",
  3782. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3783. "onresize": function () { }
  3784. }, {
  3785. closecallback: function () { }
  3786. }, { "style": { "height": "36px" } }).form; //创建窗体
  3787. _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); } }
  3788. break;
  3789. case "investigation":
  3790. _formdiv = new U.UF.UI.form(
  3791. "问卷调查",
  3792. $$("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 }), {
  3793. "id": "investigation",
  3794. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3795. "onresize": function () { }
  3796. }, {
  3797. closecallback: function () { }
  3798. }, { "style": { "height": "36px" } }).form; //创建窗体
  3799. _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); } }
  3800. break;
  3801. case "note":
  3802. _formdiv = new U.UF.UI.form(
  3803. "便签分类",
  3804. $$("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 }), {
  3805. "id": "note",
  3806. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3807. "onresize": function () { }
  3808. }, {
  3809. closecallback: function () { }
  3810. }, { "style": { "height": "36px" } }).form; //创建窗体
  3811. _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); } }
  3812. break;
  3813. // case "score":
  3814. // _formdiv = new U.UF.UI.form(
  3815. // "量规评分",
  3816. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3817. // "id": "score",
  3818. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3819. // "onresize": function() {}
  3820. // }, {
  3821. // closecallback: function() {}
  3822. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3823. // _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); } }
  3824. // break;
  3825. case "mind":
  3826. _formdiv = new U.UF.UI.form(
  3827. "思维导图",
  3828. $$("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"
  3829. "id": "mind",
  3830. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3831. "onresize": function () { }
  3832. }, {
  3833. closecallback: function () { }
  3834. }, { "style": { "height": "36px" } }).form; //创建窗体
  3835. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3836. break;
  3837. case "doc":
  3838. // U.MD.D.I.isRoom();
  3839. _formdiv = new U.UF.UI.form(
  3840. "协同文档",
  3841. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3842. "id": "doc",
  3843. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3844. "onresize": function () { }
  3845. }, {
  3846. closecallback: function () { }
  3847. }, { "style": { "height": "36px" } }).form; //创建窗体
  3848. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3849. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3850. })
  3851. _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); } }
  3852. break;
  3853. case "study":
  3854. _formdiv = new U.UF.UI.form(
  3855. "课程中心",
  3856. $$("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
  3857. "id": "study",
  3858. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3859. "onresize": function () { }
  3860. }, {
  3861. closecallback: function () { }
  3862. }, { "style": { "height": "36px" } }).form; //创建窗体
  3863. _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); } }
  3864. break;
  3865. case "mindNetwork": //好友打开
  3866. _formdiv = new U.UF.UI.form(
  3867. "思维网格",
  3868. $$("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 }), {
  3869. "id": "mindNetwork",
  3870. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3871. "onresize": function () { }
  3872. }, {
  3873. closecallback: function () { }
  3874. }, { "style": { "height": "36px" } }).form; //创建窗体
  3875. _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); } }
  3876. break;
  3877. case "train": //好友打开
  3878. _formdiv = new U.UF.UI.form(
  3879. "训练平台",
  3880. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3881. "id": "mindNetwork",
  3882. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3883. "onresize": function () { }
  3884. }, {
  3885. closecallback: function () { }
  3886. }, { "style": { "height": "36px" } }).form; //创建窗体
  3887. _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); } }
  3888. break;
  3889. case "teacherClassRoom": //好友打开
  3890. _formdiv = new U.UF.UI.form(
  3891. "实时课堂",
  3892. $$("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 }), {
  3893. "id": "teacherClassRoom",
  3894. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3895. "onresize": function () { }
  3896. }, {
  3897. closecallback: function () { }
  3898. }, { "style": { "height": "36px" } }).form; //创建窗体
  3899. _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); } }
  3900. setTimeout(() => {
  3901. U.UF.F.windowZooming(_formdiv)
  3902. }, 0);
  3903. break;
  3904. }
  3905. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3906. switch (str) {
  3907. case "project": //好友打开
  3908. _formdiv = new U.UF.UI.form(
  3909. "课程管理",
  3910. $$("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 }), {
  3911. "id": "project",
  3912. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3913. "onresize": function () { }
  3914. }, {
  3915. closecallback: function () { }
  3916. }, { "style": { "height": "36px" } }).form; //创建窗体
  3917. _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); } }
  3918. break;
  3919. case "evaluate":
  3920. _formdiv = new U.UF.UI.form(
  3921. "学生评价",
  3922. $$("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 }), {
  3923. "id": "evaluate",
  3924. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3925. "onresize": function () { }
  3926. }, {
  3927. closecallback: function () { }
  3928. }, { "style": { "height": "36px" } }).form; //创建窗体
  3929. _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); } }
  3930. break;
  3931. case "notice":
  3932. _formdiv = new U.UF.UI.form(
  3933. "通知公告",
  3934. $$("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 }), {
  3935. "id": "notice",
  3936. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3937. "onresize": function () { }
  3938. }, {
  3939. closecallback: function () { }
  3940. }, { "style": { "height": "36px" } }).form; //创建窗体
  3941. _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); } }
  3942. break;
  3943. case "stuLibrary":
  3944. _formdiv = new U.UF.UI.form(
  3945. "学习资料",
  3946. $$("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 }), {
  3947. "id": "stuLibrary",
  3948. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3949. "onresize": function () { }
  3950. }, {
  3951. closecallback: function () { }
  3952. }, { "style": { "height": "36px" } }).form; //创建窗体
  3953. _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); } }
  3954. break;
  3955. case "program":
  3956. _formdiv = new U.UF.UI.form(
  3957. "编程平台",
  3958. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3959. "id": "program",
  3960. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3961. "onresize": function () { }
  3962. }, {
  3963. closecallback: function () { }
  3964. }, { "style": { "height": "36px" } }).form; //创建窗体
  3965. _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); } }
  3966. break;
  3967. case "whiteboard":
  3968. _formdiv = new U.UF.UI.form(
  3969. "电子白板",
  3970. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3971. "id": "whiteboard",
  3972. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3973. "onresize": function () { }
  3974. }, {
  3975. closecallback: function () { }
  3976. }, { "style": { "height": "36px" } }).form; //创建窗体
  3977. _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); } }
  3978. break;
  3979. case "investigation":
  3980. _formdiv = new U.UF.UI.form(
  3981. "问卷调查",
  3982. $$("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 }), {
  3983. "id": "investigation",
  3984. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3985. "onresize": function () { }
  3986. }, {
  3987. closecallback: function () { }
  3988. }, { "style": { "height": "36px" } }).form; //创建窗体
  3989. _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); } }
  3990. break;
  3991. case "mind":
  3992. _formdiv = new U.UF.UI.form(
  3993. "思维导图",
  3994. $$("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"
  3995. "id": "mind",
  3996. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3997. "onresize": function () { }
  3998. }, {
  3999. closecallback: function () { }
  4000. }, { "style": { "height": "36px" } }).form; //创建窗体
  4001. _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); } }
  4002. break;
  4003. case "doc":
  4004. // U.MD.D.I.isRoom();
  4005. _formdiv = new U.UF.UI.form(
  4006. "协同文档",
  4007. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4008. "id": "doc",
  4009. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4010. "onresize": function () { }
  4011. }, {
  4012. closecallback: function () { }
  4013. }, { "style": { "height": "36px" } }).form; //创建窗体
  4014. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4015. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4016. })
  4017. _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); } }
  4018. break;
  4019. case "study":
  4020. _formdiv = new U.UF.UI.form(
  4021. "课程中心",
  4022. $$("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
  4023. "id": "study",
  4024. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4025. "onresize": function () { }
  4026. }, {
  4027. closecallback: function () { }
  4028. }, { "style": { "height": "36px" } }).form; //创建窗体
  4029. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4030. break;
  4031. case "mindNetwork": //好友打开
  4032. _formdiv = new U.UF.UI.form(
  4033. "思维网格",
  4034. $$("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 }), {
  4035. "id": "mindNetwork",
  4036. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4037. "onresize": function () { }
  4038. }, {
  4039. closecallback: function () { }
  4040. }, { "style": { "height": "36px" } }).form; //创建窗体
  4041. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4042. break;
  4043. case "train": //好友打开
  4044. _formdiv = new U.UF.UI.form(
  4045. "训练平台",
  4046. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4047. "id": "train",
  4048. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4049. "onresize": function () { }
  4050. }, {
  4051. closecallback: function () { }
  4052. }, { "style": { "height": "36px" } }).form; //创建窗体
  4053. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4054. break;
  4055. case "sys":
  4056. _formdiv = new U.UF.UI.form(
  4057. "目标管理",
  4058. $$("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 }), {
  4059. "id": "sys",
  4060. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4061. "onresize": function () { }
  4062. }, {
  4063. closecallback: function () { }
  4064. }, { "style": { "height": "36px" } }).form; //创建窗体
  4065. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4066. break;
  4067. case "courseDesign":
  4068. _formdiv = new U.UF.UI.form(
  4069. "项目设计",
  4070. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  4071. "id": "courseDesign",
  4072. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4073. "onresize": function () { }
  4074. }, {
  4075. closecallback: function () { }
  4076. }, { "style": { "height": "36px" } }).form; //创建窗体
  4077. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4078. break;
  4079. }
  4080. } else if (!_type) {
  4081. switch (str) {
  4082. case "my":
  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/#/data?userid=" + _userid + "&org=" + _org }), {
  4086. "id": "my",
  4087. "style": { "width": "42%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4093. break;
  4094. }
  4095. }
  4096. switch (str) {
  4097. // AIprogram2 AI体验 aihub.cocorobo.cn
  4098. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  4099. // AIprogram AI编程 ai-blockly.cocorobo.cn
  4100. case "formulaEdi": //公式编辑
  4101. _formdiv = new U.UF.UI.form(
  4102. "公式编辑",
  4103. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  4104. "id": "formulaEdi",
  4105. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4106. "onresize": function () { }
  4107. }, {
  4108. closecallback: function () { }
  4109. }, { "style": { "height": "36px" } }).form; //创建窗体
  4110. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/formulaEdi.png)" }, "name": "公式编辑", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4111. break;
  4112. case "molStr": //分子结构
  4113. _formdiv = new U.UF.UI.form(
  4114. "分子结构",
  4115. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  4116. "id": "molStr",
  4117. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4118. "onresize": function () { }
  4119. }, {
  4120. closecallback: function () { }
  4121. }, { "style": { "height": "36px" } }).form; //创建窗体
  4122. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4123. break;
  4124. case "timeAxis": //时间轴
  4125. _formdiv = new U.UF.UI.form(
  4126. "时间轴",
  4127. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  4128. "id": "timeAxis",
  4129. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4130. "onresize": function () { }
  4131. }, {
  4132. closecallback: function () { }
  4133. }, { "style": { "height": "36px" } }).form; //创建窗体
  4134. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4135. break;
  4136. case "AIprogram2": //AI体验
  4137. _formdiv = new U.UF.UI.form(
  4138. "AI体验",
  4139. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  4140. "id": "AIprogram2",
  4141. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4142. "onresize": function () { }
  4143. }, {
  4144. closecallback: function () { }
  4145. }, { "style": { "height": "36px" } }).form; //创建窗体
  4146. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI体验", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4147. break;
  4148. case "Pythonprogram": //python编程
  4149. _formdiv = new U.UF.UI.form(
  4150. "Python编程",
  4151. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  4152. "id": "Pythonprogram",
  4153. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4154. "onresize": function () { }
  4155. }, {
  4156. closecallback: function () { }
  4157. }, { "style": { "height": "36px" } }).form; //创建窗体
  4158. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Pythonprogram.png)" }, "name": "Python编程", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4159. break;
  4160. case "AIprogram": //ai编程
  4161. _formdiv = new U.UF.UI.form(
  4162. "AI编程平台",
  4163. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4164. "id": "AIprogram",
  4165. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4166. "onresize": function () { }
  4167. }, {
  4168. closecallback: function () { }
  4169. }, { "style": { "height": "36px" } }).form; //创建窗体
  4170. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram.png)" }, "name": "AI编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4171. break;
  4172. case "CocoPi": //CocoPi
  4173. _formdiv = new U.UF.UI.form(
  4174. "CocoPi",
  4175. $$("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" }), {
  4176. "id": "CocoPi",
  4177. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4178. "onresize": function () { }
  4179. }, {
  4180. closecallback: function () { }
  4181. }, { "style": { "height": "36px" } }).form; //创建窗体
  4182. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/cocopi.png)" }, "name": "CocoPi", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4183. break;
  4184. case "Wood": //Wood
  4185. _formdiv = new U.UF.UI.form(
  4186. "海龟编程",
  4187. $$("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/" }), {
  4188. "id": "Wood",
  4189. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4190. "onresize": function () { }
  4191. }, {
  4192. closecallback: function () { }
  4193. }, { "style": { "height": "36px" } }).form; //创建窗体
  4194. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Wood.png)" }, "name": "海龟编程", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4195. break;
  4196. case "car": //模拟驾驶
  4197. _formdiv = new U.UF.UI.form(
  4198. "模拟驾驶",
  4199. $$("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/" }), {
  4200. "id": "car",
  4201. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4202. "onresize": function () { }
  4203. }, {
  4204. closecallback: function () { }
  4205. }, { "style": { "height": "36px" } }).form; //创建窗体
  4206. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/car.png)" }, "name": "模拟驾驶", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4207. break;
  4208. case "lineSearch": //路径搜索
  4209. _formdiv = new U.UF.UI.form(
  4210. "路径搜索",
  4211. $$("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/" }), {
  4212. "id": "lineSearch",
  4213. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4214. "onresize": function () { }
  4215. }, {
  4216. closecallback: function () { }
  4217. }, { "style": { "height": "36px" } }).form; //创建窗体
  4218. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/lineSearch.png)" }, "name": "路径搜索", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4219. break;
  4220. case "deepLearning": //深度学习
  4221. _formdiv = new U.UF.UI.form(
  4222. "深度学习",
  4223. $$("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/#" }), {
  4224. "id": "deepLearning",
  4225. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4226. "onresize": function () { }
  4227. }, {
  4228. closecallback: function () { }
  4229. }, { "style": { "height": "36px" } }).form; //创建窗体
  4230. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/deepLearning.png)" }, "name": "深度学习", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4231. break;
  4232. case "allHistory": //深度学习
  4233. _formdiv = new U.UF.UI.form(
  4234. "全历史",
  4235. $$("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/" }), {
  4236. "id": "allHistory",
  4237. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4238. "onresize": function () { }
  4239. }, {
  4240. closecallback: function () { }
  4241. }, { "style": { "height": "36px" } }).form; //创建窗体
  4242. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/allHistory.png)" }, "name": "全历史", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4243. break;
  4244. case "chatPDF": //ai编程
  4245. _formdiv = new U.UF.UI.form(
  4246. "chatPDF",
  4247. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4248. "id": "chatPDF",
  4249. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4250. "onresize": function () { }
  4251. }, {
  4252. closecallback: function () { }
  4253. }, { "style": { "height": "36px" } }).form; //创建窗体
  4254. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/chatPDF.png)" }, "name": "chatPDF", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4255. break;
  4256. case "resources": //国家教育
  4257. _formdiv = new U.UF.UI.form(
  4258. "国家教育",
  4259. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4260. "id": "resources",
  4261. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4262. "onresize": function () { }
  4263. }, {
  4264. closecallback: function () { }
  4265. }, { "style": { "height": "36px" } }).form; //创建窗体
  4266. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/resources.png)" }, "name": "国家教育", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4267. break;
  4268. case "codeEdit": //源码编辑
  4269. _formdiv = new U.UF.UI.form(
  4270. "源码编辑",
  4271. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4272. "id": "codeEdit",
  4273. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4274. "onresize": function () { }
  4275. }, {
  4276. closecallback: function () { }
  4277. }, { "style": { "height": "36px" } }).form; //创建窗体
  4278. _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); } }
  4279. break; //
  4280. case "MindMap": //MindMap
  4281. _formdiv = new U.UF.UI.form(
  4282. "MindMap",
  4283. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4284. "id": "MindMap",
  4285. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4286. "onresize": function () { }
  4287. }, {
  4288. closecallback: function () { }
  4289. }, { "style": { "height": "36px" } }).form; //创建窗体
  4290. _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); } }
  4291. break;
  4292. case "netWorkPanel": //netWorkPanel
  4293. _formdiv = new U.UF.UI.form(
  4294. "netWorkPanel",
  4295. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4296. "id": "netWorkPanel",
  4297. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4298. "onresize": function () { }
  4299. }, {
  4300. closecallback: function () { }
  4301. }, { "style": { "height": "36px" } }).form; //创建窗体
  4302. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/netWorkPanel.png)" }, "name": "netWorkPanel", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4303. break;
  4304. case "GeoGebra": //GeoGebra
  4305. _formdiv = new U.UF.UI.form(
  4306. "GeoGebra",
  4307. $$("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" }), {
  4308. "id": "GeoGebra",
  4309. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4310. "onresize": function () { }
  4311. }, {
  4312. closecallback: function () { }
  4313. }, { "style": { "height": "36px" } }).form; //创建窗体
  4314. _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); } }
  4315. break;
  4316. case "translation": //翻译
  4317. _formdiv = new U.UF.UI.form(
  4318. "翻译",
  4319. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4320. "id": "translation",
  4321. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4322. "onresize": function () { }
  4323. }, {
  4324. closecallback: function () { }
  4325. }, { "style": { "height": "36px" } }).form; //创建窗体
  4326. _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); } }
  4327. break;
  4328. case "mohe": //魔盒
  4329. _formdiv = new U.UF.UI.form(
  4330. "魔盒识字",
  4331. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4332. "id": "mohe",
  4333. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4334. "onresize": function () { }
  4335. }, {
  4336. closecallback: function () { }
  4337. }, { "style": { "height": "36px" } }).form; //创建窗体
  4338. _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); } }
  4339. break;
  4340. case "24game": //24点
  4341. _formdiv = new U.UF.UI.form(
  4342. "24点",
  4343. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4344. "id": "24game",
  4345. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4346. "onresize": function () { }
  4347. }, {
  4348. closecallback: function () { }
  4349. }, { "style": { "height": "36px" } }).form; //创建窗体
  4350. _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); } }
  4351. break;
  4352. case "case":
  4353. _formdiv = new U.UF.UI.form(
  4354. "课程进展",
  4355. $$("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 }), {
  4356. "id": "case",
  4357. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4358. "onresize": function () { }
  4359. }, {
  4360. closecallback: function () { }
  4361. }, { "style": { "height": "36px" } }).form; //创建窗体
  4362. _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); } }
  4363. break;
  4364. case "snf":
  4365. _formdiv = new U.UF.UI.form(
  4366. "赛诺梵",
  4367. $$("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" }), {
  4368. "id": "snf",
  4369. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4370. "onresize": function () { }
  4371. }, {
  4372. closecallback: function () { }
  4373. }, { "style": { "height": "36px" } }).form; //创建窗体
  4374. _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); } }
  4375. break;
  4376. case "hanFamily":
  4377. _formdiv = new U.UF.UI.form(
  4378. "汉字家族",
  4379. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4380. "id": "hanFamily",
  4381. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4382. "onresize": function () { }
  4383. }, {
  4384. closecallback: function () { }
  4385. }, { "style": { "height": "36px" } }).form; //创建窗体
  4386. _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); } }
  4387. break;
  4388. case "hanClassics":
  4389. _formdiv = new U.UF.UI.form(
  4390. "国学经典",
  4391. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4392. "id": "hanClassics",
  4393. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4394. "onresize": function () { }
  4395. }, {
  4396. closecallback: function () { }
  4397. }, { "style": { "height": "36px" } }).form; //创建窗体
  4398. _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); } }
  4399. break;
  4400. case "hanTraining":
  4401. _formdiv = new U.UF.UI.form(
  4402. "笔画训练",
  4403. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4404. "id": "hanTraining",
  4405. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4406. "onresize": function () { }
  4407. }, {
  4408. closecallback: function () { }
  4409. }, { "style": { "height": "36px" } }).form; //创建窗体
  4410. _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); } }
  4411. break;
  4412. case "hanClass":
  4413. _formdiv = new U.UF.UI.form(
  4414. "书法课堂",
  4415. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4416. "id": "hanClass",
  4417. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4418. "onresize": function () { }
  4419. }, {
  4420. closecallback: function () { }
  4421. }, { "style": { "height": "36px" } }).form; //创建窗体
  4422. _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); } }
  4423. break;
  4424. case "han":
  4425. _formdiv = new U.UF.UI.form(
  4426. "汉字宫",
  4427. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4428. "id": "han",
  4429. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4430. "onresize": function () { }
  4431. }, {
  4432. closecallback: function () { }
  4433. }, { "style": { "height": "36px" } }).form; //创建窗体
  4434. _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); } }
  4435. break;
  4436. case "projectGM": //课程管理
  4437. _formdiv = new U.UF.UI.form(
  4438. "课程管理",
  4439. $$("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 }), {
  4440. "id": "projectGM",
  4441. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4442. "onresize": function () { }
  4443. }, {
  4444. closecallback: function () { }
  4445. }, { "style": { "height": "36px" } }).form; //创建窗体
  4446. _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); } }
  4447. break;
  4448. case "studyGM": //课程中心
  4449. _formdiv = new U.UF.UI.form(
  4450. "课程中心",
  4451. $$("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
  4452. "id": "study",
  4453. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4454. "onresize": function () { }
  4455. }, {
  4456. closecallback: function () { }
  4457. }, { "style": { "height": "36px" } }).form; //创建窗体
  4458. _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); } }
  4459. break;
  4460. // studentGM
  4461. case "studentGM": //学生管理
  4462. _formdiv = new U.UF.UI.form(
  4463. "学生管理",
  4464. $$("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 }), {
  4465. "id": "studentGM",
  4466. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4467. "onresize": function () { }
  4468. }, {
  4469. closecallback: function () { }
  4470. }, { "style": { "height": "36px" } }).form; //创建窗体
  4471. _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); } }
  4472. break;
  4473. case "evaluateGM": //学生评价
  4474. _formdiv = new U.UF.UI.form(
  4475. "学生评价",
  4476. $$("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 }), {
  4477. "id": "evaluateGM",
  4478. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4479. "onresize": function () { }
  4480. }, {
  4481. closecallback: function () { }
  4482. }, { "style": { "height": "36px" } }).form; //创建窗体
  4483. _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); } }
  4484. break;
  4485. // classGM
  4486. case "classGM": //班级管理
  4487. _formdiv = new U.UF.UI.form(
  4488. "班级管理",
  4489. $$("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 }), {
  4490. "id": "classGM",
  4491. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4492. "onresize": function () { }
  4493. }, {
  4494. closecallback: function () { }
  4495. }, { "style": { "height": "36px" } }).form; //创建窗体
  4496. _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); } }
  4497. break;
  4498. // dataGM
  4499. case "dataGM":
  4500. _formdiv = new U.UF.UI.form(
  4501. "我的资料",
  4502. $$("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 }), {
  4503. "id": "dataGM",
  4504. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4505. "onresize": function () { }
  4506. }, {
  4507. closecallback: function () { }
  4508. }, { "style": { "height": "36px" } }).form; //创建窗体
  4509. _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); } }
  4510. break;
  4511. // caseGM
  4512. case "caseGM": //课程进展
  4513. _formdiv = new U.UF.UI.form(
  4514. "课程进展",
  4515. $$("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 }), {
  4516. "id": "caseGM",
  4517. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4518. "onresize": function () { }
  4519. }, {
  4520. closecallback: function () { }
  4521. }, { "style": { "height": "36px" } }).form; //创建窗体
  4522. _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); } }
  4523. break;
  4524. // meterialGM
  4525. case "meterialGM": //素材库
  4526. _formdiv = new U.UF.UI.form(
  4527. "素材库",
  4528. $$("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 }), {
  4529. "id": "meterialGM",
  4530. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4531. "onresize": function () { }
  4532. }, {
  4533. closecallback: function () { }
  4534. }, { "style": { "height": "36px" } }).form; //创建窗体
  4535. _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); } }
  4536. break;
  4537. // evaluateSGM
  4538. case "evaluateSGM": //我的评价
  4539. _formdiv = new U.UF.UI.form(
  4540. "我的评价",
  4541. $$("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 }), {
  4542. "id": "evaluateSGM",
  4543. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4544. "onresize": function () { }
  4545. }, {
  4546. closecallback: function () { }
  4547. }, { "style": { "height": "36px" } }).form; //创建窗体
  4548. _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); } }
  4549. break;
  4550. case "jupyter": //jupyter
  4551. _formdiv = new U.UF.UI.form(
  4552. "jupyter",
  4553. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4554. "id": "jupyter",
  4555. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4556. "onresize": function () { }
  4557. }, {
  4558. closecallback: function () { }
  4559. }, { "style": { "height": "36px" } }).form; //创建窗体
  4560. _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); } }
  4561. break;
  4562. case "number": //数字实验室
  4563. _formdiv = new U.UF.UI.form(
  4564. "数字实验室",
  4565. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4566. "id": "number",
  4567. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4568. "onresize": function () { }
  4569. }, {
  4570. closecallback: function () { }
  4571. }, { "style": { "height": "36px" } }).form; //创建窗体
  4572. _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); } }
  4573. break;
  4574. case "studentCourse": //项目管理 学生
  4575. _formdiv = new U.UF.UI.form(
  4576. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4577. $$("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 }), {
  4578. "id": "studentCourse",
  4579. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4580. "onresize": function () { }
  4581. }, {
  4582. closecallback: function () { }
  4583. }, { "style": { "height": "36px" } }).form; //创建窗体
  4584. _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); } }
  4585. break;
  4586. case "studentCourseS": //项目管理 老师
  4587. _formdiv = new U.UF.UI.form(
  4588. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4589. $$("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 }), {
  4590. "id": "studentCourseS",
  4591. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4592. "onresize": function () { }
  4593. }, {
  4594. closecallback: function () { }
  4595. }, { "style": { "height": "36px" } }).form; //创建窗体
  4596. _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); } }
  4597. break;
  4598. case "studentIndex": //项目中心
  4599. _formdiv = new U.UF.UI.form(
  4600. "项目中心",
  4601. $$("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 }), {
  4602. "id": "studentIndex",
  4603. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4604. "onresize": function () { }
  4605. }, {
  4606. closecallback: function () { }
  4607. }, { "style": { "height": "36px" } }).form; //创建窗体
  4608. _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); } }
  4609. break;
  4610. case "CaseDesignS":
  4611. _formdiv = new U.UF.UI.form(
  4612. "项目进展",
  4613. $$("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 }), {
  4614. "id": "case",
  4615. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4616. "onresize": function () { }
  4617. }, {
  4618. closecallback: function () { }
  4619. }, { "style": { "height": "36px" } }).form; //创建窗体
  4620. _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); } }
  4621. break;
  4622. case "tcStudent": //腾讯学生管理
  4623. _formdiv = new U.UF.UI.form(
  4624. "学生管理",
  4625. $$("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 }), {
  4626. "id": "tcStudent",
  4627. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4628. "onresize": function () { }
  4629. }, {
  4630. closecallback: function () { }
  4631. }, { "style": { "height": "36px" } }).form; //创建窗体
  4632. _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); } }
  4633. break;
  4634. case "tcSchool": //腾讯学校管理
  4635. _formdiv = new U.UF.UI.form(
  4636. "学校管理",
  4637. $$("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 }), {
  4638. "id": "tcSchool",
  4639. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4640. "onresize": function () { }
  4641. }, {
  4642. closecallback: function () { }
  4643. }, { "style": { "height": "36px" } }).form; //创建窗体
  4644. _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); } }
  4645. break;
  4646. case "tcTeacher": //腾讯学校管理
  4647. _formdiv = new U.UF.UI.form(
  4648. "教师管理",
  4649. $$("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 }), {
  4650. "id": "tcTeacher",
  4651. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4652. "onresize": function () { }
  4653. }, {
  4654. closecallback: function () { }
  4655. }, { "style": { "height": "36px" } }).form; //创建窗体
  4656. _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); } }
  4657. break;
  4658. case "tcData": //腾讯我的资料
  4659. _formdiv = new U.UF.UI.form(
  4660. "我的资料",
  4661. $$("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 }), {
  4662. "id": "tcData",
  4663. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4664. "onresize": function () { }
  4665. }, {
  4666. closecallback: function () { }
  4667. }, { "style": { "height": "36px" } }).form; //创建窗体
  4668. _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); } }
  4669. break;
  4670. case "tcNotice": //腾讯消息通知
  4671. _formdiv = new U.UF.UI.form(
  4672. "消息通知",
  4673. $$("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 }), {
  4674. "id": "tcNotice",
  4675. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4676. "onresize": function () { }
  4677. }, {
  4678. closecallback: function () { }
  4679. }, { "style": { "height": "36px" } }).form; //创建窗体
  4680. _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); } }
  4681. break;
  4682. case "myReport": //好友打开
  4683. _formdiv = new U.UF.UI.form(
  4684. "我的评价",
  4685. $$("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 }), {
  4686. "id": "myReport",
  4687. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4688. "onresize": function () { }
  4689. }, {
  4690. closecallback: function () { }
  4691. }, { "style": { "height": "36px" } }).form; //创建窗体
  4692. _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); } }
  4693. break;
  4694. case "learnAna": //好友打开
  4695. _formdiv = new U.UF.UI.form(
  4696. "学习分析",
  4697. $$("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 }), {
  4698. "id": "learnAna",
  4699. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4700. "onresize": function () { }
  4701. }, {
  4702. closecallback: function () { }
  4703. }, { "style": { "height": "36px" } }).form; //创建窗体
  4704. _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); } }
  4705. break;
  4706. case "AIChat": //AI共创
  4707. _formdiv = new U.UF.UI.form(
  4708. "AI共创",
  4709. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4710. "id": "AIChat",
  4711. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4712. "onresize": function () { }
  4713. }, {
  4714. istop: true,
  4715. closecallback: function () { $("#aichat_icon").remove(); },
  4716. narrowcallback: function () {
  4717. if (!$("#aichat_icon")[0]) {
  4718. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4719. }
  4720. },
  4721. }, { "style": { "height": "36px" } }).form; //创建窗体
  4722. _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); } }
  4723. break;
  4724. case "ainew": //AI共创
  4725. _formdiv = new U.UF.UI.form(
  4726. "AI协同",
  4727. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4728. "id": "ainew",
  4729. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4730. "onresize": function () { }
  4731. }, {
  4732. closecallback: function () { }
  4733. }, { "style": { "height": "36px" } }).form; //创建窗体
  4734. _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); } }
  4735. break;
  4736. case "gpt4": //gpt4
  4737. _formdiv = new U.UF.UI.form(
  4738. "AI助手",
  4739. $$("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 }), {
  4740. "id": "gpt4",
  4741. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4742. "onresize": function () { }
  4743. }, {
  4744. closecallback: function () { }
  4745. }, { "style": { "height": "36px" } }).form; //创建窗体
  4746. _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); } }
  4747. break;
  4748. case "aigpt": //gpt4
  4749. _formdiv = new U.UF.UI.form(
  4750. "AI助手+",
  4751. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aigpt/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4752. "id": "aigpt",
  4753. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4754. "onresize": function () { }
  4755. }, {
  4756. closecallback: function () { }
  4757. }, { "style": { "height": "36px" } }).form; //创建窗体
  4758. _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); } }
  4759. break;
  4760. case "futureClass": //AI共创
  4761. _formdiv = new U.UF.UI.form(
  4762. "协同建构",
  4763. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {//https://cscl.cocorobo.cn
  4764. "id": "synergyCourse",
  4765. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4766. "onresize": function () { }
  4767. }, {
  4768. closecallback: function () {
  4769. $("iframe", _formdiv)[0].contentWindow.loginout();
  4770. }
  4771. }, { "style": { "height": "36px" } }).form; //创建窗体
  4772. _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); } }
  4773. break;
  4774. case "aiagent": //ai agent
  4775. _formdiv = new U.UF.UI.form(
  4776. "AI Agent",
  4777. $$("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" }), {
  4778. "id": "AIAgent",
  4779. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4780. "onresize": function () { }
  4781. }, {
  4782. closecallback: function () { }
  4783. }, { "style": { "height": "36px" } }).form; //创建窗体
  4784. _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); } }
  4785. break;
  4786. case "dataBoard": //数据看板
  4787. _formdiv = new U.UF.UI.form(
  4788. "数据看板",
  4789. $$("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 }), {
  4790. "id": "dataBoard",
  4791. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4792. "onresize": function () { }
  4793. }, {
  4794. closecallback: function () { }
  4795. }, { "style": { "height": "36px" } }).form; //创建窗体
  4796. _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); } }
  4797. break;
  4798. case "dataBoardSies": //数据融合
  4799. _formdiv = new U.UF.UI.form(
  4800. "数据融合",
  4801. $$("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 }), {
  4802. "id": "dataBoardSies",
  4803. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4804. "onresize": function () { }
  4805. }, {
  4806. closecallback: function () { }
  4807. }, { "style": { "height": "36px" } }).form; //创建窗体
  4808. _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); } }
  4809. break;
  4810. case "dataBoardNew": //数据看板
  4811. _formdiv = new U.UF.UI.form(
  4812. "综合看板",
  4813. $$("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 }), {
  4814. "id": "dataBoardNew",
  4815. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4816. "onresize": function () { }
  4817. }, {
  4818. closecallback: function () { }
  4819. }, { "style": { "height": "36px" } }).form; //创建窗体
  4820. _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); } }
  4821. break;
  4822. case "dataBoardTest": //数据看板
  4823. _formdiv = new U.UF.UI.form(
  4824. "评测看板",
  4825. $$("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 }), {
  4826. "id": "dataBoardTest",
  4827. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4828. "onresize": function () { }
  4829. }, {
  4830. closecallback: function () { }
  4831. }, { "style": { "height": "36px" } }).form; //创建窗体
  4832. _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); } }
  4833. break;
  4834. case "AIAnalyse": //AI共创
  4835. _formdiv = new U.UF.UI.form(
  4836. "AI分析",
  4837. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4838. "id": "AIAnalyse",
  4839. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4840. "onresize": function () { }
  4841. }, {
  4842. closecallback: function () { }
  4843. }, { "style": { "height": "36px" } }).form; //创建窗体
  4844. _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); } }
  4845. break;
  4846. case "studioCourse": //AI共创
  4847. _formdiv = new U.UF.UI.form(
  4848. "工作管理",
  4849. $$("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 }), {
  4850. "id": "studioCourse",
  4851. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4852. "onresize": function () { }
  4853. }, {
  4854. closecallback: function () { }
  4855. }, { "style": { "height": "36px" } }).form; //创建窗体
  4856. _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); } }
  4857. break;
  4858. case "studioIndex": //AI共创
  4859. _formdiv = new U.UF.UI.form(
  4860. "工作中心",
  4861. $$("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 }), {
  4862. "id": "studioIndex",
  4863. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4864. "onresize": function () { }
  4865. }, {
  4866. closecallback: function () { }
  4867. }, { "style": { "height": "36px" } }).form; //创建窗体
  4868. _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); } }
  4869. break;
  4870. case "source":
  4871. _formdiv = new U.UF.UI.form(
  4872. "教学资源",
  4873. $$("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 }), {
  4874. "id": "source",
  4875. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4876. "onresize": function () { }
  4877. }, {
  4878. closecallback: function () { }
  4879. }, { "style": { "height": "36px" } }).form; //创建窗体
  4880. _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); } }
  4881. break;
  4882. case "testTeacher":
  4883. _formdiv = new U.UF.UI.form(
  4884. "评测管理",
  4885. $$("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 }), {
  4886. "id": "testTeacher",
  4887. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4888. "onresize": function () { }
  4889. }, {
  4890. closecallback: function () { }
  4891. }, { "style": { "height": "36px" } }).form; //创建窗体
  4892. _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); } }
  4893. break;
  4894. case "testStudent":
  4895. _formdiv = new U.UF.UI.form(
  4896. "评测中心",
  4897. $$("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 }), {
  4898. "id": "testStudent",
  4899. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4900. "onresize": function () { }
  4901. }, {
  4902. closecallback: function () { }
  4903. }, { "style": { "height": "36px" } }).form; //创建窗体
  4904. _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); } }
  4905. break;
  4906. case "testTeacherSies":
  4907. _formdiv = new U.UF.UI.form(
  4908. "教师管理",
  4909. $$("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 }), {
  4910. "id": "testTeacherSies",
  4911. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4912. "onresize": function () { }
  4913. }, {
  4914. closecallback: function () { }
  4915. }, { "style": { "height": "36px" } }).form; //创建窗体
  4916. _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); } }
  4917. break;
  4918. case "testStudentSies":
  4919. _formdiv = new U.UF.UI.form(
  4920. "教师中心",
  4921. $$("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 }), {
  4922. "id": "testStudentSies",
  4923. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4924. "onresize": function () { }
  4925. }, {
  4926. closecallback: function () { }
  4927. }, { "style": { "height": "36px" } }).form; //创建窗体
  4928. _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); } }
  4929. break;
  4930. case "ytpbl": //消息通知
  4931. _formdiv = new U.UF.UI.form(
  4932. "案例征集",
  4933. $$("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 }), {
  4934. "id": "ytpbl",
  4935. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4936. "onresize": function () { }
  4937. }, {
  4938. closecallback: function () { }
  4939. }, { "style": { "height": "36px" } }).form; //创建窗体
  4940. _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); } }
  4941. // 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");
  4942. break;
  4943. }
  4944. //U.MD.D.I.openClick(str);
  4945. //如果有任务栏信息
  4946. if (_taskbar) {
  4947. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4948. }
  4949. }
  4950. // U.MD.D.I.openClick = function(str){
  4951. // var click = '';
  4952. // switch(str){
  4953. // case 'friend':
  4954. // click = '我的好友';
  4955. // break;
  4956. // case 'domain':
  4957. // click = '域名管理';
  4958. // break;
  4959. // case 'disk':
  4960. // click = '我的云盘';
  4961. // break;
  4962. // case 'word':
  4963. // click = 'Word';
  4964. // break;
  4965. // case 'excel':
  4966. // click = 'Execl';
  4967. // break;
  4968. // case 'txt':
  4969. // click = '文本文件';
  4970. // break;
  4971. // case 'lookupFriend':
  4972. // click = '查找好友';
  4973. // break;
  4974. // case 'ftp':
  4975. // click = 'FTP';
  4976. // break;
  4977. // case 'group':
  4978. // click = '群组';
  4979. // break;
  4980. // case 'set':
  4981. // click = '我的设置';
  4982. // break;
  4983. // case 'systemSet':
  4984. // click = '系统设置';
  4985. // break;
  4986. // case 'boomYun':
  4987. // click = '互联办公';
  4988. // break;
  4989. // case 'xz':
  4990. // click = '云端下载';
  4991. // break;
  4992. // case 'client':
  4993. // click = '有思浏览器';
  4994. // break;
  4995. // case 'backEndProgramming':
  4996. // click = '在线后台编程';
  4997. // break;
  4998. // case 'frontEndProgramming':
  4999. // click = '在线前端编程';
  5000. // break;
  5001. // default: break;
  5002. // }
  5003. // if(U.MD.D.I.Ip && click){
  5004. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  5005. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  5006. // })
  5007. // }
  5008. // }
  5009. /**
  5010. *函数作用:ajax简易函数,使用post格式
  5011. *@param url {data} 后台地址
  5012. *@param data {data} 参数json
  5013. *@param fn {data} 回调函数
  5014. *
  5015. */
  5016. // U.MD.D.I.Mysqlrequest = function(url,fn){
  5017. // var xhr = new XMLHttpRequest();
  5018. // xhr.open("GET",url,true);
  5019. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  5020. // xhr.onreadystatechange = function(){
  5021. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  5022. // fn.call(this,xhr.responseText);
  5023. // }
  5024. // };
  5025. // xhr.send();
  5026. // }
  5027. /*判断是否是内网IP*/
  5028. // U.MD.D.I.isInnerIPFn = function(str){
  5029. // var curPageUrl = str;
  5030. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  5031. // curPageUrl =curPageUrl.replace(reg1,'');
  5032. // // console.log('curPageUrl-1 '+curPageUrl);
  5033. // var reg2 = /\:+/g;//替换冒号为一点
  5034. // curPageUrl =curPageUrl.replace(reg2,'.');
  5035. // // console.log('curPageUrl-2 '+curPageUrl);
  5036. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  5037. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  5038. // if(curPageUrl[2] != '16'){
  5039. // return ipAddress;
  5040. // }else{
  5041. // return false;
  5042. // }
  5043. // }
  5044. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  5045. // //compatibility for firefox and chrome
  5046. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  5047. // var pc = new myPeerConnection({
  5048. // iceServers: []
  5049. // }),
  5050. // noop = function() {},
  5051. // localIPs = {},
  5052. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  5053. // key;
  5054. // function iterateIP(ip) {
  5055. // if (!localIPs[ip]) onNewIP(ip);
  5056. // localIPs[ip] = true;
  5057. // }
  5058. // //create a bogus data channel
  5059. // pc.createDataChannel("");
  5060. // // create offer and set local description
  5061. // pc.createOffer().then(function(sdp) {
  5062. // sdp.sdp.split('\n').forEach(function(line) {
  5063. // if (line.indexOf('candidate') < 0) return;
  5064. // line.match(ipRegex).forEach(iterateIP);
  5065. // });
  5066. // pc.setLocalDescription(sdp, noop, noop);
  5067. // }).catch(function(reason) {
  5068. // // An error occurred, so handle the failure to connect
  5069. // });
  5070. // //sten for candidate events
  5071. // pc.onicecandidate = function(ice) {
  5072. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  5073. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  5074. // };
  5075. // }
  5076. // U.MD.D.I.getUserIpBool = function(callback){
  5077. // U.MD.D.I.getUserIP(function(ip){
  5078. // alert("Got IP! :" + ip);
  5079. // });
  5080. //}
  5081. //#endregion
  5082. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  5083. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5084. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5085. _userinfo = US.userInfo, //登录用户信息
  5086. _userid = US.userInfo.userid //登录用户id
  5087. let _iframe;
  5088. let _cid = cid,
  5089. _stage = stage,
  5090. _task = task,
  5091. _tool = tool;
  5092. var _jie = $$("div", {
  5093. "style": {
  5094. "position": "absolute",
  5095. "bottom": "50px",
  5096. "right": "50px",
  5097. "zIndex": "9999",
  5098. "backgroundColor": "#2268bc",
  5099. "color": "#fff",
  5100. "padding": "12px 20px",
  5101. "cursor": "pointer",
  5102. "borderRadius": "4px",
  5103. },
  5104. "innerHTML": "提交作业"
  5105. })
  5106. let aTool = ''
  5107. let _loading = document.createElement('div')
  5108. _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;"
  5109. // _loading.id = "";
  5110. let _lchild = document.createElement('div')
  5111. let _limg = document.createElement('img')
  5112. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5113. _limg.style = "width: 26px;margin-right: 10px;"
  5114. _lchild.appendChild(_limg)
  5115. let _lspan = document.createElement('span')
  5116. _lspan.innerHTML = "上传中..."
  5117. _lchild.appendChild(_lspan)
  5118. _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%);"
  5119. _loading.appendChild(_lchild)
  5120. var _box = $$('div', {
  5121. "style": {
  5122. "position": "relative",
  5123. "width": "100%",
  5124. "height": "100%",
  5125. },
  5126. })
  5127. _box.appendChild(_loading)
  5128. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  5129. switch (str) {
  5130. case "whiteboard":
  5131. aTool = 1;
  5132. _iframe = $$("iframe", {
  5133. "frameborder": "no",
  5134. "border": "0",
  5135. "scrolling ": "no",
  5136. "style": {
  5137. "cssText": "border:0;width:100%;height:100%"
  5138. },
  5139. "src": "https://iwb.cocorobo.cn/"
  5140. })
  5141. _box.appendChild(_iframe);
  5142. _box.appendChild(_jie);
  5143. _formdiv = new U.UF.UI.form(
  5144. "电子白板",
  5145. _box, {
  5146. "id": "whiteboard" + cid + stage + task + tool,
  5147. "style": {
  5148. "width": "90%",
  5149. "height": "90%",
  5150. "overflow": 'hidden'
  5151. },
  5152. "onresize": function () { }
  5153. }, {
  5154. closecallback: function () { }
  5155. }, {
  5156. "style": {
  5157. "height": "36px"
  5158. }
  5159. }).form; //创建窗体
  5160. _taskbar = {
  5161. "id": str + _formdiv.id,
  5162. "style": {
  5163. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5164. },
  5165. "name": "电子白板",
  5166. "forms": _formdiv,
  5167. "click": function () {
  5168. U.MD.D.I.openApplication(str, obj, info);
  5169. }
  5170. }
  5171. break;
  5172. case "mind":
  5173. aTool = 3;
  5174. _iframe = $$("iframe", {
  5175. "frameborder": "no",
  5176. "border": "0",
  5177. "scrolling ": "no",
  5178. "style": {
  5179. "cssText": "border:0;width:100%;height:100%"
  5180. },
  5181. "src": "/kityminder-editor/dist/index.html"
  5182. })
  5183. _box.appendChild(_iframe);
  5184. _box.appendChild(_jie);
  5185. _formdiv = new U.UF.UI.form(
  5186. "思维导图",
  5187. _box, { //"/jsmind/example/demo.html"
  5188. "id": "mind" + cid + stage + task + tool,
  5189. "style": {
  5190. "width": "90%",
  5191. "height": "90%",
  5192. "overflow": 'hidden'
  5193. },
  5194. "onresize": function () { }
  5195. }, {
  5196. closecallback: function () { }
  5197. }, {
  5198. "style": {
  5199. "height": "36px"
  5200. }
  5201. }).form; //创建窗体
  5202. _taskbar = {
  5203. "id": str + _formdiv.id,
  5204. "style": {
  5205. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5206. },
  5207. "name": "思维导图",
  5208. "forms": _formdiv,
  5209. "click": function () {
  5210. U.MD.D.I.openApplication(str, obj, info);
  5211. }
  5212. }
  5213. break;
  5214. case "MindMap":
  5215. aTool = 3;
  5216. _iframe = $$("iframe", {
  5217. "frameborder": "no",
  5218. "border": "0",
  5219. "scrolling ": "no",
  5220. "style": {
  5221. "cssText": "border:0;width:100%;height:100%"
  5222. },
  5223. "src": "//cloud.cocorobo.cn/mind/"
  5224. })
  5225. _box.appendChild(_iframe);
  5226. _box.appendChild(_jie);
  5227. _formdiv = new U.UF.UI.form(
  5228. "思维导图",
  5229. _box, { //"/jsmind/example/demo.html"
  5230. "id": "mind" + cid + stage + task + tool,
  5231. "style": {
  5232. "width": "90%",
  5233. "height": "90%",
  5234. "overflow": 'hidden'
  5235. },
  5236. "onresize": function () { }
  5237. }, {
  5238. closecallback: function () { }
  5239. }, {
  5240. "style": {
  5241. "height": "36px"
  5242. }
  5243. }).form; //创建窗体
  5244. _taskbar = {
  5245. "id": str + _formdiv.id,
  5246. "style": {
  5247. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5248. },
  5249. "name": "思维导图",
  5250. "forms": _formdiv,
  5251. "click": function () {
  5252. U.MD.D.I.openApplication(str, obj, info);
  5253. }
  5254. }
  5255. break;
  5256. case "doc":
  5257. aTool = 6;
  5258. _iframe = $$("iframe", {
  5259. "frameborder": "no",
  5260. "border": "0",
  5261. "scrolling ": "no",
  5262. "style": {
  5263. "cssText": "border:0;width:100%;height:100%"
  5264. },
  5265. "src": "/Office/Word/WordEditArea.htm"
  5266. })
  5267. _box.appendChild(_iframe);
  5268. _box.appendChild(_jie);
  5269. _formdiv = new U.UF.UI.form(
  5270. "协同文档",
  5271. _box, {
  5272. "id": "doc" + cid + stage + task + tool,
  5273. "style": {
  5274. "width": "90%",
  5275. "height": "90%",
  5276. "overflow": 'hidden'
  5277. },
  5278. "onresize": function () { }
  5279. }, {
  5280. closecallback: function () { }
  5281. }, {
  5282. "style": {
  5283. "height": "36px"
  5284. }
  5285. }).form; //创建窗体
  5286. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5287. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5288. })
  5289. _taskbar = {
  5290. "id": str + _formdiv.id,
  5291. "style": {
  5292. "backgroundImage": "url(/img/icon/doc.png)"
  5293. },
  5294. "name": "协同文档",
  5295. "forms": _formdiv,
  5296. "click": function () {
  5297. U.MD.D.I.openApplication(str, obj, info);
  5298. }
  5299. }
  5300. break;
  5301. case "mindNetwork": //好友打开
  5302. aTool = 7;
  5303. _iframe = $$("iframe", {
  5304. "webkitallowfullscreen": "",
  5305. "mozallowfullscreen": "",
  5306. "allowfullscreen": "",
  5307. "frameborder": "no",
  5308. "border": "0",
  5309. "scrolling ": "no",
  5310. "style": {
  5311. "cssText": "border:0; width:100%; height:100%;"
  5312. },
  5313. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5314. })
  5315. _box.appendChild(_iframe);
  5316. _box.appendChild(_jie);
  5317. _formdiv = new U.UF.UI.form(
  5318. "思维网格",
  5319. _box, {
  5320. "id": "mindNetwork" + cid + stage + task + tool,
  5321. "style": {
  5322. "width": "90%",
  5323. "height": "90%",
  5324. "overflow": 'hidden'
  5325. },
  5326. "onresize": function () { }
  5327. }, {
  5328. closecallback: function () { }
  5329. }, {
  5330. "style": {
  5331. "height": "36px"
  5332. }
  5333. }).form; //创建窗体
  5334. _taskbar = {
  5335. "id": str + _formdiv.id,
  5336. "style": {
  5337. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5338. },
  5339. "name": "思维网格",
  5340. "forms": _formdiv,
  5341. "click": function () {
  5342. U.MD.D.I.openApplication(str, obj, info);
  5343. }
  5344. }
  5345. break;
  5346. case "courseDesign":
  5347. _iframe = $$("iframe", {
  5348. "webkitallowfullscreen": "",
  5349. "mozallowfullscreen": "",
  5350. "allowfullscreen": "",
  5351. "frameborder": "no",
  5352. "border": "0",
  5353. "scrolling ": "no",
  5354. "style": {
  5355. "cssText": "border:0; width:100%; height:100%;"
  5356. },
  5357. "src": "/course-design-vue"
  5358. })
  5359. _box.appendChild(_iframe);
  5360. _box.appendChild(_jie);
  5361. _formdiv = new U.UF.UI.form(
  5362. "项目设计",
  5363. _box, {
  5364. "id": "courseDesign" + cid + stage + task + tool,
  5365. "style": {
  5366. "width": "90%",
  5367. "height": "90%",
  5368. "overflow": 'hidden'
  5369. },
  5370. "onresize": function () { }
  5371. }, {
  5372. closecallback: function () { }
  5373. }, {
  5374. "style": {
  5375. "height": "36px"
  5376. }
  5377. }).form; //创建窗体
  5378. _taskbar = {
  5379. "id": str + _formdiv.id,
  5380. "style": {
  5381. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5382. },
  5383. "name": "项目设计",
  5384. "forms": _formdiv,
  5385. "click": function () {
  5386. U.MD.D.I.openApplication(str, obj, info);
  5387. }
  5388. }
  5389. break;
  5390. }
  5391. const script1 = document.createElement("script");
  5392. script1.type = "text/javascript";
  5393. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5394. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5395. const script2 = document.createElement("script");
  5396. script2.type = "text/javascript";
  5397. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5398. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5399. const script3 = document.createElement("script");
  5400. script3.type = "text/javascript";
  5401. script3.charset = "UTF-8";
  5402. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5403. const script4 = document.createElement("script");
  5404. script4.type = "text/javascript";
  5405. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5406. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5407. if (_iframe) {
  5408. if (str == 'doc') {
  5409. _iframe = _formdiv.querySelector('iframe')
  5410. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5411. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5412. _iframe.contentWindow.document.body.appendChild(script1);
  5413. _iframe.contentWindow.document.body.appendChild(script2);
  5414. // _iframe.contentWindow.document.body.appendChild(script3);
  5415. _iframe.contentWindow.document.body.appendChild(script4);
  5416. })
  5417. if (onloadListener) {
  5418. _iframe.contentDocument.location.reload()
  5419. } else {
  5420. _iframe.contentDocument.location.reload()
  5421. }
  5422. } else if (str == 'courseDesign') {
  5423. U.UF.DL.iframeLoad(_iframe, function () {
  5424. // _iframe.contentWindow.U.MD.O.W.load();
  5425. // _iframe.contentWindow.document.body.appendChild(script1);
  5426. _iframe.contentWindow.document.body.appendChild(script2);
  5427. _iframe.contentWindow.document.body.appendChild(script4);
  5428. })
  5429. } else if (str == 'mind') {
  5430. _iframe = _formdiv.querySelector('iframe')
  5431. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5432. //
  5433. _iframe.contentWindow.document.body.appendChild(script1);
  5434. _iframe.contentWindow.document.body.appendChild(script2);
  5435. _iframe.contentWindow.document.body.appendChild(script4);
  5436. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5437. })
  5438. if (onloadListener) {
  5439. _iframe.contentDocument.location.reload()
  5440. } else {
  5441. _iframe.contentDocument.location.reload()
  5442. }
  5443. } else if (str == 'whiteboard') {
  5444. _iframe = _formdiv.querySelector('iframe')
  5445. let onloadListener = _iframe.onload = () => {
  5446. _iframe.contentWindow.document.body.appendChild(script1);
  5447. _iframe.contentWindow.document.body.appendChild(script2);
  5448. _iframe.contentWindow.document.body.appendChild(script4);
  5449. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5450. };
  5451. if (onloadListener) {
  5452. _iframe.contentDocument.location.reload()
  5453. } else {
  5454. _iframe.contentDocument.location.reload()
  5455. }
  5456. } else {
  5457. _iframe.onload = () => {
  5458. _iframe.contentWindow.document.body.appendChild(script1);
  5459. _iframe.contentWindow.document.body.appendChild(script2);
  5460. // _iframe.contentWindow.document.body.appendChild(script3);
  5461. _iframe.contentWindow.document.body.appendChild(script4);
  5462. };
  5463. }
  5464. _jie.onclick = async () => {
  5465. let text = ''
  5466. if (aTool == 1) {
  5467. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5468. } else if (aTool == 6) {
  5469. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5470. } else if (aTool == 3) {
  5471. text = await U.MD.D.I.getEditorContent(_iframe);
  5472. }
  5473. _loading.style.display = 'flex'
  5474. console.log(_loading);
  5475. var _ajs = _iframe.contentWindow.document.createElement("script");
  5476. _ajs.type = "text/javascript";
  5477. _ajs.innerHTML =
  5478. // 'console.log(' + _loading + ');\n' +
  5479. 'var _js = document.createElement("script");\n' +
  5480. '_js.type="text/javascript";\n' +
  5481. '_js.charset="UTF-8";\n' +
  5482. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5483. "_js.onload = function(){\n" +
  5484. ' var a = document.getElementsByTagName("img")\n' +
  5485. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5486. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5487. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5488. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5489. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5490. "beforeUpload_shishi(file," +
  5491. "'" +
  5492. _userid +
  5493. "'" +
  5494. ", " +
  5495. "'" +
  5496. _cid +
  5497. "'" +
  5498. ", " +
  5499. "'" +
  5500. _stage +
  5501. "'" +
  5502. ", " +
  5503. "'" +
  5504. _task +
  5505. "'" +
  5506. ", " +
  5507. "'" +
  5508. _tool +
  5509. "'" +
  5510. ", " +
  5511. "'" +
  5512. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5513. "'" +
  5514. ", " +
  5515. "'" +
  5516. aTool +
  5517. "'" +
  5518. ", " +
  5519. "`" +
  5520. text +
  5521. "`" +
  5522. ")\n" +
  5523. " });\n" +
  5524. "}\n" +
  5525. "document.head.appendChild(_js);\n";
  5526. _iframe.contentWindow.document.head.appendChild(_ajs);
  5527. }
  5528. }
  5529. //U.MD.D.I.openClick(str);
  5530. //如果有任务栏信息
  5531. // if (_taskbar) {
  5532. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5533. // }
  5534. }
  5535. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5536. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5537. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5538. _userinfo = US.userInfo, //登录用户信息
  5539. _userid = US.userInfo.userid //登录用户id
  5540. let _iframe;
  5541. let _cid = cid,
  5542. _stage = stage,
  5543. _task = task,
  5544. _tool = tool;
  5545. var _jie = $$("div", {
  5546. "style": {
  5547. "position": "absolute",
  5548. "bottom": "50px",
  5549. "right": "50px",
  5550. "zIndex": "9999",
  5551. "backgroundColor": "#2268bc",
  5552. "color": "#fff",
  5553. "padding": "12px 20px",
  5554. "cursor": "pointer",
  5555. "borderRadius": "4px",
  5556. },
  5557. "innerHTML": "提交作业"
  5558. })
  5559. let aTool = ''
  5560. let _loading = document.createElement('div')
  5561. _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;"
  5562. // _loading.id = "";
  5563. let _lchild = document.createElement('div')
  5564. let _limg = document.createElement('img')
  5565. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5566. _limg.style = "width: 26px;margin-right: 10px;"
  5567. _lchild.appendChild(_limg)
  5568. let _lspan = document.createElement('span')
  5569. _lspan.innerHTML = "上传中..."
  5570. _lchild.appendChild(_lspan)
  5571. _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%);"
  5572. _loading.appendChild(_lchild)
  5573. var _box = $$('div', {
  5574. "style": {
  5575. "position": "relative",
  5576. "width": "100%",
  5577. "height": "100%",
  5578. },
  5579. })
  5580. _box.appendChild(_loading)
  5581. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5582. switch (str) {
  5583. case "whiteboard":
  5584. aTool = 1;
  5585. _iframe = $$("iframe", {
  5586. "frameborder": "no",
  5587. "border": "0",
  5588. "scrolling ": "no",
  5589. "style": {
  5590. "cssText": "border:0;width:100%;height:100%"
  5591. },
  5592. "src": "https://iwb.cocorobo.cn/"
  5593. })
  5594. _box.appendChild(_iframe);
  5595. _box.appendChild(_jie);
  5596. _formdiv = new U.UF.UI.form(
  5597. "电子白板",
  5598. _box, {
  5599. "id": "whiteboard" + cid + stage + task + tool,
  5600. "style": {
  5601. "width": "90%",
  5602. "height": "90%",
  5603. "overflow": 'hidden'
  5604. },
  5605. "onresize": function () { }
  5606. }, {
  5607. closecallback: function () { }
  5608. }, {
  5609. "style": {
  5610. "height": "36px"
  5611. }
  5612. }).form; //创建窗体
  5613. _taskbar = {
  5614. "id": str + _formdiv.id,
  5615. "style": {
  5616. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5617. },
  5618. "name": "电子白板",
  5619. "forms": _formdiv,
  5620. "click": function () {
  5621. U.MD.D.I.openApplication(str, obj, info);
  5622. }
  5623. }
  5624. break;
  5625. case "mind":
  5626. aTool = 3;
  5627. _iframe = $$("iframe", {
  5628. "frameborder": "no",
  5629. "border": "0",
  5630. "scrolling ": "no",
  5631. "style": {
  5632. "cssText": "border:0;width:100%;height:100%"
  5633. },
  5634. "src": "/kityminder-editor/dist/index.html"
  5635. })
  5636. _box.appendChild(_iframe);
  5637. _box.appendChild(_jie);
  5638. _formdiv = new U.UF.UI.form(
  5639. "思维导图",
  5640. _box, { //"/jsmind/example/demo.html"
  5641. "id": "mind" + cid + stage + task + tool,
  5642. "style": {
  5643. "width": "90%",
  5644. "height": "90%",
  5645. "overflow": 'hidden'
  5646. },
  5647. "onresize": function () { }
  5648. }, {
  5649. closecallback: function () { }
  5650. }, {
  5651. "style": {
  5652. "height": "36px"
  5653. }
  5654. }).form; //创建窗体
  5655. _taskbar = {
  5656. "id": str + _formdiv.id,
  5657. "style": {
  5658. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5659. },
  5660. "name": "思维导图",
  5661. "forms": _formdiv,
  5662. "click": function () {
  5663. U.MD.D.I.openApplication(str, obj, info);
  5664. }
  5665. }
  5666. break;
  5667. case "MindMap":
  5668. aTool = 3;
  5669. _iframe = $$("iframe", {
  5670. "frameborder": "no",
  5671. "border": "0",
  5672. "scrolling ": "no",
  5673. "style": {
  5674. "cssText": "border:0;width:100%;height:100%"
  5675. },
  5676. "src": "//cloud.cocorobo.cn/mind/"
  5677. })
  5678. _box.appendChild(_iframe);
  5679. _box.appendChild(_jie);
  5680. _formdiv = new U.UF.UI.form(
  5681. "思维导图",
  5682. _box, { //"/jsmind/example/demo.html"
  5683. "id": "mind" + cid + stage + task + tool,
  5684. "style": {
  5685. "width": "90%",
  5686. "height": "90%",
  5687. "overflow": 'hidden'
  5688. },
  5689. "onresize": function () { }
  5690. }, {
  5691. closecallback: function () { }
  5692. }, {
  5693. "style": {
  5694. "height": "36px"
  5695. }
  5696. }).form; //创建窗体
  5697. _taskbar = {
  5698. "id": str + _formdiv.id,
  5699. "style": {
  5700. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5701. },
  5702. "name": "思维导图",
  5703. "forms": _formdiv,
  5704. "click": function () {
  5705. U.MD.D.I.openApplication(str, obj, info);
  5706. }
  5707. }
  5708. break;
  5709. case "doc":
  5710. aTool = 6;
  5711. _iframe = $$("iframe", {
  5712. "frameborder": "no",
  5713. "border": "0",
  5714. "scrolling ": "no",
  5715. "style": {
  5716. "cssText": "border:0;width:100%;height:100%"
  5717. },
  5718. "src": "/Office/Word/WordEditArea.htm"
  5719. })
  5720. _box.appendChild(_iframe);
  5721. _box.appendChild(_jie);
  5722. _formdiv = new U.UF.UI.form(
  5723. "协同文档",
  5724. _box, {
  5725. "id": "doc" + cid + stage + task + tool,
  5726. "style": {
  5727. "width": "90%",
  5728. "height": "90%",
  5729. "overflow": 'hidden'
  5730. },
  5731. "onresize": function () { }
  5732. }, {
  5733. closecallback: function () { }
  5734. }, {
  5735. "style": {
  5736. "height": "36px"
  5737. }
  5738. }).form; //创建窗体
  5739. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5740. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5741. })
  5742. _taskbar = {
  5743. "id": str + _formdiv.id,
  5744. "style": {
  5745. "backgroundImage": "url(/img/icon/doc.png)"
  5746. },
  5747. "name": "协同文档",
  5748. "forms": _formdiv,
  5749. "click": function () {
  5750. U.MD.D.I.openApplication(str, obj, info);
  5751. }
  5752. }
  5753. break;
  5754. case "mindNetwork": //好友打开
  5755. aTool = 7;
  5756. _iframe = $$("iframe", {
  5757. "webkitallowfullscreen": "",
  5758. "mozallowfullscreen": "",
  5759. "allowfullscreen": "",
  5760. "frameborder": "no",
  5761. "border": "0",
  5762. "scrolling ": "no",
  5763. "style": {
  5764. "cssText": "border:0; width:100%; height:100%;"
  5765. },
  5766. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5767. })
  5768. _box.appendChild(_iframe);
  5769. _box.appendChild(_jie);
  5770. _formdiv = new U.UF.UI.form(
  5771. "思维网格",
  5772. _box, {
  5773. "id": "mindNetwork" + cid + stage + task + tool,
  5774. "style": {
  5775. "width": "90%",
  5776. "height": "90%",
  5777. "overflow": 'hidden'
  5778. },
  5779. "onresize": function () { }
  5780. }, {
  5781. closecallback: function () { }
  5782. }, {
  5783. "style": {
  5784. "height": "36px"
  5785. }
  5786. }).form; //创建窗体
  5787. _taskbar = {
  5788. "id": str + _formdiv.id,
  5789. "style": {
  5790. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5791. },
  5792. "name": "思维网格",
  5793. "forms": _formdiv,
  5794. "click": function () {
  5795. U.MD.D.I.openApplication(str, obj, info);
  5796. }
  5797. }
  5798. break;
  5799. case "courseDesign":
  5800. _iframe = $$("iframe", {
  5801. "webkitallowfullscreen": "",
  5802. "mozallowfullscreen": "",
  5803. "allowfullscreen": "",
  5804. "frameborder": "no",
  5805. "border": "0",
  5806. "scrolling ": "no",
  5807. "style": {
  5808. "cssText": "border:0; width:100%; height:100%;"
  5809. },
  5810. "src": "/course-design-vue"
  5811. })
  5812. _box.appendChild(_iframe);
  5813. _box.appendChild(_jie);
  5814. _formdiv = new U.UF.UI.form(
  5815. "项目设计",
  5816. _box, {
  5817. "id": "courseDesign" + cid + stage + task + tool,
  5818. "style": {
  5819. "width": "90%",
  5820. "height": "90%",
  5821. "overflow": 'hidden'
  5822. },
  5823. "onresize": function () { }
  5824. }, {
  5825. closecallback: function () { }
  5826. }, {
  5827. "style": {
  5828. "height": "36px"
  5829. }
  5830. }).form; //创建窗体
  5831. _taskbar = {
  5832. "id": str + _formdiv.id,
  5833. "style": {
  5834. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5835. },
  5836. "name": "项目设计",
  5837. "forms": _formdiv,
  5838. "click": function () {
  5839. U.MD.D.I.openApplication(str, obj, info);
  5840. }
  5841. }
  5842. break;
  5843. }
  5844. const script1 = document.createElement("script");
  5845. script1.type = "text/javascript";
  5846. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5847. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5848. const script2 = document.createElement("script");
  5849. script2.type = "text/javascript";
  5850. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5851. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5852. const script3 = document.createElement("script");
  5853. script3.type = "text/javascript";
  5854. script3.charset = "UTF-8";
  5855. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5856. const script4 = document.createElement("script");
  5857. script4.type = "text/javascript";
  5858. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5859. script4.src = window.origin + "/js/Common/jietu2E.js";
  5860. if (_iframe) {
  5861. if (str == 'doc') {
  5862. _iframe = _formdiv.querySelector('iframe')
  5863. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5864. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5865. _iframe.contentWindow.document.body.appendChild(script1);
  5866. _iframe.contentWindow.document.body.appendChild(script2);
  5867. // _iframe.contentWindow.document.body.appendChild(script3);
  5868. _iframe.contentWindow.document.body.appendChild(script4);
  5869. })
  5870. if (onloadListener) {
  5871. _iframe.contentDocument.location.reload()
  5872. } else {
  5873. _iframe.contentDocument.location.reload()
  5874. }
  5875. } else if (str == 'courseDesign') {
  5876. U.UF.DL.iframeLoad(_iframe, function () {
  5877. // _iframe.contentWindow.U.MD.O.W.load();
  5878. // _iframe.contentWindow.document.body.appendChild(script1);
  5879. _iframe.contentWindow.document.body.appendChild(script2);
  5880. _iframe.contentWindow.document.body.appendChild(script4);
  5881. })
  5882. } else if (str == 'mind') {
  5883. _iframe = _formdiv.querySelector('iframe')
  5884. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5885. //
  5886. _iframe.contentWindow.document.body.appendChild(script1);
  5887. _iframe.contentWindow.document.body.appendChild(script2);
  5888. _iframe.contentWindow.document.body.appendChild(script4);
  5889. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5890. })
  5891. if (onloadListener) {
  5892. _iframe.contentDocument.location.reload()
  5893. } else {
  5894. _iframe.contentDocument.location.reload()
  5895. }
  5896. } else if (str == 'whiteboard') {
  5897. _iframe = _formdiv.querySelector('iframe')
  5898. let onloadListener = _iframe.onload = () => {
  5899. _iframe.contentWindow.document.body.appendChild(script1);
  5900. _iframe.contentWindow.document.body.appendChild(script2);
  5901. _iframe.contentWindow.document.body.appendChild(script4);
  5902. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5903. };
  5904. if (onloadListener) {
  5905. _iframe.contentDocument.location.reload()
  5906. } else {
  5907. _iframe.contentDocument.location.reload()
  5908. }
  5909. } else {
  5910. _iframe.onload = () => {
  5911. _iframe.contentWindow.document.body.appendChild(script1);
  5912. _iframe.contentWindow.document.body.appendChild(script2);
  5913. // _iframe.contentWindow.document.body.appendChild(script3);
  5914. _iframe.contentWindow.document.body.appendChild(script4);
  5915. };
  5916. }
  5917. _jie.onclick = async () => {
  5918. let text = ''
  5919. if (aTool == 1) {
  5920. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5921. } else if (aTool == 6) {
  5922. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5923. } else if (aTool == 3) {
  5924. text = await U.MD.D.I.getEditorContent(_iframe);
  5925. }
  5926. _loading.style.display = 'flex'
  5927. console.log(_loading);
  5928. var _ajs = _iframe.contentWindow.document.createElement("script");
  5929. _ajs.type = "text/javascript";
  5930. _ajs.innerHTML =
  5931. // 'console.log(' + _loading + ');\n' +
  5932. 'var _js = document.createElement("script");\n' +
  5933. '_js.type="text/javascript";\n' +
  5934. '_js.charset="UTF-8";\n' +
  5935. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5936. "_js.onload = function(){\n" +
  5937. ' var a = document.getElementsByTagName("img")\n' +
  5938. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5939. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5940. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5941. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5942. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5943. "beforeUpload_shishi(file," +
  5944. "'" +
  5945. _userid +
  5946. "'" +
  5947. ", " +
  5948. "'" +
  5949. _cid +
  5950. "'" +
  5951. ", " +
  5952. "'" +
  5953. _stage +
  5954. "'" +
  5955. ", " +
  5956. "'" +
  5957. _task +
  5958. "'" +
  5959. ", " +
  5960. "'" +
  5961. _tool +
  5962. "'" +
  5963. ", " +
  5964. "'" +
  5965. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5966. "'" +
  5967. ", " +
  5968. "'" +
  5969. aTool +
  5970. "'" +
  5971. ", " +
  5972. "`" +
  5973. text +
  5974. "`" +
  5975. ")\n" +
  5976. " });\n" +
  5977. "}\n" +
  5978. "document.head.appendChild(_js);\n";
  5979. _iframe.contentWindow.document.head.appendChild(_ajs);
  5980. }
  5981. }
  5982. //U.MD.D.I.openClick(str);
  5983. //如果有任务栏信息
  5984. // if (_taskbar) {
  5985. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5986. // }
  5987. }
  5988. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5989. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5990. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5991. _userid = student.userid, //登录用户id
  5992. _username = student.student //用户名字
  5993. let _iframe;
  5994. let _cid = cid,
  5995. _stage = stage,
  5996. _task = task,
  5997. _tool = tool;
  5998. var _jie = $$("div", {
  5999. "style": {
  6000. "position": "absolute",
  6001. "bottom": "50px",
  6002. "right": "50px",
  6003. "zIndex": "9999",
  6004. "backgroundColor": "#2268bc",
  6005. "color": "#fff",
  6006. "padding": "12px 20px",
  6007. "cursor": "pointer",
  6008. "borderRadius": "4px",
  6009. },
  6010. "innerHTML": "提交作业"
  6011. })
  6012. let aTool = ''
  6013. let _loading = document.createElement('div')
  6014. _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;"
  6015. // _loading.id = "";
  6016. let _lchild = document.createElement('div')
  6017. let _limg = document.createElement('img')
  6018. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6019. _limg.style = "width: 26px;margin-right: 10px;"
  6020. _lchild.appendChild(_limg)
  6021. let _lspan = document.createElement('span')
  6022. _lspan.innerHTML = "上传中..."
  6023. _lchild.appendChild(_lspan)
  6024. _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%);"
  6025. _loading.appendChild(_lchild)
  6026. var _box = $$('div', {
  6027. "style": {
  6028. "position": "relative",
  6029. "width": "100%",
  6030. "height": "100%",
  6031. },
  6032. })
  6033. _box.appendChild(_loading)
  6034. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  6035. switch (str) {
  6036. case "whiteboard":
  6037. aTool = 1;
  6038. _iframe = $$("iframe", {
  6039. "frameborder": "no",
  6040. "border": "0",
  6041. "scrolling ": "no",
  6042. "style": {
  6043. "cssText": "border:0;width:100%;height:100%"
  6044. },
  6045. "src": "https://iwb.cocorobo.cn/"
  6046. })
  6047. _box.appendChild(_iframe);
  6048. _box.appendChild(_jie);
  6049. _formdiv = new U.UF.UI.form(
  6050. "电子白板-" + _username,
  6051. _box, {
  6052. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6053. "style": {
  6054. "width": "90%",
  6055. "height": "90%",
  6056. "overflow": 'hidden'
  6057. },
  6058. "onresize": function () { }
  6059. }, {
  6060. closecallback: function () { }
  6061. }, {
  6062. "style": {
  6063. "height": "36px"
  6064. }
  6065. }).form; //创建窗体
  6066. _taskbar = {
  6067. "id": str + _formdiv.id,
  6068. "style": {
  6069. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6070. },
  6071. "name": "电子白板",
  6072. "forms": _formdiv,
  6073. "click": function () {
  6074. U.MD.D.I.openApplication(str, obj, info);
  6075. }
  6076. }
  6077. break;
  6078. case "mind":
  6079. aTool = 3;
  6080. _iframe = $$("iframe", {
  6081. "frameborder": "no",
  6082. "border": "0",
  6083. "scrolling ": "no",
  6084. "style": {
  6085. "cssText": "border:0;width:100%;height:100%"
  6086. },
  6087. "src": "/kityminder-editor/dist/index.html"
  6088. })
  6089. _box.appendChild(_iframe);
  6090. _box.appendChild(_jie);
  6091. _formdiv = new U.UF.UI.form(
  6092. "思维导图-" + _username,
  6093. _box, { //"/jsmind/example/demo.html"
  6094. "id": "mind" + cid + stage + task + tool + _userid,
  6095. "style": {
  6096. "width": "90%",
  6097. "height": "90%",
  6098. "overflow": 'hidden'
  6099. },
  6100. "onresize": function () { }
  6101. }, {
  6102. closecallback: function () { }
  6103. }, {
  6104. "style": {
  6105. "height": "36px"
  6106. }
  6107. }).form; //创建窗体
  6108. _taskbar = {
  6109. "id": str + _formdiv.id,
  6110. "style": {
  6111. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6112. },
  6113. "name": "思维导图",
  6114. "forms": _formdiv,
  6115. "click": function () {
  6116. U.MD.D.I.openApplication(str, obj, info);
  6117. }
  6118. }
  6119. break;
  6120. case "MindMap":
  6121. aTool = 3;
  6122. _iframe = $$("iframe", {
  6123. "frameborder": "no",
  6124. "border": "0",
  6125. "scrolling ": "no",
  6126. "style": {
  6127. "cssText": "border:0;width:100%;height:100%"
  6128. },
  6129. "src": "//cloud.cocorobo.cn/mind/"
  6130. })
  6131. _box.appendChild(_iframe);
  6132. _box.appendChild(_jie);
  6133. _formdiv = new U.UF.UI.form(
  6134. "思维导图-" + _username,
  6135. _box, { //"/jsmind/example/demo.html"
  6136. "id": "mind" + cid + stage + task + tool + _userid,
  6137. "style": {
  6138. "width": "90%",
  6139. "height": "90%",
  6140. "overflow": 'hidden'
  6141. },
  6142. "onresize": function () { }
  6143. }, {
  6144. closecallback: function () { }
  6145. }, {
  6146. "style": {
  6147. "height": "36px"
  6148. }
  6149. }).form; //创建窗体
  6150. _taskbar = {
  6151. "id": str + _formdiv.id,
  6152. "style": {
  6153. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6154. },
  6155. "name": "思维导图",
  6156. "forms": _formdiv,
  6157. "click": function () {
  6158. U.MD.D.I.openApplication(str, obj, info);
  6159. }
  6160. }
  6161. break;
  6162. case "doc":
  6163. aTool = 6;
  6164. _iframe = $$("iframe", {
  6165. "frameborder": "no",
  6166. "border": "0",
  6167. "scrolling ": "no",
  6168. "style": {
  6169. "cssText": "border:0;width:100%;height:100%"
  6170. },
  6171. "src": "/Office/Word/WordEditArea.htm"
  6172. })
  6173. _box.appendChild(_iframe);
  6174. _box.appendChild(_jie);
  6175. _formdiv = new U.UF.UI.form(
  6176. "协同文档-" + _username,
  6177. _box, {
  6178. "id": "doc" + cid + stage + task + tool + _userid,
  6179. "style": {
  6180. "width": "90%",
  6181. "height": "90%",
  6182. "overflow": 'hidden'
  6183. },
  6184. "onresize": function () { }
  6185. }, {
  6186. closecallback: function () { }
  6187. }, {
  6188. "style": {
  6189. "height": "36px"
  6190. }
  6191. }).form; //创建窗体
  6192. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6193. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6194. })
  6195. _taskbar = {
  6196. "id": str + _formdiv.id,
  6197. "style": {
  6198. "backgroundImage": "url(/img/icon/doc.png)"
  6199. },
  6200. "name": "协同文档",
  6201. "forms": _formdiv,
  6202. "click": function () {
  6203. U.MD.D.I.openApplication(str, obj, info);
  6204. }
  6205. }
  6206. break;
  6207. case "mindNetwork": //好友打开
  6208. aTool = 7;
  6209. _iframe = $$("iframe", {
  6210. "webkitallowfullscreen": "",
  6211. "mozallowfullscreen": "",
  6212. "allowfullscreen": "",
  6213. "frameborder": "no",
  6214. "border": "0",
  6215. "scrolling ": "no",
  6216. "style": {
  6217. "cssText": "border:0; width:100%; height:100%;"
  6218. },
  6219. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6220. })
  6221. _box.appendChild(_iframe);
  6222. _box.appendChild(_jie);
  6223. _formdiv = new U.UF.UI.form(
  6224. "思维网格-" + _username,
  6225. _box, {
  6226. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6227. "style": {
  6228. "width": "90%",
  6229. "height": "90%",
  6230. "overflow": 'hidden'
  6231. },
  6232. "onresize": function () { }
  6233. }, {
  6234. closecallback: function () { }
  6235. }, {
  6236. "style": {
  6237. "height": "36px"
  6238. }
  6239. }).form; //创建窗体
  6240. _taskbar = {
  6241. "id": str + _formdiv.id,
  6242. "style": {
  6243. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6244. },
  6245. "name": "思维网格",
  6246. "forms": _formdiv,
  6247. "click": function () {
  6248. U.MD.D.I.openApplication(str, obj, info);
  6249. }
  6250. }
  6251. break;
  6252. case "courseDesign":
  6253. _iframe = $$("iframe", {
  6254. "webkitallowfullscreen": "",
  6255. "mozallowfullscreen": "",
  6256. "allowfullscreen": "",
  6257. "frameborder": "no",
  6258. "border": "0",
  6259. "scrolling ": "no",
  6260. "style": {
  6261. "cssText": "border:0; width:100%; height:100%;"
  6262. },
  6263. "src": "/course-design-vue"
  6264. })
  6265. _box.appendChild(_iframe);
  6266. _box.appendChild(_jie);
  6267. _formdiv = new U.UF.UI.form(
  6268. "项目设计-" + _username,
  6269. _box, {
  6270. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6271. "style": {
  6272. "width": "90%",
  6273. "height": "90%",
  6274. "overflow": 'hidden'
  6275. },
  6276. "onresize": function () { }
  6277. }, {
  6278. closecallback: function () { }
  6279. }, {
  6280. "style": {
  6281. "height": "36px"
  6282. }
  6283. }).form; //创建窗体
  6284. _taskbar = {
  6285. "id": str + _formdiv.id,
  6286. "style": {
  6287. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6288. },
  6289. "name": "项目设计",
  6290. "forms": _formdiv,
  6291. "click": function () {
  6292. U.MD.D.I.openApplication(str, obj, info);
  6293. }
  6294. }
  6295. break;
  6296. }
  6297. const script1 = document.createElement("script");
  6298. script1.type = "text/javascript";
  6299. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6300. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6301. const script2 = document.createElement("script");
  6302. script2.type = "text/javascript";
  6303. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6304. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6305. const script3 = document.createElement("script");
  6306. script3.type = "text/javascript";
  6307. script3.charset = "UTF-8";
  6308. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6309. const script4 = document.createElement("script");
  6310. script4.type = "text/javascript";
  6311. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6312. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6313. if (_iframe) {
  6314. if (str == 'doc') {
  6315. _iframe = _formdiv.querySelector('iframe')
  6316. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6317. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6318. _iframe.contentWindow.document.body.appendChild(script1);
  6319. _iframe.contentWindow.document.body.appendChild(script2);
  6320. // _iframe.contentWindow.document.body.appendChild(script3);
  6321. _iframe.contentWindow.document.body.appendChild(script4);
  6322. })
  6323. if (onloadListener) {
  6324. _iframe.contentDocument.location.reload()
  6325. } else {
  6326. _iframe.contentDocument.location.reload()
  6327. }
  6328. } else if (str == 'courseDesign') {
  6329. U.UF.DL.iframeLoad(_iframe, function () {
  6330. // _iframe.contentWindow.U.MD.O.W.load();
  6331. // _iframe.contentWindow.document.body.appendChild(script1);
  6332. _iframe.contentWindow.document.body.appendChild(script2);
  6333. _iframe.contentWindow.document.body.appendChild(script4);
  6334. })
  6335. } else if (str == 'mind') {
  6336. _iframe = _formdiv.querySelector('iframe')
  6337. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6338. //
  6339. _iframe.contentWindow.document.body.appendChild(script1);
  6340. _iframe.contentWindow.document.body.appendChild(script2);
  6341. _iframe.contentWindow.document.body.appendChild(script4);
  6342. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6343. })
  6344. if (onloadListener) {
  6345. _iframe.contentDocument.location.reload()
  6346. } else {
  6347. _iframe.contentDocument.location.reload()
  6348. }
  6349. } else if (str == 'whiteboard') {
  6350. _iframe = _formdiv.querySelector('iframe')
  6351. let onloadListener = _iframe.onload = () => {
  6352. _iframe.contentWindow.document.body.appendChild(script1);
  6353. _iframe.contentWindow.document.body.appendChild(script2);
  6354. _iframe.contentWindow.document.body.appendChild(script4);
  6355. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6356. };
  6357. if (onloadListener) {
  6358. _iframe.contentDocument.location.reload()
  6359. } else {
  6360. _iframe.contentDocument.location.reload()
  6361. }
  6362. } else {
  6363. _iframe.onload = () => {
  6364. _iframe.contentWindow.document.body.appendChild(script1);
  6365. _iframe.contentWindow.document.body.appendChild(script2);
  6366. // _iframe.contentWindow.document.body.appendChild(script3);
  6367. _iframe.contentWindow.document.body.appendChild(script4);
  6368. };
  6369. }
  6370. _jie.onclick = async () => {
  6371. let text = ''
  6372. if (aTool == 1) {
  6373. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6374. } else if (aTool == 6) {
  6375. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6376. } else if (aTool == 3) {
  6377. text = await U.MD.D.I.getEditorContent(_iframe);
  6378. }
  6379. _loading.style.display = 'flex'
  6380. console.log(_loading);
  6381. var _ajs = _iframe.contentWindow.document.createElement("script");
  6382. _ajs.type = "text/javascript";
  6383. _ajs.innerHTML =
  6384. // 'console.log(' + _loading + ');\n' +
  6385. 'var _js = document.createElement("script");\n' +
  6386. '_js.type="text/javascript";\n' +
  6387. '_js.charset="UTF-8";\n' +
  6388. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6389. "_js.onload = function(){\n" +
  6390. ' var a = document.getElementsByTagName("img")\n' +
  6391. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6392. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6393. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6394. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6395. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6396. "beforeUpload_shishi(file," +
  6397. "'" +
  6398. _userid +
  6399. "'" +
  6400. ", " +
  6401. "'" +
  6402. _cid +
  6403. "'" +
  6404. ", " +
  6405. "'" +
  6406. _stage +
  6407. "'" +
  6408. ", " +
  6409. "'" +
  6410. _task +
  6411. "'" +
  6412. ", " +
  6413. "'" +
  6414. _tool +
  6415. "'" +
  6416. ", " +
  6417. "'" +
  6418. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6419. "'" +
  6420. ", " +
  6421. "'" +
  6422. aTool +
  6423. "'" +
  6424. ", " +
  6425. "`" +
  6426. text +
  6427. "`" +
  6428. ")\n" +
  6429. " });\n" +
  6430. "}\n" +
  6431. "document.head.appendChild(_js);\n";
  6432. _iframe.contentWindow.document.head.appendChild(_ajs);
  6433. }
  6434. }
  6435. }
  6436. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6437. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6438. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6439. _userid = student.userid, //登录用户id
  6440. _username = student.student //用户名字
  6441. let _iframe;
  6442. let _cid = cid,
  6443. _stage = stage,
  6444. _task = task,
  6445. _tool = tool;
  6446. var _jie = $$("div", {
  6447. "style": {
  6448. "position": "absolute",
  6449. "bottom": "50px",
  6450. "right": "50px",
  6451. "zIndex": "9999",
  6452. "backgroundColor": "#2268bc",
  6453. "color": "#fff",
  6454. "padding": "12px 20px",
  6455. "cursor": "pointer",
  6456. "borderRadius": "4px",
  6457. },
  6458. "innerHTML": "提交作业"
  6459. })
  6460. let aTool = ''
  6461. let _loading = document.createElement('div')
  6462. _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;"
  6463. // _loading.id = "";
  6464. let _lchild = document.createElement('div')
  6465. let _limg = document.createElement('img')
  6466. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6467. _limg.style = "width: 26px;margin-right: 10px;"
  6468. _lchild.appendChild(_limg)
  6469. let _lspan = document.createElement('span')
  6470. _lspan.innerHTML = "上传中..."
  6471. _lchild.appendChild(_lspan)
  6472. _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%);"
  6473. _loading.appendChild(_lchild)
  6474. var _box = $$('div', {
  6475. "style": {
  6476. "position": "relative",
  6477. "width": "100%",
  6478. "height": "100%",
  6479. },
  6480. })
  6481. _box.appendChild(_loading)
  6482. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6483. switch (str) {
  6484. case "whiteboard":
  6485. aTool = 1;
  6486. _iframe = $$("iframe", {
  6487. "frameborder": "no",
  6488. "border": "0",
  6489. "scrolling ": "no",
  6490. "style": {
  6491. "cssText": "border:0;width:100%;height:100%"
  6492. },
  6493. "src": "https://iwb.cocorobo.cn/"
  6494. })
  6495. _box.appendChild(_iframe);
  6496. _box.appendChild(_jie);
  6497. _formdiv = new U.UF.UI.form(
  6498. "电子白板-" + _username,
  6499. _box, {
  6500. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6501. "style": {
  6502. "width": "90%",
  6503. "height": "90%",
  6504. "overflow": 'hidden'
  6505. },
  6506. "onresize": function () { }
  6507. }, {
  6508. closecallback: function () { }
  6509. }, {
  6510. "style": {
  6511. "height": "36px"
  6512. }
  6513. }).form; //创建窗体
  6514. _taskbar = {
  6515. "id": str + _formdiv.id,
  6516. "style": {
  6517. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6518. },
  6519. "name": "电子白板",
  6520. "forms": _formdiv,
  6521. "click": function () {
  6522. U.MD.D.I.openApplication(str, obj, info);
  6523. }
  6524. }
  6525. break;
  6526. case "mind":
  6527. aTool = 3;
  6528. _iframe = $$("iframe", {
  6529. "frameborder": "no",
  6530. "border": "0",
  6531. "scrolling ": "no",
  6532. "style": {
  6533. "cssText": "border:0;width:100%;height:100%"
  6534. },
  6535. "src": "/kityminder-editor/dist/index.html"
  6536. })
  6537. _box.appendChild(_iframe);
  6538. _box.appendChild(_jie);
  6539. _formdiv = new U.UF.UI.form(
  6540. "思维导图-" + _username,
  6541. _box, { //"/jsmind/example/demo.html"
  6542. "id": "mind" + cid + stage + task + tool + _userid,
  6543. "style": {
  6544. "width": "90%",
  6545. "height": "90%",
  6546. "overflow": 'hidden'
  6547. },
  6548. "onresize": function () { }
  6549. }, {
  6550. closecallback: function () { }
  6551. }, {
  6552. "style": {
  6553. "height": "36px"
  6554. }
  6555. }).form; //创建窗体
  6556. _taskbar = {
  6557. "id": str + _formdiv.id,
  6558. "style": {
  6559. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6560. },
  6561. "name": "思维导图",
  6562. "forms": _formdiv,
  6563. "click": function () {
  6564. U.MD.D.I.openApplication(str, obj, info);
  6565. }
  6566. }
  6567. break;
  6568. case "MindMap":
  6569. aTool = 3;
  6570. _iframe = $$("iframe", {
  6571. "frameborder": "no",
  6572. "border": "0",
  6573. "scrolling ": "no",
  6574. "style": {
  6575. "cssText": "border:0;width:100%;height:100%"
  6576. },
  6577. "src": "//cloud.cocorobo.cn/mind/"
  6578. })
  6579. _box.appendChild(_iframe);
  6580. _box.appendChild(_jie);
  6581. _formdiv = new U.UF.UI.form(
  6582. "思维导图-" + _username,
  6583. _box, { //"/jsmind/example/demo.html"
  6584. "id": "mind" + cid + stage + task + tool + _userid,
  6585. "style": {
  6586. "width": "90%",
  6587. "height": "90%",
  6588. "overflow": 'hidden'
  6589. },
  6590. "onresize": function () { }
  6591. }, {
  6592. closecallback: function () { }
  6593. }, {
  6594. "style": {
  6595. "height": "36px"
  6596. }
  6597. }).form; //创建窗体
  6598. _taskbar = {
  6599. "id": str + _formdiv.id,
  6600. "style": {
  6601. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6602. },
  6603. "name": "思维导图",
  6604. "forms": _formdiv,
  6605. "click": function () {
  6606. U.MD.D.I.openApplication(str, obj, info);
  6607. }
  6608. }
  6609. break;
  6610. case "doc":
  6611. aTool = 6;
  6612. _iframe = $$("iframe", {
  6613. "frameborder": "no",
  6614. "border": "0",
  6615. "scrolling ": "no",
  6616. "style": {
  6617. "cssText": "border:0;width:100%;height:100%"
  6618. },
  6619. "src": "/Office/Word/WordEditArea.htm"
  6620. })
  6621. _box.appendChild(_iframe);
  6622. _box.appendChild(_jie);
  6623. _formdiv = new U.UF.UI.form(
  6624. "协同文档-" + _username,
  6625. _box, {
  6626. "id": "doc" + cid + stage + task + tool + _userid,
  6627. "style": {
  6628. "width": "90%",
  6629. "height": "90%",
  6630. "overflow": 'hidden'
  6631. },
  6632. "onresize": function () { }
  6633. }, {
  6634. closecallback: function () { }
  6635. }, {
  6636. "style": {
  6637. "height": "36px"
  6638. }
  6639. }).form; //创建窗体
  6640. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6641. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6642. })
  6643. _taskbar = {
  6644. "id": str + _formdiv.id,
  6645. "style": {
  6646. "backgroundImage": "url(/img/icon/doc.png)"
  6647. },
  6648. "name": "协同文档",
  6649. "forms": _formdiv,
  6650. "click": function () {
  6651. U.MD.D.I.openApplication(str, obj, info);
  6652. }
  6653. }
  6654. break;
  6655. case "mindNetwork": //好友打开
  6656. aTool = 7;
  6657. _iframe = $$("iframe", {
  6658. "webkitallowfullscreen": "",
  6659. "mozallowfullscreen": "",
  6660. "allowfullscreen": "",
  6661. "frameborder": "no",
  6662. "border": "0",
  6663. "scrolling ": "no",
  6664. "style": {
  6665. "cssText": "border:0; width:100%; height:100%;"
  6666. },
  6667. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6668. })
  6669. _box.appendChild(_iframe);
  6670. _box.appendChild(_jie);
  6671. _formdiv = new U.UF.UI.form(
  6672. "思维网格-" + _username,
  6673. _box, {
  6674. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6675. "style": {
  6676. "width": "90%",
  6677. "height": "90%",
  6678. "overflow": 'hidden'
  6679. },
  6680. "onresize": function () { }
  6681. }, {
  6682. closecallback: function () { }
  6683. }, {
  6684. "style": {
  6685. "height": "36px"
  6686. }
  6687. }).form; //创建窗体
  6688. _taskbar = {
  6689. "id": str + _formdiv.id,
  6690. "style": {
  6691. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6692. },
  6693. "name": "思维网格",
  6694. "forms": _formdiv,
  6695. "click": function () {
  6696. U.MD.D.I.openApplication(str, obj, info);
  6697. }
  6698. }
  6699. break;
  6700. case "courseDesign":
  6701. _iframe = $$("iframe", {
  6702. "webkitallowfullscreen": "",
  6703. "mozallowfullscreen": "",
  6704. "allowfullscreen": "",
  6705. "frameborder": "no",
  6706. "border": "0",
  6707. "scrolling ": "no",
  6708. "style": {
  6709. "cssText": "border:0; width:100%; height:100%;"
  6710. },
  6711. "src": "/course-design-vue"
  6712. })
  6713. _box.appendChild(_iframe);
  6714. _box.appendChild(_jie);
  6715. _formdiv = new U.UF.UI.form(
  6716. "项目设计-" + _username,
  6717. _box, {
  6718. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6719. "style": {
  6720. "width": "90%",
  6721. "height": "90%",
  6722. "overflow": 'hidden'
  6723. },
  6724. "onresize": function () { }
  6725. }, {
  6726. closecallback: function () { }
  6727. }, {
  6728. "style": {
  6729. "height": "36px"
  6730. }
  6731. }).form; //创建窗体
  6732. _taskbar = {
  6733. "id": str + _formdiv.id,
  6734. "style": {
  6735. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6736. },
  6737. "name": "项目设计",
  6738. "forms": _formdiv,
  6739. "click": function () {
  6740. U.MD.D.I.openApplication(str, obj, info);
  6741. }
  6742. }
  6743. break;
  6744. }
  6745. const script1 = document.createElement("script");
  6746. script1.type = "text/javascript";
  6747. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6748. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6749. const script2 = document.createElement("script");
  6750. script2.type = "text/javascript";
  6751. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6752. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6753. const script3 = document.createElement("script");
  6754. script3.type = "text/javascript";
  6755. script3.charset = "UTF-8";
  6756. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6757. const script4 = document.createElement("script");
  6758. script4.type = "text/javascript";
  6759. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6760. script4.src = window.origin + "/js/Common/jietu2E.js";
  6761. if (_iframe) {
  6762. if (str == 'doc') {
  6763. _iframe = _formdiv.querySelector('iframe')
  6764. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6765. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6766. _iframe.contentWindow.document.body.appendChild(script1);
  6767. _iframe.contentWindow.document.body.appendChild(script2);
  6768. // _iframe.contentWindow.document.body.appendChild(script3);
  6769. _iframe.contentWindow.document.body.appendChild(script4);
  6770. })
  6771. if (onloadListener) {
  6772. _iframe.contentDocument.location.reload()
  6773. } else {
  6774. _iframe.contentDocument.location.reload()
  6775. }
  6776. } else if (str == 'courseDesign') {
  6777. U.UF.DL.iframeLoad(_iframe, function () {
  6778. // _iframe.contentWindow.U.MD.O.W.load();
  6779. // _iframe.contentWindow.document.body.appendChild(script1);
  6780. _iframe.contentWindow.document.body.appendChild(script2);
  6781. _iframe.contentWindow.document.body.appendChild(script4);
  6782. })
  6783. } else if (str == 'mind') {
  6784. _iframe = _formdiv.querySelector('iframe')
  6785. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6786. //
  6787. _iframe.contentWindow.document.body.appendChild(script1);
  6788. _iframe.contentWindow.document.body.appendChild(script2);
  6789. _iframe.contentWindow.document.body.appendChild(script4);
  6790. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6791. })
  6792. if (onloadListener) {
  6793. _iframe.contentDocument.location.reload()
  6794. } else {
  6795. _iframe.contentDocument.location.reload()
  6796. }
  6797. } else if (str == 'whiteboard') {
  6798. _iframe = _formdiv.querySelector('iframe')
  6799. let onloadListener = _iframe.onload = () => {
  6800. _iframe.contentWindow.document.body.appendChild(script1);
  6801. _iframe.contentWindow.document.body.appendChild(script2);
  6802. _iframe.contentWindow.document.body.appendChild(script4);
  6803. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6804. };
  6805. if (onloadListener) {
  6806. _iframe.contentDocument.location.reload()
  6807. } else {
  6808. _iframe.contentDocument.location.reload()
  6809. }
  6810. } else {
  6811. _iframe.onload = () => {
  6812. _iframe.contentWindow.document.body.appendChild(script1);
  6813. _iframe.contentWindow.document.body.appendChild(script2);
  6814. // _iframe.contentWindow.document.body.appendChild(script3);
  6815. _iframe.contentWindow.document.body.appendChild(script4);
  6816. };
  6817. }
  6818. _jie.onclick = async () => {
  6819. let text = ''
  6820. if (aTool == 1) {
  6821. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6822. } else if (aTool == 6) {
  6823. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6824. } else if (aTool == 3) {
  6825. text = await U.MD.D.I.getEditorContent(_iframe);
  6826. }
  6827. _loading.style.display = 'flex'
  6828. console.log(_loading);
  6829. var _ajs = _iframe.contentWindow.document.createElement("script");
  6830. _ajs.type = "text/javascript";
  6831. _ajs.innerHTML =
  6832. // 'console.log(' + _loading + ');\n' +
  6833. 'var _js = document.createElement("script");\n' +
  6834. '_js.type="text/javascript";\n' +
  6835. '_js.charset="UTF-8";\n' +
  6836. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6837. "_js.onload = function(){\n" +
  6838. ' var a = document.getElementsByTagName("img")\n' +
  6839. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6840. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6841. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6842. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6843. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6844. "beforeUpload_shishi(file," +
  6845. "'" +
  6846. _userid +
  6847. "'" +
  6848. ", " +
  6849. "'" +
  6850. _cid +
  6851. "'" +
  6852. ", " +
  6853. "'" +
  6854. _stage +
  6855. "'" +
  6856. ", " +
  6857. "'" +
  6858. _task +
  6859. "'" +
  6860. ", " +
  6861. "'" +
  6862. _tool +
  6863. "'" +
  6864. ", " +
  6865. "'" +
  6866. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6867. "'" +
  6868. ", " +
  6869. "'" +
  6870. aTool +
  6871. "'" +
  6872. ", " +
  6873. "`" +
  6874. text +
  6875. "`" +
  6876. ")\n" +
  6877. " });\n" +
  6878. "}\n" +
  6879. "document.head.appendChild(_js);\n";
  6880. _iframe.contentWindow.document.head.appendChild(_ajs);
  6881. }
  6882. }
  6883. }
  6884. U.MD.D.I.getEditorContent = function (iframe) {
  6885. return new Promise((resolve, reject) => {
  6886. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6887. console.log(content);
  6888. resolve(content)
  6889. });
  6890. });
  6891. }
  6892. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6893. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6894. // if (res.value[0].length > 0) {
  6895. // // resolve(res.value[0][0].text);
  6896. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6897. // $(fileInput).val('');
  6898. // });
  6899. // }
  6900. // }, [], { "type": "GET", "withCredentials": true });
  6901. var xmlhttp;
  6902. var Mac, Sn, DeviceId
  6903. if (window.XMLHttpRequest) {
  6904. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6905. xmlhttp = new XMLHttpRequest();
  6906. } else {
  6907. // IE6, IE5 浏览器执行代码
  6908. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6909. }
  6910. xmlhttp.onreadystatechange = function () {
  6911. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6912. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6913. // resolve(res.value[0][0].text);
  6914. if (type == '2') {
  6915. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6916. } else if (type == '3') {
  6917. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6918. }
  6919. } else {
  6920. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6921. }
  6922. }
  6923. }
  6924. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6925. xmlhttp.send();
  6926. }
  6927. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6928. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6929. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6930. _userinfo = US.userInfo, //登录用户信息
  6931. _userid = US.userInfo.userid //登录用户id
  6932. let _iframe;
  6933. let _cid = cid,
  6934. _stage = stage,
  6935. _task = task,
  6936. _tool = tool;
  6937. var _jie = $$("div", {
  6938. "style": {
  6939. "position": "absolute",
  6940. "bottom": "50px",
  6941. "right": "50px",
  6942. "zIndex": "9999",
  6943. "backgroundColor": "#2268bc",
  6944. "color": "#fff",
  6945. "padding": "12px 20px",
  6946. "cursor": "pointer",
  6947. "borderRadius": "4px",
  6948. },
  6949. "innerHTML": "确认并提交"
  6950. })
  6951. let aTool = ''
  6952. let _loading = document.createElement('div')
  6953. _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;"
  6954. // _loading.id = "";
  6955. let _lchild = document.createElement('div')
  6956. let _limg = document.createElement('img')
  6957. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6958. _limg.style = "width: 26px;margin-right: 10px;"
  6959. _lchild.appendChild(_limg)
  6960. let _lspan = document.createElement('span')
  6961. _lspan.innerHTML = "上传中..."
  6962. _lchild.appendChild(_lspan)
  6963. _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%);"
  6964. _loading.appendChild(_lchild)
  6965. var _box = $$('div', {
  6966. "style": {
  6967. "position": "relative",
  6968. "width": "100%",
  6969. "height": "100%",
  6970. },
  6971. })
  6972. _box.appendChild(_loading)
  6973. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6974. switch (str) {
  6975. case "whiteboard":
  6976. aTool = 1;
  6977. _iframe = $$("iframe", {
  6978. "frameborder": "no",
  6979. "border": "0",
  6980. "scrolling ": "no",
  6981. "style": {
  6982. "cssText": "border:0;width:100%;height:100%"
  6983. },
  6984. "src": "https://iwb.cocorobo.cn/"
  6985. })
  6986. _box.appendChild(_iframe);
  6987. _box.appendChild(_jie);
  6988. _formdiv = new U.UF.UI.form(
  6989. "电子白板",
  6990. _box, {
  6991. "id": "whiteboards" + cid + stage + task + tool,
  6992. "style": {
  6993. "width": "90%",
  6994. "height": "90%",
  6995. "overflow": 'hidden'
  6996. },
  6997. "onresize": function () { }
  6998. }, {
  6999. closecallback: function () { }
  7000. }, {
  7001. "style": {
  7002. "height": "36px"
  7003. }
  7004. }).form; //创建窗体
  7005. _taskbar = {
  7006. "id": str + _formdiv.id,
  7007. "style": {
  7008. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7009. },
  7010. "name": "电子白板",
  7011. "forms": _formdiv,
  7012. "click": function () {
  7013. U.MD.D.I.openApplication(str, obj, info);
  7014. }
  7015. }
  7016. break;
  7017. case "mind":
  7018. aTool = 3;
  7019. _iframe = $$("iframe", {
  7020. "frameborder": "no",
  7021. "border": "0",
  7022. "scrolling ": "no",
  7023. "style": {
  7024. "cssText": "border:0;width:100%;height:100%"
  7025. },
  7026. "src": "/kityminder-editor/dist/index.html"
  7027. });
  7028. _box.appendChild(_iframe);
  7029. _box.appendChild(_jie);
  7030. _formdiv = new U.UF.UI.form(
  7031. "思维导图",
  7032. _box, { //"/jsmind/example/demo.html"
  7033. "id": "minds" + cid + stage + task + tool,
  7034. "style": {
  7035. "width": "90%",
  7036. "height": "90%",
  7037. "overflow": 'hidden'
  7038. },
  7039. "onresize": function () { }
  7040. }, {
  7041. closecallback: function () { }
  7042. }, {
  7043. "style": {
  7044. "height": "36px"
  7045. }
  7046. }).form; //创建窗体
  7047. _taskbar = {
  7048. "id": str + _formdiv.id,
  7049. "style": {
  7050. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7051. },
  7052. "name": "思维导图",
  7053. "forms": _formdiv,
  7054. "click": function () {
  7055. U.MD.D.I.openApplication(str, obj, info);
  7056. }
  7057. }
  7058. break;
  7059. case "doc":
  7060. aTool = 6;
  7061. _iframe = $$("iframe", {
  7062. "frameborder": "no",
  7063. "border": "0",
  7064. "scrolling ": "no",
  7065. "style": {
  7066. "cssText": "border:0;width:100%;height:100%"
  7067. },
  7068. "src": "/Office/Word/WordEditArea.htm"
  7069. })
  7070. _box.appendChild(_iframe);
  7071. _box.appendChild(_jie);
  7072. _formdiv = new U.UF.UI.form(
  7073. "协同文档",
  7074. _box, {
  7075. "id": "docs" + cid + stage + task + tool,
  7076. "style": {
  7077. "width": "90%",
  7078. "height": "90%",
  7079. "overflow": 'hidden'
  7080. },
  7081. "onresize": function () { }
  7082. }, {
  7083. closecallback: function () { }
  7084. }, {
  7085. "style": {
  7086. "height": "36px"
  7087. }
  7088. }).form; //创建窗体
  7089. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7090. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7091. })
  7092. _taskbar = {
  7093. "id": str + _formdiv.id,
  7094. "style": {
  7095. "backgroundImage": "url(/img/icon/doc.png)"
  7096. },
  7097. "name": "协同文档",
  7098. "forms": _formdiv,
  7099. "click": function () {
  7100. U.MD.D.I.openApplication(str, obj, info);
  7101. }
  7102. }
  7103. break;
  7104. }
  7105. const script1 = document.createElement("script");
  7106. script1.type = "text/javascript";
  7107. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7108. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7109. const script2 = document.createElement("script");
  7110. script2.type = "text/javascript";
  7111. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7112. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7113. const script3 = document.createElement("script");
  7114. script3.type = "text/javascript";
  7115. script3.charset = "UTF-8";
  7116. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7117. const script4 = document.createElement("script");
  7118. script4.type = "text/javascript";
  7119. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7120. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  7121. if (_iframe) {
  7122. if (str == 'doc') {
  7123. _iframe = _formdiv.querySelector('iframe')
  7124. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7125. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7126. _iframe.contentWindow.document.body.appendChild(script1);
  7127. _iframe.contentWindow.document.body.appendChild(script2);
  7128. // _iframe.contentWindow.document.body.appendChild(script3);
  7129. _iframe.contentWindow.document.body.appendChild(script4);
  7130. })
  7131. if (onloadListener) {
  7132. _iframe.contentDocument.location.reload()
  7133. } else {
  7134. _iframe.contentDocument.location.reload()
  7135. }
  7136. } else if (str == 'mind') {
  7137. _iframe = _formdiv.querySelector('iframe')
  7138. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7139. _iframe.contentWindow.document.body.appendChild(script1);
  7140. _iframe.contentWindow.document.body.appendChild(script2);
  7141. _iframe.contentWindow.document.body.appendChild(script4);
  7142. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7143. })
  7144. if (onloadListener) {
  7145. _iframe.contentDocument.location.reload()
  7146. } else {
  7147. _iframe.contentDocument.location.reload()
  7148. }
  7149. } else {
  7150. _iframe.onload = () => {
  7151. _iframe.contentWindow.document.body.appendChild(script1);
  7152. _iframe.contentWindow.document.body.appendChild(script2);
  7153. // _iframe.contentWindow.document.body.appendChild(script3);
  7154. _iframe.contentWindow.document.body.appendChild(script4);
  7155. };
  7156. }
  7157. _jie.onclick = async () => {
  7158. let text = ''
  7159. if (aTool == 6) {
  7160. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7161. } else if (aTool == 3) {
  7162. text = await U.MD.D.I.getEditorContent(_iframe);
  7163. }
  7164. _loading.style.display = 'flex'
  7165. console.log(_loading);
  7166. var _ajs = _iframe.contentWindow.document.createElement("script");
  7167. _ajs.type = "text/javascript";
  7168. _ajs.innerHTML =
  7169. // 'console.log(' + _loading + ');\n' +
  7170. 'var _js = document.createElement("script");\n' +
  7171. '_js.type="text/javascript";\n' +
  7172. '_js.charset="UTF-8";\n' +
  7173. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7174. "_js.onload = function(){\n" +
  7175. ' var a = document.getElementsByTagName("img")\n' +
  7176. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7177. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7178. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7179. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7180. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7181. "beforeUpload_shishi(file," +
  7182. "'" +
  7183. _userid +
  7184. "'" +
  7185. ", " +
  7186. "'" +
  7187. _cid +
  7188. "'" +
  7189. ", " +
  7190. "'" +
  7191. _stage +
  7192. "'" +
  7193. ", " +
  7194. "'" +
  7195. _task +
  7196. "'" +
  7197. ", " +
  7198. "'" +
  7199. _tool +
  7200. "'" +
  7201. ", " +
  7202. "'" +
  7203. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7204. "'" +
  7205. ", " +
  7206. "'" +
  7207. aTool +
  7208. "'" +
  7209. ", " +
  7210. "`" +
  7211. text +
  7212. "`" +
  7213. ")\n" +
  7214. " });\n" +
  7215. "}\n" +
  7216. "document.head.appendChild(_js);\n";
  7217. _iframe.contentWindow.document.head.appendChild(_ajs);
  7218. }
  7219. }
  7220. //U.MD.D.I.openClick(str);
  7221. //如果有任务栏信息
  7222. // if (_taskbar) {
  7223. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7224. // }
  7225. }
  7226. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7227. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7228. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7229. _userinfo = US.userInfo, //登录用户信息
  7230. _userid = US.userInfo.userid //登录用户id
  7231. let _iframe;
  7232. let _cid = cid,
  7233. _stage = stage,
  7234. _task = task,
  7235. _tool = tool;
  7236. var _jie = $$("div", {
  7237. "style": {
  7238. "position": "absolute",
  7239. "bottom": "50px",
  7240. "right": "50px",
  7241. "zIndex": "9999",
  7242. "backgroundColor": "#2268bc",
  7243. "color": "#fff",
  7244. "padding": "12px 20px",
  7245. "cursor": "pointer",
  7246. "borderRadius": "4px",
  7247. },
  7248. "innerHTML": "确认并提交"
  7249. })
  7250. let aTool = ''
  7251. let _loading = document.createElement('div')
  7252. _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;"
  7253. // _loading.id = "";
  7254. let _lchild = document.createElement('div')
  7255. let _limg = document.createElement('img')
  7256. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7257. _limg.style = "width: 26px;margin-right: 10px;"
  7258. _lchild.appendChild(_limg)
  7259. let _lspan = document.createElement('span')
  7260. _lspan.innerHTML = "上传中..."
  7261. _lchild.appendChild(_lspan)
  7262. _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%);"
  7263. _loading.appendChild(_lchild)
  7264. var _box = $$('div', {
  7265. "style": {
  7266. "position": "relative",
  7267. "width": "100%",
  7268. "height": "100%",
  7269. },
  7270. })
  7271. _box.appendChild(_loading)
  7272. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7273. switch (str) {
  7274. case "whiteboard":
  7275. aTool = 1;
  7276. _iframe = $$("iframe", {
  7277. "frameborder": "no",
  7278. "border": "0",
  7279. "scrolling ": "no",
  7280. "style": {
  7281. "cssText": "border:0;width:100%;height:100%"
  7282. },
  7283. "src": "https://iwb.cocorobo.cn/"
  7284. })
  7285. _box.appendChild(_iframe);
  7286. _box.appendChild(_jie);
  7287. _formdiv = new U.UF.UI.form(
  7288. "电子白板",
  7289. _box, {
  7290. "id": "whiteboards" + cid + stage + task + tool,
  7291. "style": {
  7292. "width": "90%",
  7293. "height": "90%",
  7294. "overflow": 'hidden'
  7295. },
  7296. "onresize": function () { }
  7297. }, {
  7298. closecallback: function () { }
  7299. }, {
  7300. "style": {
  7301. "height": "36px"
  7302. }
  7303. }).form; //创建窗体
  7304. _taskbar = {
  7305. "id": str + _formdiv.id,
  7306. "style": {
  7307. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7308. },
  7309. "name": "电子白板",
  7310. "forms": _formdiv,
  7311. "click": function () {
  7312. U.MD.D.I.openApplication(str, obj, info);
  7313. }
  7314. }
  7315. break;
  7316. case "mind":
  7317. aTool = 3;
  7318. _iframe = $$("iframe", {
  7319. "frameborder": "no",
  7320. "border": "0",
  7321. "scrolling ": "no",
  7322. "style": {
  7323. "cssText": "border:0;width:100%;height:100%"
  7324. },
  7325. "src": "/kityminder-editor/dist/index.html"
  7326. });
  7327. _box.appendChild(_iframe);
  7328. _box.appendChild(_jie);
  7329. _formdiv = new U.UF.UI.form(
  7330. "思维导图",
  7331. _box, { //"/jsmind/example/demo.html"
  7332. "id": "minds" + cid + stage + task + tool,
  7333. "style": {
  7334. "width": "90%",
  7335. "height": "90%",
  7336. "overflow": 'hidden'
  7337. },
  7338. "onresize": function () { }
  7339. }, {
  7340. closecallback: function () { }
  7341. }, {
  7342. "style": {
  7343. "height": "36px"
  7344. }
  7345. }).form; //创建窗体
  7346. _taskbar = {
  7347. "id": str + _formdiv.id,
  7348. "style": {
  7349. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7350. },
  7351. "name": "思维导图",
  7352. "forms": _formdiv,
  7353. "click": function () {
  7354. U.MD.D.I.openApplication(str, obj, info);
  7355. }
  7356. }
  7357. break;
  7358. case "doc":
  7359. aTool = 6;
  7360. _iframe = $$("iframe", {
  7361. "frameborder": "no",
  7362. "border": "0",
  7363. "scrolling ": "no",
  7364. "style": {
  7365. "cssText": "border:0;width:100%;height:100%"
  7366. },
  7367. "src": "/Office/Word/WordEditArea.htm"
  7368. })
  7369. _box.appendChild(_iframe);
  7370. _box.appendChild(_jie);
  7371. _formdiv = new U.UF.UI.form(
  7372. "协同文档",
  7373. _box, {
  7374. "id": "docs" + cid + stage + task + tool,
  7375. "style": {
  7376. "width": "90%",
  7377. "height": "90%",
  7378. "overflow": 'hidden'
  7379. },
  7380. "onresize": function () { }
  7381. }, {
  7382. closecallback: function () { }
  7383. }, {
  7384. "style": {
  7385. "height": "36px"
  7386. }
  7387. }).form; //创建窗体
  7388. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7389. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7390. })
  7391. _taskbar = {
  7392. "id": str + _formdiv.id,
  7393. "style": {
  7394. "backgroundImage": "url(/img/icon/doc.png)"
  7395. },
  7396. "name": "协同文档",
  7397. "forms": _formdiv,
  7398. "click": function () {
  7399. U.MD.D.I.openApplication(str, obj, info);
  7400. }
  7401. }
  7402. break;
  7403. }
  7404. const script1 = document.createElement("script");
  7405. script1.type = "text/javascript";
  7406. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7407. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7408. const script2 = document.createElement("script");
  7409. script2.type = "text/javascript";
  7410. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7411. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7412. const script3 = document.createElement("script");
  7413. script3.type = "text/javascript";
  7414. script3.charset = "UTF-8";
  7415. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7416. const script4 = document.createElement("script");
  7417. script4.type = "text/javascript";
  7418. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7419. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7420. if (_iframe) {
  7421. if (str == 'doc') {
  7422. _iframe = _formdiv.querySelector('iframe')
  7423. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7424. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7425. _iframe.contentWindow.document.body.appendChild(script1);
  7426. _iframe.contentWindow.document.body.appendChild(script2);
  7427. // _iframe.contentWindow.document.body.appendChild(script3);
  7428. _iframe.contentWindow.document.body.appendChild(script4);
  7429. })
  7430. if (onloadListener) {
  7431. _iframe.contentDocument.location.reload()
  7432. } else {
  7433. _iframe.contentDocument.location.reload()
  7434. }
  7435. } else if (str == 'mind') {
  7436. _iframe = _formdiv.querySelector('iframe')
  7437. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7438. _iframe.contentWindow.document.body.appendChild(script1);
  7439. _iframe.contentWindow.document.body.appendChild(script2);
  7440. _iframe.contentWindow.document.body.appendChild(script4);
  7441. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7442. })
  7443. if (onloadListener) {
  7444. _iframe.contentDocument.location.reload()
  7445. } else {
  7446. _iframe.contentDocument.location.reload()
  7447. }
  7448. } else {
  7449. _iframe.onload = () => {
  7450. _iframe.contentWindow.document.body.appendChild(script1);
  7451. _iframe.contentWindow.document.body.appendChild(script2);
  7452. // _iframe.contentWindow.document.body.appendChild(script3);
  7453. _iframe.contentWindow.document.body.appendChild(script4);
  7454. };
  7455. }
  7456. _jie.onclick = async () => {
  7457. let text = ''
  7458. if (aTool == 6) {
  7459. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7460. } else if (aTool == 3) {
  7461. text = await U.MD.D.I.getEditorContent(_iframe);
  7462. }
  7463. _loading.style.display = 'flex'
  7464. console.log(_loading);
  7465. var _ajs = _iframe.contentWindow.document.createElement("script");
  7466. _ajs.type = "text/javascript";
  7467. _ajs.innerHTML =
  7468. // 'console.log(' + _loading + ');\n' +
  7469. 'var _js = document.createElement("script");\n' +
  7470. '_js.type="text/javascript";\n' +
  7471. '_js.charset="UTF-8";\n' +
  7472. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7473. "_js.onload = function(){\n" +
  7474. ' var a = document.getElementsByTagName("img")\n' +
  7475. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7476. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7477. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7478. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7479. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7480. "beforeUpload_shishi(file," +
  7481. "'" +
  7482. _userid +
  7483. "'" +
  7484. ", " +
  7485. "'" +
  7486. _cid +
  7487. "'" +
  7488. ", " +
  7489. "'" +
  7490. _stage +
  7491. "'" +
  7492. ", " +
  7493. "'" +
  7494. _task +
  7495. "'" +
  7496. ", " +
  7497. "'" +
  7498. _tool +
  7499. "'" +
  7500. ", " +
  7501. "'" +
  7502. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7503. "'" +
  7504. ", " +
  7505. "'" +
  7506. aTool +
  7507. "'" +
  7508. ", " +
  7509. "`" +
  7510. text +
  7511. "`" +
  7512. ")\n" +
  7513. " });\n" +
  7514. "}\n" +
  7515. "document.head.appendChild(_js);\n";
  7516. _iframe.contentWindow.document.head.appendChild(_ajs);
  7517. }
  7518. }
  7519. //U.MD.D.I.openClick(str);
  7520. //如果有任务栏信息
  7521. // if (_taskbar) {
  7522. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7523. // }
  7524. }
  7525. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7526. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7527. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7528. _userinfo = US.userInfo, //登录用户信息
  7529. _userid = US.userInfo.userid //登录用户id
  7530. let _iframe;
  7531. let _cid = cid,
  7532. _stage = stage,
  7533. _task = task,
  7534. _tool = tool;
  7535. var _jie = $$("div", {
  7536. "style": {
  7537. "position": "absolute",
  7538. "bottom": "50px",
  7539. "right": "50px",
  7540. "zIndex": "9999",
  7541. "backgroundColor": "#2268bc",
  7542. "color": "#fff",
  7543. "padding": "12px 20px",
  7544. "cursor": "pointer",
  7545. "borderRadius": "4px",
  7546. },
  7547. "innerHTML": "上传模板"
  7548. })
  7549. let aTool = ''
  7550. let _loading = document.createElement('div')
  7551. _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;"
  7552. // _loading.id = "";
  7553. let _lchild = document.createElement('div')
  7554. let _limg = document.createElement('img')
  7555. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7556. _limg.style = "width: 26px;margin-right: 10px;"
  7557. _lchild.appendChild(_limg)
  7558. let _lspan = document.createElement('span')
  7559. _lspan.innerHTML = "上传中..."
  7560. _lchild.appendChild(_lspan)
  7561. _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%);"
  7562. _loading.appendChild(_lchild)
  7563. var _box = $$('div', {
  7564. "style": {
  7565. "position": "relative",
  7566. "width": "100%",
  7567. "height": "100%",
  7568. },
  7569. })
  7570. _box.appendChild(_loading)
  7571. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7572. switch (str) {
  7573. case "whiteboard":
  7574. aTool = 1;
  7575. _iframe = $$("iframe", {
  7576. "frameborder": "no",
  7577. "border": "0",
  7578. "scrolling ": "no",
  7579. "style": {
  7580. "cssText": "border:0;width:100%;height:100%"
  7581. },
  7582. "src": "https://iwb.cocorobo.cn/"
  7583. })
  7584. _box.appendChild(_iframe);
  7585. _box.appendChild(_jie);
  7586. _formdiv = new U.UF.UI.form(
  7587. "电子白板",
  7588. _box, {
  7589. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7590. "style": {
  7591. "width": "90%",
  7592. "height": "90%",
  7593. "overflow": 'hidden'
  7594. },
  7595. "onresize": function () { }
  7596. }, {
  7597. closecallback: function () { }
  7598. }, {
  7599. "style": {
  7600. "height": "36px"
  7601. }
  7602. }).form; //创建窗体
  7603. _taskbar = {
  7604. "id": str + _formdiv.id,
  7605. "style": {
  7606. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7607. },
  7608. "name": "电子白板",
  7609. "forms": _formdiv,
  7610. "click": function () {
  7611. U.MD.D.I.openApplication(str, obj, info);
  7612. }
  7613. }
  7614. break;
  7615. case "mind":
  7616. aTool = 3;
  7617. _iframe = $$("iframe", {
  7618. "frameborder": "no",
  7619. "border": "0",
  7620. "scrolling ": "no",
  7621. "style": {
  7622. "cssText": "border:0;width:100%;height:100%"
  7623. },
  7624. "src": "/kityminder-editor/dist/index.html"
  7625. });
  7626. _box.appendChild(_iframe);
  7627. _box.appendChild(_jie);
  7628. _formdiv = new U.UF.UI.form(
  7629. "思维导图",
  7630. _box, { //"/jsmind/example/demo.html"
  7631. "id": "minds_Yu" + cid + stage + task + tool,
  7632. "style": {
  7633. "width": "90%",
  7634. "height": "90%",
  7635. "overflow": 'hidden'
  7636. },
  7637. "onresize": function () { }
  7638. }, {
  7639. closecallback: function () { }
  7640. }, {
  7641. "style": {
  7642. "height": "36px"
  7643. }
  7644. }).form; //创建窗体
  7645. _taskbar = {
  7646. "id": str + _formdiv.id,
  7647. "style": {
  7648. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7649. },
  7650. "name": "思维导图",
  7651. "forms": _formdiv,
  7652. "click": function () {
  7653. U.MD.D.I.openApplication(str, obj, info);
  7654. }
  7655. }
  7656. break;
  7657. case "doc":
  7658. aTool = 6;
  7659. _iframe = $$("iframe", {
  7660. "frameborder": "no",
  7661. "border": "0",
  7662. "scrolling ": "no",
  7663. "style": {
  7664. "cssText": "border:0;width:100%;height:100%"
  7665. },
  7666. "src": "/Office/Word/WordEditArea.htm"
  7667. })
  7668. _box.appendChild(_iframe);
  7669. _box.appendChild(_jie);
  7670. _formdiv = new U.UF.UI.form(
  7671. "协同文档",
  7672. _box, {
  7673. "id": "docs_Yu" + cid + stage + task + tool,
  7674. "style": {
  7675. "width": "90%",
  7676. "height": "90%",
  7677. "overflow": 'hidden'
  7678. },
  7679. "onresize": function () { }
  7680. }, {
  7681. closecallback: function () { }
  7682. }, {
  7683. "style": {
  7684. "height": "36px"
  7685. }
  7686. }).form; //创建窗体
  7687. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7688. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7689. })
  7690. _taskbar = {
  7691. "id": str + _formdiv.id,
  7692. "style": {
  7693. "backgroundImage": "url(/img/icon/doc.png)"
  7694. },
  7695. "name": "协同文档",
  7696. "forms": _formdiv,
  7697. "click": function () {
  7698. U.MD.D.I.openApplication(str, obj, info);
  7699. }
  7700. }
  7701. break;
  7702. case "CocoPi":
  7703. aTool = 57;
  7704. _iframe = $$("iframe", {
  7705. "allowpaymentrequest": "allowpaymentrequest",
  7706. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7707. "webkitallowfullscreen": "",
  7708. "mozallowfullscreen": "",
  7709. "frameborder": "no",
  7710. "border": "0",
  7711. "scrolling ": "no",
  7712. "style": {
  7713. "cssText": "border:0;width:100%;height:100%"
  7714. },
  7715. "src": "https://pi.cocorobo.cn/"
  7716. })
  7717. _box.appendChild(_iframe);
  7718. _box.appendChild(_jie);
  7719. _formdiv = new U.UF.UI.form(
  7720. "CocoPi",
  7721. _box, {
  7722. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7723. "style": {
  7724. "width": "90%",
  7725. "height": "90%",
  7726. "overflow": 'hidden'
  7727. },
  7728. "onresize": function () { }
  7729. }, {
  7730. closecallback: function () { }
  7731. }, {
  7732. "style": {
  7733. "height": "36px"
  7734. }
  7735. }).form; //创建窗体
  7736. _taskbar = {
  7737. "id": str + _formdiv.id,
  7738. "style": {
  7739. "backgroundImage": "url(/img/icon/cocopi.png)"
  7740. },
  7741. "name": "CocoPi",
  7742. "forms": _formdiv,
  7743. "click": function () {
  7744. U.MD.D.I.openApplication(str, obj, info);
  7745. }
  7746. }
  7747. break;
  7748. }
  7749. if (_iframe) {
  7750. if (str == 'doc') {
  7751. _iframe = _formdiv.querySelector('iframe')
  7752. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7753. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7754. })
  7755. if (onloadListener) {
  7756. _iframe.contentDocument.location.reload()
  7757. } else {
  7758. _iframe.contentDocument.location.reload()
  7759. }
  7760. } else if (str == 'mind') {
  7761. _iframe = _formdiv.querySelector('iframe')
  7762. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7763. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7764. })
  7765. if (onloadListener) {
  7766. _iframe.contentDocument.location.reload()
  7767. } else {
  7768. _iframe.contentDocument.location.reload()
  7769. }
  7770. } else if (str == 'whiteboard') {
  7771. _iframe = _formdiv.querySelector('iframe')
  7772. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7773. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7774. })
  7775. if (onloadListener) {
  7776. _iframe.contentDocument.location.reload()
  7777. } else {
  7778. _iframe.contentDocument.location.reload()
  7779. }
  7780. } else if (str == 'CocoPi') {
  7781. _iframe = _formdiv.querySelector('iframe')
  7782. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7783. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7784. })
  7785. if (onloadListener) {
  7786. _iframe.contentDocument.location.reload()
  7787. } else {
  7788. _iframe.contentDocument.location.reload()
  7789. }
  7790. } else {
  7791. _iframe.onload = () => { };
  7792. }
  7793. _jie.onclick = async () => {
  7794. let text = ''
  7795. let type = '2'
  7796. if (aTool == 1) {
  7797. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7798. type = '3'
  7799. } else if (aTool == 6) {
  7800. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7801. type = '1'
  7802. } else if (aTool == 3) {
  7803. text = await U.MD.D.I.getEditorContent(_iframe);
  7804. type = '2'
  7805. } else if (aTool == 57) {
  7806. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7807. type = '4'
  7808. }
  7809. _loading.style.display = 'flex'
  7810. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7811. }
  7812. }
  7813. //U.MD.D.I.openClick(str);
  7814. //如果有任务栏信息
  7815. // if (_taskbar) {
  7816. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7817. // }
  7818. }
  7819. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7820. var xmlhttp;
  7821. var Mac, Sn, DeviceId
  7822. if (window.XMLHttpRequest) {
  7823. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7824. xmlhttp = new XMLHttpRequest();
  7825. } else {
  7826. // IE6, IE5 浏览器执行代码
  7827. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7828. }
  7829. xmlhttp.onreadystatechange = function () {
  7830. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7831. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7832. // resolve(res.value[0][0].text);
  7833. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7834. }
  7835. }
  7836. }
  7837. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7838. xmlhttp.send();
  7839. }
  7840. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7841. var xmlhttp;
  7842. var Mac, Sn, DeviceId
  7843. if (window.XMLHttpRequest) {
  7844. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7845. xmlhttp = new XMLHttpRequest();
  7846. } else {
  7847. // IE6, IE5 浏览器执行代码
  7848. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7849. }
  7850. xmlhttp.onreadystatechange = function () {
  7851. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7852. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7853. // resolve(res.value[0][0].text);
  7854. if (type == '2') {
  7855. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7856. } else if (type == '3') {
  7857. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7858. } else if (type == '4') {
  7859. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7860. }
  7861. } else {
  7862. if (type == '2') {
  7863. iframe.contentWindow.editor.minder.importData('json', '')
  7864. } else if (type == '3') {
  7865. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7866. } else if (type == '4') {
  7867. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7868. }
  7869. }
  7870. }
  7871. }
  7872. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7873. xmlhttp.send();
  7874. }
  7875. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7876. var xmlhttp;
  7877. var Mac, Sn, DeviceId
  7878. if (window.XMLHttpRequest) {
  7879. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7880. xmlhttp = new XMLHttpRequest();
  7881. } else {
  7882. // IE6, IE5 浏览器执行代码
  7883. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7884. }
  7885. xmlhttp.onreadystatechange = function () {
  7886. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7887. if (xmlhttp.response) {
  7888. // resolve(res.value[0][0].text);
  7889. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7890. // $(fileInput).val('');
  7891. // });
  7892. span.innerHTML = '上传成功'
  7893. setTimeout(() => {
  7894. loading.style.display = 'none'
  7895. }, 1000);
  7896. }
  7897. }
  7898. }
  7899. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7900. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7901. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7902. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7903. // 设置请求头,表示请求体的编码格式
  7904. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7905. // 设置请求体,使用url-encoded格式的数据
  7906. }
  7907. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7908. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7909. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7910. _userinfo = US.userInfo, //登录用户信息
  7911. _userid = US.userInfo.userid //登录用户id
  7912. let _iframe;
  7913. let _cid = cid,
  7914. _stage = stage,
  7915. _task = task,
  7916. _tool = tool;
  7917. var _jie = $$("div", {
  7918. "style": {
  7919. "position": "absolute",
  7920. "bottom": "50px",
  7921. "right": "50px",
  7922. "zIndex": "9999",
  7923. "backgroundColor": "#2268bc",
  7924. "color": "#fff",
  7925. "padding": "12px 20px",
  7926. "cursor": "pointer",
  7927. "borderRadius": "4px",
  7928. },
  7929. "innerHTML": "提交作业"
  7930. })
  7931. let aTool = ''
  7932. let _loading = document.createElement('div')
  7933. _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;"
  7934. // _loading.id = "";
  7935. let _lchild = document.createElement('div')
  7936. let _limg = document.createElement('img')
  7937. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7938. _limg.style = "width: 26px;margin-right: 10px;"
  7939. _lchild.appendChild(_limg)
  7940. let _lspan = document.createElement('span')
  7941. _lspan.innerHTML = "上传中..."
  7942. _lchild.appendChild(_lspan)
  7943. _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%);"
  7944. _loading.appendChild(_lchild)
  7945. var _box = $$('div', {
  7946. "style": {
  7947. "position": "relative",
  7948. "width": "100%",
  7949. "height": "100%",
  7950. },
  7951. })
  7952. _box.appendChild(_loading)
  7953. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7954. switch (str) {
  7955. case "CocoPi":
  7956. aTool = 57;
  7957. _iframe = $$("iframe", {
  7958. "allowpaymentrequest": "allowpaymentrequest",
  7959. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7960. "webkitallowfullscreen": "",
  7961. "mozallowfullscreen": "",
  7962. "frameborder": "no",
  7963. "border": "0",
  7964. "scrolling ": "no",
  7965. "style": {
  7966. "cssText": "border:0;width:100%;height:100%"
  7967. },
  7968. "src": "https://pi.cocorobo.cn/"
  7969. })
  7970. _box.appendChild(_iframe);
  7971. _box.appendChild(_jie);
  7972. _formdiv = new U.UF.UI.form(
  7973. "CocoPi",
  7974. _box, {
  7975. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7976. "style": {
  7977. "width": "90%",
  7978. "height": "90%",
  7979. "overflow": 'hidden'
  7980. },
  7981. "onresize": function () { }
  7982. }, {
  7983. closecallback: function () { }
  7984. }, {
  7985. "style": {
  7986. "height": "36px"
  7987. }
  7988. }).form; //创建窗体
  7989. _taskbar = {
  7990. "id": str + _formdiv.id,
  7991. "style": {
  7992. "backgroundImage": "url(/img/icon/cocopi.png)"
  7993. },
  7994. "name": "CocoPi",
  7995. "forms": _formdiv,
  7996. "click": function () {
  7997. U.MD.D.I.openApplication(str, obj, info);
  7998. }
  7999. }
  8000. break;
  8001. }
  8002. if (_iframe) {
  8003. if (str == 'CocoPi') {
  8004. _iframe = _formdiv.querySelector('iframe')
  8005. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8006. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8007. })
  8008. if (onloadListener) {
  8009. _iframe.contentDocument.location.reload()
  8010. } else {
  8011. _iframe.contentDocument.location.reload()
  8012. }
  8013. }
  8014. _jie.onclick = async () => {
  8015. let text = ''
  8016. if (aTool == 57) {
  8017. text = _iframe.contentWindow.getLoadXmlStr()
  8018. }
  8019. _loading.style.display = 'flex'
  8020. console.log(_loading);
  8021. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8022. _loading.style.display = 'none'
  8023. let _div = document.createElement('div')
  8024. _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;"
  8025. let _inner = document.createElement('div')
  8026. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8027. _inner.innerHTML = "上传成功"
  8028. _div.appendChild(_inner)
  8029. _iframe.contentWindow.window.document.body.appendChild(_div)
  8030. _div.onclick = () => {
  8031. _iframe.contentWindow.window.document.body.removeChild(_div)
  8032. }
  8033. setTimeout(() => {
  8034. _iframe.contentWindow.window.document.body.removeChild(_div)
  8035. }, 1000);
  8036. }, [], { "type": "POST", "withCredentials": true });
  8037. }
  8038. }
  8039. }
  8040. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  8041. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8042. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8043. _userid = student.userid, //登录用户id
  8044. _username = student.student //用户名字
  8045. let _iframe;
  8046. let _cid = cid,
  8047. _stage = stage,
  8048. _task = task,
  8049. _tool = tool;
  8050. var _jie = $$("div", {
  8051. "style": {
  8052. "position": "absolute",
  8053. "bottom": "50px",
  8054. "right": "50px",
  8055. "zIndex": "9999",
  8056. "backgroundColor": "#2268bc",
  8057. "color": "#fff",
  8058. "padding": "12px 20px",
  8059. "cursor": "pointer",
  8060. "borderRadius": "4px",
  8061. },
  8062. "innerHTML": "提交作业"
  8063. })
  8064. let aTool = ''
  8065. let _loading = document.createElement('div')
  8066. _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;"
  8067. // _loading.id = "";
  8068. let _lchild = document.createElement('div')
  8069. let _limg = document.createElement('img')
  8070. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8071. _limg.style = "width: 26px;margin-right: 10px;"
  8072. _lchild.appendChild(_limg)
  8073. let _lspan = document.createElement('span')
  8074. _lspan.innerHTML = "上传中..."
  8075. _lchild.appendChild(_lspan)
  8076. _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%);"
  8077. _loading.appendChild(_lchild)
  8078. var _box = $$('div', {
  8079. "style": {
  8080. "position": "relative",
  8081. "width": "100%",
  8082. "height": "100%",
  8083. },
  8084. })
  8085. _box.appendChild(_loading)
  8086. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  8087. switch (str) {
  8088. case "CocoPi":
  8089. aTool = 57;
  8090. _iframe = $$("iframe", {
  8091. "allowpaymentrequest": "allowpaymentrequest",
  8092. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8093. "webkitallowfullscreen": "",
  8094. "mozallowfullscreen": "",
  8095. "frameborder": "no",
  8096. "border": "0",
  8097. "scrolling ": "no",
  8098. "style": {
  8099. "cssText": "border:0;width:100%;height:100%"
  8100. },
  8101. "src": "https://pi.cocorobo.cn/"
  8102. })
  8103. _box.appendChild(_iframe);
  8104. _box.appendChild(_jie);
  8105. _formdiv = new U.UF.UI.form(
  8106. "CocoPi-" + _username,
  8107. _box, {
  8108. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  8109. "style": {
  8110. "width": "90%",
  8111. "height": "90%",
  8112. "overflow": 'hidden'
  8113. },
  8114. "onresize": function () { }
  8115. }, {
  8116. closecallback: function () { }
  8117. }, {
  8118. "style": {
  8119. "height": "36px"
  8120. }
  8121. }).form; //创建窗体
  8122. _taskbar = {
  8123. "id": str + _formdiv.id,
  8124. "style": {
  8125. "backgroundImage": "url(/img/icon/cocopi.png)"
  8126. },
  8127. "name": "CocoPi",
  8128. "forms": _formdiv,
  8129. "click": function () {
  8130. U.MD.D.I.openApplication(str, obj, info);
  8131. }
  8132. }
  8133. break;
  8134. }
  8135. if (_iframe) {
  8136. if (str == 'CocoPi') {
  8137. _iframe = _formdiv.querySelector('iframe')
  8138. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8139. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8140. })
  8141. if (onloadListener) {
  8142. _iframe.contentDocument.location.reload()
  8143. } else {
  8144. _iframe.contentDocument.location.reload()
  8145. }
  8146. }
  8147. _jie.onclick = async () => {
  8148. let text = ''
  8149. if (aTool == 57) {
  8150. text = _iframe.contentWindow.getLoadXmlStr()
  8151. }
  8152. _loading.style.display = 'flex'
  8153. console.log(_loading);
  8154. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8155. _loading.style.display = 'none'
  8156. let _div = document.createElement('div')
  8157. _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;"
  8158. let _inner = document.createElement('div')
  8159. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8160. _inner.innerHTML = "上传成功"
  8161. _div.appendChild(_inner)
  8162. _iframe.contentWindow.window.document.body.appendChild(_div)
  8163. _div.onclick = () => {
  8164. _iframe.contentWindow.window.document.body.removeChild(_div)
  8165. }
  8166. setTimeout(() => {
  8167. _iframe.contentWindow.window.document.body.removeChild(_div)
  8168. }, 1000);
  8169. }, [], { "type": "POST", "withCredentials": true });
  8170. }
  8171. }
  8172. }
  8173. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  8174. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  8175. if (res.value[0].length > 0) {
  8176. if (atool == 57) {
  8177. iframe.contentWindow.loadingXml(res.value[0][0].content)
  8178. }
  8179. } else {
  8180. if (atool == 57) {
  8181. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  8182. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8183. }
  8184. }
  8185. }, [], { "type": "POST", "withCredentials": true });
  8186. }