DeskTop.js 496 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  51. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  52. ];
  53. //极简模式
  54. U.MD.D.I.easyDeskIcon = [
  55. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  57. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  58. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  59. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  60. ];
  61. //教师桌面图标的全局变量
  62. U.MD.D.I.teacherDeskIcon2 = [
  63. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  64. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  65. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  66. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  67. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  68. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  69. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  70. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  71. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  72. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  73. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  74. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  75. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  76. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  77. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  78. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  79. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  80. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  81. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  82. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  83. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  84. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  85. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  86. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  87. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  88. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  89. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  90. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  91. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  92. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  93. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  94. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  95. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  96. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  97. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  98. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  99. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  100. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  101. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  102. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  103. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  104. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  105. ];
  106. U.MD.D.I.studentDeskIcon = [
  107. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  108. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  109. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  110. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  111. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  112. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  113. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  114. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  115. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  116. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  117. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  118. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  119. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  120. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  121. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  122. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  123. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  124. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  125. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  126. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  127. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  128. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  129. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  130. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  131. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  132. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  133. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  134. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  135. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  136. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  137. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  138. ];
  139. U.MD.D.I.studentDeskIcon2 = [
  140. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  141. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  142. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  143. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  144. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  145. ]
  146. U.MD.D.I.studentDeskIcon3 = [
  147. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  148. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  149. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  150. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  151. ]
  152. U.MD.D.I.schoolDeskIcon = [
  153. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  154. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  155. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  156. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  157. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  158. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  159. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  160. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  161. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  162. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  163. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  164. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  165. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  166. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  167. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  168. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  169. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  170. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  171. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  172. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  173. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  174. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  175. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  176. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  177. ];
  178. U.MD.D.I.orgDeskIcon = [
  179. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  180. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  181. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  182. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  183. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  184. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  185. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  186. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  187. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  188. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  189. ];
  190. U.MD.D.I.orgStemDeskIcon = [
  191. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  192. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  193. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  194. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  195. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  196. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  197. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  198. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  199. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  200. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  201. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  202. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  203. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  204. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  205. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  206. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  207. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  208. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  209. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  210. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  211. ];
  212. U.MD.D.I.szulsDeskIcon = [
  213. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  214. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  215. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  216. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  217. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  218. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  219. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  220. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  221. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  222. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  223. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  224. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  225. ];
  226. U.MD.D.I.hanDeskIcon = [
  227. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  228. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  229. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  230. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  231. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  232. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  233. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  234. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  235. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  236. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  237. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  238. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  239. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  240. ];
  241. U.MD.D.I.GMteacherDeskIcon = [
  242. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  243. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  244. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  245. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  246. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  247. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  248. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  249. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  250. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  251. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  252. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  253. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  254. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  255. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  256. ];
  257. U.MD.D.I.GMstudentDeskIcon = [
  258. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  259. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  260. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  261. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  262. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  263. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  264. ];
  265. //北师大
  266. U.MD.D.I.BSDNSteacherDeskIcon = [
  267. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  268. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  269. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  270. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  271. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  272. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  273. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  274. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  275. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  276. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  277. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  278. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  279. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  280. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  281. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  282. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  283. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  284. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  285. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  286. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  287. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  288. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  289. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  290. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  291. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  292. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  293. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  294. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  295. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  296. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  297. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  298. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  299. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  300. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  301. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  302. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  303. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  304. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  305. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  306. ];
  307. //松山湖
  308. U.MD.D.I.SONGteacherDeskIcon = [
  309. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  310. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  311. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  312. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  313. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  314. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  315. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  316. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  317. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  318. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  319. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  320. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  321. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  322. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  323. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  324. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  325. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  326. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  327. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  328. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  329. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  330. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  331. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  332. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  333. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  334. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  335. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  336. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  337. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  338. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  339. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  340. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  341. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  342. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  343. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  344. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  345. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  346. ];
  347. U.MD.D.I.tcStudentDeskIcon = [
  348. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  349. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  350. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  351. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  352. ];
  353. U.MD.D.I.tcTeacherDeskIcon = [
  354. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  355. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  356. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  357. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  358. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  359. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  360. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  361. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  362. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  363. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  364. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  365. ];
  366. U.MD.D.I.tcOrganizerDeskIcon = [
  367. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  368. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  369. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  370. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  371. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  372. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  373. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  374. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  375. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  376. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  377. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  378. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  379. ];
  380. U.MD.D.I.szscStudentDeskIcon = [
  381. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  382. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  383. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  384. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  385. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  386. ];
  387. U.MD.D.I.szscTeacherDeskIcon = [
  388. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  389. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  390. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  391. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  392. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  393. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  394. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  395. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  396. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  397. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  398. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  399. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  400. ];
  401. U.MD.D.I.szscOrganizerDeskIcon = [
  402. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  403. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  404. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  405. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  406. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  407. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  408. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  409. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  410. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  411. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  412. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  413. ];
  414. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  415. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  416. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  417. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  418. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  419. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  420. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  421. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  422. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  423. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  424. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  425. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  426. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  427. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  428. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  429. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  430. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  431. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  432. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  433. ];
  434. U.MD.D.I.wankeAdminDeskIcon = [
  435. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  436. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  437. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  438. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  439. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  440. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  441. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  442. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  443. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  444. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  445. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  446. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  447. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  448. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  449. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  450. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  451. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  452. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  453. ];
  454. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  455. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  456. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  457. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  458. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  459. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  460. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  461. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  462. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  463. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  464. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  465. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  466. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  467. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  468. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  469. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  470. ];
  471. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  472. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  473. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  474. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  475. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  476. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  477. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  478. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  479. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  480. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  481. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  482. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  483. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  484. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  485. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  486. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  487. ];
  488. //明德教师桌面图标的全局变量
  489. U.MD.D.I.MingdeTeacherDeskIcon = [
  490. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  491. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  492. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  493. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  494. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  495. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  496. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  497. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  498. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  499. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  500. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  501. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  502. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  503. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  504. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  505. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  506. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  507. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  508. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  509. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  510. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  511. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  512. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  513. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  514. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  515. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  516. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  517. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  518. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  519. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  520. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  521. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  522. ];
  523. //97c4ee8b-d010-4042-986d-e9d3c217264f
  524. //教师桌面图标的全局变量
  525. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  526. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  527. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  528. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  529. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  530. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  531. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  532. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  533. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  534. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  535. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  536. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  537. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  538. ];
  539. //福田
  540. U.MD.D.I.futianTeacherDeskIcon = [
  541. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  542. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  543. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  544. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  545. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  546. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  547. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  548. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  549. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  550. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  551. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  552. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  553. ];
  554. //福田
  555. U.MD.D.I.futianAdminDeskIcon = [
  556. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  557. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  558. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  559. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  560. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  561. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  562. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  563. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  564. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  565. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  566. ];
  567. //lotech
  568. U.MD.D.I.lotechTeacherDeskIcon = [
  569. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  570. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  571. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  572. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  573. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  574. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  575. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  576. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  577. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  578. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  579. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  580. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  581. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  582. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  583. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  584. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  585. ];
  586. //龙华中心小学教师桌面图标的全局变量
  587. U.MD.D.I.longhuateacherDeskIcon = [
  588. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  589. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  590. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  591. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  592. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  593. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  594. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  595. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  596. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  597. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  598. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  599. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  600. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  601. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  602. ];
  603. //教科院实小教师桌面图标的全局变量
  604. U.MD.D.I.siesteacherDeskIcon = [
  605. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  606. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  607. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  608. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  609. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  610. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  611. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  612. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  613. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  614. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  615. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  616. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  617. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  618. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  619. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  620. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  621. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  622. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  623. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  624. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  625. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  626. { "Name": "评测看板", "Url": "dataBoardTest", "style": { "cssText": "background-image:url(/img/icon/databoardTest.png)" } },
  627. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  628. { "Name": "教师管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  629. { "Name": "教师中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  630. ];
  631. //教科院实小教师桌面图标的全局变量
  632. U.MD.D.I.siesStudentDeskIcon = [
  633. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  634. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  635. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  636. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  637. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  638. ];
  639. //福田
  640. U.MD.D.I.gdjgTeacherDeskIcon = [
  641. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  642. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  643. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  644. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  645. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  646. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  647. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  648. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  649. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  650. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  651. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  652. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  653. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  654. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  655. ];
  656. //gdjg
  657. U.MD.D.I.gdjgAdminDeskIcon = [
  658. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  659. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  660. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  661. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  662. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  663. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  664. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  665. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  666. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  667. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  668. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  669. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  670. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  671. ];
  672. //hk
  673. U.MD.D.I.hkteacherDeskIcon = [
  674. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  675. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  676. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  677. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  678. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  679. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  680. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  681. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  682. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  683. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  684. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  685. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  686. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  687. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  688. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  689. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  690. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  691. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  692. ];
  693. //hk
  694. U.MD.D.I.hkStudentDeskIcon = [
  695. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  696. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  697. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  698. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  699. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  700. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  701. ];
  702. //hk
  703. U.MD.D.I.hkaceteacherDeskIcon = [
  704. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  705. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  706. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  707. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  708. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  709. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  710. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  711. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  712. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  713. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  714. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  715. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  716. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  717. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  718. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  719. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  720. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  721. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  722. ];
  723. //hk
  724. U.MD.D.I.hkaceStudentDeskIcon = [
  725. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  726. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  727. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  728. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  729. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  730. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  731. ];
  732. //香海正覺蓮社佛教正覺中學
  733. U.MD.D.I.hkZJLSteacherDeskIcon = [
  734. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  735. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  736. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  737. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  738. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  739. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  740. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  741. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  742. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  743. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  744. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  745. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  746. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  747. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  748. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  749. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  750. ];
  751. //香海正覺蓮社佛教正覺中學
  752. U.MD.D.I.hkZJLSStudentDeskIcon = [
  753. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  754. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  755. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  756. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  757. ];
  758. //云海
  759. U.MD.D.I.yunhaiTeacherDeskIcon = [
  760. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  761. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  762. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  763. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  764. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  765. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  766. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  767. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  768. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  769. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  770. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  771. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  772. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  773. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  774. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  775. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  776. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  777. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  778. ];
  779. //福田
  780. U.MD.D.I.heyuanTeacherDeskIcon = [
  781. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  782. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  783. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  784. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  785. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  786. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  787. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  788. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  789. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  790. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  791. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  792. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  793. ];
  794. //福田
  795. U.MD.D.I.heyuanAdminDeskIcon = [
  796. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  797. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  798. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  799. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  800. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  801. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  802. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  803. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  804. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  805. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  806. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  807. ];
  808. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  809. U.MD.D.I.szherTeacherDeskIcon = [
  810. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  811. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  812. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  813. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  814. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  815. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  816. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  817. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  818. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  819. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  820. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  821. ];
  822. //dsei
  823. U.MD.D.I.dseiTeacherDeskIcon = [
  824. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  825. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  826. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  827. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  828. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  829. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  830. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  831. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  832. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  833. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  834. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  835. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  836. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  837. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  838. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  839. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  840. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  841. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  842. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  843. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  844. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  845. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  846. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  847. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  848. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  849. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  850. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  851. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  852. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  853. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  854. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  855. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  856. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  857. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  858. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  859. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  860. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  861. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  862. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  863. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  864. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  865. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  866. ];
  867. //dsei
  868. U.MD.D.I.dseiAdminDeskIcon = [
  869. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  870. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  871. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  872. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  873. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  874. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  875. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  876. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  877. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  878. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  879. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  880. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  881. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  882. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  883. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  884. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  885. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  886. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  887. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  888. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  889. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  890. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  891. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  892. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  893. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  894. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  895. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  896. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  897. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  898. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  899. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  900. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  901. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  902. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  903. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  904. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  905. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  906. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  907. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  908. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  909. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  910. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  911. ];
  912. //dsei
  913. U.MD.D.I.dseiStudentDeskIcon = [
  914. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  915. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  916. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  917. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  918. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  919. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  920. ];
  921. //未来教育基地
  922. U.MD.D.I.szjkyTeacherDeskIcon = [
  923. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  924. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  925. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  926. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  927. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  928. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  929. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  930. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  931. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  932. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  933. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  934. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  935. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  936. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  937. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  938. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  939. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  940. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  941. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  942. ];
  943. //未来教育基地
  944. U.MD.D.I.szjkyAdminDeskIcon = [
  945. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  946. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  947. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  948. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  949. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  950. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  951. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  952. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  953. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  954. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  955. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  956. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  957. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  958. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  959. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  960. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  961. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  962. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  963. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  964. ];
  965. //未来教育基地
  966. U.MD.D.I.szjkyStudentDeskIcon = [
  967. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  968. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  969. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  970. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  971. ];
  972. //成华教育局
  973. U.MD.D.I.chjyjTeacherDeskIcon = [
  974. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  975. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  976. { "Name": "项目管理", "Url": "studentCourseS", "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": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  979. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  980. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  981. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  982. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  983. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  984. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  985. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  986. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  987. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  988. ];
  989. //成华教育局chjyj
  990. U.MD.D.I.chjyjAdminDeskIcon = [
  991. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  992. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  993. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  994. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  995. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  996. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  997. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  998. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  999. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1000. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1001. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1002. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1003. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1004. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1005. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1006. ];
  1007. //成华教育局chjyj
  1008. U.MD.D.I.chjyjStudentDeskIcon = [
  1009. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1010. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1011. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1012. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1013. ];
  1014. //tpc
  1015. U.MD.D.I.tpcStudentDeskIcon = [
  1016. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1017. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1018. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1019. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1020. ];
  1021. //tpc
  1022. U.MD.D.I.tpcTeacherDeskIcon = [
  1023. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1024. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1025. { "Name": "项目管理", "Url": "studentCourseS", "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. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1029. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1030. ];
  1031. //tpc
  1032. U.MD.D.I.tpcAdminDeskIcon = [
  1033. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1034. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1035. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1036. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1037. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1038. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1039. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1040. ];
  1041. //THU-IOE
  1042. U.MD.D.I.thuioeTeacherDeskIcon = [
  1043. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1044. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1045. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1046. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1047. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1048. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1049. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1050. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1051. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1052. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1053. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1054. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1055. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1056. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1057. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1058. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1059. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1060. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1061. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1062. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1063. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1064. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1065. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1066. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1067. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1068. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1069. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1070. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1071. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1072. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1073. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1074. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1075. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1076. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1077. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1078. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1079. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1080. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1081. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1082. ];
  1083. //THU-IOE
  1084. U.MD.D.I.thuioeStudentDeskIcon = [
  1085. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1086. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1087. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1088. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1089. ];
  1090. //jccssyl
  1091. U.MD.D.I.jccssylTeacherDeskIcon = [
  1092. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1093. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1094. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1095. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1096. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1097. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1098. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1099. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1100. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1101. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1102. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1103. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1104. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1105. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1106. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1107. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1108. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1109. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1110. ];
  1111. //jccssyl
  1112. U.MD.D.I.jccssylStudentDeskIcon = [
  1113. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1114. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1115. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1116. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1117. ];
  1118. //#region 桌面初始化a
  1119. /**
  1120. * 初始化桌面的起始函数
  1121. *
  1122. */
  1123. U.MD.D.I.init = function () {
  1124. if ($("#U_MD_D_K")[0]) {
  1125. //初始化桌面图标
  1126. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1127. // var clickUrl = ':12588/requestIp.php';
  1128. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1129. // U.MD.D.I.Ip = data;
  1130. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1131. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1132. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1133. // })
  1134. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1135. // })
  1136. }
  1137. }
  1138. /**
  1139. * 模式切换
  1140. *
  1141. */
  1142. U.MD.D.I.ModeCheck = function (type) {
  1143. if (US.Config.type == type) {
  1144. return
  1145. }
  1146. US.Config.type = type
  1147. $('.U_PBL_Check .active')[0].className = ''
  1148. if (type == 1) {
  1149. $('.U_PBL_Check div')[0].className = 'active'
  1150. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1151. } else {
  1152. $('.U_PBL_Check div')[1].className = 'active'
  1153. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1154. }
  1155. //初始化桌面图标
  1156. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1157. if (type == 2) {
  1158. U.MD.D.I.openApplication("project")
  1159. }
  1160. }
  1161. /**
  1162. * 隐藏任务栏
  1163. *
  1164. * @param {element} 桌面元素
  1165. */
  1166. U.MD.D.I.hiddenTaskbar = function (el) {
  1167. //任务栏位置变小
  1168. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1169. //桌面的位置变大
  1170. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1171. }
  1172. /**
  1173. * 隐藏任务栏
  1174. *
  1175. * @param {element} 桌面元素
  1176. */
  1177. U.MD.D.I.hiddenTaskbarout = function (el) {
  1178. //任务栏位置变小
  1179. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1180. //任务栏位置变化
  1181. U.selectEl(el).css({ "bottom": "-60px" });
  1182. //桌面的位置变大
  1183. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1184. }
  1185. }
  1186. /**
  1187. * 初始化打印桌面图标
  1188. *
  1189. * @param {element} 桌面元素
  1190. */
  1191. U.MD.D.I.initDesktopIcons = function (el, type) {
  1192. var i, //用于循环
  1193. _content, //桌面图标元素
  1194. _iconcontent, //桌面图标元素
  1195. _frag = $$("frag"), //定义一个碎片元素
  1196. _type = US.userInfo.type,
  1197. _org = US.userInfo.org,
  1198. _oid = US.userInfo.organizeid,
  1199. _role = US.userInfo.role,
  1200. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1201. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1202. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1203. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1204. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1205. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1206. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1207. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1208. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1209. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1210. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1211. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1212. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1213. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1214. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1215. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1216. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1217. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1218. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1219. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1220. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1221. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1222. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1223. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1224. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1225. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1226. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1227. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1228. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1229. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1230. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1231. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1232. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1233. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1234. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1235. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1236. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1237. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1238. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1239. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1240. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1241. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1242. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1243. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1244. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1245. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1246. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1247. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1248. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1249. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1250. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1251. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1252. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1253. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1254. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1255. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1256. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1257. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1258. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1259. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1260. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1261. 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'];
  1262. 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'];
  1263. //清楚桌面图标
  1264. el.innerHTML = "";
  1265. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1266. _teacherDesktopIconInfo.push(
  1267. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1268. { "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)" } },
  1269. )
  1270. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1271. }
  1272. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1273. _teacherDesktopIconInfo.push(
  1274. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1275. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1276. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1277. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1278. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1279. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1280. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1281. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1282. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1283. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1284. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1285. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1286. )
  1287. }
  1288. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1289. // _teacherDesktopIconInfo.push(
  1290. // )
  1291. // }
  1292. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1293. _teacherDesktopIconInfo.push(
  1294. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1295. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1296. )
  1297. }
  1298. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1299. _teacherDesktopIconInfo.push(
  1300. )
  1301. }
  1302. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1303. _teacherDesktopIconInfo.push(
  1304. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1305. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1306. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1307. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1308. )
  1309. _studentDesktopIconInfo.push(
  1310. )
  1311. }
  1312. //麒麟二中 和 民新小学
  1313. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1314. _teacherDesktopIconInfo.push(
  1315. )
  1316. }
  1317. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1318. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1319. _teacherDesktopIconInfo.push(
  1320. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1321. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1322. )
  1323. }
  1324. //麒麟二中
  1325. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1326. _studentDesktopIconInfo.push(
  1327. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1328. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1329. )
  1330. }
  1331. //万科双语
  1332. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1333. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1334. if (el.Name == '项目管理') {
  1335. el.Name = 'PBL项目'
  1336. }
  1337. return el
  1338. })
  1339. _studentDesktopIconInfo3.push(
  1340. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1341. )
  1342. }
  1343. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1344. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1345. return el.Name != '魔盒识字' && el.Name != '24点'
  1346. })
  1347. }
  1348. 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) {
  1349. _studentDesktopIconInfo.push(
  1350. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1351. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1352. )
  1353. }
  1354. //循环创建桌面图标
  1355. if (type == 1) {
  1356. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1357. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1358. _content = $$("div", {
  1359. className: "U_MD_D_KO",
  1360. "onmousedown": U.UF.C.closure(function (obj) {
  1361. //防止拖动图标即打开了桌面应用
  1362. U.MD.D.click(this, obj);
  1363. }, [_studentDesktopIconInfo[i]]),
  1364. "onclick": U.UF.C.closure(function (obj) {
  1365. //防止拖动图标即打开了桌面应用
  1366. U.MD.D.click(this, obj);
  1367. }, [_studentDesktopIconInfo[i]])
  1368. }, _frag); //
  1369. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1370. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1371. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1372. }
  1373. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1374. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1375. _content = $$("div", {
  1376. className: "U_MD_D_KO",
  1377. "onmousedown": U.UF.C.closure(function (obj) {
  1378. //防止拖动图标即打开了桌面应用
  1379. U.MD.D.click(this, obj);
  1380. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1381. "onclick": U.UF.C.closure(function (obj) {
  1382. //防止拖动图标即打开了桌面应用
  1383. U.MD.D.click(this, obj);
  1384. }, [_hkZJLSStudentDeskIconInfo[i]])
  1385. }, _frag); //
  1386. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1387. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1388. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1389. } //
  1390. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1391. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1392. _content = $$("div", {
  1393. className: "U_MD_D_KO",
  1394. "onmousedown": U.UF.C.closure(function (obj) {
  1395. //防止拖动图标即打开了桌面应用
  1396. U.MD.D.click(this, obj);
  1397. }, [_jccssylStudentDeskIconInfo[i]]),
  1398. "onclick": U.UF.C.closure(function (obj) {
  1399. //防止拖动图标即打开了桌面应用
  1400. U.MD.D.click(this, obj);
  1401. }, [_jccssylStudentDeskIconInfo[i]])
  1402. }, _frag); //
  1403. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1404. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1405. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1406. }
  1407. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1408. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1409. _content = $$("div", {
  1410. className: "U_MD_D_KO",
  1411. "onmousedown": U.UF.C.closure(function (obj) {
  1412. //防止拖动图标即打开了桌面应用
  1413. U.MD.D.click(this, obj);
  1414. }, [_thuioeStudentDeskIconInfo[i]]),
  1415. "onclick": U.UF.C.closure(function (obj) {
  1416. //防止拖动图标即打开了桌面应用
  1417. U.MD.D.click(this, obj);
  1418. }, [_thuioeStudentDeskIconInfo[i]])
  1419. }, _frag); //
  1420. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1421. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1422. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1423. }
  1424. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1425. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1426. _content = $$("div", {
  1427. className: "U_MD_D_KO",
  1428. "onmousedown": U.UF.C.closure(function (obj) {
  1429. //防止拖动图标即打开了桌面应用
  1430. U.MD.D.click(this, obj);
  1431. }, [_tpcStudentDeskIconInfo[i]]),
  1432. "onclick": U.UF.C.closure(function (obj) {
  1433. //防止拖动图标即打开了桌面应用
  1434. U.MD.D.click(this, obj);
  1435. }, [_tpcStudentDeskIconInfo[i]])
  1436. }, _frag); //
  1437. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1438. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1439. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1440. } //
  1441. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1442. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1443. _content = $$("div", {
  1444. className: "U_MD_D_KO",
  1445. "onmousedown": U.UF.C.closure(function (obj) {
  1446. //防止拖动图标即打开了桌面应用
  1447. U.MD.D.click(this, obj);
  1448. }, [_chjyjStudentDeskIconInfo[i]]),
  1449. "onclick": U.UF.C.closure(function (obj) {
  1450. //防止拖动图标即打开了桌面应用
  1451. U.MD.D.click(this, obj);
  1452. }, [_chjyjStudentDeskIconInfo[i]])
  1453. }, _frag); //
  1454. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1455. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1456. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1457. }
  1458. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1459. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1460. _content = $$("div", {
  1461. className: "U_MD_D_KO",
  1462. "onmousedown": U.UF.C.closure(function (obj) {
  1463. //防止拖动图标即打开了桌面应用
  1464. U.MD.D.click(this, obj);
  1465. }, [_szjkyStudentDeskIconInfo[i]]),
  1466. "onclick": U.UF.C.closure(function (obj) {
  1467. //防止拖动图标即打开了桌面应用
  1468. U.MD.D.click(this, obj);
  1469. }, [_szjkyStudentDeskIconInfo[i]])
  1470. }, _frag); //
  1471. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1472. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1473. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1474. }
  1475. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1476. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1477. _content = $$("div", {
  1478. className: "U_MD_D_KO",
  1479. "onmousedown": U.UF.C.closure(function (obj) {
  1480. //防止拖动图标即打开了桌面应用
  1481. U.MD.D.click(this, obj);
  1482. }, [_dseiStudentDeskIconInfo[i]]),
  1483. "onclick": U.UF.C.closure(function (obj) {
  1484. //防止拖动图标即打开了桌面应用
  1485. U.MD.D.click(this, obj);
  1486. }, [_dseiStudentDeskIconInfo[i]])
  1487. }, _frag); //
  1488. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1489. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1490. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1491. }
  1492. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1493. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1494. _content = $$("div", {
  1495. className: "U_MD_D_KO",
  1496. "onmousedown": U.UF.C.closure(function (obj) {
  1497. //防止拖动图标即打开了桌面应用
  1498. U.MD.D.click(this, obj);
  1499. }, [_siesStudentDeskIconInfo[i]]),
  1500. "onclick": U.UF.C.closure(function (obj) {
  1501. //防止拖动图标即打开了桌面应用
  1502. U.MD.D.click(this, obj);
  1503. }, [_siesStudentDeskIconInfo[i]])
  1504. }, _frag); //
  1505. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1506. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1507. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1508. }
  1509. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1510. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1511. _content = $$("div", {
  1512. className: "U_MD_D_KO",
  1513. "onmousedown": U.UF.C.closure(function (obj) {
  1514. //防止拖动图标即打开了桌面应用
  1515. U.MD.D.click(this, obj);
  1516. }, [_hkStudentDeskIconInfo[i]]),
  1517. "onclick": U.UF.C.closure(function (obj) {
  1518. //防止拖动图标即打开了桌面应用
  1519. U.MD.D.click(this, obj);
  1520. }, [_hkStudentDeskIconInfo[i]])
  1521. }, _frag); //
  1522. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1523. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1524. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1525. }
  1526. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1527. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1528. _content = $$("div", {
  1529. className: "U_MD_D_KO",
  1530. "onmousedown": U.UF.C.closure(function (obj) {
  1531. //防止拖动图标即打开了桌面应用
  1532. U.MD.D.click(this, obj);
  1533. }, [_hkaceStudentDeskIconInfo[i]]),
  1534. "onclick": U.UF.C.closure(function (obj) {
  1535. //防止拖动图标即打开了桌面应用
  1536. U.MD.D.click(this, obj);
  1537. }, [_hkaceStudentDeskIconInfo[i]])
  1538. }, _frag); //
  1539. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1540. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1541. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1542. }
  1543. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1544. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1545. _content = $$("div", {
  1546. className: "U_MD_D_KO",
  1547. "onmousedown": U.UF.C.closure(function (obj) {
  1548. //防止拖动图标即打开了桌面应用
  1549. U.MD.D.click(this, obj);
  1550. }, [_studentDesktopIconInfo[i]]),
  1551. "onclick": U.UF.C.closure(function (obj) {
  1552. //防止拖动图标即打开了桌面应用
  1553. U.MD.D.click(this, obj);
  1554. }, [_studentDesktopIconInfo[i]])
  1555. }, _frag); //
  1556. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1557. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1558. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1559. }
  1560. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1561. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1562. _content = $$("div", {
  1563. className: "U_MD_D_KO",
  1564. "onmousedown": U.UF.C.closure(function (obj) {
  1565. //防止拖动图标即打开了桌面应用
  1566. U.MD.D.click(this, obj);
  1567. }, [_tcStudentDeskIconInfo[i]]),
  1568. "onclick": U.UF.C.closure(function (obj) {
  1569. //防止拖动图标即打开了桌面应用
  1570. U.MD.D.click(this, obj);
  1571. }, [_tcStudentDeskIconInfo[i]])
  1572. }, _frag); //
  1573. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1574. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1575. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1576. }
  1577. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1578. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1579. _content = $$("div", {
  1580. className: "U_MD_D_KO",
  1581. "onmousedown": U.UF.C.closure(function (obj) {
  1582. //防止拖动图标即打开了桌面应用
  1583. U.MD.D.click(this, obj);
  1584. }, [_szscStudentDeskIconInfo[i]]),
  1585. "onclick": U.UF.C.closure(function (obj) {
  1586. //防止拖动图标即打开了桌面应用
  1587. U.MD.D.click(this, obj);
  1588. }, [_szscStudentDeskIconInfo[i]])
  1589. }, _frag); //
  1590. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1591. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1592. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1593. }
  1594. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1595. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1596. _content = $$("div", {
  1597. className: "U_MD_D_KO",
  1598. "onmousedown": U.UF.C.closure(function (obj) {
  1599. //防止拖动图标即打开了桌面应用
  1600. U.MD.D.click(this, obj);
  1601. }, [_studentDesktopIconInfo3[i]]),
  1602. "onclick": U.UF.C.closure(function (obj) {
  1603. //防止拖动图标即打开了桌面应用
  1604. U.MD.D.click(this, obj);
  1605. }, [_studentDesktopIconInfo3[i]])
  1606. }, _frag); //
  1607. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1608. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1609. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1610. }
  1611. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1612. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1613. _content = $$("div", {
  1614. className: "U_MD_D_KO",
  1615. "onmousedown": U.UF.C.closure(function (obj) {
  1616. //防止拖动图标即打开了桌面应用
  1617. U.MD.D.click(this, obj);
  1618. }, [_studentDesktopIconInfo2[i]]),
  1619. "onclick": U.UF.C.closure(function (obj) {
  1620. //防止拖动图标即打开了桌面应用
  1621. U.MD.D.click(this, obj);
  1622. }, [_studentDesktopIconInfo2[i]])
  1623. }, _frag); //
  1624. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1625. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1626. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1627. }
  1628. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1629. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1630. _content = $$("div", {
  1631. className: "U_MD_D_KO",
  1632. "onmousedown": U.UF.C.closure(function (obj) {
  1633. //防止拖动图标即打开了桌面应用
  1634. U.MD.D.click(this, obj);
  1635. }, [_wanketeacherDesktopIconInfo[i]]),
  1636. "onclick": U.UF.C.closure(function (obj) {
  1637. //防止拖动图标即打开了桌面应用
  1638. U.MD.D.click(this, obj);
  1639. }, [_wanketeacherDesktopIconInfo[i]])
  1640. }, _frag); //
  1641. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1642. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1643. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1644. }
  1645. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1646. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1647. _content = $$("div", {
  1648. className: "U_MD_D_KO",
  1649. "onmousedown": U.UF.C.closure(function (obj) {
  1650. //防止拖动图标即打开了桌面应用
  1651. U.MD.D.click(this, obj);
  1652. }, [_wankeAdminDesktopIconInfo[i]]),
  1653. "onclick": U.UF.C.closure(function (obj) {
  1654. //防止拖动图标即打开了桌面应用
  1655. U.MD.D.click(this, obj);
  1656. }, [_wankeAdminDesktopIconInfo[i]])
  1657. }, _frag); //
  1658. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1659. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1660. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1661. }
  1662. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1663. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1664. _content = $$("div", {
  1665. className: "U_MD_D_KO",
  1666. "onmousedown": U.UF.C.closure(function (obj) {
  1667. //防止拖动图标即打开了桌面应用
  1668. U.MD.D.click(this, obj);
  1669. }, [_jccssylTeacherDeskIconInfo[i]]),
  1670. "onclick": U.UF.C.closure(function (obj) {
  1671. //防止拖动图标即打开了桌面应用
  1672. U.MD.D.click(this, obj);
  1673. }, [_jccssylTeacherDeskIconInfo[i]])
  1674. }, _frag); //
  1675. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1676. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1677. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1678. }
  1679. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1680. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1681. _content = $$("div", {
  1682. className: "U_MD_D_KO",
  1683. "onmousedown": U.UF.C.closure(function (obj) {
  1684. //防止拖动图标即打开了桌面应用
  1685. U.MD.D.click(this, obj);
  1686. }, [_tpcOrganizerDeskIconInfo[i]]),
  1687. "onclick": U.UF.C.closure(function (obj) {
  1688. //防止拖动图标即打开了桌面应用
  1689. U.MD.D.click(this, obj);
  1690. }, [_tpcOrganizerDeskIconInfo[i]])
  1691. }, _frag); //
  1692. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1693. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1694. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1695. }
  1696. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1697. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1698. _content = $$("div", {
  1699. className: "U_MD_D_KO",
  1700. "onmousedown": U.UF.C.closure(function (obj) {
  1701. //防止拖动图标即打开了桌面应用
  1702. U.MD.D.click(this, obj);
  1703. }, [_tpcTeacherDeskIconInfo[i]]),
  1704. "onclick": U.UF.C.closure(function (obj) {
  1705. //防止拖动图标即打开了桌面应用
  1706. U.MD.D.click(this, obj);
  1707. }, [_tpcTeacherDeskIconInfo[i]])
  1708. }, _frag); //
  1709. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1710. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1711. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1712. }
  1713. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1714. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1715. _content = $$("div", {
  1716. className: "U_MD_D_KO",
  1717. "onmousedown": U.UF.C.closure(function (obj) {
  1718. //防止拖动图标即打开了桌面应用
  1719. U.MD.D.click(this, obj);
  1720. }, [_teacherDesktopIconInfo2[i]]),
  1721. "onclick": U.UF.C.closure(function (obj) {
  1722. //防止拖动图标即打开了桌面应用
  1723. U.MD.D.click(this, obj);
  1724. }, [_teacherDesktopIconInfo2[i]])
  1725. }, _frag); //
  1726. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1727. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1728. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1729. }
  1730. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1731. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1732. _content = $$("div", {
  1733. className: "U_MD_D_KO",
  1734. "onmousedown": U.UF.C.closure(function (obj) {
  1735. //防止拖动图标即打开了桌面应用
  1736. U.MD.D.click(this, obj);
  1737. }, [_thuioeTeacherDeskIconInfo[i]]),
  1738. "onclick": U.UF.C.closure(function (obj) {
  1739. //防止拖动图标即打开了桌面应用
  1740. U.MD.D.click(this, obj);
  1741. }, [_thuioeTeacherDeskIconInfo[i]])
  1742. }, _frag); //
  1743. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1744. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1745. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1746. }
  1747. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1748. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1749. _content = $$("div", {
  1750. className: "U_MD_D_KO",
  1751. "onmousedown": U.UF.C.closure(function (obj) {
  1752. //防止拖动图标即打开了桌面应用
  1753. U.MD.D.click(this, obj);
  1754. }, [_lotechTeacherDeskIconInfo[i]]),
  1755. "onclick": U.UF.C.closure(function (obj) {
  1756. //防止拖动图标即打开了桌面应用
  1757. U.MD.D.click(this, obj);
  1758. }, [_lotechTeacherDeskIconInfo[i]])
  1759. }, _frag); //
  1760. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1761. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1762. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1763. }//
  1764. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1765. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1766. _content = $$("div", {
  1767. className: "U_MD_D_KO",
  1768. "onmousedown": U.UF.C.closure(function (obj) {
  1769. //防止拖动图标即打开了桌面应用
  1770. U.MD.D.click(this, obj);
  1771. }, [_siesTeacherDeskIconInfo[i]]),
  1772. "onclick": U.UF.C.closure(function (obj) {
  1773. //防止拖动图标即打开了桌面应用
  1774. U.MD.D.click(this, obj);
  1775. }, [_siesTeacherDeskIconInfo[i]])
  1776. }, _frag); //
  1777. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1778. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1779. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1780. }
  1781. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1782. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1783. _content = $$("div", {
  1784. className: "U_MD_D_KO",
  1785. "onmousedown": U.UF.C.closure(function (obj) {
  1786. //防止拖动图标即打开了桌面应用
  1787. U.MD.D.click(this, obj);
  1788. }, [_longhuaTeacherDeskIconInfo[i]]),
  1789. "onclick": U.UF.C.closure(function (obj) {
  1790. //防止拖动图标即打开了桌面应用
  1791. U.MD.D.click(this, obj);
  1792. }, [_longhuaTeacherDeskIconInfo[i]])
  1793. }, _frag); //
  1794. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1795. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1796. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1797. }
  1798. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1799. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1800. _content = $$("div", {
  1801. className: "U_MD_D_KO",
  1802. "onmousedown": U.UF.C.closure(function (obj) {
  1803. //防止拖动图标即打开了桌面应用
  1804. U.MD.D.click(this, obj);
  1805. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1806. "onclick": U.UF.C.closure(function (obj) {
  1807. //防止拖动图标即打开了桌面应用
  1808. U.MD.D.click(this, obj);
  1809. }, [_yunhaiTeacherDeskIconInfo[i]])
  1810. }, _frag); //
  1811. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1812. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1813. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1814. } //_hkStudentDeskIconInfo
  1815. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1816. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1817. _content = $$("div", {
  1818. className: "U_MD_D_KO",
  1819. "onmousedown": U.UF.C.closure(function (obj) {
  1820. //防止拖动图标即打开了桌面应用
  1821. U.MD.D.click(this, obj);
  1822. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1823. "onclick": U.UF.C.closure(function (obj) {
  1824. //防止拖动图标即打开了桌面应用
  1825. U.MD.D.click(this, obj);
  1826. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1827. }, _frag); //
  1828. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1829. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1830. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1831. }
  1832. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1833. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1834. _content = $$("div", {
  1835. className: "U_MD_D_KO",
  1836. "onmousedown": U.UF.C.closure(function (obj) {
  1837. //防止拖动图标即打开了桌面应用
  1838. U.MD.D.click(this, obj);
  1839. }, [_hkTeacherDeskIconInfo[i]]),
  1840. "onclick": U.UF.C.closure(function (obj) {
  1841. //防止拖动图标即打开了桌面应用
  1842. U.MD.D.click(this, obj);
  1843. }, [_hkTeacherDeskIconInfo[i]])
  1844. }, _frag); //
  1845. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1846. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1847. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1848. }
  1849. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1850. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  1851. _content = $$("div", {
  1852. className: "U_MD_D_KO",
  1853. "onmousedown": U.UF.C.closure(function (obj) {
  1854. //防止拖动图标即打开了桌面应用
  1855. U.MD.D.click(this, obj);
  1856. }, [_hkaceTeacherDeskIconInfo[i]]),
  1857. "onclick": U.UF.C.closure(function (obj) {
  1858. //防止拖动图标即打开了桌面应用
  1859. U.MD.D.click(this, obj);
  1860. }, [_hkaceTeacherDeskIconInfo[i]])
  1861. }, _frag); //
  1862. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1863. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  1864. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  1865. }
  1866. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1867. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1868. _content = $$("div", {
  1869. className: "U_MD_D_KO",
  1870. "onmousedown": U.UF.C.closure(function (obj) {
  1871. //防止拖动图标即打开了桌面应用
  1872. U.MD.D.click(this, obj);
  1873. }, [_gdjgAdminDeskIconInfo[i]]),
  1874. "onclick": U.UF.C.closure(function (obj) {
  1875. //防止拖动图标即打开了桌面应用
  1876. U.MD.D.click(this, obj);
  1877. }, [_gdjgAdminDeskIconInfo[i]])
  1878. }, _frag); //
  1879. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1880. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1881. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1882. }
  1883. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1884. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1885. _content = $$("div", {
  1886. className: "U_MD_D_KO",
  1887. "onmousedown": U.UF.C.closure(function (obj) {
  1888. //防止拖动图标即打开了桌面应用
  1889. U.MD.D.click(this, obj);
  1890. }, [_gdjgTeacherDeskIconInfo[i]]),
  1891. "onclick": U.UF.C.closure(function (obj) {
  1892. //防止拖动图标即打开了桌面应用
  1893. U.MD.D.click(this, obj);
  1894. }, [_gdjgTeacherDeskIconInfo[i]])
  1895. }, _frag); //
  1896. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1897. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1898. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1899. }
  1900. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1901. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1902. _content = $$("div", {
  1903. className: "U_MD_D_KO",
  1904. "onmousedown": U.UF.C.closure(function (obj) {
  1905. //防止拖动图标即打开了桌面应用
  1906. U.MD.D.click(this, obj);
  1907. }, [_szherTeacherDeskIconInfo[i]]),
  1908. "onclick": U.UF.C.closure(function (obj) {
  1909. //防止拖动图标即打开了桌面应用
  1910. U.MD.D.click(this, obj);
  1911. }, [_szherTeacherDeskIconInfo[i]])
  1912. }, _frag); //
  1913. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1914. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1915. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1916. }
  1917. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1918. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1919. _content = $$("div", {
  1920. className: "U_MD_D_KO",
  1921. "onmousedown": U.UF.C.closure(function (obj) {
  1922. //防止拖动图标即打开了桌面应用
  1923. U.MD.D.click(this, obj);
  1924. }, [_heyuannAdminDeskIconInfo[i]]),
  1925. "onclick": U.UF.C.closure(function (obj) {
  1926. //防止拖动图标即打开了桌面应用
  1927. U.MD.D.click(this, obj);
  1928. }, [_heyuannAdminDeskIconInfo[i]])
  1929. }, _frag); //
  1930. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1931. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1932. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1933. }
  1934. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1935. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1936. _content = $$("div", {
  1937. className: "U_MD_D_KO",
  1938. "onmousedown": U.UF.C.closure(function (obj) {
  1939. //防止拖动图标即打开了桌面应用
  1940. U.MD.D.click(this, obj);
  1941. }, [_heyuanTeacherDeskIconInfo[i]]),
  1942. "onclick": U.UF.C.closure(function (obj) {
  1943. //防止拖动图标即打开了桌面应用
  1944. U.MD.D.click(this, obj);
  1945. }, [_heyuanTeacherDeskIconInfo[i]])
  1946. }, _frag); //
  1947. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1948. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1949. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1950. } //
  1951. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1952. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1953. _content = $$("div", {
  1954. className: "U_MD_D_KO",
  1955. "onmousedown": U.UF.C.closure(function (obj) {
  1956. //防止拖动图标即打开了桌面应用
  1957. U.MD.D.click(this, obj);
  1958. }, [_dseiAdminDeskIconInfo[i]]),
  1959. "onclick": U.UF.C.closure(function (obj) {
  1960. //防止拖动图标即打开了桌面应用
  1961. U.MD.D.click(this, obj);
  1962. }, [_dseiAdminDeskIconInfo[i]])
  1963. }, _frag); //
  1964. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1965. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1966. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1967. }
  1968. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1969. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1970. _content = $$("div", {
  1971. className: "U_MD_D_KO",
  1972. "onmousedown": U.UF.C.closure(function (obj) {
  1973. //防止拖动图标即打开了桌面应用
  1974. U.MD.D.click(this, obj);
  1975. }, [_dseiTeacherDeskIconInfo[i]]),
  1976. "onclick": U.UF.C.closure(function (obj) {
  1977. //防止拖动图标即打开了桌面应用
  1978. U.MD.D.click(this, obj);
  1979. }, [_dseiTeacherDeskIconInfo[i]])
  1980. }, _frag); //
  1981. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1982. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1983. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1984. } //
  1985. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1986. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1987. _content = $$("div", {
  1988. className: "U_MD_D_KO",
  1989. "onmousedown": U.UF.C.closure(function (obj) {
  1990. //防止拖动图标即打开了桌面应用
  1991. U.MD.D.click(this, obj);
  1992. }, [_chjyjAdminDeskIconInfo[i]]),
  1993. "onclick": U.UF.C.closure(function (obj) {
  1994. //防止拖动图标即打开了桌面应用
  1995. U.MD.D.click(this, obj);
  1996. }, [_chjyjAdminDeskIconInfo[i]])
  1997. }, _frag); //
  1998. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1999. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  2000. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  2001. }//
  2002. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  2003. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  2004. _content = $$("div", {
  2005. className: "U_MD_D_KO",
  2006. "onmousedown": U.UF.C.closure(function (obj) {
  2007. //防止拖动图标即打开了桌面应用
  2008. U.MD.D.click(this, obj);
  2009. }, [_chjyjTeacherDeskIconInfo[i]]),
  2010. "onclick": U.UF.C.closure(function (obj) {
  2011. //防止拖动图标即打开了桌面应用
  2012. U.MD.D.click(this, obj);
  2013. }, [_chjyjTeacherDeskIconInfo[i]])
  2014. }, _frag); //
  2015. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2016. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2017. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2018. }
  2019. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2020. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2021. _content = $$("div", {
  2022. className: "U_MD_D_KO",
  2023. "onmousedown": U.UF.C.closure(function (obj) {
  2024. //防止拖动图标即打开了桌面应用
  2025. U.MD.D.click(this, obj);
  2026. }, [_szjkyAdminDeskIconInfo[i]]),
  2027. "onclick": U.UF.C.closure(function (obj) {
  2028. //防止拖动图标即打开了桌面应用
  2029. U.MD.D.click(this, obj);
  2030. }, [_szjkyAdminDeskIconInfo[i]])
  2031. }, _frag); //
  2032. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2033. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2034. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2035. }//
  2036. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2037. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2038. _content = $$("div", {
  2039. className: "U_MD_D_KO",
  2040. "onmousedown": U.UF.C.closure(function (obj) {
  2041. //防止拖动图标即打开了桌面应用
  2042. U.MD.D.click(this, obj);
  2043. }, [_szjkyTeacherDeskIconInfo[i]]),
  2044. "onclick": U.UF.C.closure(function (obj) {
  2045. //防止拖动图标即打开了桌面应用
  2046. U.MD.D.click(this, obj);
  2047. }, [_szjkyTeacherDeskIconInfo[i]])
  2048. }, _frag); //
  2049. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2050. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2051. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2052. }
  2053. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2054. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2055. _content = $$("div", {
  2056. className: "U_MD_D_KO",
  2057. "onmousedown": U.UF.C.closure(function (obj) {
  2058. //防止拖动图标即打开了桌面应用
  2059. U.MD.D.click(this, obj);
  2060. }, [_futianAdminDeskIconInfo[i]]),
  2061. "onclick": U.UF.C.closure(function (obj) {
  2062. //防止拖动图标即打开了桌面应用
  2063. U.MD.D.click(this, obj);
  2064. }, [_futianAdminDeskIconInfo[i]])
  2065. }, _frag); //
  2066. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2067. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2068. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2069. }
  2070. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2071. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2072. _content = $$("div", {
  2073. className: "U_MD_D_KO",
  2074. "onmousedown": U.UF.C.closure(function (obj) {
  2075. //防止拖动图标即打开了桌面应用
  2076. U.MD.D.click(this, obj);
  2077. }, [_futianTeacherDeskIconInfo[i]]),
  2078. "onclick": U.UF.C.closure(function (obj) {
  2079. //防止拖动图标即打开了桌面应用
  2080. U.MD.D.click(this, obj);
  2081. }, [_futianTeacherDeskIconInfo[i]])
  2082. }, _frag); //
  2083. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2084. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2085. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2086. }
  2087. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2088. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2089. _content = $$("div", {
  2090. className: "U_MD_D_KO",
  2091. "onmousedown": U.UF.C.closure(function (obj) {
  2092. //防止拖动图标即打开了桌面应用
  2093. U.MD.D.click(this, obj);
  2094. }, [_MingdeTeacherDeskIcon[i]]),
  2095. "onclick": U.UF.C.closure(function (obj) {
  2096. //防止拖动图标即打开了桌面应用
  2097. U.MD.D.click(this, obj);
  2098. }, [_MingdeTeacherDeskIcon[i]])
  2099. }, _frag); //
  2100. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2101. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2102. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2103. }
  2104. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2105. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2106. _content = $$("div", {
  2107. className: "U_MD_D_KO",
  2108. "onmousedown": U.UF.C.closure(function (obj) {
  2109. //防止拖动图标即打开了桌面应用
  2110. U.MD.D.click(this, obj);
  2111. }, [_lhsAdminDesktopIconInfo[i]]),
  2112. "onclick": U.UF.C.closure(function (obj) {
  2113. //防止拖动图标即打开了桌面应用
  2114. U.MD.D.click(this, obj);
  2115. }, [_lhsAdminDesktopIconInfo[i]])
  2116. }, _frag); //
  2117. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2118. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2119. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2120. }
  2121. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2122. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2123. _content = $$("div", {
  2124. className: "U_MD_D_KO",
  2125. "onmousedown": U.UF.C.closure(function (obj) {
  2126. //防止拖动图标即打开了桌面应用
  2127. U.MD.D.click(this, obj);
  2128. }, [_lhsteacherDesktopIconInfo[i]]),
  2129. "onclick": U.UF.C.closure(function (obj) {
  2130. //防止拖动图标即打开了桌面应用
  2131. U.MD.D.click(this, obj);
  2132. }, [_lhsteacherDesktopIconInfo[i]])
  2133. }, _frag); //
  2134. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2135. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2136. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2137. }
  2138. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2139. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2140. _content = $$("div", {
  2141. className: "U_MD_D_KO",
  2142. "onmousedown": U.UF.C.closure(function (obj) {
  2143. //防止拖动图标即打开了桌面应用
  2144. U.MD.D.click(this, obj);
  2145. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2146. "onclick": U.UF.C.closure(function (obj) {
  2147. //防止拖动图标即打开了桌面应用
  2148. U.MD.D.click(this, obj);
  2149. }, [_zhoujiateacherDesktopIconInfo[i]])
  2150. }, _frag); //
  2151. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2152. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2153. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2154. }
  2155. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2156. for (i = 0; i < _hanDeskIcon.length; i++) {
  2157. _content = $$("div", {
  2158. className: "U_MD_D_KO",
  2159. "onmousedown": U.UF.C.closure(function (obj) {
  2160. //防止拖动图标即打开了桌面应用
  2161. U.MD.D.click(this, obj);
  2162. }, [_hanDeskIcon[i]]),
  2163. "onclick": U.UF.C.closure(function (obj) {
  2164. //防止拖动图标即打开了桌面应用
  2165. U.MD.D.click(this, obj);
  2166. }, [_hanDeskIcon[i]])
  2167. }, _frag); //
  2168. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2169. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2170. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2171. }
  2172. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2173. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2174. _content = $$("div", {
  2175. className: "U_MD_D_KO",
  2176. "onmousedown": U.UF.C.closure(function (obj) {
  2177. //防止拖动图标即打开了桌面应用
  2178. U.MD.D.click(this, obj);
  2179. }, [_orgStemDeskIcon[i]]),
  2180. "onclick": U.UF.C.closure(function (obj) {
  2181. //防止拖动图标即打开了桌面应用
  2182. U.MD.D.click(this, obj);
  2183. }, [_orgStemDeskIcon[i]])
  2184. }, _frag); //
  2185. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2186. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2187. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2188. }
  2189. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2190. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2191. _content = $$("div", {
  2192. className: "U_MD_D_KO",
  2193. "onmousedown": U.UF.C.closure(function (obj) {
  2194. //防止拖动图标即打开了桌面应用
  2195. U.MD.D.click(this, obj);
  2196. }, [_szulsDeskIcon[i]]),
  2197. "onclick": U.UF.C.closure(function (obj) {
  2198. //防止拖动图标即打开了桌面应用
  2199. U.MD.D.click(this, obj);
  2200. }, [_szulsDeskIcon[i]])
  2201. }, _frag); //
  2202. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2203. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2204. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2205. }
  2206. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2207. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2208. _content = $$("div", {
  2209. className: "U_MD_D_KO",
  2210. "onmousedown": U.UF.C.closure(function (obj) {
  2211. //防止拖动图标即打开了桌面应用
  2212. U.MD.D.click(this, obj);
  2213. }, [_orgDesktopIconInfo[i]]),
  2214. "onclick": U.UF.C.closure(function (obj) {
  2215. //防止拖动图标即打开了桌面应用
  2216. U.MD.D.click(this, obj);
  2217. }, [_orgDesktopIconInfo[i]])
  2218. }, _frag); //
  2219. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2220. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2221. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2222. }
  2223. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2224. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2225. _content = $$("div", {
  2226. className: "U_MD_D_KO",
  2227. "onmousedown": U.UF.C.closure(function (obj) {
  2228. //防止拖动图标即打开了桌面应用
  2229. U.MD.D.click(this, obj);
  2230. }, [_schoolDesktopIconInfo[i]]),
  2231. "onclick": U.UF.C.closure(function (obj) {
  2232. //防止拖动图标即打开了桌面应用
  2233. U.MD.D.click(this, obj);
  2234. }, [_schoolDesktopIconInfo[i]])
  2235. }, _frag); //
  2236. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2237. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2238. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2239. }
  2240. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2241. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2242. _content = $$("div", {
  2243. className: "U_MD_D_KO",
  2244. "onmousedown": U.UF.C.closure(function (obj) {
  2245. //防止拖动图标即打开了桌面应用
  2246. U.MD.D.click(this, obj);
  2247. }, [_GMteacherDesktopIconInfo[i]]),
  2248. "onclick": U.UF.C.closure(function (obj) {
  2249. //防止拖动图标即打开了桌面应用
  2250. U.MD.D.click(this, obj);
  2251. }, [_GMteacherDesktopIconInfo[i]])
  2252. }, _frag); //
  2253. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2254. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2255. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2256. }
  2257. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2258. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2259. _content = $$("div", {
  2260. className: "U_MD_D_KO",
  2261. "onmousedown": U.UF.C.closure(function (obj) {
  2262. //防止拖动图标即打开了桌面应用
  2263. U.MD.D.click(this, obj);
  2264. }, [_SONGteacherDesktopIconInfo[i]]),
  2265. "onclick": U.UF.C.closure(function (obj) {
  2266. //防止拖动图标即打开了桌面应用
  2267. U.MD.D.click(this, obj);
  2268. }, [_SONGteacherDesktopIconInfo[i]])
  2269. }, _frag); //
  2270. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2271. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2272. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2273. }
  2274. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2275. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2276. _content = $$("div", {
  2277. className: "U_MD_D_KO",
  2278. "onmousedown": U.UF.C.closure(function (obj) {
  2279. //防止拖动图标即打开了桌面应用
  2280. U.MD.D.click(this, obj);
  2281. }, [_GMstudentDesktopIconInfo[i]]),
  2282. "onclick": U.UF.C.closure(function (obj) {
  2283. //防止拖动图标即打开了桌面应用
  2284. U.MD.D.click(this, obj);
  2285. }, [_GMstudentDesktopIconInfo[i]])
  2286. }, _frag); //
  2287. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2288. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2289. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2290. }
  2291. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2292. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2293. _content = $$("div", {
  2294. className: "U_MD_D_KO",
  2295. "onmousedown": U.UF.C.closure(function (obj) {
  2296. //防止拖动图标即打开了桌面应用
  2297. U.MD.D.click(this, obj);
  2298. }, [_tcTeacherDeskIconInfo[i]]),
  2299. "onclick": U.UF.C.closure(function (obj) {
  2300. //防止拖动图标即打开了桌面应用
  2301. U.MD.D.click(this, obj);
  2302. }, [_tcTeacherDeskIconInfo[i]])
  2303. }, _frag); //
  2304. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2305. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2306. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2307. }
  2308. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2309. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2310. _content = $$("div", {
  2311. className: "U_MD_D_KO",
  2312. "onmousedown": U.UF.C.closure(function (obj) {
  2313. //防止拖动图标即打开了桌面应用
  2314. U.MD.D.click(this, obj);
  2315. }, [_tcOrganizerDeskIconInfo[i]]),
  2316. "onclick": U.UF.C.closure(function (obj) {
  2317. //防止拖动图标即打开了桌面应用
  2318. U.MD.D.click(this, obj);
  2319. }, [_tcOrganizerDeskIconInfo[i]])
  2320. }, _frag); //
  2321. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2322. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2323. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2324. }
  2325. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2326. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2327. _content = $$("div", {
  2328. className: "U_MD_D_KO",
  2329. "onmousedown": U.UF.C.closure(function (obj) {
  2330. //防止拖动图标即打开了桌面应用
  2331. U.MD.D.click(this, obj);
  2332. }, [_szscTeacherDeskIconInfo[i]]),
  2333. "onclick": U.UF.C.closure(function (obj) {
  2334. //防止拖动图标即打开了桌面应用
  2335. U.MD.D.click(this, obj);
  2336. }, [_szscTeacherDeskIconInfo[i]])
  2337. }, _frag); //
  2338. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2339. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2340. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2341. }
  2342. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2343. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2344. _content = $$("div", {
  2345. className: "U_MD_D_KO",
  2346. "onmousedown": U.UF.C.closure(function (obj) {
  2347. //防止拖动图标即打开了桌面应用
  2348. U.MD.D.click(this, obj);
  2349. }, [_szscOrganizerDeskIconInfo[i]]),
  2350. "onclick": U.UF.C.closure(function (obj) {
  2351. //防止拖动图标即打开了桌面应用
  2352. U.MD.D.click(this, obj);
  2353. }, [_szscOrganizerDeskIconInfo[i]])
  2354. }, _frag); //
  2355. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2356. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2357. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2358. }
  2359. } else {
  2360. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2361. _content = $$("div", {
  2362. className: "U_MD_D_KO",
  2363. "onmousedown": U.UF.C.closure(function (obj) {
  2364. //防止拖动图标即打开了桌面应用
  2365. U.MD.D.click(this, obj);
  2366. }, [_teacherDesktopIconInfo[i]]),
  2367. "onclick": U.UF.C.closure(function (obj) {
  2368. //防止拖动图标即打开了桌面应用
  2369. U.MD.D.click(this, obj);
  2370. }, [_teacherDesktopIconInfo[i]])
  2371. }, _frag); //
  2372. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2373. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2374. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2375. }
  2376. }
  2377. } else {
  2378. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2379. _content = $$("div", {
  2380. className: "U_MD_D_KO",
  2381. style: { 'width': '124px', 'height': '145px' },
  2382. "onmousedown": U.UF.C.closure(function (obj) {
  2383. //防止拖动图标即打开了桌面应用
  2384. U.MD.D.click(this, obj);
  2385. }, [_easyDesktopIconInfo[i]]),
  2386. "onclick": U.UF.C.closure(function (obj) {
  2387. //防止拖动图标即打开了桌面应用
  2388. U.MD.D.click(this, obj);
  2389. }, [_easyDesktopIconInfo[i]])
  2390. }, _frag); //
  2391. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2392. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2393. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2394. }
  2395. }
  2396. if (type == 1) {
  2397. //加载好后给图标定位
  2398. U.MD.D.iconPostion($(_frag).Child());
  2399. } else {
  2400. //加载好后给图标定位
  2401. U.MD.D.iconPostion2($(_frag).Child());
  2402. }
  2403. //把图标加载到页面
  2404. el.appendChild(_frag);
  2405. }
  2406. /**
  2407. * 显示任务栏
  2408. *
  2409. * @param {element} 桌面元素
  2410. */
  2411. U.MD.D.I.displayTaskbar = function (el) {
  2412. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2413. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2414. //任务栏位置变化
  2415. U.selectEl(el).css({ "bottom": "0px" });
  2416. //桌面位置变话
  2417. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2418. }
  2419. }
  2420. //#region 桌面图标拖动逻辑
  2421. /**
  2422. * 桌面排列图标
  2423. *
  2424. * @param {element} 桌面元素
  2425. * @param {object} 上下相距的距离
  2426. * @param {object} 左右相距的距离
  2427. * @return {object} 命名空间
  2428. */
  2429. U.MD.D.iconPostion = function (childs, top, left) {
  2430. var i; //用于循环处理
  2431. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2432. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2433. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2434. for (i = 0; i < childs.length; i++) {
  2435. //如果竖排top超过了范围处理
  2436. if (top + 95 > US.height - 10) {
  2437. //left超过了页面范围处理,则向上重叠打印处理
  2438. if ((left + 180) > US.width) {
  2439. top -= 110;
  2440. left -= 90;
  2441. }
  2442. //没有超过范围,那么left+90添加到下一个竖排打印
  2443. else {
  2444. left += 90;
  2445. top = 15;
  2446. };
  2447. }
  2448. //给图标的位置赋值
  2449. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2450. if (i < childs.length - 1) {
  2451. //页面图标每次向下加95
  2452. top += 95;
  2453. }
  2454. }
  2455. //返回最后调用的图标的位置
  2456. return [top, left];
  2457. }
  2458. /**
  2459. * 桌面排列图标
  2460. *
  2461. * @param {element} 桌面元素
  2462. * @param {object} 上下相距的距离
  2463. * @param {object} 左右相距的距离
  2464. * @return {object} 命名空间
  2465. */
  2466. U.MD.D.iconPostion2 = function (childs, top, left) {
  2467. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2468. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2469. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2470. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2471. for (i = 0; i < childs.length; i++) {
  2472. //如果竖排top超过了范围处理
  2473. if (left + 150 > US.width - 10) {
  2474. //left超过了页面范围处理,则向上重叠打印处理
  2475. if ((top + 180) > US.Height) {
  2476. top -= 150;
  2477. left -= 150;
  2478. }
  2479. //没有超过范围,那么left+90添加到下一个竖排打印
  2480. else {
  2481. top += 150;
  2482. left = ol;
  2483. };
  2484. }
  2485. //给图标的位置赋值
  2486. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2487. if (i < childs.length - 1) {
  2488. //页面图标每次向下加95
  2489. left += 150;
  2490. }
  2491. }
  2492. //返回最后调用的图标的位置
  2493. return [top, left];
  2494. }
  2495. /**
  2496. * 桌面点击事件逻辑
  2497. *
  2498. * @param {element} 桌面元素
  2499. * @param {object} 上下相距的距离
  2500. * @param {object} 左右相距的距离
  2501. * @return {object} 命名空间
  2502. */
  2503. U.MD.D.click = function (el, obj) {
  2504. var _buttonnumber = event.button; //点击的按钮的事件值
  2505. var _userinfo = US.userInfo;
  2506. U.UF.EV.stopBubble(); //阻止向上冒泡
  2507. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2508. if (_buttonnumber < 2) {
  2509. //如果是click事件的处理
  2510. if (event.type == "click") {
  2511. //如果元素在mousemove事件中没有移动则出发click事件
  2512. if (!U.MD.D.I.IsDrag) {
  2513. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2514. U.alert("请先登录您的账号!");
  2515. setTimeout(() => {
  2516. U.MD.U.L.login();
  2517. }, 2000);
  2518. } else {
  2519. //打开应用处理
  2520. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2521. }
  2522. }
  2523. }
  2524. //如果是mouse事件的处理
  2525. else {
  2526. if (US.Config.type == '1') {
  2527. //拖动处理,添加拖动和拖动结束事件
  2528. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2529. }
  2530. }
  2531. U.MD.D.I.IsDrag = false;
  2532. }
  2533. }
  2534. /**
  2535. * 拖动的处理
  2536. *
  2537. */
  2538. U.MD.D.iconMove = function () {
  2539. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2540. U.MD.D.I.IsDrag = true;
  2541. }
  2542. /**
  2543. * 拖动结束后,这里是定位处理,以网状的形式定位
  2544. *
  2545. * @param {element} 拖动的元素
  2546. * @return {object} 命名空间
  2547. */
  2548. U.MD.D.iconUp = function (el) {
  2549. var _top = 15,
  2550. _left = 20,
  2551. _margin,
  2552. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2553. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2554. if (_positioninfo["OT"] > 15) {
  2555. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2556. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2557. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2558. }
  2559. if (_positioninfo["OL"] > 20) {
  2560. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2561. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2562. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2563. }
  2564. //while循环判断么一个重叠的元素
  2565. do {
  2566. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2567. _top = _positioninfo[0] + 95; //得到定位后的top
  2568. _left = _positioninfo[1]; //得到定位后的left
  2569. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2570. }
  2571. /**
  2572. * 判断拖动后图标是否重叠
  2573. *
  2574. * @param {element} 拖动的元素
  2575. * @param {element} 桌面所有的元素
  2576. * @param {array} 拖动元素的位置
  2577. ----------[0] 上 top
  2578. ----------[1] 左 left
  2579. * @return {object} 命名空间
  2580. */
  2581. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2582. //循环所有的图标
  2583. for (var i = 0; i < childs.length; i++) {
  2584. //判断有没有和该图标诶子重叠的元素
  2585. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2586. return childs[i]; //如果有返回
  2587. }
  2588. }
  2589. }
  2590. //#endregion
  2591. //#endregion
  2592. //#region 桌面应用
  2593. /**
  2594. * 打开应用
  2595. *
  2596. * @param {string} 类型
  2597. -----------------Disk 网盘系统
  2598. -----------------PDisk 学习系统网盘
  2599. -----------------Poto 图片
  2600. -----------------Video 视频
  2601. -----------------Music 音乐
  2602. -----------------Word word
  2603. -----------------Excel excel
  2604. -----------------Txt 记事本
  2605. -----------------PB 学习系统
  2606. -----------------Blog 朋友圈系统
  2607. -----------------FTP ftp系统
  2608. -----------------Group 好友群
  2609. -----------------SY 首页系统
  2610. -----------------Set 个人设置
  2611. -----------------XSet 系统设置
  2612. -----------------App 我们所有的app
  2613. -----------------BC c.1473.cn 平台
  2614. -----------------CWeb d.1473.cn 变成平台
  2615. -----------------其他的外联系统 我们统一用iframe打开
  2616. * @param {array} 类型
  2617. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2618. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2619. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2620. 如果第一个参数为其他,则无第二个参数
  2621. * @returns {array}
  2622. */
  2623. window.addEventListener('message', function (e) { // 监听 message 事件
  2624. // alert(e.data.type);
  2625. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2626. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2627. //3是展示全部阶段 2学生 1老师 4专家
  2628. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2629. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2630. //3是展示全部阶段 2学生 1老师 4专家
  2631. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2632. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2633. //3是展示全部阶段 2学生 1老师 4专家
  2634. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2635. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2636. } else if (e.data.screenType && e.data.screenType == "3train") { //培训管理传入
  2637. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  2638. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2639. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2640. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2641. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2642. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2643. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2644. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2645. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2646. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2647. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2648. //3是展示全部阶段 2学生 1老师 4专家
  2649. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2650. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2651. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2652. U.MD.D.I.selectUser();
  2653. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2654. var _formel = document.getElementById("study");
  2655. U.UF.F.windowZooming(_formel);
  2656. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2657. var _formel = document.getElementById("studyDetail");
  2658. U.UF.F.windowZooming(_formel);
  2659. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2660. var _formel = document.getElementById("studyDetail");
  2661. U.UF.F.windowZooming(_formel);
  2662. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2663. var _formel = document.getElementById("studentStudy");
  2664. U.UF.F.windowZooming(_formel);
  2665. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2666. // var _formel = document.getElementById("study");
  2667. //如果最大化了,那么就把他缩小
  2668. // if (_formel.ismaximize) {
  2669. // return;
  2670. // }
  2671. // U.UF.F.windowZooming(_formel);
  2672. // U.UF.F.topWindow(_formel);
  2673. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2674. // var _formel = document.getElementById("studyDetail");
  2675. //如果最大化了,那么就把他缩小
  2676. // if (_formel.ismaximize) {
  2677. // return;
  2678. // }
  2679. // U.UF.F.windowZooming(_formel);
  2680. // U.UF.F.topWindow(_formel);
  2681. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2682. // var _formel = document.getElementById("studentStudy");
  2683. // if (_formel.ismaximize) {
  2684. // return;
  2685. // }
  2686. // U.UF.F.windowZooming(_formel);
  2687. // U.UF.F.topWindow(_formel);
  2688. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2689. var _formel = document.getElementById("study");
  2690. // if (_formel.ismaximize) {
  2691. // return;
  2692. // }
  2693. // U.UF.F.windowZooming(_formel);
  2694. U.UF.F.topWindow(_formel);
  2695. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2696. var _formel = document.getElementById("studentIndex");
  2697. U.UF.F.windowZooming(_formel);
  2698. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2699. var _formel = document.getElementById("studyDetailS");
  2700. U.UF.F.windowZooming(_formel);
  2701. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2702. var _formel = document.getElementById("studioIndex");
  2703. U.UF.F.windowZooming(_formel);
  2704. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2705. var _formel = document.getElementById("studyDetailStudio");
  2706. U.UF.F.windowZooming(_formel);
  2707. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2708. var _formel = document.getElementById("studyDetailStudio");
  2709. U.UF.F.windowZooming(_formel);
  2710. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2711. var _formel = document.getElementById("studyDetailNT");
  2712. U.UF.F.windowZooming(_formel);
  2713. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2714. var _formel = document.getElementById("studyDetailS");
  2715. U.UF.F.windowZooming(_formel);
  2716. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2717. var _formel = document.getElementById("studyDetailS");
  2718. U.UF.F.topWindow(_formel);
  2719. } else if (e.data.tools && e.data.tools == "1") {
  2720. // U.MD.D.I.openApplication("whiteboard")
  2721. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2722. } else if (e.data.tools && e.data.tools == "2") {
  2723. U.MD.D.I.openApplication("note")
  2724. } else if (e.data.tools && e.data.tools == "3") {
  2725. // U.MD.D.I.openApplication("mind")
  2726. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2727. } else if (e.data.tools && e.data.tools == "4") {
  2728. U.MD.D.I.openApplication("investigation")
  2729. } else if (e.data.tools && e.data.tools == "6") {
  2730. // U.MD.D.I.openApplication("doc")
  2731. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2732. } else if (e.data.tools && e.data.tools == "7") {
  2733. // U.MD.D.I.openApplication("mindNetwork")
  2734. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2735. } else if (e.data.tools && e.data.tools == "8") {
  2736. U.MD.D.I.openApplication("library")
  2737. } else if (e.data.tools && e.data.tools == "17") {
  2738. U.MD.D.I.openApplication("stuLibrary")
  2739. } else if (e.data.tools && e.data.tools == "18") {
  2740. U.MD.D.I.openApplication("train")
  2741. } else if (e.data.tools && e.data.tools == "21") {
  2742. U.MD.D.I.openApplication("program")
  2743. } else if (e.data.tools && e.data.tools == "22") {
  2744. U.MD.D.I.openApplication("AIprogram2")
  2745. } else if (e.data.tools && e.data.tools == "23") {
  2746. U.MD.D.I.openApplication("Pythonprogram")
  2747. } else if (e.data.tools && e.data.tools == "24") {
  2748. U.MD.D.I.openApplication("AIprogram")
  2749. } else if (e.data.tools && e.data.tools == "25") {
  2750. U.MD.D.I.openApplication("sys")
  2751. } else if (e.data.tools && e.data.tools == "26") {
  2752. // U.MD.D.I.openApplication("courseDesign")
  2753. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2754. } else if (e.data.tools && e.data.tools == "31") {
  2755. U.MD.D.I.openApplication("netWorkPanel")
  2756. } else if (e.data.tools && e.data.tools == "32") {
  2757. U.MD.D.I.openApplication("codeEdit")
  2758. } else if (e.data.tools && e.data.tools == "57") {
  2759. U.MD.D.I.openApplication("CocoPi")
  2760. } else if (e.data.tools && e.data.tools == "63") {
  2761. U.MD.D.I.openApplication("Wood")
  2762. } else if (e.data.tools && e.data.tools == "58") {
  2763. U.MD.D.I.openApplication("car")
  2764. } else if (e.data.tools && e.data.tools == "59") {
  2765. U.MD.D.I.openApplication("lineSearch")
  2766. } else if (e.data.tools && e.data.tools == "60") {
  2767. U.MD.D.I.openApplication("deepLearning")
  2768. } else if (e.data.tools && e.data.tools == "61") {
  2769. U.MD.D.I.openApplication("allHistory")
  2770. } else if (e.data.tools && e.data.tools == "28") {
  2771. U.MD.D.I.openApplication("translation")
  2772. } else if (e.data.tools && e.data.tools == "37") {
  2773. U.MD.D.I.openApplication("mohe")
  2774. } else if (e.data.tools && e.data.tools == "38") {
  2775. U.MD.D.I.openApplication("24game")
  2776. } else if (e.data.tools && e.data.tools == "39") {
  2777. U.MD.D.I.openApplication("GeoGebra")
  2778. } else if (e.data.tools && e.data.tools == "43") {
  2779. U.MD.D.I.openApplication("studentEvaluate")
  2780. } else if (e.data.tools && e.data.tools == "44") {
  2781. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2782. } else if (e.data.tools && e.data.tools == "46") {
  2783. U.MD.D.I.openApplication("project")
  2784. } else if (e.data.tools && e.data.tools == "1s") {
  2785. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2786. } else if (e.data.tools && e.data.tools == "3s") {
  2787. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2788. } else if (e.data.tools && e.data.tools == "6s") {
  2789. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2790. } else if (e.data.tools && e.data.tools == "1studio") {
  2791. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2792. } else if (e.data.tools && e.data.tools == "3studio") {
  2793. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2794. } else if (e.data.tools && e.data.tools == "6studio") {
  2795. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2796. } else if (e.data.tools && e.data.tools == "3y") {
  2797. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2798. } else if (e.data.tools && e.data.tools == "1y") {
  2799. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2800. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2801. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2802. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2803. U.MD.D.I.openApplication("AIAnalyse")
  2804. } else if (e.data.tools && e.data.tools == "1teacher") {
  2805. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2806. } else if (e.data.tools && e.data.tools == "3teacher") {
  2807. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2808. } else if (e.data.tools && e.data.tools == "7teacher") {
  2809. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2810. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2811. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2812. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2813. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2814. } else if (e.data.tools && e.data.tools == "1E") {
  2815. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2816. } else if (e.data.tools && e.data.tools == "3E") {
  2817. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2818. } else if (e.data.tools && e.data.tools == "57y") {
  2819. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2820. } else if (e.data.tools && e.data.tools == "57u") {
  2821. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2822. } else if (e.data.tools && e.data.tools == "57teacher") {
  2823. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2824. } else if (e.data.tools && e.data.tools == "64") {
  2825. U.MD.D.I.openApplication("AIChat")
  2826. } else if (e.data.tools && e.data.tools == "66") {
  2827. U.MD.D.I.openApplication("formulaEdi")
  2828. } else if (e.data.tools && e.data.tools == "67") {
  2829. U.MD.D.I.openApplication("molStr")
  2830. } else if (e.data.tools && e.data.tools == "68") {
  2831. U.MD.D.I.openApplication("timeAxis")
  2832. } else if (e.data.tools && e.data.tools == "openCourse") {
  2833. let _data = {
  2834. typea: e.data.typea || '',
  2835. typeb: e.data.typeb || '',
  2836. typed: e.data.typed || '',
  2837. }
  2838. U.MD.D.I.openInApplication("index", _data)
  2839. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2840. let _data = {
  2841. classid: e.data.classid || '',
  2842. }
  2843. U.MD.D.I.openInApplication("dataClass", _data)
  2844. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2845. let _data = {
  2846. cid: e.data.cid || '',
  2847. gid: e.data.gid || '',
  2848. }
  2849. U.MD.D.I.openInApplication("opencCscl", _data)
  2850. }
  2851. });
  2852. U.MD.D.I.selectUser = function () {
  2853. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2854. if (res.value[0].length > 0) {
  2855. US.userInfo = res.value[0][0];
  2856. $(".userName")[0].innerHTML = US.userInfo.username;
  2857. }
  2858. }, [], { "type": "GET", "withCredentials": true });
  2859. }
  2860. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2861. var _userinfo = US.userInfo, //登录用户信息
  2862. _userid = US.userInfo.userid, //登录用户id
  2863. _oid = _userinfo.organizeid,
  2864. _type = US.userInfo.type,
  2865. _org = US.userInfo.org,
  2866. _role = US.userInfo.role,
  2867. _classId = US.userInfo.classid;
  2868. if (_type == 4) {
  2869. tType = 4
  2870. }
  2871. switch (str) {
  2872. case "studyDetailNT": //无终端模式
  2873. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2874. setTimeout(() => {
  2875. U.MD.U.L.login();
  2876. }, 2000);
  2877. } else {
  2878. _formdiv = new U.UF.UI.form(
  2879. "课程详情",
  2880. $$("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 }), {
  2881. "id": "studyDetailNT",
  2882. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2883. "onresize": function () { }
  2884. }, {
  2885. closecallback: function () { }
  2886. }, { "style": { "height": "36px" } }).form; //创建窗体
  2887. _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); } }
  2888. break;
  2889. }
  2890. case "studyDetail":
  2891. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2892. setTimeout(() => {
  2893. U.MD.U.L.login();
  2894. }, 2000);
  2895. } else {
  2896. _formdiv = new U.UF.UI.form(
  2897. "课程详情",
  2898. $$("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 }), {
  2899. "id": "studyDetail",
  2900. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2901. "onresize": function () { }
  2902. }, {
  2903. closecallback: function () { }
  2904. }, { "style": { "height": "36px" } }).form; //创建窗体
  2905. _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); } }
  2906. break;
  2907. }
  2908. case "studyDetailTrain":
  2909. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2910. setTimeout(() => {
  2911. U.MD.U.L.login();
  2912. }, 2000);
  2913. } else {
  2914. _formdiv = new U.UF.UI.form(
  2915. "培训详情",
  2916. $$("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 }), {
  2917. "id": "studyDetailTrain",
  2918. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2919. "onresize": function () { }
  2920. }, {
  2921. closecallback: function () { }
  2922. }, { "style": { "height": "36px" } }).form; //创建窗体
  2923. _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); } }
  2924. break;
  2925. }
  2926. case "studyDetailS":
  2927. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2928. setTimeout(() => {
  2929. U.MD.U.L.login();
  2930. }, 2000);
  2931. } else {
  2932. _formdiv = new U.UF.UI.form(
  2933. "项目详情",
  2934. $$("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 }), {
  2935. "id": "studyDetailS",
  2936. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2937. "onresize": function () { }
  2938. }, {
  2939. closecallback: function () { }
  2940. }, { "style": { "height": "36px" } }).form; //创建窗体
  2941. _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); } }
  2942. break;
  2943. }
  2944. case "studyDetailStudio":
  2945. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2946. setTimeout(() => {
  2947. U.MD.U.L.login();
  2948. }, 2000);
  2949. } else {
  2950. _formdiv = new U.UF.UI.form(
  2951. "工作详情",
  2952. $$("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 }), {
  2953. "id": "studyDetailStudio",
  2954. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2955. "onresize": function () { }
  2956. }, {
  2957. closecallback: function () { }
  2958. }, { "style": { "height": "36px" } }).form; //创建窗体
  2959. _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); } }
  2960. break;
  2961. }
  2962. case "studyDetailS5":
  2963. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2964. setTimeout(() => {
  2965. U.MD.U.L.login();
  2966. }, 2000);
  2967. } else {
  2968. _formdiv = new U.UF.UI.form(
  2969. "项目详情",
  2970. $$("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 }), {
  2971. "id": "studyDetailS",
  2972. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2973. "onresize": function () { }
  2974. }, {
  2975. closecallback: function () { }
  2976. }, { "style": { "height": "36px" } }).form; //创建窗体
  2977. _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); } }
  2978. break;
  2979. }
  2980. case "studyDetailGM":
  2981. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2982. setTimeout(() => {
  2983. U.MD.U.L.login();
  2984. }, 2000);
  2985. } else {
  2986. _formdiv = new U.UF.UI.form(
  2987. "课程详情",
  2988. $$("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 }), {
  2989. "id": "studyDetail",
  2990. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2991. "onresize": function () { }
  2992. }, {
  2993. closecallback: function () { }
  2994. }, { "style": { "height": "36px" } }).form; //创建窗体
  2995. _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); } }
  2996. break;
  2997. }
  2998. case "hanUrl":
  2999. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3000. setTimeout(() => {
  3001. U.MD.U.L.login();
  3002. }, 2000);
  3003. } else {
  3004. _formdiv = new U.UF.UI.form(
  3005. "汉字宫",
  3006. $$("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" }), {
  3007. "id": "hanUrl",
  3008. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3009. "onresize": function () { }
  3010. }, {
  3011. closecallback: function () { }
  3012. }, { "style": { "height": "36px" } }).form; //创建窗体
  3013. _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); } }
  3014. break;
  3015. }
  3016. case "index":
  3017. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3018. setTimeout(() => {
  3019. U.MD.U.L.login();
  3020. }, 2000);
  3021. } else {
  3022. _formdiv = new U.UF.UI.form(
  3023. "课程中心",
  3024. $$("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 }), {
  3025. "id": "study",
  3026. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3027. "onresize": function () { }
  3028. }, {
  3029. closecallback: function () { }
  3030. }, { "style": { "height": "36px" } }).form; //创建窗体
  3031. _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); } }
  3032. break;
  3033. }
  3034. case "dataClass":
  3035. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3036. setTimeout(() => {
  3037. U.MD.U.L.login();
  3038. }, 2000);
  3039. } else {
  3040. _formdiv = new U.UF.UI.form(
  3041. "数据报告",
  3042. $$("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 }), {
  3043. "id": "dataClass",
  3044. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3045. "onresize": function () { }
  3046. }, {
  3047. closecallback: function () { }
  3048. }, { "style": { "height": "36px" } }).form; //创建窗体
  3049. _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); } }
  3050. break;
  3051. }
  3052. case "opencCscl":
  3053. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3054. setTimeout(() => {
  3055. U.MD.U.L.login();
  3056. }, 2000);
  3057. } else {
  3058. _formdiv = new U.UF.UI.form(
  3059. "协同建构",
  3060. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  3061. "id": "futureClass",
  3062. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3063. "onresize": function () { }
  3064. }, {
  3065. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3066. }, { "style": { "height": "36px" } }).form; //创建窗体
  3067. _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); } }
  3068. break;
  3069. }
  3070. }
  3071. }
  3072. U.MD.D.I.openApplication = function (str, obj, info) {
  3073. obj = obj || {};
  3074. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3075. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3076. _userinfo = US.userInfo, //登录用户信息
  3077. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3078. _oid = obj.organizeid || _userinfo.organizeid,
  3079. _type = US.userInfo.type,
  3080. _org = US.userInfo.org,
  3081. _role = US.userInfo.role,
  3082. _classId = US.userInfo.classid,
  3083. _TscreenType = 1
  3084. _screenType = 2,
  3085. _SscreenType = 3;
  3086. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3087. return;
  3088. }
  3089. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3090. switch (str) {
  3091. case "studnetProject": //好友打开
  3092. _formdiv = new U.UF.UI.form(
  3093. "我的项目",
  3094. $$("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 }), {
  3095. "id": "studnetProject",
  3096. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3097. "onresize": function () { }
  3098. }, {
  3099. closecallback: function () { }
  3100. }, { "style": { "height": "36px" } }).form; //创建窗体
  3101. _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); } }
  3102. break;
  3103. case "studentEvaluate": //好友打开
  3104. _formdiv = new U.UF.UI.form(
  3105. "我的评价",
  3106. $$("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 }), {
  3107. "id": "studentEvaluate",
  3108. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3109. "onresize": function () { }
  3110. }, {
  3111. closecallback: function () { }
  3112. }, { "style": { "height": "36px" } }).form; //创建窗体
  3113. _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); } }
  3114. break;
  3115. case "my":
  3116. _formdiv = new U.UF.UI.form(
  3117. "我的资料",
  3118. $$("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 }), {
  3119. "id": "my",
  3120. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3121. "onresize": function () { }
  3122. }, {
  3123. closecallback: function () { }
  3124. }, { "style": { "height": "36px" } }).form; //创建窗体
  3125. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3126. break;
  3127. case "program":
  3128. _formdiv = new U.UF.UI.form(
  3129. "编程平台",
  3130. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3131. "id": "program",
  3132. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3133. "onresize": function () { }
  3134. }, {
  3135. closecallback: function () { }
  3136. }, { "style": { "height": "36px" } }).form; //创建窗体
  3137. _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); } }
  3138. break;
  3139. case "library":
  3140. _formdiv = new U.UF.UI.form(
  3141. "素材库",
  3142. $$("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 }), {
  3143. "id": "library",
  3144. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3145. "onresize": function () { }
  3146. }, {
  3147. closecallback: function () { }
  3148. }, { "style": { "height": "36px" } }).form; //创建窗体
  3149. _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); } }
  3150. break;
  3151. case "whiteboard":
  3152. _formdiv = new U.UF.UI.form(
  3153. "电子白板",
  3154. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3155. "id": "whiteboard",
  3156. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3157. "onresize": function () { }
  3158. }, {
  3159. closecallback: function () { }
  3160. }, { "style": { "height": "36px" } }).form; //创建窗体
  3161. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3162. break;
  3163. case "investigation":
  3164. _formdiv = new U.UF.UI.form(
  3165. "问卷调查",
  3166. $$("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 }), {
  3167. "id": "investigation",
  3168. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3169. "onresize": function () { }
  3170. }, {
  3171. closecallback: function () { }
  3172. }, { "style": { "height": "36px" } }).form; //创建窗体
  3173. _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); } }
  3174. break;
  3175. case "note":
  3176. _formdiv = new U.UF.UI.form(
  3177. "便签分类",
  3178. $$("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 }), {
  3179. "id": "note",
  3180. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3181. "onresize": function () { }
  3182. }, {
  3183. closecallback: function () { }
  3184. }, { "style": { "height": "36px" } }).form; //创建窗体
  3185. _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); } }
  3186. break;
  3187. // case "score":
  3188. // _formdiv = new U.UF.UI.form(
  3189. // "量规评分",
  3190. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3191. // "id": "score",
  3192. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3193. // "onresize": function() {}
  3194. // }, {
  3195. // closecallback: function() {}
  3196. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3197. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3198. // break;
  3199. case "mind":
  3200. _formdiv = new U.UF.UI.form(
  3201. "思维导图",
  3202. $$("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"
  3203. "id": "mind",
  3204. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3205. "onresize": function () { }
  3206. }, {
  3207. closecallback: function () { }
  3208. }, { "style": { "height": "36px" } }).form; //创建窗体
  3209. _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); } }
  3210. break;
  3211. case "doc":
  3212. // U.MD.D.I.isRoom();
  3213. _formdiv = new U.UF.UI.form(
  3214. "协同文档",
  3215. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3216. "id": "doc",
  3217. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3218. "onresize": function () { }
  3219. }, {
  3220. closecallback: function () { }
  3221. }, { "style": { "height": "36px" } }).form; //创建窗体
  3222. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3223. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3224. // })
  3225. _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); } }
  3226. break;
  3227. case "studentStudy":
  3228. _formdiv = new U.UF.UI.form(
  3229. "课程中心",
  3230. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": 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
  3231. "id": "studentStudy",
  3232. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3233. "onresize": function () { }
  3234. }, {
  3235. closecallback: function () { }
  3236. }, { "style": { "height": "36px" } }).form; //创建窗体
  3237. _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); } }
  3238. break;
  3239. case "train": //好友打开
  3240. _formdiv = new U.UF.UI.form(
  3241. "训练平台",
  3242. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3243. "id": "train",
  3244. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3245. "onresize": function () { }
  3246. }, {
  3247. closecallback: function () { }
  3248. }, { "style": { "height": "36px" } }).form; //创建窗体
  3249. _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); } }
  3250. break;
  3251. case "mindNetwork": //好友打开
  3252. _formdiv = new U.UF.UI.form(
  3253. "思维网格",
  3254. $$("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 }), {
  3255. "id": "mindNetwork",
  3256. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3257. "onresize": function () { }
  3258. }, {
  3259. closecallback: function () { }
  3260. }, { "style": { "height": "36px" } }).form; //创建窗体
  3261. _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); } }
  3262. break;
  3263. case "studentClassRoom": //好友打开
  3264. _formdiv = new U.UF.UI.form(
  3265. "实时课堂",
  3266. $$("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 }), {
  3267. "id": "studentClassRoom",
  3268. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3269. "onresize": function () { }
  3270. }, {
  3271. closecallback: function () { }
  3272. }, { "style": { "height": "36px" } }).form; //创建窗体
  3273. _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); } }
  3274. setTimeout(() => {
  3275. U.UF.F.windowZooming(_formdiv)
  3276. }, 0);
  3277. break;
  3278. }
  3279. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3280. switch (str) {
  3281. case "studnetProject": //好友打开
  3282. _formdiv = new U.UF.UI.form(
  3283. "我的项目",
  3284. $$("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 }), {
  3285. "id": "studnetProject",
  3286. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3287. "onresize": function () { }
  3288. }, {
  3289. closecallback: function () { }
  3290. }, { "style": { "height": "36px" } }).form; //创建窗体
  3291. _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); } }
  3292. break;
  3293. case "studentEvaluate": //好友打开
  3294. _formdiv = new U.UF.UI.form(
  3295. "我的评价",
  3296. $$("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 }), {
  3297. "id": "studentEvaluate",
  3298. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3299. "onresize": function () { }
  3300. }, {
  3301. closecallback: function () { }
  3302. }, { "style": { "height": "36px" } }).form; //创建窗体
  3303. _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); } }
  3304. break;
  3305. case "my":
  3306. _formdiv = new U.UF.UI.form(
  3307. "我的资料",
  3308. $$("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 }), {
  3309. "id": "my",
  3310. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3311. "onresize": function () { }
  3312. }, {
  3313. closecallback: function () { }
  3314. }, { "style": { "height": "36px" } }).form; //创建窗体
  3315. _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); } }
  3316. break;
  3317. case "program":
  3318. _formdiv = new U.UF.UI.form(
  3319. "编程平台",
  3320. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3321. "id": "program",
  3322. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3323. "onresize": function () { }
  3324. }, {
  3325. closecallback: function () { }
  3326. }, { "style": { "height": "36px" } }).form; //创建窗体
  3327. _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); } }
  3328. break;
  3329. case "library":
  3330. _formdiv = new U.UF.UI.form(
  3331. "素材库",
  3332. $$("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 }), {
  3333. "id": "library",
  3334. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3335. "onresize": function () { }
  3336. }, {
  3337. closecallback: function () { }
  3338. }, { "style": { "height": "36px" } }).form; //创建窗体
  3339. _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); } }
  3340. break;
  3341. case "whiteboard":
  3342. _formdiv = new U.UF.UI.form(
  3343. "电子白板",
  3344. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3345. "id": "whiteboard",
  3346. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3347. "onresize": function () { }
  3348. }, {
  3349. closecallback: function () { }
  3350. }, { "style": { "height": "36px" } }).form; //创建窗体
  3351. _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); } }
  3352. break;
  3353. case "investigation":
  3354. _formdiv = new U.UF.UI.form(
  3355. "问卷调查",
  3356. $$("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 }), {
  3357. "id": "investigation",
  3358. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3359. "onresize": function () { }
  3360. }, {
  3361. closecallback: function () { }
  3362. }, { "style": { "height": "36px" } }).form; //创建窗体
  3363. _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); } }
  3364. break;
  3365. case "note":
  3366. _formdiv = new U.UF.UI.form(
  3367. "便签分类",
  3368. $$("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 }), {
  3369. "id": "note",
  3370. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3371. "onresize": function () { }
  3372. }, {
  3373. closecallback: function () { }
  3374. }, { "style": { "height": "36px" } }).form; //创建窗体
  3375. _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); } }
  3376. break;
  3377. // case "score":
  3378. // _formdiv = new U.UF.UI.form(
  3379. // "量规评分",
  3380. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3381. // "id": "score",
  3382. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3383. // "onresize": function() {}
  3384. // }, {
  3385. // closecallback: function() {}
  3386. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3387. // _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); } }
  3388. // break;
  3389. case "mind":
  3390. _formdiv = new U.UF.UI.form(
  3391. "思维导图",
  3392. $$("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"
  3393. "id": "mind",
  3394. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3395. "onresize": function () { }
  3396. }, {
  3397. closecallback: function () { }
  3398. }, { "style": { "height": "36px" } }).form; //创建窗体
  3399. _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); } }
  3400. break;
  3401. case "doc":
  3402. // U.MD.D.I.isRoom();
  3403. _formdiv = new U.UF.UI.form(
  3404. "协同文档",
  3405. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3406. "id": "doc",
  3407. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3408. "onresize": function () { }
  3409. }, {
  3410. closecallback: function () { }
  3411. }, { "style": { "height": "36px" } }).form; //创建窗体
  3412. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3413. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3414. })
  3415. _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); } }
  3416. break;
  3417. case "train": //好友打开
  3418. _formdiv = new U.UF.UI.form(
  3419. "训练平台",
  3420. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3421. "id": "train",
  3422. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3423. "onresize": function () { }
  3424. }, {
  3425. closecallback: function () { }
  3426. }, { "style": { "height": "36px" } }).form; //创建窗体
  3427. _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); } }
  3428. break;
  3429. case "studentStudy":
  3430. _formdiv = new U.UF.UI.form(
  3431. "课程中心",
  3432. $$("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
  3433. "id": "studentStudy",
  3434. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3435. "onresize": function () { }
  3436. }, {
  3437. closecallback: function () { }
  3438. }, { "style": { "height": "36px" } }).form; //创建窗体
  3439. _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); } }
  3440. break;
  3441. case "mindNetwork": //好友打开
  3442. _formdiv = new U.UF.UI.form(
  3443. "思维网格",
  3444. $$("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 }), {
  3445. "id": "mindNetwork",
  3446. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3447. "onresize": function () { }
  3448. }, {
  3449. closecallback: function () { }
  3450. }, { "style": { "height": "36px" } }).form; //创建窗体
  3451. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3452. break;
  3453. case "studentClassRoom": //好友打开
  3454. _formdiv = new U.UF.UI.form(
  3455. "实时课堂",
  3456. $$("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 }), {
  3457. "id": "studentClassRoom",
  3458. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3459. "onresize": function () { }
  3460. }, {
  3461. closecallback: function () { }
  3462. }, { "style": { "height": "36px" } }).form; //创建窗体
  3463. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3464. setTimeout(() => {
  3465. U.UF.F.windowZooming(_formdiv)
  3466. }, 0);
  3467. break;
  3468. }
  3469. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3470. //选择应用处理
  3471. switch (str) {
  3472. case "project": //好友打开
  3473. _formdiv = new U.UF.UI.form(
  3474. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3475. $$("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 }), {
  3476. "id": "project",
  3477. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3478. "onresize": function () { }
  3479. }, {
  3480. closecallback: function () { }
  3481. }, { "style": { "height": "36px" } }).form; //创建窗体
  3482. _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); } }
  3483. break;
  3484. case "student":
  3485. _formdiv = new U.UF.UI.form(
  3486. "学生管理",
  3487. $$("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 }), {
  3488. "id": "student",
  3489. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3490. "onresize": function () { }
  3491. }, {
  3492. closecallback: function () { }
  3493. }, { "style": { "height": "36px" } }).form; //创建窗体
  3494. _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); } }
  3495. break;
  3496. case "evaluate":
  3497. _formdiv = new U.UF.UI.form(
  3498. "学生评价",
  3499. $$("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 }), {
  3500. "id": "evaluate",
  3501. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3502. "onresize": function () { }
  3503. }, {
  3504. closecallback: function () { }
  3505. }, { "style": { "height": "36px" } }).form; //创建窗体
  3506. _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); } }
  3507. break;
  3508. case "sys":
  3509. _formdiv = new U.UF.UI.form(
  3510. "目标管理",
  3511. $$("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 }), {
  3512. "id": "sys",
  3513. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3514. "onresize": function () { }
  3515. }, {
  3516. closecallback: function () { }
  3517. }, { "style": { "height": "36px" } }).form; //创建窗体
  3518. _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); } }
  3519. break;
  3520. case "courseDesign":
  3521. _formdiv = new U.UF.UI.form(
  3522. "项目设计",
  3523. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3524. "id": "courseDesign",
  3525. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3526. "onresize": function () { }
  3527. }, {
  3528. closecallback: function () { }
  3529. }, { "style": { "height": "36px" } }).form; //创建窗体
  3530. _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); } }
  3531. break;
  3532. case "program":
  3533. _formdiv = new U.UF.UI.form(
  3534. "编程平台",
  3535. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3536. "id": "program",
  3537. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3538. "onresize": function () { }
  3539. }, {
  3540. closecallback: function () { }
  3541. }, { "style": { "height": "36px" } }).form; //创建窗体
  3542. _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); } }
  3543. break;
  3544. case "class":
  3545. _formdiv = new U.UF.UI.form(
  3546. "班级管理",
  3547. $$("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 }), {
  3548. "id": "class",
  3549. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3550. "onresize": function () { }
  3551. }, {
  3552. closecallback: function () { }
  3553. }, { "style": { "height": "36px" } }).form; //创建窗体
  3554. _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); } }
  3555. break;
  3556. case "Grade":
  3557. _formdiv = new U.UF.UI.form(
  3558. "年级管理",
  3559. $$("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 }), {
  3560. "id": "Grade",
  3561. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3562. "onresize": function () { }
  3563. }, {
  3564. closecallback: function () { }
  3565. }, { "style": { "height": "36px" } }).form; //创建窗体
  3566. _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); } }
  3567. break;
  3568. case "teacherOffice":
  3569. _formdiv = new U.UF.UI.form(
  3570. "教研室",
  3571. $$("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 }), {
  3572. "id": "teacherOffice",
  3573. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3574. "onresize": function () { }
  3575. }, {
  3576. closecallback: function () { }
  3577. }, { "style": { "height": "36px" } }).form; //创建窗体
  3578. _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); } }
  3579. break;
  3580. case "my":
  3581. _formdiv = new U.UF.UI.form(
  3582. "我的资料",
  3583. $$("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 }), {
  3584. "id": "my",
  3585. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3586. "onresize": function () { }
  3587. }, {
  3588. closecallback: function () { }
  3589. }, { "style": { "height": "36px" } }).form; //创建窗体
  3590. _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); } }
  3591. break;
  3592. case "notice":
  3593. _formdiv = new U.UF.UI.form(
  3594. "通知公告",
  3595. $$("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 }), {
  3596. "id": "notice",
  3597. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3598. "onresize": function () { }
  3599. }, {
  3600. closecallback: function () { }
  3601. }, { "style": { "height": "36px" } }).form; //创建窗体
  3602. _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); } }
  3603. break;
  3604. case "library":
  3605. _formdiv = new U.UF.UI.form(
  3606. "素材库",
  3607. $$("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 }), {
  3608. "id": "library",
  3609. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3610. "onresize": function () { }
  3611. }, {
  3612. closecallback: function () { }
  3613. }, { "style": { "height": "36px" } }).form; //创建窗体
  3614. _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); } }
  3615. break;
  3616. case "whiteboard":
  3617. _formdiv = new U.UF.UI.form(
  3618. "电子白板",
  3619. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3620. "id": "whiteboard",
  3621. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3622. "onresize": function () { }
  3623. }, {
  3624. closecallback: function () { }
  3625. }, { "style": { "height": "36px" } }).form; //创建窗体
  3626. _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); } }
  3627. break;
  3628. case "investigation":
  3629. _formdiv = new U.UF.UI.form(
  3630. "问卷调查",
  3631. $$("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 }), {
  3632. "id": "investigation",
  3633. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3634. "onresize": function () { }
  3635. }, {
  3636. closecallback: function () { }
  3637. }, { "style": { "height": "36px" } }).form; //创建窗体
  3638. _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); } }
  3639. break;
  3640. case "note":
  3641. _formdiv = new U.UF.UI.form(
  3642. "便签分类",
  3643. $$("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 }), {
  3644. "id": "note",
  3645. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3646. "onresize": function () { }
  3647. }, {
  3648. closecallback: function () { }
  3649. }, { "style": { "height": "36px" } }).form; //创建窗体
  3650. _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); } }
  3651. break;
  3652. // case "score":
  3653. // _formdiv = new U.UF.UI.form(
  3654. // "量规评分",
  3655. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3656. // "id": "score",
  3657. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3658. // "onresize": function() {}
  3659. // }, {
  3660. // closecallback: function() {}
  3661. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3662. // _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); } }
  3663. // break;
  3664. case "mind":
  3665. _formdiv = new U.UF.UI.form(
  3666. "思维导图",
  3667. $$("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"
  3668. "id": "mind",
  3669. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3670. "onresize": function () { }
  3671. }, {
  3672. closecallback: function () { }
  3673. }, { "style": { "height": "36px" } }).form; //创建窗体
  3674. _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); } }
  3675. break;
  3676. case "doc":
  3677. // U.MD.D.I.isRoom();
  3678. _formdiv = new U.UF.UI.form(
  3679. "协同文档",
  3680. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3681. "id": "doc",
  3682. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3683. "onresize": function () { }
  3684. }, {
  3685. closecallback: function () { }
  3686. }, { "style": { "height": "36px" } }).form; //创建窗体
  3687. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3688. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3689. })
  3690. _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); } }
  3691. break;
  3692. case "study":
  3693. _formdiv = new U.UF.UI.form(
  3694. "课程中心",
  3695. $$("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
  3696. "id": "study",
  3697. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3698. "onresize": function () { }
  3699. }, {
  3700. closecallback: function () { }
  3701. }, { "style": { "height": "36px" } }).form; //创建窗体
  3702. _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); } }
  3703. break;
  3704. case "mindNetwork": //好友打开
  3705. _formdiv = new U.UF.UI.form(
  3706. "思维网格",
  3707. $$("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 }), {
  3708. "id": "mindNetwork",
  3709. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3710. "onresize": function () { }
  3711. }, {
  3712. closecallback: function () { }
  3713. }, { "style": { "height": "36px" } }).form; //创建窗体
  3714. _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); } }
  3715. break;
  3716. case "train": //好友打开
  3717. _formdiv = new U.UF.UI.form(
  3718. "训练平台",
  3719. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3720. "id": "mindNetwork",
  3721. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3722. "onresize": function () { }
  3723. }, {
  3724. closecallback: function () { }
  3725. }, { "style": { "height": "36px" } }).form; //创建窗体
  3726. _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); } }
  3727. break;
  3728. case "teacherClassRoom": //好友打开
  3729. _formdiv = new U.UF.UI.form(
  3730. "实时课堂",
  3731. $$("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 }), {
  3732. "id": "teacherClassRoom",
  3733. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3734. "onresize": function () { }
  3735. }, {
  3736. closecallback: function () { }
  3737. }, { "style": { "height": "36px" } }).form; //创建窗体
  3738. _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); } }
  3739. setTimeout(() => {
  3740. U.UF.F.windowZooming(_formdiv)
  3741. }, 0);
  3742. break;
  3743. }
  3744. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3745. switch (str) {
  3746. case "project": //好友打开
  3747. _formdiv = new U.UF.UI.form(
  3748. "课程管理",
  3749. $$("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 }), {
  3750. "id": "project",
  3751. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3752. "onresize": function () { }
  3753. }, {
  3754. closecallback: function () { }
  3755. }, { "style": { "height": "36px" } }).form; //创建窗体
  3756. _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); } }
  3757. break;
  3758. case "evaluate":
  3759. _formdiv = new U.UF.UI.form(
  3760. "学生评价",
  3761. $$("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 }), {
  3762. "id": "evaluate",
  3763. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3764. "onresize": function () { }
  3765. }, {
  3766. closecallback: function () { }
  3767. }, { "style": { "height": "36px" } }).form; //创建窗体
  3768. _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); } }
  3769. break;
  3770. case "notice":
  3771. _formdiv = new U.UF.UI.form(
  3772. "通知公告",
  3773. $$("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 }), {
  3774. "id": "notice",
  3775. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3776. "onresize": function () { }
  3777. }, {
  3778. closecallback: function () { }
  3779. }, { "style": { "height": "36px" } }).form; //创建窗体
  3780. _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); } }
  3781. break;
  3782. case "stuLibrary":
  3783. _formdiv = new U.UF.UI.form(
  3784. "学习资料",
  3785. $$("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 }), {
  3786. "id": "stuLibrary",
  3787. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3788. "onresize": function () { }
  3789. }, {
  3790. closecallback: function () { }
  3791. }, { "style": { "height": "36px" } }).form; //创建窗体
  3792. _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); } }
  3793. break;
  3794. case "program":
  3795. _formdiv = new U.UF.UI.form(
  3796. "编程平台",
  3797. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3798. "id": "program",
  3799. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3800. "onresize": function () { }
  3801. }, {
  3802. closecallback: function () { }
  3803. }, { "style": { "height": "36px" } }).form; //创建窗体
  3804. _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); } }
  3805. break;
  3806. case "whiteboard":
  3807. _formdiv = new U.UF.UI.form(
  3808. "电子白板",
  3809. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3810. "id": "whiteboard",
  3811. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3812. "onresize": function () { }
  3813. }, {
  3814. closecallback: function () { }
  3815. }, { "style": { "height": "36px" } }).form; //创建窗体
  3816. _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); } }
  3817. break;
  3818. case "investigation":
  3819. _formdiv = new U.UF.UI.form(
  3820. "问卷调查",
  3821. $$("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 }), {
  3822. "id": "investigation",
  3823. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3824. "onresize": function () { }
  3825. }, {
  3826. closecallback: function () { }
  3827. }, { "style": { "height": "36px" } }).form; //创建窗体
  3828. _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); } }
  3829. break;
  3830. case "mind":
  3831. _formdiv = new U.UF.UI.form(
  3832. "思维导图",
  3833. $$("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"
  3834. "id": "mind",
  3835. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3836. "onresize": function () { }
  3837. }, {
  3838. closecallback: function () { }
  3839. }, { "style": { "height": "36px" } }).form; //创建窗体
  3840. _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); } }
  3841. break;
  3842. case "doc":
  3843. // U.MD.D.I.isRoom();
  3844. _formdiv = new U.UF.UI.form(
  3845. "协同文档",
  3846. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3847. "id": "doc",
  3848. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3849. "onresize": function () { }
  3850. }, {
  3851. closecallback: function () { }
  3852. }, { "style": { "height": "36px" } }).form; //创建窗体
  3853. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3854. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3855. })
  3856. _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); } }
  3857. break;
  3858. case "study":
  3859. _formdiv = new U.UF.UI.form(
  3860. "课程中心",
  3861. $$("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
  3862. "id": "study",
  3863. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3864. "onresize": function () { }
  3865. }, {
  3866. closecallback: function () { }
  3867. }, { "style": { "height": "36px" } }).form; //创建窗体
  3868. _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); } }
  3869. break;
  3870. case "mindNetwork": //好友打开
  3871. _formdiv = new U.UF.UI.form(
  3872. "思维网格",
  3873. $$("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 }), {
  3874. "id": "mindNetwork",
  3875. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3876. "onresize": function () { }
  3877. }, {
  3878. closecallback: function () { }
  3879. }, { "style": { "height": "36px" } }).form; //创建窗体
  3880. _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); } }
  3881. break;
  3882. case "train": //好友打开
  3883. _formdiv = new U.UF.UI.form(
  3884. "训练平台",
  3885. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3886. "id": "train",
  3887. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3888. "onresize": function () { }
  3889. }, {
  3890. closecallback: function () { }
  3891. }, { "style": { "height": "36px" } }).form; //创建窗体
  3892. _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); } }
  3893. break;
  3894. case "sys":
  3895. _formdiv = new U.UF.UI.form(
  3896. "目标管理",
  3897. $$("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 }), {
  3898. "id": "sys",
  3899. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3900. "onresize": function () { }
  3901. }, {
  3902. closecallback: function () { }
  3903. }, { "style": { "height": "36px" } }).form; //创建窗体
  3904. _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); } }
  3905. break;
  3906. case "courseDesign":
  3907. _formdiv = new U.UF.UI.form(
  3908. "项目设计",
  3909. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3910. "id": "courseDesign",
  3911. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3912. "onresize": function () { }
  3913. }, {
  3914. closecallback: function () { }
  3915. }, { "style": { "height": "36px" } }).form; //创建窗体
  3916. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3917. break;
  3918. }
  3919. } else if (!_type) {
  3920. switch (str) {
  3921. case "my":
  3922. _formdiv = new U.UF.UI.form(
  3923. "我的资料",
  3924. $$("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 }), {
  3925. "id": "my",
  3926. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3927. "onresize": function () { }
  3928. }, {
  3929. closecallback: function () { }
  3930. }, { "style": { "height": "36px" } }).form; //创建窗体
  3931. _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); } }
  3932. break;
  3933. }
  3934. }
  3935. switch (str) {
  3936. // AIprogram2 AI体验 aihub.cocorobo.cn
  3937. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3938. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3939. case "formulaEdi": //公式编辑
  3940. _formdiv = new U.UF.UI.form(
  3941. "公式编辑",
  3942. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3943. "id": "formulaEdi",
  3944. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3945. "onresize": function () { }
  3946. }, {
  3947. closecallback: function () { }
  3948. }, { "style": { "height": "36px" } }).form; //创建窗体
  3949. _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); } }
  3950. break;
  3951. case "molStr": //分子结构
  3952. _formdiv = new U.UF.UI.form(
  3953. "分子结构",
  3954. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3955. "id": "molStr",
  3956. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3957. "onresize": function () { }
  3958. }, {
  3959. closecallback: function () { }
  3960. }, { "style": { "height": "36px" } }).form; //创建窗体
  3961. _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); } }
  3962. break;
  3963. case "timeAxis": //时间轴
  3964. _formdiv = new U.UF.UI.form(
  3965. "时间轴",
  3966. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3967. "id": "timeAxis",
  3968. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3969. "onresize": function () { }
  3970. }, {
  3971. closecallback: function () { }
  3972. }, { "style": { "height": "36px" } }).form; //创建窗体
  3973. _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); } }
  3974. break;
  3975. case "AIprogram2": //AI体验
  3976. _formdiv = new U.UF.UI.form(
  3977. "AI体验",
  3978. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3979. "id": "AIprogram2",
  3980. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3981. "onresize": function () { }
  3982. }, {
  3983. closecallback: function () { }
  3984. }, { "style": { "height": "36px" } }).form; //创建窗体
  3985. _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); } }
  3986. break;
  3987. case "Pythonprogram": //python编程
  3988. _formdiv = new U.UF.UI.form(
  3989. "Python编程",
  3990. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3991. "id": "Pythonprogram",
  3992. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3993. "onresize": function () { }
  3994. }, {
  3995. closecallback: function () { }
  3996. }, { "style": { "height": "36px" } }).form; //创建窗体
  3997. _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); } }
  3998. break;
  3999. case "AIprogram": //ai编程
  4000. _formdiv = new U.UF.UI.form(
  4001. "AI编程平台",
  4002. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4003. "id": "AIprogram",
  4004. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4005. "onresize": function () { }
  4006. }, {
  4007. closecallback: function () { }
  4008. }, { "style": { "height": "36px" } }).form; //创建窗体
  4009. _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); } }
  4010. break;
  4011. case "CocoPi": //CocoPi
  4012. _formdiv = new U.UF.UI.form(
  4013. "CocoPi",
  4014. $$("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" }), {
  4015. "id": "CocoPi",
  4016. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4017. "onresize": function () { }
  4018. }, {
  4019. closecallback: function () { }
  4020. }, { "style": { "height": "36px" } }).form; //创建窗体
  4021. _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); } }
  4022. break;
  4023. case "Wood": //Wood
  4024. _formdiv = new U.UF.UI.form(
  4025. "海龟编程",
  4026. $$("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/" }), {
  4027. "id": "Wood",
  4028. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4029. "onresize": function () { }
  4030. }, {
  4031. closecallback: function () { }
  4032. }, { "style": { "height": "36px" } }).form; //创建窗体
  4033. _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); } }
  4034. break;
  4035. case "car": //模拟驾驶
  4036. _formdiv = new U.UF.UI.form(
  4037. "模拟驾驶",
  4038. $$("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/" }), {
  4039. "id": "car",
  4040. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4041. "onresize": function () { }
  4042. }, {
  4043. closecallback: function () { }
  4044. }, { "style": { "height": "36px" } }).form; //创建窗体
  4045. _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); } }
  4046. break;
  4047. case "lineSearch": //路径搜索
  4048. _formdiv = new U.UF.UI.form(
  4049. "路径搜索",
  4050. $$("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/" }), {
  4051. "id": "lineSearch",
  4052. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4053. "onresize": function () { }
  4054. }, {
  4055. closecallback: function () { }
  4056. }, { "style": { "height": "36px" } }).form; //创建窗体
  4057. _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); } }
  4058. break;
  4059. case "deepLearning": //深度学习
  4060. _formdiv = new U.UF.UI.form(
  4061. "深度学习",
  4062. $$("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/#" }), {
  4063. "id": "deepLearning",
  4064. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4065. "onresize": function () { }
  4066. }, {
  4067. closecallback: function () { }
  4068. }, { "style": { "height": "36px" } }).form; //创建窗体
  4069. _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); } }
  4070. break;
  4071. case "allHistory": //深度学习
  4072. _formdiv = new U.UF.UI.form(
  4073. "全历史",
  4074. $$("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/" }), {
  4075. "id": "allHistory",
  4076. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4077. "onresize": function () { }
  4078. }, {
  4079. closecallback: function () { }
  4080. }, { "style": { "height": "36px" } }).form; //创建窗体
  4081. _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); } }
  4082. break;
  4083. case "chatPDF": //ai编程
  4084. _formdiv = new U.UF.UI.form(
  4085. "chatPDF",
  4086. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4087. "id": "chatPDF",
  4088. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4089. "onresize": function () { }
  4090. }, {
  4091. closecallback: function () { }
  4092. }, { "style": { "height": "36px" } }).form; //创建窗体
  4093. _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); } }
  4094. break;
  4095. case "resources": //国家教育
  4096. _formdiv = new U.UF.UI.form(
  4097. "国家教育",
  4098. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4099. "id": "resources",
  4100. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4101. "onresize": function () { }
  4102. }, {
  4103. closecallback: function () { }
  4104. }, { "style": { "height": "36px" } }).form; //创建窗体
  4105. _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); } }
  4106. break;
  4107. case "codeEdit": //源码编辑
  4108. _formdiv = new U.UF.UI.form(
  4109. "源码编辑",
  4110. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4111. "id": "codeEdit",
  4112. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4113. "onresize": function () { }
  4114. }, {
  4115. closecallback: function () { }
  4116. }, { "style": { "height": "36px" } }).form; //创建窗体
  4117. _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); } }
  4118. break; //
  4119. case "MindMap": //MindMap
  4120. _formdiv = new U.UF.UI.form(
  4121. "MindMap",
  4122. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4123. "id": "MindMap",
  4124. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4125. "onresize": function () { }
  4126. }, {
  4127. closecallback: function () { }
  4128. }, { "style": { "height": "36px" } }).form; //创建窗体
  4129. _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); } }
  4130. break;
  4131. case "netWorkPanel": //netWorkPanel
  4132. _formdiv = new U.UF.UI.form(
  4133. "netWorkPanel",
  4134. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4135. "id": "netWorkPanel",
  4136. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4137. "onresize": function () { }
  4138. }, {
  4139. closecallback: function () { }
  4140. }, { "style": { "height": "36px" } }).form; //创建窗体
  4141. _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); } }
  4142. break;
  4143. case "GeoGebra": //GeoGebra
  4144. _formdiv = new U.UF.UI.form(
  4145. "GeoGebra",
  4146. $$("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" }), {
  4147. "id": "GeoGebra",
  4148. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4149. "onresize": function () { }
  4150. }, {
  4151. closecallback: function () { }
  4152. }, { "style": { "height": "36px" } }).form; //创建窗体
  4153. _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); } }
  4154. break;
  4155. case "translation": //翻译
  4156. _formdiv = new U.UF.UI.form(
  4157. "翻译",
  4158. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4159. "id": "translation",
  4160. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4161. "onresize": function () { }
  4162. }, {
  4163. closecallback: function () { }
  4164. }, { "style": { "height": "36px" } }).form; //创建窗体
  4165. _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); } }
  4166. break;
  4167. case "mohe": //魔盒
  4168. _formdiv = new U.UF.UI.form(
  4169. "魔盒识字",
  4170. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4171. "id": "mohe",
  4172. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4173. "onresize": function () { }
  4174. }, {
  4175. closecallback: function () { }
  4176. }, { "style": { "height": "36px" } }).form; //创建窗体
  4177. _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); } }
  4178. break;
  4179. case "24game": //24点
  4180. _formdiv = new U.UF.UI.form(
  4181. "24点",
  4182. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4183. "id": "24game",
  4184. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4185. "onresize": function () { }
  4186. }, {
  4187. closecallback: function () { }
  4188. }, { "style": { "height": "36px" } }).form; //创建窗体
  4189. _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); } }
  4190. break;
  4191. case "case":
  4192. _formdiv = new U.UF.UI.form(
  4193. "课程进展",
  4194. $$("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 }), {
  4195. "id": "case",
  4196. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4197. "onresize": function () { }
  4198. }, {
  4199. closecallback: function () { }
  4200. }, { "style": { "height": "36px" } }).form; //创建窗体
  4201. _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); } }
  4202. break;
  4203. case "snf":
  4204. _formdiv = new U.UF.UI.form(
  4205. "赛诺梵",
  4206. $$("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" }), {
  4207. "id": "snf",
  4208. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4209. "onresize": function () { }
  4210. }, {
  4211. closecallback: function () { }
  4212. }, { "style": { "height": "36px" } }).form; //创建窗体
  4213. _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); } }
  4214. break;
  4215. case "hanFamily":
  4216. _formdiv = new U.UF.UI.form(
  4217. "汉字家族",
  4218. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4219. "id": "hanFamily",
  4220. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4221. "onresize": function () { }
  4222. }, {
  4223. closecallback: function () { }
  4224. }, { "style": { "height": "36px" } }).form; //创建窗体
  4225. _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); } }
  4226. break;
  4227. case "hanClassics":
  4228. _formdiv = new U.UF.UI.form(
  4229. "国学经典",
  4230. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4231. "id": "hanClassics",
  4232. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4233. "onresize": function () { }
  4234. }, {
  4235. closecallback: function () { }
  4236. }, { "style": { "height": "36px" } }).form; //创建窗体
  4237. _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); } }
  4238. break;
  4239. case "hanTraining":
  4240. _formdiv = new U.UF.UI.form(
  4241. "笔画训练",
  4242. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4243. "id": "hanTraining",
  4244. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4245. "onresize": function () { }
  4246. }, {
  4247. closecallback: function () { }
  4248. }, { "style": { "height": "36px" } }).form; //创建窗体
  4249. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanTraining.png)" }, "name": "笔画训练", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4250. break;
  4251. case "hanClass":
  4252. _formdiv = new U.UF.UI.form(
  4253. "书法课堂",
  4254. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4255. "id": "hanClass",
  4256. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4257. "onresize": function () { }
  4258. }, {
  4259. closecallback: function () { }
  4260. }, { "style": { "height": "36px" } }).form; //创建窗体
  4261. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "书法课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4262. break;
  4263. case "han":
  4264. _formdiv = new U.UF.UI.form(
  4265. "汉字宫",
  4266. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4267. "id": "han",
  4268. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4269. "onresize": function () { }
  4270. }, {
  4271. closecallback: function () { }
  4272. }, { "style": { "height": "36px" } }).form; //创建窗体
  4273. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/han.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4274. break;
  4275. case "projectGM": //课程管理
  4276. _formdiv = new U.UF.UI.form(
  4277. "课程管理",
  4278. $$("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 }), {
  4279. "id": "projectGM",
  4280. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4281. "onresize": function () { }
  4282. }, {
  4283. closecallback: function () { }
  4284. }, { "style": { "height": "36px" } }).form; //创建窗体
  4285. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/courseMange.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4286. break;
  4287. case "studyGM": //课程中心
  4288. _formdiv = new U.UF.UI.form(
  4289. "课程中心",
  4290. $$("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
  4291. "id": "study",
  4292. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4293. "onresize": function () { }
  4294. }, {
  4295. closecallback: function () { }
  4296. }, { "style": { "height": "36px" } }).form; //创建窗体
  4297. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4298. break;
  4299. // studentGM
  4300. case "studentGM": //学生管理
  4301. _formdiv = new U.UF.UI.form(
  4302. "学生管理",
  4303. $$("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 }), {
  4304. "id": "studentGM",
  4305. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4306. "onresize": function () { }
  4307. }, {
  4308. closecallback: function () { }
  4309. }, { "style": { "height": "36px" } }).form; //创建窗体
  4310. _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); } }
  4311. break;
  4312. case "evaluateGM": //学生评价
  4313. _formdiv = new U.UF.UI.form(
  4314. "学生评价",
  4315. $$("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 }), {
  4316. "id": "evaluateGM",
  4317. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4318. "onresize": function () { }
  4319. }, {
  4320. closecallback: function () { }
  4321. }, { "style": { "height": "36px" } }).form; //创建窗体
  4322. _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); } }
  4323. break;
  4324. // classGM
  4325. case "classGM": //班级管理
  4326. _formdiv = new U.UF.UI.form(
  4327. "班级管理",
  4328. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/classGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4329. "id": "classGM",
  4330. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4331. "onresize": function () { }
  4332. }, {
  4333. closecallback: function () { }
  4334. }, { "style": { "height": "36px" } }).form; //创建窗体
  4335. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4336. break;
  4337. // dataGM
  4338. case "dataGM":
  4339. _formdiv = new U.UF.UI.form(
  4340. "我的资料",
  4341. $$("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 }), {
  4342. "id": "dataGM",
  4343. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4344. "onresize": function () { }
  4345. }, {
  4346. closecallback: function () { }
  4347. }, { "style": { "height": "36px" } }).form; //创建窗体
  4348. _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); } }
  4349. break;
  4350. // caseGM
  4351. case "caseGM": //课程进展
  4352. _formdiv = new U.UF.UI.form(
  4353. "课程进展",
  4354. $$("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 }), {
  4355. "id": "caseGM",
  4356. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4357. "onresize": function () { }
  4358. }, {
  4359. closecallback: function () { }
  4360. }, { "style": { "height": "36px" } }).form; //创建窗体
  4361. _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); } }
  4362. break;
  4363. // meterialGM
  4364. case "meterialGM": //素材库
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/libraryGM?userid=" + _userid + "&org=" + _org }), {
  4368. "id": "meterialGM",
  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/gm/material.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4375. break;
  4376. // evaluateSGM
  4377. case "evaluateSGM": //我的评价
  4378. _formdiv = new U.UF.UI.form(
  4379. "我的评价",
  4380. $$("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 }), {
  4381. "id": "evaluateSGM",
  4382. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4383. "onresize": function () { }
  4384. }, {
  4385. closecallback: function () { }
  4386. }, { "style": { "height": "36px" } }).form; //创建窗体
  4387. _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); } }
  4388. break;
  4389. case "jupyter": //jupyter
  4390. _formdiv = new U.UF.UI.form(
  4391. "jupyter",
  4392. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4393. "id": "jupyter",
  4394. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4395. "onresize": function () { }
  4396. }, {
  4397. closecallback: function () { }
  4398. }, { "style": { "height": "36px" } }).form; //创建窗体
  4399. _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); } }
  4400. break;
  4401. case "number": //数字实验室
  4402. _formdiv = new U.UF.UI.form(
  4403. "数字实验室",
  4404. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4405. "id": "number",
  4406. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4407. "onresize": function () { }
  4408. }, {
  4409. closecallback: function () { }
  4410. }, { "style": { "height": "36px" } }).form; //创建窗体
  4411. _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); } }
  4412. break;
  4413. case "studentCourse": //项目管理 学生
  4414. _formdiv = new U.UF.UI.form(
  4415. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4416. $$("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 }), {
  4417. "id": "studentCourse",
  4418. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4419. "onresize": function () { }
  4420. }, {
  4421. closecallback: function () { }
  4422. }, { "style": { "height": "36px" } }).form; //创建窗体
  4423. _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); } }
  4424. break;
  4425. case "studentCourseS": //项目管理 老师
  4426. _formdiv = new U.UF.UI.form(
  4427. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4428. $$("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 }), {
  4429. "id": "studentCourseS",
  4430. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4431. "onresize": function () { }
  4432. }, {
  4433. closecallback: function () { }
  4434. }, { "style": { "height": "36px" } }).form; //创建窗体
  4435. _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); } }
  4436. break;
  4437. case "studentIndex": //项目中心
  4438. _formdiv = new U.UF.UI.form(
  4439. "项目中心",
  4440. $$("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 }), {
  4441. "id": "studentIndex",
  4442. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4443. "onresize": function () { }
  4444. }, {
  4445. closecallback: function () { }
  4446. }, { "style": { "height": "36px" } }).form; //创建窗体
  4447. _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); } }
  4448. break;
  4449. case "CaseDesignS":
  4450. _formdiv = new U.UF.UI.form(
  4451. "项目进展",
  4452. $$("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 }), {
  4453. "id": "case",
  4454. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4455. "onresize": function () { }
  4456. }, {
  4457. closecallback: function () { }
  4458. }, { "style": { "height": "36px" } }).form; //创建窗体
  4459. _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); } }
  4460. break;
  4461. case "tcStudent": //腾讯学生管理
  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/#/tcStudent?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4465. "id": "tcStudent",
  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/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4472. break;
  4473. case "tcSchool": //腾讯学校管理
  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/#/tcSchool?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4477. "id": "tcSchool",
  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/school.png)" }, "name": "学校管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4484. break;
  4485. case "tcTeacher": //腾讯学校管理
  4486. _formdiv = new U.UF.UI.form(
  4487. "教师管理",
  4488. $$("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 }), {
  4489. "id": "tcTeacher",
  4490. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4491. "onresize": function () { }
  4492. }, {
  4493. closecallback: function () { }
  4494. }, { "style": { "height": "36px" } }).form; //创建窗体
  4495. _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); } }
  4496. break;
  4497. case "tcData": //腾讯我的资料
  4498. _formdiv = new U.UF.UI.form(
  4499. "我的资料",
  4500. $$("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 }), {
  4501. "id": "tcData",
  4502. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4503. "onresize": function () { }
  4504. }, {
  4505. closecallback: function () { }
  4506. }, { "style": { "height": "36px" } }).form; //创建窗体
  4507. _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); } }
  4508. break;
  4509. case "tcNotice": //腾讯消息通知
  4510. _formdiv = new U.UF.UI.form(
  4511. "消息通知",
  4512. $$("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 }), {
  4513. "id": "tcNotice",
  4514. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4515. "onresize": function () { }
  4516. }, {
  4517. closecallback: function () { }
  4518. }, { "style": { "height": "36px" } }).form; //创建窗体
  4519. _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); } }
  4520. break;
  4521. case "myReport": //好友打开
  4522. _formdiv = new U.UF.UI.form(
  4523. "我的评价",
  4524. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/myReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId }), {
  4525. "id": "myReport",
  4526. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4527. "onresize": function () { }
  4528. }, {
  4529. closecallback: function () { }
  4530. }, { "style": { "height": "36px" } }).form; //创建窗体
  4531. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4532. break;
  4533. case "learnAna": //好友打开
  4534. _formdiv = new U.UF.UI.form(
  4535. "学习分析",
  4536. $$("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 }), {
  4537. "id": "learnAna",
  4538. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4539. "onresize": function () { }
  4540. }, {
  4541. closecallback: function () { }
  4542. }, { "style": { "height": "36px" } }).form; //创建窗体
  4543. _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); } }
  4544. break;
  4545. case "AIChat": //AI共创
  4546. _formdiv = new U.UF.UI.form(
  4547. "AI共创",
  4548. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4549. "id": "AIChat",
  4550. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4551. "onresize": function () { }
  4552. }, {
  4553. istop: true,
  4554. closecallback: function () { $("#aichat_icon").remove(); },
  4555. narrowcallback: function () {
  4556. if (!$("#aichat_icon")[0]) {
  4557. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4558. }
  4559. },
  4560. }, { "style": { "height": "36px" } }).form; //创建窗体
  4561. _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); } }
  4562. break;
  4563. case "ainew": //AI共创
  4564. _formdiv = new U.UF.UI.form(
  4565. "AI协同",
  4566. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4567. "id": "ainew",
  4568. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4569. "onresize": function () { }
  4570. }, {
  4571. closecallback: function () { }
  4572. }, { "style": { "height": "36px" } }).form; //创建窗体
  4573. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI协同", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4574. break;
  4575. case "gpt4": //gpt4
  4576. _formdiv = new U.UF.UI.form(
  4577. "AI助手",
  4578. $$("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 }), {
  4579. "id": "gpt4",
  4580. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4581. "onresize": function () { }
  4582. }, {
  4583. closecallback: function () { }
  4584. }, { "style": { "height": "36px" } }).form; //创建窗体
  4585. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gpt4.png)" }, "name": "AI助手", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4586. break;
  4587. case "aigpt": //gpt4
  4588. _formdiv = new U.UF.UI.form(
  4589. "AI助手+",
  4590. $$("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 }), {
  4591. "id": "aigpt",
  4592. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4593. "onresize": function () { }
  4594. }, {
  4595. closecallback: function () { }
  4596. }, { "style": { "height": "36px" } }).form; //创建窗体
  4597. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aigpt.png)" }, "name": "AI助手+", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4598. break;
  4599. case "futureClass": //AI共创
  4600. _formdiv = new U.UF.UI.form(
  4601. "协同建构",
  4602. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {//https://beta.cscl.cocorobo.cn
  4603. "id": "synergyCourse",
  4604. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4605. "onresize": function () { }
  4606. }, {
  4607. closecallback: function () {
  4608. $("iframe", _formdiv)[0].contentWindow.loginout();
  4609. }
  4610. }, { "style": { "height": "36px" } }).form; //创建窗体
  4611. _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); } }
  4612. break;
  4613. case "aiagent": //ai agent
  4614. _formdiv = new U.UF.UI.form(
  4615. "AI Agent",
  4616. $$("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" }), {
  4617. "id": "AIAgent",
  4618. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4619. "onresize": function () { }
  4620. }, {
  4621. closecallback: function () { }
  4622. }, { "style": { "height": "36px" } }).form; //创建窗体
  4623. _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); } }
  4624. break;
  4625. case "dataBoard": //数据看板
  4626. _formdiv = new U.UF.UI.form(
  4627. "数据看板",
  4628. $$("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 }), {
  4629. "id": "dataBoard",
  4630. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4631. "onresize": function () { }
  4632. }, {
  4633. closecallback: function () { }
  4634. }, { "style": { "height": "36px" } }).form; //创建窗体
  4635. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoard.png)" }, "name": "数据看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4636. break;
  4637. case "dataBoardSies": //数据融合
  4638. _formdiv = new U.UF.UI.form(
  4639. "数据融合",
  4640. $$("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 }), {
  4641. "id": "dataBoardSies",
  4642. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4643. "onresize": function () { }
  4644. }, {
  4645. closecallback: function () { }
  4646. }, { "style": { "height": "36px" } }).form; //创建窗体
  4647. _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); } }
  4648. break;
  4649. case "dataBoardNew": //数据看板
  4650. _formdiv = new U.UF.UI.form(
  4651. "综合看板",
  4652. $$("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 }), {
  4653. "id": "dataBoardNew",
  4654. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4655. "onresize": function () { }
  4656. }, {
  4657. closecallback: function () { }
  4658. }, { "style": { "height": "36px" } }).form; //创建窗体
  4659. _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); } }
  4660. break;
  4661. case "dataBoardTest": //数据看板
  4662. _formdiv = new U.UF.UI.form(
  4663. "评测看板",
  4664. $$("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 }), {
  4665. "id": "dataBoardTest",
  4666. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4667. "onresize": function () { }
  4668. }, {
  4669. closecallback: function () { }
  4670. }, { "style": { "height": "36px" } }).form; //创建窗体
  4671. _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); } }
  4672. break;
  4673. case "AIAnalyse": //AI共创
  4674. _formdiv = new U.UF.UI.form(
  4675. "AI分析",
  4676. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4677. "id": "AIAnalyse",
  4678. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4679. "onresize": function () { }
  4680. }, {
  4681. closecallback: function () { }
  4682. }, { "style": { "height": "36px" } }).form; //创建窗体
  4683. _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); } }
  4684. break;
  4685. case "studioCourse": //AI共创
  4686. _formdiv = new U.UF.UI.form(
  4687. "工作管理",
  4688. $$("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 }), {
  4689. "id": "studioCourse",
  4690. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4691. "onresize": function () { }
  4692. }, {
  4693. closecallback: function () { }
  4694. }, { "style": { "height": "36px" } }).form; //创建窗体
  4695. _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); } }
  4696. break;
  4697. case "studioIndex": //AI共创
  4698. _formdiv = new U.UF.UI.form(
  4699. "工作中心",
  4700. $$("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 }), {
  4701. "id": "studioIndex",
  4702. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4703. "onresize": function () { }
  4704. }, {
  4705. closecallback: function () { }
  4706. }, { "style": { "height": "36px" } }).form; //创建窗体
  4707. _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); } }
  4708. break;
  4709. case "source":
  4710. _formdiv = new U.UF.UI.form(
  4711. "教学资源",
  4712. $$("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 }), {
  4713. "id": "source",
  4714. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4715. "onresize": function () { }
  4716. }, {
  4717. closecallback: function () { }
  4718. }, { "style": { "height": "36px" } }).form; //创建窗体
  4719. _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); } }
  4720. break;
  4721. case "testTeacher":
  4722. _formdiv = new U.UF.UI.form(
  4723. "评测管理",
  4724. $$("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 }), {
  4725. "id": "testTeacher",
  4726. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4727. "onresize": function () { }
  4728. }, {
  4729. closecallback: function () { }
  4730. }, { "style": { "height": "36px" } }).form; //创建窗体
  4731. _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); } }
  4732. break;
  4733. case "testStudent":
  4734. _formdiv = new U.UF.UI.form(
  4735. "评测中心",
  4736. $$("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 }), {
  4737. "id": "testStudent",
  4738. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4739. "onresize": function () { }
  4740. }, {
  4741. closecallback: function () { }
  4742. }, { "style": { "height": "36px" } }).form; //创建窗体
  4743. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testStudent.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4744. break;
  4745. case "testTeacherSies":
  4746. _formdiv = new U.UF.UI.form(
  4747. "教师管理",
  4748. $$("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 }), {
  4749. "id": "testTeacherSies",
  4750. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4751. "onresize": function () { }
  4752. }, {
  4753. closecallback: function () { }
  4754. }, { "style": { "height": "36px" } }).form; //创建窗体
  4755. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testTeacher.png)" }, "name": "教师管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4756. break;
  4757. case "testStudentSies":
  4758. _formdiv = new U.UF.UI.form(
  4759. "教师中心",
  4760. $$("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 }), {
  4761. "id": "testStudentSies",
  4762. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4763. "onresize": function () { }
  4764. }, {
  4765. closecallback: function () { }
  4766. }, { "style": { "height": "36px" } }).form; //创建窗体
  4767. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testStudent.png)" }, "name": "教师中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4768. break;
  4769. }
  4770. //U.MD.D.I.openClick(str);
  4771. //如果有任务栏信息
  4772. if (_taskbar) {
  4773. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4774. }
  4775. }
  4776. // U.MD.D.I.openClick = function(str){
  4777. // var click = '';
  4778. // switch(str){
  4779. // case 'friend':
  4780. // click = '我的好友';
  4781. // break;
  4782. // case 'domain':
  4783. // click = '域名管理';
  4784. // break;
  4785. // case 'disk':
  4786. // click = '我的云盘';
  4787. // break;
  4788. // case 'word':
  4789. // click = 'Word';
  4790. // break;
  4791. // case 'excel':
  4792. // click = 'Execl';
  4793. // break;
  4794. // case 'txt':
  4795. // click = '文本文件';
  4796. // break;
  4797. // case 'lookupFriend':
  4798. // click = '查找好友';
  4799. // break;
  4800. // case 'ftp':
  4801. // click = 'FTP';
  4802. // break;
  4803. // case 'group':
  4804. // click = '群组';
  4805. // break;
  4806. // case 'set':
  4807. // click = '我的设置';
  4808. // break;
  4809. // case 'systemSet':
  4810. // click = '系统设置';
  4811. // break;
  4812. // case 'boomYun':
  4813. // click = '互联办公';
  4814. // break;
  4815. // case 'xz':
  4816. // click = '云端下载';
  4817. // break;
  4818. // case 'client':
  4819. // click = '有思浏览器';
  4820. // break;
  4821. // case 'backEndProgramming':
  4822. // click = '在线后台编程';
  4823. // break;
  4824. // case 'frontEndProgramming':
  4825. // click = '在线前端编程';
  4826. // break;
  4827. // default: break;
  4828. // }
  4829. // if(U.MD.D.I.Ip && click){
  4830. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4831. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4832. // })
  4833. // }
  4834. // }
  4835. /**
  4836. *函数作用:ajax简易函数,使用post格式
  4837. *@param url {data} 后台地址
  4838. *@param data {data} 参数json
  4839. *@param fn {data} 回调函数
  4840. *
  4841. */
  4842. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4843. // var xhr = new XMLHttpRequest();
  4844. // xhr.open("GET",url,true);
  4845. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4846. // xhr.onreadystatechange = function(){
  4847. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4848. // fn.call(this,xhr.responseText);
  4849. // }
  4850. // };
  4851. // xhr.send();
  4852. // }
  4853. /*判断是否是内网IP*/
  4854. // U.MD.D.I.isInnerIPFn = function(str){
  4855. // var curPageUrl = str;
  4856. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4857. // curPageUrl =curPageUrl.replace(reg1,'');
  4858. // // console.log('curPageUrl-1 '+curPageUrl);
  4859. // var reg2 = /\:+/g;//替换冒号为一点
  4860. // curPageUrl =curPageUrl.replace(reg2,'.');
  4861. // // console.log('curPageUrl-2 '+curPageUrl);
  4862. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4863. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4864. // if(curPageUrl[2] != '16'){
  4865. // return ipAddress;
  4866. // }else{
  4867. // return false;
  4868. // }
  4869. // }
  4870. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4871. // //compatibility for firefox and chrome
  4872. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4873. // var pc = new myPeerConnection({
  4874. // iceServers: []
  4875. // }),
  4876. // noop = function() {},
  4877. // localIPs = {},
  4878. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4879. // key;
  4880. // function iterateIP(ip) {
  4881. // if (!localIPs[ip]) onNewIP(ip);
  4882. // localIPs[ip] = true;
  4883. // }
  4884. // //create a bogus data channel
  4885. // pc.createDataChannel("");
  4886. // // create offer and set local description
  4887. // pc.createOffer().then(function(sdp) {
  4888. // sdp.sdp.split('\n').forEach(function(line) {
  4889. // if (line.indexOf('candidate') < 0) return;
  4890. // line.match(ipRegex).forEach(iterateIP);
  4891. // });
  4892. // pc.setLocalDescription(sdp, noop, noop);
  4893. // }).catch(function(reason) {
  4894. // // An error occurred, so handle the failure to connect
  4895. // });
  4896. // //sten for candidate events
  4897. // pc.onicecandidate = function(ice) {
  4898. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4899. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4900. // };
  4901. // }
  4902. // U.MD.D.I.getUserIpBool = function(callback){
  4903. // U.MD.D.I.getUserIP(function(ip){
  4904. // alert("Got IP! :" + ip);
  4905. // });
  4906. //}
  4907. //#endregion
  4908. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4909. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4910. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4911. _userinfo = US.userInfo, //登录用户信息
  4912. _userid = US.userInfo.userid //登录用户id
  4913. let _iframe;
  4914. let _cid = cid,
  4915. _stage = stage,
  4916. _task = task,
  4917. _tool = tool;
  4918. var _jie = $$("div", {
  4919. "style": {
  4920. "position": "absolute",
  4921. "bottom": "50px",
  4922. "right": "50px",
  4923. "zIndex": "9999",
  4924. "backgroundColor": "#2268bc",
  4925. "color": "#fff",
  4926. "padding": "12px 20px",
  4927. "cursor": "pointer",
  4928. "borderRadius": "4px",
  4929. },
  4930. "innerHTML": "提交作业"
  4931. })
  4932. let aTool = ''
  4933. let _loading = document.createElement('div')
  4934. _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;"
  4935. // _loading.id = "";
  4936. let _lchild = document.createElement('div')
  4937. let _limg = document.createElement('img')
  4938. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4939. _limg.style = "width: 26px;margin-right: 10px;"
  4940. _lchild.appendChild(_limg)
  4941. let _lspan = document.createElement('span')
  4942. _lspan.innerHTML = "上传中..."
  4943. _lchild.appendChild(_lspan)
  4944. _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%);"
  4945. _loading.appendChild(_lchild)
  4946. var _box = $$('div', {
  4947. "style": {
  4948. "position": "relative",
  4949. "width": "100%",
  4950. "height": "100%",
  4951. },
  4952. })
  4953. _box.appendChild(_loading)
  4954. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4955. switch (str) {
  4956. case "whiteboard":
  4957. aTool = 1;
  4958. _iframe = $$("iframe", {
  4959. "frameborder": "no",
  4960. "border": "0",
  4961. "scrolling ": "no",
  4962. "style": {
  4963. "cssText": "border:0;width:100%;height:100%"
  4964. },
  4965. "src": "https://iwb.cocorobo.cn/"
  4966. })
  4967. _box.appendChild(_iframe);
  4968. _box.appendChild(_jie);
  4969. _formdiv = new U.UF.UI.form(
  4970. "电子白板",
  4971. _box, {
  4972. "id": "whiteboard" + cid + stage + task + tool,
  4973. "style": {
  4974. "width": "90%",
  4975. "height": "90%",
  4976. "overflow": 'hidden'
  4977. },
  4978. "onresize": function () { }
  4979. }, {
  4980. closecallback: function () { }
  4981. }, {
  4982. "style": {
  4983. "height": "36px"
  4984. }
  4985. }).form; //创建窗体
  4986. _taskbar = {
  4987. "id": str + _formdiv.id,
  4988. "style": {
  4989. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4990. },
  4991. "name": "电子白板",
  4992. "forms": _formdiv,
  4993. "click": function () {
  4994. U.MD.D.I.openApplication(str, obj, info);
  4995. }
  4996. }
  4997. break;
  4998. case "mind":
  4999. aTool = 3;
  5000. _iframe = $$("iframe", {
  5001. "frameborder": "no",
  5002. "border": "0",
  5003. "scrolling ": "no",
  5004. "style": {
  5005. "cssText": "border:0;width:100%;height:100%"
  5006. },
  5007. "src": "/kityminder-editor/dist/index.html"
  5008. })
  5009. _box.appendChild(_iframe);
  5010. _box.appendChild(_jie);
  5011. _formdiv = new U.UF.UI.form(
  5012. "思维导图",
  5013. _box, { //"/jsmind/example/demo.html"
  5014. "id": "mind" + cid + stage + task + tool,
  5015. "style": {
  5016. "width": "90%",
  5017. "height": "90%",
  5018. "overflow": 'hidden'
  5019. },
  5020. "onresize": function () { }
  5021. }, {
  5022. closecallback: function () { }
  5023. }, {
  5024. "style": {
  5025. "height": "36px"
  5026. }
  5027. }).form; //创建窗体
  5028. _taskbar = {
  5029. "id": str + _formdiv.id,
  5030. "style": {
  5031. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5032. },
  5033. "name": "思维导图",
  5034. "forms": _formdiv,
  5035. "click": function () {
  5036. U.MD.D.I.openApplication(str, obj, info);
  5037. }
  5038. }
  5039. break;
  5040. case "MindMap":
  5041. aTool = 3;
  5042. _iframe = $$("iframe", {
  5043. "frameborder": "no",
  5044. "border": "0",
  5045. "scrolling ": "no",
  5046. "style": {
  5047. "cssText": "border:0;width:100%;height:100%"
  5048. },
  5049. "src": "//cloud.cocorobo.cn/mind/"
  5050. })
  5051. _box.appendChild(_iframe);
  5052. _box.appendChild(_jie);
  5053. _formdiv = new U.UF.UI.form(
  5054. "思维导图",
  5055. _box, { //"/jsmind/example/demo.html"
  5056. "id": "mind" + cid + stage + task + tool,
  5057. "style": {
  5058. "width": "90%",
  5059. "height": "90%",
  5060. "overflow": 'hidden'
  5061. },
  5062. "onresize": function () { }
  5063. }, {
  5064. closecallback: function () { }
  5065. }, {
  5066. "style": {
  5067. "height": "36px"
  5068. }
  5069. }).form; //创建窗体
  5070. _taskbar = {
  5071. "id": str + _formdiv.id,
  5072. "style": {
  5073. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5074. },
  5075. "name": "思维导图",
  5076. "forms": _formdiv,
  5077. "click": function () {
  5078. U.MD.D.I.openApplication(str, obj, info);
  5079. }
  5080. }
  5081. break;
  5082. case "doc":
  5083. aTool = 6;
  5084. _iframe = $$("iframe", {
  5085. "frameborder": "no",
  5086. "border": "0",
  5087. "scrolling ": "no",
  5088. "style": {
  5089. "cssText": "border:0;width:100%;height:100%"
  5090. },
  5091. "src": "/Office/Word/WordEditArea.htm"
  5092. })
  5093. _box.appendChild(_iframe);
  5094. _box.appendChild(_jie);
  5095. _formdiv = new U.UF.UI.form(
  5096. "协同文档",
  5097. _box, {
  5098. "id": "doc" + cid + stage + task + tool,
  5099. "style": {
  5100. "width": "90%",
  5101. "height": "90%",
  5102. "overflow": 'hidden'
  5103. },
  5104. "onresize": function () { }
  5105. }, {
  5106. closecallback: function () { }
  5107. }, {
  5108. "style": {
  5109. "height": "36px"
  5110. }
  5111. }).form; //创建窗体
  5112. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5113. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5114. })
  5115. _taskbar = {
  5116. "id": str + _formdiv.id,
  5117. "style": {
  5118. "backgroundImage": "url(/img/icon/doc.png)"
  5119. },
  5120. "name": "协同文档",
  5121. "forms": _formdiv,
  5122. "click": function () {
  5123. U.MD.D.I.openApplication(str, obj, info);
  5124. }
  5125. }
  5126. break;
  5127. case "mindNetwork": //好友打开
  5128. aTool = 7;
  5129. _iframe = $$("iframe", {
  5130. "webkitallowfullscreen": "",
  5131. "mozallowfullscreen": "",
  5132. "allowfullscreen": "",
  5133. "frameborder": "no",
  5134. "border": "0",
  5135. "scrolling ": "no",
  5136. "style": {
  5137. "cssText": "border:0; width:100%; height:100%;"
  5138. },
  5139. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5140. })
  5141. _box.appendChild(_iframe);
  5142. _box.appendChild(_jie);
  5143. _formdiv = new U.UF.UI.form(
  5144. "思维网格",
  5145. _box, {
  5146. "id": "mindNetwork" + 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/mindNetwork.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 "courseDesign":
  5173. _iframe = $$("iframe", {
  5174. "webkitallowfullscreen": "",
  5175. "mozallowfullscreen": "",
  5176. "allowfullscreen": "",
  5177. "frameborder": "no",
  5178. "border": "0",
  5179. "scrolling ": "no",
  5180. "style": {
  5181. "cssText": "border:0; width:100%; height:100%;"
  5182. },
  5183. "src": "/course-design-vue"
  5184. })
  5185. _box.appendChild(_iframe);
  5186. _box.appendChild(_jie);
  5187. _formdiv = new U.UF.UI.form(
  5188. "项目设计",
  5189. _box, {
  5190. "id": "courseDesign" + cid + stage + task + tool,
  5191. "style": {
  5192. "width": "90%",
  5193. "height": "90%",
  5194. "overflow": 'hidden'
  5195. },
  5196. "onresize": function () { }
  5197. }, {
  5198. closecallback: function () { }
  5199. }, {
  5200. "style": {
  5201. "height": "36px"
  5202. }
  5203. }).form; //创建窗体
  5204. _taskbar = {
  5205. "id": str + _formdiv.id,
  5206. "style": {
  5207. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5208. },
  5209. "name": "项目设计",
  5210. "forms": _formdiv,
  5211. "click": function () {
  5212. U.MD.D.I.openApplication(str, obj, info);
  5213. }
  5214. }
  5215. break;
  5216. }
  5217. const script1 = document.createElement("script");
  5218. script1.type = "text/javascript";
  5219. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5220. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5221. const script2 = document.createElement("script");
  5222. script2.type = "text/javascript";
  5223. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5224. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5225. const script3 = document.createElement("script");
  5226. script3.type = "text/javascript";
  5227. script3.charset = "UTF-8";
  5228. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5229. const script4 = document.createElement("script");
  5230. script4.type = "text/javascript";
  5231. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5232. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5233. if (_iframe) {
  5234. if (str == 'doc') {
  5235. _iframe = _formdiv.querySelector('iframe')
  5236. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5237. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5238. _iframe.contentWindow.document.body.appendChild(script1);
  5239. _iframe.contentWindow.document.body.appendChild(script2);
  5240. // _iframe.contentWindow.document.body.appendChild(script3);
  5241. _iframe.contentWindow.document.body.appendChild(script4);
  5242. })
  5243. if (onloadListener) {
  5244. _iframe.contentDocument.location.reload()
  5245. } else {
  5246. _iframe.contentDocument.location.reload()
  5247. }
  5248. } else if (str == 'courseDesign') {
  5249. U.UF.DL.iframeLoad(_iframe, function () {
  5250. // _iframe.contentWindow.U.MD.O.W.load();
  5251. // _iframe.contentWindow.document.body.appendChild(script1);
  5252. _iframe.contentWindow.document.body.appendChild(script2);
  5253. _iframe.contentWindow.document.body.appendChild(script4);
  5254. })
  5255. } else if (str == 'mind') {
  5256. _iframe = _formdiv.querySelector('iframe')
  5257. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5258. //
  5259. _iframe.contentWindow.document.body.appendChild(script1);
  5260. _iframe.contentWindow.document.body.appendChild(script2);
  5261. _iframe.contentWindow.document.body.appendChild(script4);
  5262. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5263. })
  5264. if (onloadListener) {
  5265. _iframe.contentDocument.location.reload()
  5266. } else {
  5267. _iframe.contentDocument.location.reload()
  5268. }
  5269. } else if (str == 'whiteboard') {
  5270. _iframe = _formdiv.querySelector('iframe')
  5271. let onloadListener = _iframe.onload = () => {
  5272. _iframe.contentWindow.document.body.appendChild(script1);
  5273. _iframe.contentWindow.document.body.appendChild(script2);
  5274. _iframe.contentWindow.document.body.appendChild(script4);
  5275. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5276. };
  5277. if (onloadListener) {
  5278. _iframe.contentDocument.location.reload()
  5279. } else {
  5280. _iframe.contentDocument.location.reload()
  5281. }
  5282. } else {
  5283. _iframe.onload = () => {
  5284. _iframe.contentWindow.document.body.appendChild(script1);
  5285. _iframe.contentWindow.document.body.appendChild(script2);
  5286. // _iframe.contentWindow.document.body.appendChild(script3);
  5287. _iframe.contentWindow.document.body.appendChild(script4);
  5288. };
  5289. }
  5290. _jie.onclick = async () => {
  5291. let text = ''
  5292. if (aTool == 1) {
  5293. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5294. } else if (aTool == 6) {
  5295. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5296. } else if (aTool == 3) {
  5297. text = await U.MD.D.I.getEditorContent(_iframe);
  5298. }
  5299. _loading.style.display = 'flex'
  5300. console.log(_loading);
  5301. var _ajs = _iframe.contentWindow.document.createElement("script");
  5302. _ajs.type = "text/javascript";
  5303. _ajs.innerHTML =
  5304. // 'console.log(' + _loading + ');\n' +
  5305. 'var _js = document.createElement("script");\n' +
  5306. '_js.type="text/javascript";\n' +
  5307. '_js.charset="UTF-8";\n' +
  5308. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5309. "_js.onload = function(){\n" +
  5310. ' var a = document.getElementsByTagName("img")\n' +
  5311. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5312. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5313. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5314. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5315. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5316. "beforeUpload_shishi(file," +
  5317. "'" +
  5318. _userid +
  5319. "'" +
  5320. ", " +
  5321. "'" +
  5322. _cid +
  5323. "'" +
  5324. ", " +
  5325. "'" +
  5326. _stage +
  5327. "'" +
  5328. ", " +
  5329. "'" +
  5330. _task +
  5331. "'" +
  5332. ", " +
  5333. "'" +
  5334. _tool +
  5335. "'" +
  5336. ", " +
  5337. "'" +
  5338. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5339. "'" +
  5340. ", " +
  5341. "'" +
  5342. aTool +
  5343. "'" +
  5344. ", " +
  5345. "`" +
  5346. text +
  5347. "`" +
  5348. ")\n" +
  5349. " });\n" +
  5350. "}\n" +
  5351. "document.head.appendChild(_js);\n";
  5352. _iframe.contentWindow.document.head.appendChild(_ajs);
  5353. }
  5354. }
  5355. //U.MD.D.I.openClick(str);
  5356. //如果有任务栏信息
  5357. // if (_taskbar) {
  5358. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5359. // }
  5360. }
  5361. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5362. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5363. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5364. _userinfo = US.userInfo, //登录用户信息
  5365. _userid = US.userInfo.userid //登录用户id
  5366. let _iframe;
  5367. let _cid = cid,
  5368. _stage = stage,
  5369. _task = task,
  5370. _tool = tool;
  5371. var _jie = $$("div", {
  5372. "style": {
  5373. "position": "absolute",
  5374. "bottom": "50px",
  5375. "right": "50px",
  5376. "zIndex": "9999",
  5377. "backgroundColor": "#2268bc",
  5378. "color": "#fff",
  5379. "padding": "12px 20px",
  5380. "cursor": "pointer",
  5381. "borderRadius": "4px",
  5382. },
  5383. "innerHTML": "提交作业"
  5384. })
  5385. let aTool = ''
  5386. let _loading = document.createElement('div')
  5387. _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;"
  5388. // _loading.id = "";
  5389. let _lchild = document.createElement('div')
  5390. let _limg = document.createElement('img')
  5391. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5392. _limg.style = "width: 26px;margin-right: 10px;"
  5393. _lchild.appendChild(_limg)
  5394. let _lspan = document.createElement('span')
  5395. _lspan.innerHTML = "上传中..."
  5396. _lchild.appendChild(_lspan)
  5397. _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%);"
  5398. _loading.appendChild(_lchild)
  5399. var _box = $$('div', {
  5400. "style": {
  5401. "position": "relative",
  5402. "width": "100%",
  5403. "height": "100%",
  5404. },
  5405. })
  5406. _box.appendChild(_loading)
  5407. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5408. switch (str) {
  5409. case "whiteboard":
  5410. aTool = 1;
  5411. _iframe = $$("iframe", {
  5412. "frameborder": "no",
  5413. "border": "0",
  5414. "scrolling ": "no",
  5415. "style": {
  5416. "cssText": "border:0;width:100%;height:100%"
  5417. },
  5418. "src": "https://iwb.cocorobo.cn/"
  5419. })
  5420. _box.appendChild(_iframe);
  5421. _box.appendChild(_jie);
  5422. _formdiv = new U.UF.UI.form(
  5423. "电子白板",
  5424. _box, {
  5425. "id": "whiteboard" + cid + stage + task + tool,
  5426. "style": {
  5427. "width": "90%",
  5428. "height": "90%",
  5429. "overflow": 'hidden'
  5430. },
  5431. "onresize": function () { }
  5432. }, {
  5433. closecallback: function () { }
  5434. }, {
  5435. "style": {
  5436. "height": "36px"
  5437. }
  5438. }).form; //创建窗体
  5439. _taskbar = {
  5440. "id": str + _formdiv.id,
  5441. "style": {
  5442. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5443. },
  5444. "name": "电子白板",
  5445. "forms": _formdiv,
  5446. "click": function () {
  5447. U.MD.D.I.openApplication(str, obj, info);
  5448. }
  5449. }
  5450. break;
  5451. case "mind":
  5452. aTool = 3;
  5453. _iframe = $$("iframe", {
  5454. "frameborder": "no",
  5455. "border": "0",
  5456. "scrolling ": "no",
  5457. "style": {
  5458. "cssText": "border:0;width:100%;height:100%"
  5459. },
  5460. "src": "/kityminder-editor/dist/index.html"
  5461. })
  5462. _box.appendChild(_iframe);
  5463. _box.appendChild(_jie);
  5464. _formdiv = new U.UF.UI.form(
  5465. "思维导图",
  5466. _box, { //"/jsmind/example/demo.html"
  5467. "id": "mind" + cid + stage + task + tool,
  5468. "style": {
  5469. "width": "90%",
  5470. "height": "90%",
  5471. "overflow": 'hidden'
  5472. },
  5473. "onresize": function () { }
  5474. }, {
  5475. closecallback: function () { }
  5476. }, {
  5477. "style": {
  5478. "height": "36px"
  5479. }
  5480. }).form; //创建窗体
  5481. _taskbar = {
  5482. "id": str + _formdiv.id,
  5483. "style": {
  5484. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5485. },
  5486. "name": "思维导图",
  5487. "forms": _formdiv,
  5488. "click": function () {
  5489. U.MD.D.I.openApplication(str, obj, info);
  5490. }
  5491. }
  5492. break;
  5493. case "MindMap":
  5494. aTool = 3;
  5495. _iframe = $$("iframe", {
  5496. "frameborder": "no",
  5497. "border": "0",
  5498. "scrolling ": "no",
  5499. "style": {
  5500. "cssText": "border:0;width:100%;height:100%"
  5501. },
  5502. "src": "//cloud.cocorobo.cn/mind/"
  5503. })
  5504. _box.appendChild(_iframe);
  5505. _box.appendChild(_jie);
  5506. _formdiv = new U.UF.UI.form(
  5507. "思维导图",
  5508. _box, { //"/jsmind/example/demo.html"
  5509. "id": "mind" + cid + stage + task + tool,
  5510. "style": {
  5511. "width": "90%",
  5512. "height": "90%",
  5513. "overflow": 'hidden'
  5514. },
  5515. "onresize": function () { }
  5516. }, {
  5517. closecallback: function () { }
  5518. }, {
  5519. "style": {
  5520. "height": "36px"
  5521. }
  5522. }).form; //创建窗体
  5523. _taskbar = {
  5524. "id": str + _formdiv.id,
  5525. "style": {
  5526. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5527. },
  5528. "name": "思维导图",
  5529. "forms": _formdiv,
  5530. "click": function () {
  5531. U.MD.D.I.openApplication(str, obj, info);
  5532. }
  5533. }
  5534. break;
  5535. case "doc":
  5536. aTool = 6;
  5537. _iframe = $$("iframe", {
  5538. "frameborder": "no",
  5539. "border": "0",
  5540. "scrolling ": "no",
  5541. "style": {
  5542. "cssText": "border:0;width:100%;height:100%"
  5543. },
  5544. "src": "/Office/Word/WordEditArea.htm"
  5545. })
  5546. _box.appendChild(_iframe);
  5547. _box.appendChild(_jie);
  5548. _formdiv = new U.UF.UI.form(
  5549. "协同文档",
  5550. _box, {
  5551. "id": "doc" + cid + stage + task + tool,
  5552. "style": {
  5553. "width": "90%",
  5554. "height": "90%",
  5555. "overflow": 'hidden'
  5556. },
  5557. "onresize": function () { }
  5558. }, {
  5559. closecallback: function () { }
  5560. }, {
  5561. "style": {
  5562. "height": "36px"
  5563. }
  5564. }).form; //创建窗体
  5565. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5566. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5567. })
  5568. _taskbar = {
  5569. "id": str + _formdiv.id,
  5570. "style": {
  5571. "backgroundImage": "url(/img/icon/doc.png)"
  5572. },
  5573. "name": "协同文档",
  5574. "forms": _formdiv,
  5575. "click": function () {
  5576. U.MD.D.I.openApplication(str, obj, info);
  5577. }
  5578. }
  5579. break;
  5580. case "mindNetwork": //好友打开
  5581. aTool = 7;
  5582. _iframe = $$("iframe", {
  5583. "webkitallowfullscreen": "",
  5584. "mozallowfullscreen": "",
  5585. "allowfullscreen": "",
  5586. "frameborder": "no",
  5587. "border": "0",
  5588. "scrolling ": "no",
  5589. "style": {
  5590. "cssText": "border:0; width:100%; height:100%;"
  5591. },
  5592. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5593. })
  5594. _box.appendChild(_iframe);
  5595. _box.appendChild(_jie);
  5596. _formdiv = new U.UF.UI.form(
  5597. "思维网格",
  5598. _box, {
  5599. "id": "mindNetwork" + 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/mindNetwork.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 "courseDesign":
  5626. _iframe = $$("iframe", {
  5627. "webkitallowfullscreen": "",
  5628. "mozallowfullscreen": "",
  5629. "allowfullscreen": "",
  5630. "frameborder": "no",
  5631. "border": "0",
  5632. "scrolling ": "no",
  5633. "style": {
  5634. "cssText": "border:0; width:100%; height:100%;"
  5635. },
  5636. "src": "/course-design-vue"
  5637. })
  5638. _box.appendChild(_iframe);
  5639. _box.appendChild(_jie);
  5640. _formdiv = new U.UF.UI.form(
  5641. "项目设计",
  5642. _box, {
  5643. "id": "courseDesign" + cid + stage + task + tool,
  5644. "style": {
  5645. "width": "90%",
  5646. "height": "90%",
  5647. "overflow": 'hidden'
  5648. },
  5649. "onresize": function () { }
  5650. }, {
  5651. closecallback: function () { }
  5652. }, {
  5653. "style": {
  5654. "height": "36px"
  5655. }
  5656. }).form; //创建窗体
  5657. _taskbar = {
  5658. "id": str + _formdiv.id,
  5659. "style": {
  5660. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5661. },
  5662. "name": "项目设计",
  5663. "forms": _formdiv,
  5664. "click": function () {
  5665. U.MD.D.I.openApplication(str, obj, info);
  5666. }
  5667. }
  5668. break;
  5669. }
  5670. const script1 = document.createElement("script");
  5671. script1.type = "text/javascript";
  5672. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5673. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5674. const script2 = document.createElement("script");
  5675. script2.type = "text/javascript";
  5676. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5677. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5678. const script3 = document.createElement("script");
  5679. script3.type = "text/javascript";
  5680. script3.charset = "UTF-8";
  5681. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5682. const script4 = document.createElement("script");
  5683. script4.type = "text/javascript";
  5684. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5685. script4.src = window.origin + "/js/Common/jietu2E.js";
  5686. if (_iframe) {
  5687. if (str == 'doc') {
  5688. _iframe = _formdiv.querySelector('iframe')
  5689. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5690. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5691. _iframe.contentWindow.document.body.appendChild(script1);
  5692. _iframe.contentWindow.document.body.appendChild(script2);
  5693. // _iframe.contentWindow.document.body.appendChild(script3);
  5694. _iframe.contentWindow.document.body.appendChild(script4);
  5695. })
  5696. if (onloadListener) {
  5697. _iframe.contentDocument.location.reload()
  5698. } else {
  5699. _iframe.contentDocument.location.reload()
  5700. }
  5701. } else if (str == 'courseDesign') {
  5702. U.UF.DL.iframeLoad(_iframe, function () {
  5703. // _iframe.contentWindow.U.MD.O.W.load();
  5704. // _iframe.contentWindow.document.body.appendChild(script1);
  5705. _iframe.contentWindow.document.body.appendChild(script2);
  5706. _iframe.contentWindow.document.body.appendChild(script4);
  5707. })
  5708. } else if (str == 'mind') {
  5709. _iframe = _formdiv.querySelector('iframe')
  5710. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5711. //
  5712. _iframe.contentWindow.document.body.appendChild(script1);
  5713. _iframe.contentWindow.document.body.appendChild(script2);
  5714. _iframe.contentWindow.document.body.appendChild(script4);
  5715. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5716. })
  5717. if (onloadListener) {
  5718. _iframe.contentDocument.location.reload()
  5719. } else {
  5720. _iframe.contentDocument.location.reload()
  5721. }
  5722. } else if (str == 'whiteboard') {
  5723. _iframe = _formdiv.querySelector('iframe')
  5724. let onloadListener = _iframe.onload = () => {
  5725. _iframe.contentWindow.document.body.appendChild(script1);
  5726. _iframe.contentWindow.document.body.appendChild(script2);
  5727. _iframe.contentWindow.document.body.appendChild(script4);
  5728. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5729. };
  5730. if (onloadListener) {
  5731. _iframe.contentDocument.location.reload()
  5732. } else {
  5733. _iframe.contentDocument.location.reload()
  5734. }
  5735. } else {
  5736. _iframe.onload = () => {
  5737. _iframe.contentWindow.document.body.appendChild(script1);
  5738. _iframe.contentWindow.document.body.appendChild(script2);
  5739. // _iframe.contentWindow.document.body.appendChild(script3);
  5740. _iframe.contentWindow.document.body.appendChild(script4);
  5741. };
  5742. }
  5743. _jie.onclick = async () => {
  5744. let text = ''
  5745. if (aTool == 1) {
  5746. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5747. } else if (aTool == 6) {
  5748. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5749. } else if (aTool == 3) {
  5750. text = await U.MD.D.I.getEditorContent(_iframe);
  5751. }
  5752. _loading.style.display = 'flex'
  5753. console.log(_loading);
  5754. var _ajs = _iframe.contentWindow.document.createElement("script");
  5755. _ajs.type = "text/javascript";
  5756. _ajs.innerHTML =
  5757. // 'console.log(' + _loading + ');\n' +
  5758. 'var _js = document.createElement("script");\n' +
  5759. '_js.type="text/javascript";\n' +
  5760. '_js.charset="UTF-8";\n' +
  5761. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5762. "_js.onload = function(){\n" +
  5763. ' var a = document.getElementsByTagName("img")\n' +
  5764. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5765. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5766. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5767. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5768. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5769. "beforeUpload_shishi(file," +
  5770. "'" +
  5771. _userid +
  5772. "'" +
  5773. ", " +
  5774. "'" +
  5775. _cid +
  5776. "'" +
  5777. ", " +
  5778. "'" +
  5779. _stage +
  5780. "'" +
  5781. ", " +
  5782. "'" +
  5783. _task +
  5784. "'" +
  5785. ", " +
  5786. "'" +
  5787. _tool +
  5788. "'" +
  5789. ", " +
  5790. "'" +
  5791. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5792. "'" +
  5793. ", " +
  5794. "'" +
  5795. aTool +
  5796. "'" +
  5797. ", " +
  5798. "`" +
  5799. text +
  5800. "`" +
  5801. ")\n" +
  5802. " });\n" +
  5803. "}\n" +
  5804. "document.head.appendChild(_js);\n";
  5805. _iframe.contentWindow.document.head.appendChild(_ajs);
  5806. }
  5807. }
  5808. //U.MD.D.I.openClick(str);
  5809. //如果有任务栏信息
  5810. // if (_taskbar) {
  5811. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5812. // }
  5813. }
  5814. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5815. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5816. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5817. _userid = student.userid, //登录用户id
  5818. _username = student.student //用户名字
  5819. let _iframe;
  5820. let _cid = cid,
  5821. _stage = stage,
  5822. _task = task,
  5823. _tool = tool;
  5824. var _jie = $$("div", {
  5825. "style": {
  5826. "position": "absolute",
  5827. "bottom": "50px",
  5828. "right": "50px",
  5829. "zIndex": "9999",
  5830. "backgroundColor": "#2268bc",
  5831. "color": "#fff",
  5832. "padding": "12px 20px",
  5833. "cursor": "pointer",
  5834. "borderRadius": "4px",
  5835. },
  5836. "innerHTML": "提交作业"
  5837. })
  5838. let aTool = ''
  5839. let _loading = document.createElement('div')
  5840. _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;"
  5841. // _loading.id = "";
  5842. let _lchild = document.createElement('div')
  5843. let _limg = document.createElement('img')
  5844. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5845. _limg.style = "width: 26px;margin-right: 10px;"
  5846. _lchild.appendChild(_limg)
  5847. let _lspan = document.createElement('span')
  5848. _lspan.innerHTML = "上传中..."
  5849. _lchild.appendChild(_lspan)
  5850. _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%);"
  5851. _loading.appendChild(_lchild)
  5852. var _box = $$('div', {
  5853. "style": {
  5854. "position": "relative",
  5855. "width": "100%",
  5856. "height": "100%",
  5857. },
  5858. })
  5859. _box.appendChild(_loading)
  5860. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5861. switch (str) {
  5862. case "whiteboard":
  5863. aTool = 1;
  5864. _iframe = $$("iframe", {
  5865. "frameborder": "no",
  5866. "border": "0",
  5867. "scrolling ": "no",
  5868. "style": {
  5869. "cssText": "border:0;width:100%;height:100%"
  5870. },
  5871. "src": "https://iwb.cocorobo.cn/"
  5872. })
  5873. _box.appendChild(_iframe);
  5874. _box.appendChild(_jie);
  5875. _formdiv = new U.UF.UI.form(
  5876. "电子白板-" + _username,
  5877. _box, {
  5878. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5879. "style": {
  5880. "width": "90%",
  5881. "height": "90%",
  5882. "overflow": 'hidden'
  5883. },
  5884. "onresize": function () { }
  5885. }, {
  5886. closecallback: function () { }
  5887. }, {
  5888. "style": {
  5889. "height": "36px"
  5890. }
  5891. }).form; //创建窗体
  5892. _taskbar = {
  5893. "id": str + _formdiv.id,
  5894. "style": {
  5895. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5896. },
  5897. "name": "电子白板",
  5898. "forms": _formdiv,
  5899. "click": function () {
  5900. U.MD.D.I.openApplication(str, obj, info);
  5901. }
  5902. }
  5903. break;
  5904. case "mind":
  5905. aTool = 3;
  5906. _iframe = $$("iframe", {
  5907. "frameborder": "no",
  5908. "border": "0",
  5909. "scrolling ": "no",
  5910. "style": {
  5911. "cssText": "border:0;width:100%;height:100%"
  5912. },
  5913. "src": "/kityminder-editor/dist/index.html"
  5914. })
  5915. _box.appendChild(_iframe);
  5916. _box.appendChild(_jie);
  5917. _formdiv = new U.UF.UI.form(
  5918. "思维导图-" + _username,
  5919. _box, { //"/jsmind/example/demo.html"
  5920. "id": "mind" + cid + stage + task + tool + _userid,
  5921. "style": {
  5922. "width": "90%",
  5923. "height": "90%",
  5924. "overflow": 'hidden'
  5925. },
  5926. "onresize": function () { }
  5927. }, {
  5928. closecallback: function () { }
  5929. }, {
  5930. "style": {
  5931. "height": "36px"
  5932. }
  5933. }).form; //创建窗体
  5934. _taskbar = {
  5935. "id": str + _formdiv.id,
  5936. "style": {
  5937. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5938. },
  5939. "name": "思维导图",
  5940. "forms": _formdiv,
  5941. "click": function () {
  5942. U.MD.D.I.openApplication(str, obj, info);
  5943. }
  5944. }
  5945. break;
  5946. case "MindMap":
  5947. aTool = 3;
  5948. _iframe = $$("iframe", {
  5949. "frameborder": "no",
  5950. "border": "0",
  5951. "scrolling ": "no",
  5952. "style": {
  5953. "cssText": "border:0;width:100%;height:100%"
  5954. },
  5955. "src": "//cloud.cocorobo.cn/mind/"
  5956. })
  5957. _box.appendChild(_iframe);
  5958. _box.appendChild(_jie);
  5959. _formdiv = new U.UF.UI.form(
  5960. "思维导图-" + _username,
  5961. _box, { //"/jsmind/example/demo.html"
  5962. "id": "mind" + cid + stage + task + tool + _userid,
  5963. "style": {
  5964. "width": "90%",
  5965. "height": "90%",
  5966. "overflow": 'hidden'
  5967. },
  5968. "onresize": function () { }
  5969. }, {
  5970. closecallback: function () { }
  5971. }, {
  5972. "style": {
  5973. "height": "36px"
  5974. }
  5975. }).form; //创建窗体
  5976. _taskbar = {
  5977. "id": str + _formdiv.id,
  5978. "style": {
  5979. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5980. },
  5981. "name": "思维导图",
  5982. "forms": _formdiv,
  5983. "click": function () {
  5984. U.MD.D.I.openApplication(str, obj, info);
  5985. }
  5986. }
  5987. break;
  5988. case "doc":
  5989. aTool = 6;
  5990. _iframe = $$("iframe", {
  5991. "frameborder": "no",
  5992. "border": "0",
  5993. "scrolling ": "no",
  5994. "style": {
  5995. "cssText": "border:0;width:100%;height:100%"
  5996. },
  5997. "src": "/Office/Word/WordEditArea.htm"
  5998. })
  5999. _box.appendChild(_iframe);
  6000. _box.appendChild(_jie);
  6001. _formdiv = new U.UF.UI.form(
  6002. "协同文档-" + _username,
  6003. _box, {
  6004. "id": "doc" + cid + stage + task + tool + _userid,
  6005. "style": {
  6006. "width": "90%",
  6007. "height": "90%",
  6008. "overflow": 'hidden'
  6009. },
  6010. "onresize": function () { }
  6011. }, {
  6012. closecallback: function () { }
  6013. }, {
  6014. "style": {
  6015. "height": "36px"
  6016. }
  6017. }).form; //创建窗体
  6018. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6019. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6020. })
  6021. _taskbar = {
  6022. "id": str + _formdiv.id,
  6023. "style": {
  6024. "backgroundImage": "url(/img/icon/doc.png)"
  6025. },
  6026. "name": "协同文档",
  6027. "forms": _formdiv,
  6028. "click": function () {
  6029. U.MD.D.I.openApplication(str, obj, info);
  6030. }
  6031. }
  6032. break;
  6033. case "mindNetwork": //好友打开
  6034. aTool = 7;
  6035. _iframe = $$("iframe", {
  6036. "webkitallowfullscreen": "",
  6037. "mozallowfullscreen": "",
  6038. "allowfullscreen": "",
  6039. "frameborder": "no",
  6040. "border": "0",
  6041. "scrolling ": "no",
  6042. "style": {
  6043. "cssText": "border:0; width:100%; height:100%;"
  6044. },
  6045. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6046. })
  6047. _box.appendChild(_iframe);
  6048. _box.appendChild(_jie);
  6049. _formdiv = new U.UF.UI.form(
  6050. "思维网格-" + _username,
  6051. _box, {
  6052. "id": "mindNetwork" + 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/mindNetwork.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 "courseDesign":
  6079. _iframe = $$("iframe", {
  6080. "webkitallowfullscreen": "",
  6081. "mozallowfullscreen": "",
  6082. "allowfullscreen": "",
  6083. "frameborder": "no",
  6084. "border": "0",
  6085. "scrolling ": "no",
  6086. "style": {
  6087. "cssText": "border:0; width:100%; height:100%;"
  6088. },
  6089. "src": "/course-design-vue"
  6090. })
  6091. _box.appendChild(_iframe);
  6092. _box.appendChild(_jie);
  6093. _formdiv = new U.UF.UI.form(
  6094. "项目设计-" + _username,
  6095. _box, {
  6096. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6097. "style": {
  6098. "width": "90%",
  6099. "height": "90%",
  6100. "overflow": 'hidden'
  6101. },
  6102. "onresize": function () { }
  6103. }, {
  6104. closecallback: function () { }
  6105. }, {
  6106. "style": {
  6107. "height": "36px"
  6108. }
  6109. }).form; //创建窗体
  6110. _taskbar = {
  6111. "id": str + _formdiv.id,
  6112. "style": {
  6113. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6114. },
  6115. "name": "项目设计",
  6116. "forms": _formdiv,
  6117. "click": function () {
  6118. U.MD.D.I.openApplication(str, obj, info);
  6119. }
  6120. }
  6121. break;
  6122. }
  6123. const script1 = document.createElement("script");
  6124. script1.type = "text/javascript";
  6125. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6126. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6127. const script2 = document.createElement("script");
  6128. script2.type = "text/javascript";
  6129. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6130. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6131. const script3 = document.createElement("script");
  6132. script3.type = "text/javascript";
  6133. script3.charset = "UTF-8";
  6134. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6135. const script4 = document.createElement("script");
  6136. script4.type = "text/javascript";
  6137. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6138. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6139. if (_iframe) {
  6140. if (str == 'doc') {
  6141. _iframe = _formdiv.querySelector('iframe')
  6142. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6143. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6144. _iframe.contentWindow.document.body.appendChild(script1);
  6145. _iframe.contentWindow.document.body.appendChild(script2);
  6146. // _iframe.contentWindow.document.body.appendChild(script3);
  6147. _iframe.contentWindow.document.body.appendChild(script4);
  6148. })
  6149. if (onloadListener) {
  6150. _iframe.contentDocument.location.reload()
  6151. } else {
  6152. _iframe.contentDocument.location.reload()
  6153. }
  6154. } else if (str == 'courseDesign') {
  6155. U.UF.DL.iframeLoad(_iframe, function () {
  6156. // _iframe.contentWindow.U.MD.O.W.load();
  6157. // _iframe.contentWindow.document.body.appendChild(script1);
  6158. _iframe.contentWindow.document.body.appendChild(script2);
  6159. _iframe.contentWindow.document.body.appendChild(script4);
  6160. })
  6161. } else if (str == 'mind') {
  6162. _iframe = _formdiv.querySelector('iframe')
  6163. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6164. //
  6165. _iframe.contentWindow.document.body.appendChild(script1);
  6166. _iframe.contentWindow.document.body.appendChild(script2);
  6167. _iframe.contentWindow.document.body.appendChild(script4);
  6168. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6169. })
  6170. if (onloadListener) {
  6171. _iframe.contentDocument.location.reload()
  6172. } else {
  6173. _iframe.contentDocument.location.reload()
  6174. }
  6175. } else if (str == 'whiteboard') {
  6176. _iframe = _formdiv.querySelector('iframe')
  6177. let onloadListener = _iframe.onload = () => {
  6178. _iframe.contentWindow.document.body.appendChild(script1);
  6179. _iframe.contentWindow.document.body.appendChild(script2);
  6180. _iframe.contentWindow.document.body.appendChild(script4);
  6181. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6182. };
  6183. if (onloadListener) {
  6184. _iframe.contentDocument.location.reload()
  6185. } else {
  6186. _iframe.contentDocument.location.reload()
  6187. }
  6188. } else {
  6189. _iframe.onload = () => {
  6190. _iframe.contentWindow.document.body.appendChild(script1);
  6191. _iframe.contentWindow.document.body.appendChild(script2);
  6192. // _iframe.contentWindow.document.body.appendChild(script3);
  6193. _iframe.contentWindow.document.body.appendChild(script4);
  6194. };
  6195. }
  6196. _jie.onclick = async () => {
  6197. let text = ''
  6198. if (aTool == 1) {
  6199. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6200. } else if (aTool == 6) {
  6201. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6202. } else if (aTool == 3) {
  6203. text = await U.MD.D.I.getEditorContent(_iframe);
  6204. }
  6205. _loading.style.display = 'flex'
  6206. console.log(_loading);
  6207. var _ajs = _iframe.contentWindow.document.createElement("script");
  6208. _ajs.type = "text/javascript";
  6209. _ajs.innerHTML =
  6210. // 'console.log(' + _loading + ');\n' +
  6211. 'var _js = document.createElement("script");\n' +
  6212. '_js.type="text/javascript";\n' +
  6213. '_js.charset="UTF-8";\n' +
  6214. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6215. "_js.onload = function(){\n" +
  6216. ' var a = document.getElementsByTagName("img")\n' +
  6217. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6218. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6219. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6220. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6221. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6222. "beforeUpload_shishi(file," +
  6223. "'" +
  6224. _userid +
  6225. "'" +
  6226. ", " +
  6227. "'" +
  6228. _cid +
  6229. "'" +
  6230. ", " +
  6231. "'" +
  6232. _stage +
  6233. "'" +
  6234. ", " +
  6235. "'" +
  6236. _task +
  6237. "'" +
  6238. ", " +
  6239. "'" +
  6240. _tool +
  6241. "'" +
  6242. ", " +
  6243. "'" +
  6244. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6245. "'" +
  6246. ", " +
  6247. "'" +
  6248. aTool +
  6249. "'" +
  6250. ", " +
  6251. "`" +
  6252. text +
  6253. "`" +
  6254. ")\n" +
  6255. " });\n" +
  6256. "}\n" +
  6257. "document.head.appendChild(_js);\n";
  6258. _iframe.contentWindow.document.head.appendChild(_ajs);
  6259. }
  6260. }
  6261. }
  6262. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6263. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6264. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6265. _userid = student.userid, //登录用户id
  6266. _username = student.student //用户名字
  6267. let _iframe;
  6268. let _cid = cid,
  6269. _stage = stage,
  6270. _task = task,
  6271. _tool = tool;
  6272. var _jie = $$("div", {
  6273. "style": {
  6274. "position": "absolute",
  6275. "bottom": "50px",
  6276. "right": "50px",
  6277. "zIndex": "9999",
  6278. "backgroundColor": "#2268bc",
  6279. "color": "#fff",
  6280. "padding": "12px 20px",
  6281. "cursor": "pointer",
  6282. "borderRadius": "4px",
  6283. },
  6284. "innerHTML": "提交作业"
  6285. })
  6286. let aTool = ''
  6287. let _loading = document.createElement('div')
  6288. _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;"
  6289. // _loading.id = "";
  6290. let _lchild = document.createElement('div')
  6291. let _limg = document.createElement('img')
  6292. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6293. _limg.style = "width: 26px;margin-right: 10px;"
  6294. _lchild.appendChild(_limg)
  6295. let _lspan = document.createElement('span')
  6296. _lspan.innerHTML = "上传中..."
  6297. _lchild.appendChild(_lspan)
  6298. _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%);"
  6299. _loading.appendChild(_lchild)
  6300. var _box = $$('div', {
  6301. "style": {
  6302. "position": "relative",
  6303. "width": "100%",
  6304. "height": "100%",
  6305. },
  6306. })
  6307. _box.appendChild(_loading)
  6308. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6309. switch (str) {
  6310. case "whiteboard":
  6311. aTool = 1;
  6312. _iframe = $$("iframe", {
  6313. "frameborder": "no",
  6314. "border": "0",
  6315. "scrolling ": "no",
  6316. "style": {
  6317. "cssText": "border:0;width:100%;height:100%"
  6318. },
  6319. "src": "https://iwb.cocorobo.cn/"
  6320. })
  6321. _box.appendChild(_iframe);
  6322. _box.appendChild(_jie);
  6323. _formdiv = new U.UF.UI.form(
  6324. "电子白板-" + _username,
  6325. _box, {
  6326. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6327. "style": {
  6328. "width": "90%",
  6329. "height": "90%",
  6330. "overflow": 'hidden'
  6331. },
  6332. "onresize": function () { }
  6333. }, {
  6334. closecallback: function () { }
  6335. }, {
  6336. "style": {
  6337. "height": "36px"
  6338. }
  6339. }).form; //创建窗体
  6340. _taskbar = {
  6341. "id": str + _formdiv.id,
  6342. "style": {
  6343. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6344. },
  6345. "name": "电子白板",
  6346. "forms": _formdiv,
  6347. "click": function () {
  6348. U.MD.D.I.openApplication(str, obj, info);
  6349. }
  6350. }
  6351. break;
  6352. case "mind":
  6353. aTool = 3;
  6354. _iframe = $$("iframe", {
  6355. "frameborder": "no",
  6356. "border": "0",
  6357. "scrolling ": "no",
  6358. "style": {
  6359. "cssText": "border:0;width:100%;height:100%"
  6360. },
  6361. "src": "/kityminder-editor/dist/index.html"
  6362. })
  6363. _box.appendChild(_iframe);
  6364. _box.appendChild(_jie);
  6365. _formdiv = new U.UF.UI.form(
  6366. "思维导图-" + _username,
  6367. _box, { //"/jsmind/example/demo.html"
  6368. "id": "mind" + cid + stage + task + tool + _userid,
  6369. "style": {
  6370. "width": "90%",
  6371. "height": "90%",
  6372. "overflow": 'hidden'
  6373. },
  6374. "onresize": function () { }
  6375. }, {
  6376. closecallback: function () { }
  6377. }, {
  6378. "style": {
  6379. "height": "36px"
  6380. }
  6381. }).form; //创建窗体
  6382. _taskbar = {
  6383. "id": str + _formdiv.id,
  6384. "style": {
  6385. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6386. },
  6387. "name": "思维导图",
  6388. "forms": _formdiv,
  6389. "click": function () {
  6390. U.MD.D.I.openApplication(str, obj, info);
  6391. }
  6392. }
  6393. break;
  6394. case "MindMap":
  6395. aTool = 3;
  6396. _iframe = $$("iframe", {
  6397. "frameborder": "no",
  6398. "border": "0",
  6399. "scrolling ": "no",
  6400. "style": {
  6401. "cssText": "border:0;width:100%;height:100%"
  6402. },
  6403. "src": "//cloud.cocorobo.cn/mind/"
  6404. })
  6405. _box.appendChild(_iframe);
  6406. _box.appendChild(_jie);
  6407. _formdiv = new U.UF.UI.form(
  6408. "思维导图-" + _username,
  6409. _box, { //"/jsmind/example/demo.html"
  6410. "id": "mind" + cid + stage + task + tool + _userid,
  6411. "style": {
  6412. "width": "90%",
  6413. "height": "90%",
  6414. "overflow": 'hidden'
  6415. },
  6416. "onresize": function () { }
  6417. }, {
  6418. closecallback: function () { }
  6419. }, {
  6420. "style": {
  6421. "height": "36px"
  6422. }
  6423. }).form; //创建窗体
  6424. _taskbar = {
  6425. "id": str + _formdiv.id,
  6426. "style": {
  6427. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6428. },
  6429. "name": "思维导图",
  6430. "forms": _formdiv,
  6431. "click": function () {
  6432. U.MD.D.I.openApplication(str, obj, info);
  6433. }
  6434. }
  6435. break;
  6436. case "doc":
  6437. aTool = 6;
  6438. _iframe = $$("iframe", {
  6439. "frameborder": "no",
  6440. "border": "0",
  6441. "scrolling ": "no",
  6442. "style": {
  6443. "cssText": "border:0;width:100%;height:100%"
  6444. },
  6445. "src": "/Office/Word/WordEditArea.htm"
  6446. })
  6447. _box.appendChild(_iframe);
  6448. _box.appendChild(_jie);
  6449. _formdiv = new U.UF.UI.form(
  6450. "协同文档-" + _username,
  6451. _box, {
  6452. "id": "doc" + cid + stage + task + tool + _userid,
  6453. "style": {
  6454. "width": "90%",
  6455. "height": "90%",
  6456. "overflow": 'hidden'
  6457. },
  6458. "onresize": function () { }
  6459. }, {
  6460. closecallback: function () { }
  6461. }, {
  6462. "style": {
  6463. "height": "36px"
  6464. }
  6465. }).form; //创建窗体
  6466. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6467. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6468. })
  6469. _taskbar = {
  6470. "id": str + _formdiv.id,
  6471. "style": {
  6472. "backgroundImage": "url(/img/icon/doc.png)"
  6473. },
  6474. "name": "协同文档",
  6475. "forms": _formdiv,
  6476. "click": function () {
  6477. U.MD.D.I.openApplication(str, obj, info);
  6478. }
  6479. }
  6480. break;
  6481. case "mindNetwork": //好友打开
  6482. aTool = 7;
  6483. _iframe = $$("iframe", {
  6484. "webkitallowfullscreen": "",
  6485. "mozallowfullscreen": "",
  6486. "allowfullscreen": "",
  6487. "frameborder": "no",
  6488. "border": "0",
  6489. "scrolling ": "no",
  6490. "style": {
  6491. "cssText": "border:0; width:100%; height:100%;"
  6492. },
  6493. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6494. })
  6495. _box.appendChild(_iframe);
  6496. _box.appendChild(_jie);
  6497. _formdiv = new U.UF.UI.form(
  6498. "思维网格-" + _username,
  6499. _box, {
  6500. "id": "mindNetwork" + 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/mindNetwork.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 "courseDesign":
  6527. _iframe = $$("iframe", {
  6528. "webkitallowfullscreen": "",
  6529. "mozallowfullscreen": "",
  6530. "allowfullscreen": "",
  6531. "frameborder": "no",
  6532. "border": "0",
  6533. "scrolling ": "no",
  6534. "style": {
  6535. "cssText": "border:0; width:100%; height:100%;"
  6536. },
  6537. "src": "/course-design-vue"
  6538. })
  6539. _box.appendChild(_iframe);
  6540. _box.appendChild(_jie);
  6541. _formdiv = new U.UF.UI.form(
  6542. "项目设计-" + _username,
  6543. _box, {
  6544. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6545. "style": {
  6546. "width": "90%",
  6547. "height": "90%",
  6548. "overflow": 'hidden'
  6549. },
  6550. "onresize": function () { }
  6551. }, {
  6552. closecallback: function () { }
  6553. }, {
  6554. "style": {
  6555. "height": "36px"
  6556. }
  6557. }).form; //创建窗体
  6558. _taskbar = {
  6559. "id": str + _formdiv.id,
  6560. "style": {
  6561. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6562. },
  6563. "name": "项目设计",
  6564. "forms": _formdiv,
  6565. "click": function () {
  6566. U.MD.D.I.openApplication(str, obj, info);
  6567. }
  6568. }
  6569. break;
  6570. }
  6571. const script1 = document.createElement("script");
  6572. script1.type = "text/javascript";
  6573. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6574. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6575. const script2 = document.createElement("script");
  6576. script2.type = "text/javascript";
  6577. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6578. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6579. const script3 = document.createElement("script");
  6580. script3.type = "text/javascript";
  6581. script3.charset = "UTF-8";
  6582. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6583. const script4 = document.createElement("script");
  6584. script4.type = "text/javascript";
  6585. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6586. script4.src = window.origin + "/js/Common/jietu2E.js";
  6587. if (_iframe) {
  6588. if (str == 'doc') {
  6589. _iframe = _formdiv.querySelector('iframe')
  6590. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6591. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6592. _iframe.contentWindow.document.body.appendChild(script1);
  6593. _iframe.contentWindow.document.body.appendChild(script2);
  6594. // _iframe.contentWindow.document.body.appendChild(script3);
  6595. _iframe.contentWindow.document.body.appendChild(script4);
  6596. })
  6597. if (onloadListener) {
  6598. _iframe.contentDocument.location.reload()
  6599. } else {
  6600. _iframe.contentDocument.location.reload()
  6601. }
  6602. } else if (str == 'courseDesign') {
  6603. U.UF.DL.iframeLoad(_iframe, function () {
  6604. // _iframe.contentWindow.U.MD.O.W.load();
  6605. // _iframe.contentWindow.document.body.appendChild(script1);
  6606. _iframe.contentWindow.document.body.appendChild(script2);
  6607. _iframe.contentWindow.document.body.appendChild(script4);
  6608. })
  6609. } else if (str == 'mind') {
  6610. _iframe = _formdiv.querySelector('iframe')
  6611. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6612. //
  6613. _iframe.contentWindow.document.body.appendChild(script1);
  6614. _iframe.contentWindow.document.body.appendChild(script2);
  6615. _iframe.contentWindow.document.body.appendChild(script4);
  6616. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6617. })
  6618. if (onloadListener) {
  6619. _iframe.contentDocument.location.reload()
  6620. } else {
  6621. _iframe.contentDocument.location.reload()
  6622. }
  6623. } else if (str == 'whiteboard') {
  6624. _iframe = _formdiv.querySelector('iframe')
  6625. let onloadListener = _iframe.onload = () => {
  6626. _iframe.contentWindow.document.body.appendChild(script1);
  6627. _iframe.contentWindow.document.body.appendChild(script2);
  6628. _iframe.contentWindow.document.body.appendChild(script4);
  6629. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6630. };
  6631. if (onloadListener) {
  6632. _iframe.contentDocument.location.reload()
  6633. } else {
  6634. _iframe.contentDocument.location.reload()
  6635. }
  6636. } else {
  6637. _iframe.onload = () => {
  6638. _iframe.contentWindow.document.body.appendChild(script1);
  6639. _iframe.contentWindow.document.body.appendChild(script2);
  6640. // _iframe.contentWindow.document.body.appendChild(script3);
  6641. _iframe.contentWindow.document.body.appendChild(script4);
  6642. };
  6643. }
  6644. _jie.onclick = async () => {
  6645. let text = ''
  6646. if (aTool == 1) {
  6647. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6648. } else if (aTool == 6) {
  6649. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6650. } else if (aTool == 3) {
  6651. text = await U.MD.D.I.getEditorContent(_iframe);
  6652. }
  6653. _loading.style.display = 'flex'
  6654. console.log(_loading);
  6655. var _ajs = _iframe.contentWindow.document.createElement("script");
  6656. _ajs.type = "text/javascript";
  6657. _ajs.innerHTML =
  6658. // 'console.log(' + _loading + ');\n' +
  6659. 'var _js = document.createElement("script");\n' +
  6660. '_js.type="text/javascript";\n' +
  6661. '_js.charset="UTF-8";\n' +
  6662. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6663. "_js.onload = function(){\n" +
  6664. ' var a = document.getElementsByTagName("img")\n' +
  6665. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6666. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6667. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6668. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6669. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6670. "beforeUpload_shishi(file," +
  6671. "'" +
  6672. _userid +
  6673. "'" +
  6674. ", " +
  6675. "'" +
  6676. _cid +
  6677. "'" +
  6678. ", " +
  6679. "'" +
  6680. _stage +
  6681. "'" +
  6682. ", " +
  6683. "'" +
  6684. _task +
  6685. "'" +
  6686. ", " +
  6687. "'" +
  6688. _tool +
  6689. "'" +
  6690. ", " +
  6691. "'" +
  6692. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6693. "'" +
  6694. ", " +
  6695. "'" +
  6696. aTool +
  6697. "'" +
  6698. ", " +
  6699. "`" +
  6700. text +
  6701. "`" +
  6702. ")\n" +
  6703. " });\n" +
  6704. "}\n" +
  6705. "document.head.appendChild(_js);\n";
  6706. _iframe.contentWindow.document.head.appendChild(_ajs);
  6707. }
  6708. }
  6709. }
  6710. U.MD.D.I.getEditorContent = function (iframe) {
  6711. return new Promise((resolve, reject) => {
  6712. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6713. console.log(content);
  6714. resolve(content)
  6715. });
  6716. });
  6717. }
  6718. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6719. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6720. // if (res.value[0].length > 0) {
  6721. // // resolve(res.value[0][0].text);
  6722. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6723. // $(fileInput).val('');
  6724. // });
  6725. // }
  6726. // }, [], { "type": "GET", "withCredentials": true });
  6727. var xmlhttp;
  6728. var Mac, Sn, DeviceId
  6729. if (window.XMLHttpRequest) {
  6730. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6731. xmlhttp = new XMLHttpRequest();
  6732. } else {
  6733. // IE6, IE5 浏览器执行代码
  6734. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6735. }
  6736. xmlhttp.onreadystatechange = function () {
  6737. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6738. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6739. // resolve(res.value[0][0].text);
  6740. if (type == '2') {
  6741. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6742. } else if (type == '3') {
  6743. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6744. }
  6745. } else {
  6746. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6747. }
  6748. }
  6749. }
  6750. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6751. xmlhttp.send();
  6752. }
  6753. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6754. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6755. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6756. _userinfo = US.userInfo, //登录用户信息
  6757. _userid = US.userInfo.userid //登录用户id
  6758. let _iframe;
  6759. let _cid = cid,
  6760. _stage = stage,
  6761. _task = task,
  6762. _tool = tool;
  6763. var _jie = $$("div", {
  6764. "style": {
  6765. "position": "absolute",
  6766. "bottom": "50px",
  6767. "right": "50px",
  6768. "zIndex": "9999",
  6769. "backgroundColor": "#2268bc",
  6770. "color": "#fff",
  6771. "padding": "12px 20px",
  6772. "cursor": "pointer",
  6773. "borderRadius": "4px",
  6774. },
  6775. "innerHTML": "确认并提交"
  6776. })
  6777. let aTool = ''
  6778. let _loading = document.createElement('div')
  6779. _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;"
  6780. // _loading.id = "";
  6781. let _lchild = document.createElement('div')
  6782. let _limg = document.createElement('img')
  6783. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6784. _limg.style = "width: 26px;margin-right: 10px;"
  6785. _lchild.appendChild(_limg)
  6786. let _lspan = document.createElement('span')
  6787. _lspan.innerHTML = "上传中..."
  6788. _lchild.appendChild(_lspan)
  6789. _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%);"
  6790. _loading.appendChild(_lchild)
  6791. var _box = $$('div', {
  6792. "style": {
  6793. "position": "relative",
  6794. "width": "100%",
  6795. "height": "100%",
  6796. },
  6797. })
  6798. _box.appendChild(_loading)
  6799. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6800. switch (str) {
  6801. case "whiteboard":
  6802. aTool = 1;
  6803. _iframe = $$("iframe", {
  6804. "frameborder": "no",
  6805. "border": "0",
  6806. "scrolling ": "no",
  6807. "style": {
  6808. "cssText": "border:0;width:100%;height:100%"
  6809. },
  6810. "src": "https://iwb.cocorobo.cn/"
  6811. })
  6812. _box.appendChild(_iframe);
  6813. _box.appendChild(_jie);
  6814. _formdiv = new U.UF.UI.form(
  6815. "电子白板",
  6816. _box, {
  6817. "id": "whiteboards" + cid + stage + task + tool,
  6818. "style": {
  6819. "width": "90%",
  6820. "height": "90%",
  6821. "overflow": 'hidden'
  6822. },
  6823. "onresize": function () { }
  6824. }, {
  6825. closecallback: function () { }
  6826. }, {
  6827. "style": {
  6828. "height": "36px"
  6829. }
  6830. }).form; //创建窗体
  6831. _taskbar = {
  6832. "id": str + _formdiv.id,
  6833. "style": {
  6834. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6835. },
  6836. "name": "电子白板",
  6837. "forms": _formdiv,
  6838. "click": function () {
  6839. U.MD.D.I.openApplication(str, obj, info);
  6840. }
  6841. }
  6842. break;
  6843. case "mind":
  6844. aTool = 3;
  6845. _iframe = $$("iframe", {
  6846. "frameborder": "no",
  6847. "border": "0",
  6848. "scrolling ": "no",
  6849. "style": {
  6850. "cssText": "border:0;width:100%;height:100%"
  6851. },
  6852. "src": "/kityminder-editor/dist/index.html"
  6853. });
  6854. _box.appendChild(_iframe);
  6855. _box.appendChild(_jie);
  6856. _formdiv = new U.UF.UI.form(
  6857. "思维导图",
  6858. _box, { //"/jsmind/example/demo.html"
  6859. "id": "minds" + cid + stage + task + tool,
  6860. "style": {
  6861. "width": "90%",
  6862. "height": "90%",
  6863. "overflow": 'hidden'
  6864. },
  6865. "onresize": function () { }
  6866. }, {
  6867. closecallback: function () { }
  6868. }, {
  6869. "style": {
  6870. "height": "36px"
  6871. }
  6872. }).form; //创建窗体
  6873. _taskbar = {
  6874. "id": str + _formdiv.id,
  6875. "style": {
  6876. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6877. },
  6878. "name": "思维导图",
  6879. "forms": _formdiv,
  6880. "click": function () {
  6881. U.MD.D.I.openApplication(str, obj, info);
  6882. }
  6883. }
  6884. break;
  6885. case "doc":
  6886. aTool = 6;
  6887. _iframe = $$("iframe", {
  6888. "frameborder": "no",
  6889. "border": "0",
  6890. "scrolling ": "no",
  6891. "style": {
  6892. "cssText": "border:0;width:100%;height:100%"
  6893. },
  6894. "src": "/Office/Word/WordEditArea.htm"
  6895. })
  6896. _box.appendChild(_iframe);
  6897. _box.appendChild(_jie);
  6898. _formdiv = new U.UF.UI.form(
  6899. "协同文档",
  6900. _box, {
  6901. "id": "docs" + cid + stage + task + tool,
  6902. "style": {
  6903. "width": "90%",
  6904. "height": "90%",
  6905. "overflow": 'hidden'
  6906. },
  6907. "onresize": function () { }
  6908. }, {
  6909. closecallback: function () { }
  6910. }, {
  6911. "style": {
  6912. "height": "36px"
  6913. }
  6914. }).form; //创建窗体
  6915. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6916. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6917. })
  6918. _taskbar = {
  6919. "id": str + _formdiv.id,
  6920. "style": {
  6921. "backgroundImage": "url(/img/icon/doc.png)"
  6922. },
  6923. "name": "协同文档",
  6924. "forms": _formdiv,
  6925. "click": function () {
  6926. U.MD.D.I.openApplication(str, obj, info);
  6927. }
  6928. }
  6929. break;
  6930. }
  6931. const script1 = document.createElement("script");
  6932. script1.type = "text/javascript";
  6933. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6934. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6935. const script2 = document.createElement("script");
  6936. script2.type = "text/javascript";
  6937. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6938. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6939. const script3 = document.createElement("script");
  6940. script3.type = "text/javascript";
  6941. script3.charset = "UTF-8";
  6942. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6943. const script4 = document.createElement("script");
  6944. script4.type = "text/javascript";
  6945. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6946. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6947. if (_iframe) {
  6948. if (str == 'doc') {
  6949. _iframe = _formdiv.querySelector('iframe')
  6950. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6951. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6952. _iframe.contentWindow.document.body.appendChild(script1);
  6953. _iframe.contentWindow.document.body.appendChild(script2);
  6954. // _iframe.contentWindow.document.body.appendChild(script3);
  6955. _iframe.contentWindow.document.body.appendChild(script4);
  6956. })
  6957. if (onloadListener) {
  6958. _iframe.contentDocument.location.reload()
  6959. } else {
  6960. _iframe.contentDocument.location.reload()
  6961. }
  6962. } else if (str == 'mind') {
  6963. _iframe = _formdiv.querySelector('iframe')
  6964. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6965. _iframe.contentWindow.document.body.appendChild(script1);
  6966. _iframe.contentWindow.document.body.appendChild(script2);
  6967. _iframe.contentWindow.document.body.appendChild(script4);
  6968. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6969. })
  6970. if (onloadListener) {
  6971. _iframe.contentDocument.location.reload()
  6972. } else {
  6973. _iframe.contentDocument.location.reload()
  6974. }
  6975. } else {
  6976. _iframe.onload = () => {
  6977. _iframe.contentWindow.document.body.appendChild(script1);
  6978. _iframe.contentWindow.document.body.appendChild(script2);
  6979. // _iframe.contentWindow.document.body.appendChild(script3);
  6980. _iframe.contentWindow.document.body.appendChild(script4);
  6981. };
  6982. }
  6983. _jie.onclick = async () => {
  6984. let text = ''
  6985. if (aTool == 6) {
  6986. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6987. } else if (aTool == 3) {
  6988. text = await U.MD.D.I.getEditorContent(_iframe);
  6989. }
  6990. _loading.style.display = 'flex'
  6991. console.log(_loading);
  6992. var _ajs = _iframe.contentWindow.document.createElement("script");
  6993. _ajs.type = "text/javascript";
  6994. _ajs.innerHTML =
  6995. // 'console.log(' + _loading + ');\n' +
  6996. 'var _js = document.createElement("script");\n' +
  6997. '_js.type="text/javascript";\n' +
  6998. '_js.charset="UTF-8";\n' +
  6999. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7000. "_js.onload = function(){\n" +
  7001. ' var a = document.getElementsByTagName("img")\n' +
  7002. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7003. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7004. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7005. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7006. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7007. "beforeUpload_shishi(file," +
  7008. "'" +
  7009. _userid +
  7010. "'" +
  7011. ", " +
  7012. "'" +
  7013. _cid +
  7014. "'" +
  7015. ", " +
  7016. "'" +
  7017. _stage +
  7018. "'" +
  7019. ", " +
  7020. "'" +
  7021. _task +
  7022. "'" +
  7023. ", " +
  7024. "'" +
  7025. _tool +
  7026. "'" +
  7027. ", " +
  7028. "'" +
  7029. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7030. "'" +
  7031. ", " +
  7032. "'" +
  7033. aTool +
  7034. "'" +
  7035. ", " +
  7036. "`" +
  7037. text +
  7038. "`" +
  7039. ")\n" +
  7040. " });\n" +
  7041. "}\n" +
  7042. "document.head.appendChild(_js);\n";
  7043. _iframe.contentWindow.document.head.appendChild(_ajs);
  7044. }
  7045. }
  7046. //U.MD.D.I.openClick(str);
  7047. //如果有任务栏信息
  7048. // if (_taskbar) {
  7049. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7050. // }
  7051. }
  7052. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7053. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7054. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7055. _userinfo = US.userInfo, //登录用户信息
  7056. _userid = US.userInfo.userid //登录用户id
  7057. let _iframe;
  7058. let _cid = cid,
  7059. _stage = stage,
  7060. _task = task,
  7061. _tool = tool;
  7062. var _jie = $$("div", {
  7063. "style": {
  7064. "position": "absolute",
  7065. "bottom": "50px",
  7066. "right": "50px",
  7067. "zIndex": "9999",
  7068. "backgroundColor": "#2268bc",
  7069. "color": "#fff",
  7070. "padding": "12px 20px",
  7071. "cursor": "pointer",
  7072. "borderRadius": "4px",
  7073. },
  7074. "innerHTML": "确认并提交"
  7075. })
  7076. let aTool = ''
  7077. let _loading = document.createElement('div')
  7078. _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;"
  7079. // _loading.id = "";
  7080. let _lchild = document.createElement('div')
  7081. let _limg = document.createElement('img')
  7082. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7083. _limg.style = "width: 26px;margin-right: 10px;"
  7084. _lchild.appendChild(_limg)
  7085. let _lspan = document.createElement('span')
  7086. _lspan.innerHTML = "上传中..."
  7087. _lchild.appendChild(_lspan)
  7088. _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%);"
  7089. _loading.appendChild(_lchild)
  7090. var _box = $$('div', {
  7091. "style": {
  7092. "position": "relative",
  7093. "width": "100%",
  7094. "height": "100%",
  7095. },
  7096. })
  7097. _box.appendChild(_loading)
  7098. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7099. switch (str) {
  7100. case "whiteboard":
  7101. aTool = 1;
  7102. _iframe = $$("iframe", {
  7103. "frameborder": "no",
  7104. "border": "0",
  7105. "scrolling ": "no",
  7106. "style": {
  7107. "cssText": "border:0;width:100%;height:100%"
  7108. },
  7109. "src": "https://iwb.cocorobo.cn/"
  7110. })
  7111. _box.appendChild(_iframe);
  7112. _box.appendChild(_jie);
  7113. _formdiv = new U.UF.UI.form(
  7114. "电子白板",
  7115. _box, {
  7116. "id": "whiteboards" + cid + stage + task + tool,
  7117. "style": {
  7118. "width": "90%",
  7119. "height": "90%",
  7120. "overflow": 'hidden'
  7121. },
  7122. "onresize": function () { }
  7123. }, {
  7124. closecallback: function () { }
  7125. }, {
  7126. "style": {
  7127. "height": "36px"
  7128. }
  7129. }).form; //创建窗体
  7130. _taskbar = {
  7131. "id": str + _formdiv.id,
  7132. "style": {
  7133. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7134. },
  7135. "name": "电子白板",
  7136. "forms": _formdiv,
  7137. "click": function () {
  7138. U.MD.D.I.openApplication(str, obj, info);
  7139. }
  7140. }
  7141. break;
  7142. case "mind":
  7143. aTool = 3;
  7144. _iframe = $$("iframe", {
  7145. "frameborder": "no",
  7146. "border": "0",
  7147. "scrolling ": "no",
  7148. "style": {
  7149. "cssText": "border:0;width:100%;height:100%"
  7150. },
  7151. "src": "/kityminder-editor/dist/index.html"
  7152. });
  7153. _box.appendChild(_iframe);
  7154. _box.appendChild(_jie);
  7155. _formdiv = new U.UF.UI.form(
  7156. "思维导图",
  7157. _box, { //"/jsmind/example/demo.html"
  7158. "id": "minds" + cid + stage + task + tool,
  7159. "style": {
  7160. "width": "90%",
  7161. "height": "90%",
  7162. "overflow": 'hidden'
  7163. },
  7164. "onresize": function () { }
  7165. }, {
  7166. closecallback: function () { }
  7167. }, {
  7168. "style": {
  7169. "height": "36px"
  7170. }
  7171. }).form; //创建窗体
  7172. _taskbar = {
  7173. "id": str + _formdiv.id,
  7174. "style": {
  7175. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7176. },
  7177. "name": "思维导图",
  7178. "forms": _formdiv,
  7179. "click": function () {
  7180. U.MD.D.I.openApplication(str, obj, info);
  7181. }
  7182. }
  7183. break;
  7184. case "doc":
  7185. aTool = 6;
  7186. _iframe = $$("iframe", {
  7187. "frameborder": "no",
  7188. "border": "0",
  7189. "scrolling ": "no",
  7190. "style": {
  7191. "cssText": "border:0;width:100%;height:100%"
  7192. },
  7193. "src": "/Office/Word/WordEditArea.htm"
  7194. })
  7195. _box.appendChild(_iframe);
  7196. _box.appendChild(_jie);
  7197. _formdiv = new U.UF.UI.form(
  7198. "协同文档",
  7199. _box, {
  7200. "id": "docs" + cid + stage + task + tool,
  7201. "style": {
  7202. "width": "90%",
  7203. "height": "90%",
  7204. "overflow": 'hidden'
  7205. },
  7206. "onresize": function () { }
  7207. }, {
  7208. closecallback: function () { }
  7209. }, {
  7210. "style": {
  7211. "height": "36px"
  7212. }
  7213. }).form; //创建窗体
  7214. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7215. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7216. })
  7217. _taskbar = {
  7218. "id": str + _formdiv.id,
  7219. "style": {
  7220. "backgroundImage": "url(/img/icon/doc.png)"
  7221. },
  7222. "name": "协同文档",
  7223. "forms": _formdiv,
  7224. "click": function () {
  7225. U.MD.D.I.openApplication(str, obj, info);
  7226. }
  7227. }
  7228. break;
  7229. }
  7230. const script1 = document.createElement("script");
  7231. script1.type = "text/javascript";
  7232. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7233. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7234. const script2 = document.createElement("script");
  7235. script2.type = "text/javascript";
  7236. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7237. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7238. const script3 = document.createElement("script");
  7239. script3.type = "text/javascript";
  7240. script3.charset = "UTF-8";
  7241. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7242. const script4 = document.createElement("script");
  7243. script4.type = "text/javascript";
  7244. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7245. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7246. if (_iframe) {
  7247. if (str == 'doc') {
  7248. _iframe = _formdiv.querySelector('iframe')
  7249. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7250. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7251. _iframe.contentWindow.document.body.appendChild(script1);
  7252. _iframe.contentWindow.document.body.appendChild(script2);
  7253. // _iframe.contentWindow.document.body.appendChild(script3);
  7254. _iframe.contentWindow.document.body.appendChild(script4);
  7255. })
  7256. if (onloadListener) {
  7257. _iframe.contentDocument.location.reload()
  7258. } else {
  7259. _iframe.contentDocument.location.reload()
  7260. }
  7261. } else if (str == 'mind') {
  7262. _iframe = _formdiv.querySelector('iframe')
  7263. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7264. _iframe.contentWindow.document.body.appendChild(script1);
  7265. _iframe.contentWindow.document.body.appendChild(script2);
  7266. _iframe.contentWindow.document.body.appendChild(script4);
  7267. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7268. })
  7269. if (onloadListener) {
  7270. _iframe.contentDocument.location.reload()
  7271. } else {
  7272. _iframe.contentDocument.location.reload()
  7273. }
  7274. } else {
  7275. _iframe.onload = () => {
  7276. _iframe.contentWindow.document.body.appendChild(script1);
  7277. _iframe.contentWindow.document.body.appendChild(script2);
  7278. // _iframe.contentWindow.document.body.appendChild(script3);
  7279. _iframe.contentWindow.document.body.appendChild(script4);
  7280. };
  7281. }
  7282. _jie.onclick = async () => {
  7283. let text = ''
  7284. if (aTool == 6) {
  7285. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7286. } else if (aTool == 3) {
  7287. text = await U.MD.D.I.getEditorContent(_iframe);
  7288. }
  7289. _loading.style.display = 'flex'
  7290. console.log(_loading);
  7291. var _ajs = _iframe.contentWindow.document.createElement("script");
  7292. _ajs.type = "text/javascript";
  7293. _ajs.innerHTML =
  7294. // 'console.log(' + _loading + ');\n' +
  7295. 'var _js = document.createElement("script");\n' +
  7296. '_js.type="text/javascript";\n' +
  7297. '_js.charset="UTF-8";\n' +
  7298. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7299. "_js.onload = function(){\n" +
  7300. ' var a = document.getElementsByTagName("img")\n' +
  7301. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7302. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7303. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7304. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7305. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7306. "beforeUpload_shishi(file," +
  7307. "'" +
  7308. _userid +
  7309. "'" +
  7310. ", " +
  7311. "'" +
  7312. _cid +
  7313. "'" +
  7314. ", " +
  7315. "'" +
  7316. _stage +
  7317. "'" +
  7318. ", " +
  7319. "'" +
  7320. _task +
  7321. "'" +
  7322. ", " +
  7323. "'" +
  7324. _tool +
  7325. "'" +
  7326. ", " +
  7327. "'" +
  7328. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7329. "'" +
  7330. ", " +
  7331. "'" +
  7332. aTool +
  7333. "'" +
  7334. ", " +
  7335. "`" +
  7336. text +
  7337. "`" +
  7338. ")\n" +
  7339. " });\n" +
  7340. "}\n" +
  7341. "document.head.appendChild(_js);\n";
  7342. _iframe.contentWindow.document.head.appendChild(_ajs);
  7343. }
  7344. }
  7345. //U.MD.D.I.openClick(str);
  7346. //如果有任务栏信息
  7347. // if (_taskbar) {
  7348. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7349. // }
  7350. }
  7351. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7352. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7353. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7354. _userinfo = US.userInfo, //登录用户信息
  7355. _userid = US.userInfo.userid //登录用户id
  7356. let _iframe;
  7357. let _cid = cid,
  7358. _stage = stage,
  7359. _task = task,
  7360. _tool = tool;
  7361. var _jie = $$("div", {
  7362. "style": {
  7363. "position": "absolute",
  7364. "bottom": "50px",
  7365. "right": "50px",
  7366. "zIndex": "9999",
  7367. "backgroundColor": "#2268bc",
  7368. "color": "#fff",
  7369. "padding": "12px 20px",
  7370. "cursor": "pointer",
  7371. "borderRadius": "4px",
  7372. },
  7373. "innerHTML": "上传模板"
  7374. })
  7375. let aTool = ''
  7376. let _loading = document.createElement('div')
  7377. _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;"
  7378. // _loading.id = "";
  7379. let _lchild = document.createElement('div')
  7380. let _limg = document.createElement('img')
  7381. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7382. _limg.style = "width: 26px;margin-right: 10px;"
  7383. _lchild.appendChild(_limg)
  7384. let _lspan = document.createElement('span')
  7385. _lspan.innerHTML = "上传中..."
  7386. _lchild.appendChild(_lspan)
  7387. _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%);"
  7388. _loading.appendChild(_lchild)
  7389. var _box = $$('div', {
  7390. "style": {
  7391. "position": "relative",
  7392. "width": "100%",
  7393. "height": "100%",
  7394. },
  7395. })
  7396. _box.appendChild(_loading)
  7397. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7398. switch (str) {
  7399. case "whiteboard":
  7400. aTool = 1;
  7401. _iframe = $$("iframe", {
  7402. "frameborder": "no",
  7403. "border": "0",
  7404. "scrolling ": "no",
  7405. "style": {
  7406. "cssText": "border:0;width:100%;height:100%"
  7407. },
  7408. "src": "https://iwb.cocorobo.cn/"
  7409. })
  7410. _box.appendChild(_iframe);
  7411. _box.appendChild(_jie);
  7412. _formdiv = new U.UF.UI.form(
  7413. "电子白板",
  7414. _box, {
  7415. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7416. "style": {
  7417. "width": "90%",
  7418. "height": "90%",
  7419. "overflow": 'hidden'
  7420. },
  7421. "onresize": function () { }
  7422. }, {
  7423. closecallback: function () { }
  7424. }, {
  7425. "style": {
  7426. "height": "36px"
  7427. }
  7428. }).form; //创建窗体
  7429. _taskbar = {
  7430. "id": str + _formdiv.id,
  7431. "style": {
  7432. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7433. },
  7434. "name": "电子白板",
  7435. "forms": _formdiv,
  7436. "click": function () {
  7437. U.MD.D.I.openApplication(str, obj, info);
  7438. }
  7439. }
  7440. break;
  7441. case "mind":
  7442. aTool = 3;
  7443. _iframe = $$("iframe", {
  7444. "frameborder": "no",
  7445. "border": "0",
  7446. "scrolling ": "no",
  7447. "style": {
  7448. "cssText": "border:0;width:100%;height:100%"
  7449. },
  7450. "src": "/kityminder-editor/dist/index.html"
  7451. });
  7452. _box.appendChild(_iframe);
  7453. _box.appendChild(_jie);
  7454. _formdiv = new U.UF.UI.form(
  7455. "思维导图",
  7456. _box, { //"/jsmind/example/demo.html"
  7457. "id": "minds_Yu" + cid + stage + task + tool,
  7458. "style": {
  7459. "width": "90%",
  7460. "height": "90%",
  7461. "overflow": 'hidden'
  7462. },
  7463. "onresize": function () { }
  7464. }, {
  7465. closecallback: function () { }
  7466. }, {
  7467. "style": {
  7468. "height": "36px"
  7469. }
  7470. }).form; //创建窗体
  7471. _taskbar = {
  7472. "id": str + _formdiv.id,
  7473. "style": {
  7474. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7475. },
  7476. "name": "思维导图",
  7477. "forms": _formdiv,
  7478. "click": function () {
  7479. U.MD.D.I.openApplication(str, obj, info);
  7480. }
  7481. }
  7482. break;
  7483. case "doc":
  7484. aTool = 6;
  7485. _iframe = $$("iframe", {
  7486. "frameborder": "no",
  7487. "border": "0",
  7488. "scrolling ": "no",
  7489. "style": {
  7490. "cssText": "border:0;width:100%;height:100%"
  7491. },
  7492. "src": "/Office/Word/WordEditArea.htm"
  7493. })
  7494. _box.appendChild(_iframe);
  7495. _box.appendChild(_jie);
  7496. _formdiv = new U.UF.UI.form(
  7497. "协同文档",
  7498. _box, {
  7499. "id": "docs_Yu" + cid + stage + task + tool,
  7500. "style": {
  7501. "width": "90%",
  7502. "height": "90%",
  7503. "overflow": 'hidden'
  7504. },
  7505. "onresize": function () { }
  7506. }, {
  7507. closecallback: function () { }
  7508. }, {
  7509. "style": {
  7510. "height": "36px"
  7511. }
  7512. }).form; //创建窗体
  7513. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7514. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7515. })
  7516. _taskbar = {
  7517. "id": str + _formdiv.id,
  7518. "style": {
  7519. "backgroundImage": "url(/img/icon/doc.png)"
  7520. },
  7521. "name": "协同文档",
  7522. "forms": _formdiv,
  7523. "click": function () {
  7524. U.MD.D.I.openApplication(str, obj, info);
  7525. }
  7526. }
  7527. break;
  7528. case "CocoPi":
  7529. aTool = 57;
  7530. _iframe = $$("iframe", {
  7531. "allowpaymentrequest": "allowpaymentrequest",
  7532. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7533. "webkitallowfullscreen": "",
  7534. "mozallowfullscreen": "",
  7535. "frameborder": "no",
  7536. "border": "0",
  7537. "scrolling ": "no",
  7538. "style": {
  7539. "cssText": "border:0;width:100%;height:100%"
  7540. },
  7541. "src": "https://pi.cocorobo.cn/"
  7542. })
  7543. _box.appendChild(_iframe);
  7544. _box.appendChild(_jie);
  7545. _formdiv = new U.UF.UI.form(
  7546. "CocoPi",
  7547. _box, {
  7548. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7549. "style": {
  7550. "width": "90%",
  7551. "height": "90%",
  7552. "overflow": 'hidden'
  7553. },
  7554. "onresize": function () { }
  7555. }, {
  7556. closecallback: function () { }
  7557. }, {
  7558. "style": {
  7559. "height": "36px"
  7560. }
  7561. }).form; //创建窗体
  7562. _taskbar = {
  7563. "id": str + _formdiv.id,
  7564. "style": {
  7565. "backgroundImage": "url(/img/icon/cocopi.png)"
  7566. },
  7567. "name": "CocoPi",
  7568. "forms": _formdiv,
  7569. "click": function () {
  7570. U.MD.D.I.openApplication(str, obj, info);
  7571. }
  7572. }
  7573. break;
  7574. }
  7575. if (_iframe) {
  7576. if (str == 'doc') {
  7577. _iframe = _formdiv.querySelector('iframe')
  7578. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7579. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7580. })
  7581. if (onloadListener) {
  7582. _iframe.contentDocument.location.reload()
  7583. } else {
  7584. _iframe.contentDocument.location.reload()
  7585. }
  7586. } else if (str == 'mind') {
  7587. _iframe = _formdiv.querySelector('iframe')
  7588. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7589. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7590. })
  7591. if (onloadListener) {
  7592. _iframe.contentDocument.location.reload()
  7593. } else {
  7594. _iframe.contentDocument.location.reload()
  7595. }
  7596. } else if (str == 'whiteboard') {
  7597. _iframe = _formdiv.querySelector('iframe')
  7598. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7599. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7600. })
  7601. if (onloadListener) {
  7602. _iframe.contentDocument.location.reload()
  7603. } else {
  7604. _iframe.contentDocument.location.reload()
  7605. }
  7606. } else if (str == 'CocoPi') {
  7607. _iframe = _formdiv.querySelector('iframe')
  7608. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7609. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7610. })
  7611. if (onloadListener) {
  7612. _iframe.contentDocument.location.reload()
  7613. } else {
  7614. _iframe.contentDocument.location.reload()
  7615. }
  7616. } else {
  7617. _iframe.onload = () => { };
  7618. }
  7619. _jie.onclick = async () => {
  7620. let text = ''
  7621. let type = '2'
  7622. if (aTool == 1) {
  7623. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7624. type = '3'
  7625. } else if (aTool == 6) {
  7626. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7627. type = '1'
  7628. } else if (aTool == 3) {
  7629. text = await U.MD.D.I.getEditorContent(_iframe);
  7630. type = '2'
  7631. } else if (aTool == 57) {
  7632. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7633. type = '4'
  7634. }
  7635. _loading.style.display = 'flex'
  7636. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7637. }
  7638. }
  7639. //U.MD.D.I.openClick(str);
  7640. //如果有任务栏信息
  7641. // if (_taskbar) {
  7642. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7643. // }
  7644. }
  7645. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7646. var xmlhttp;
  7647. var Mac, Sn, DeviceId
  7648. if (window.XMLHttpRequest) {
  7649. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7650. xmlhttp = new XMLHttpRequest();
  7651. } else {
  7652. // IE6, IE5 浏览器执行代码
  7653. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7654. }
  7655. xmlhttp.onreadystatechange = function () {
  7656. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7657. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7658. // resolve(res.value[0][0].text);
  7659. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7660. }
  7661. }
  7662. }
  7663. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7664. xmlhttp.send();
  7665. }
  7666. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7667. var xmlhttp;
  7668. var Mac, Sn, DeviceId
  7669. if (window.XMLHttpRequest) {
  7670. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7671. xmlhttp = new XMLHttpRequest();
  7672. } else {
  7673. // IE6, IE5 浏览器执行代码
  7674. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7675. }
  7676. xmlhttp.onreadystatechange = function () {
  7677. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7678. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7679. // resolve(res.value[0][0].text);
  7680. if (type == '2') {
  7681. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7682. } else if (type == '3') {
  7683. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7684. } else if (type == '4') {
  7685. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7686. }
  7687. } else {
  7688. if (type == '2') {
  7689. iframe.contentWindow.editor.minder.importData('json', '')
  7690. } else if (type == '3') {
  7691. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7692. } else if (type == '4') {
  7693. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7694. }
  7695. }
  7696. }
  7697. }
  7698. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7699. xmlhttp.send();
  7700. }
  7701. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7702. var xmlhttp;
  7703. var Mac, Sn, DeviceId
  7704. if (window.XMLHttpRequest) {
  7705. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7706. xmlhttp = new XMLHttpRequest();
  7707. } else {
  7708. // IE6, IE5 浏览器执行代码
  7709. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7710. }
  7711. xmlhttp.onreadystatechange = function () {
  7712. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7713. if (xmlhttp.response) {
  7714. // resolve(res.value[0][0].text);
  7715. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7716. // $(fileInput).val('');
  7717. // });
  7718. span.innerHTML = '上传成功'
  7719. setTimeout(() => {
  7720. loading.style.display = 'none'
  7721. }, 1000);
  7722. }
  7723. }
  7724. }
  7725. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7726. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7727. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7728. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7729. // 设置请求头,表示请求体的编码格式
  7730. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7731. // 设置请求体,使用url-encoded格式的数据
  7732. }
  7733. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7734. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7735. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7736. _userinfo = US.userInfo, //登录用户信息
  7737. _userid = US.userInfo.userid //登录用户id
  7738. let _iframe;
  7739. let _cid = cid,
  7740. _stage = stage,
  7741. _task = task,
  7742. _tool = tool;
  7743. var _jie = $$("div", {
  7744. "style": {
  7745. "position": "absolute",
  7746. "bottom": "50px",
  7747. "right": "50px",
  7748. "zIndex": "9999",
  7749. "backgroundColor": "#2268bc",
  7750. "color": "#fff",
  7751. "padding": "12px 20px",
  7752. "cursor": "pointer",
  7753. "borderRadius": "4px",
  7754. },
  7755. "innerHTML": "提交作业"
  7756. })
  7757. let aTool = ''
  7758. let _loading = document.createElement('div')
  7759. _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;"
  7760. // _loading.id = "";
  7761. let _lchild = document.createElement('div')
  7762. let _limg = document.createElement('img')
  7763. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7764. _limg.style = "width: 26px;margin-right: 10px;"
  7765. _lchild.appendChild(_limg)
  7766. let _lspan = document.createElement('span')
  7767. _lspan.innerHTML = "上传中..."
  7768. _lchild.appendChild(_lspan)
  7769. _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%);"
  7770. _loading.appendChild(_lchild)
  7771. var _box = $$('div', {
  7772. "style": {
  7773. "position": "relative",
  7774. "width": "100%",
  7775. "height": "100%",
  7776. },
  7777. })
  7778. _box.appendChild(_loading)
  7779. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7780. switch (str) {
  7781. case "CocoPi":
  7782. aTool = 57;
  7783. _iframe = $$("iframe", {
  7784. "allowpaymentrequest": "allowpaymentrequest",
  7785. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7786. "webkitallowfullscreen": "",
  7787. "mozallowfullscreen": "",
  7788. "frameborder": "no",
  7789. "border": "0",
  7790. "scrolling ": "no",
  7791. "style": {
  7792. "cssText": "border:0;width:100%;height:100%"
  7793. },
  7794. "src": "https://pi.cocorobo.cn/"
  7795. })
  7796. _box.appendChild(_iframe);
  7797. _box.appendChild(_jie);
  7798. _formdiv = new U.UF.UI.form(
  7799. "CocoPi",
  7800. _box, {
  7801. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7802. "style": {
  7803. "width": "90%",
  7804. "height": "90%",
  7805. "overflow": 'hidden'
  7806. },
  7807. "onresize": function () { }
  7808. }, {
  7809. closecallback: function () { }
  7810. }, {
  7811. "style": {
  7812. "height": "36px"
  7813. }
  7814. }).form; //创建窗体
  7815. _taskbar = {
  7816. "id": str + _formdiv.id,
  7817. "style": {
  7818. "backgroundImage": "url(/img/icon/cocopi.png)"
  7819. },
  7820. "name": "CocoPi",
  7821. "forms": _formdiv,
  7822. "click": function () {
  7823. U.MD.D.I.openApplication(str, obj, info);
  7824. }
  7825. }
  7826. break;
  7827. }
  7828. if (_iframe) {
  7829. if (str == 'CocoPi') {
  7830. _iframe = _formdiv.querySelector('iframe')
  7831. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7832. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7833. })
  7834. if (onloadListener) {
  7835. _iframe.contentDocument.location.reload()
  7836. } else {
  7837. _iframe.contentDocument.location.reload()
  7838. }
  7839. }
  7840. _jie.onclick = async () => {
  7841. let text = ''
  7842. if (aTool == 57) {
  7843. text = _iframe.contentWindow.getLoadXmlStr()
  7844. }
  7845. _loading.style.display = 'flex'
  7846. console.log(_loading);
  7847. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7848. _loading.style.display = 'none'
  7849. let _div = document.createElement('div')
  7850. _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;"
  7851. let _inner = document.createElement('div')
  7852. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7853. _inner.innerHTML = "上传成功"
  7854. _div.appendChild(_inner)
  7855. _iframe.contentWindow.window.document.body.appendChild(_div)
  7856. _div.onclick = () => {
  7857. _iframe.contentWindow.window.document.body.removeChild(_div)
  7858. }
  7859. setTimeout(() => {
  7860. _iframe.contentWindow.window.document.body.removeChild(_div)
  7861. }, 1000);
  7862. }, [], { "type": "POST", "withCredentials": true });
  7863. }
  7864. }
  7865. }
  7866. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7867. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7868. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7869. _userid = student.userid, //登录用户id
  7870. _username = student.student //用户名字
  7871. let _iframe;
  7872. let _cid = cid,
  7873. _stage = stage,
  7874. _task = task,
  7875. _tool = tool;
  7876. var _jie = $$("div", {
  7877. "style": {
  7878. "position": "absolute",
  7879. "bottom": "50px",
  7880. "right": "50px",
  7881. "zIndex": "9999",
  7882. "backgroundColor": "#2268bc",
  7883. "color": "#fff",
  7884. "padding": "12px 20px",
  7885. "cursor": "pointer",
  7886. "borderRadius": "4px",
  7887. },
  7888. "innerHTML": "提交作业"
  7889. })
  7890. let aTool = ''
  7891. let _loading = document.createElement('div')
  7892. _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;"
  7893. // _loading.id = "";
  7894. let _lchild = document.createElement('div')
  7895. let _limg = document.createElement('img')
  7896. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7897. _limg.style = "width: 26px;margin-right: 10px;"
  7898. _lchild.appendChild(_limg)
  7899. let _lspan = document.createElement('span')
  7900. _lspan.innerHTML = "上传中..."
  7901. _lchild.appendChild(_lspan)
  7902. _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%);"
  7903. _loading.appendChild(_lchild)
  7904. var _box = $$('div', {
  7905. "style": {
  7906. "position": "relative",
  7907. "width": "100%",
  7908. "height": "100%",
  7909. },
  7910. })
  7911. _box.appendChild(_loading)
  7912. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7913. switch (str) {
  7914. case "CocoPi":
  7915. aTool = 57;
  7916. _iframe = $$("iframe", {
  7917. "allowpaymentrequest": "allowpaymentrequest",
  7918. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7919. "webkitallowfullscreen": "",
  7920. "mozallowfullscreen": "",
  7921. "frameborder": "no",
  7922. "border": "0",
  7923. "scrolling ": "no",
  7924. "style": {
  7925. "cssText": "border:0;width:100%;height:100%"
  7926. },
  7927. "src": "https://pi.cocorobo.cn/"
  7928. })
  7929. _box.appendChild(_iframe);
  7930. _box.appendChild(_jie);
  7931. _formdiv = new U.UF.UI.form(
  7932. "CocoPi-" + _username,
  7933. _box, {
  7934. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7935. "style": {
  7936. "width": "90%",
  7937. "height": "90%",
  7938. "overflow": 'hidden'
  7939. },
  7940. "onresize": function () { }
  7941. }, {
  7942. closecallback: function () { }
  7943. }, {
  7944. "style": {
  7945. "height": "36px"
  7946. }
  7947. }).form; //创建窗体
  7948. _taskbar = {
  7949. "id": str + _formdiv.id,
  7950. "style": {
  7951. "backgroundImage": "url(/img/icon/cocopi.png)"
  7952. },
  7953. "name": "CocoPi",
  7954. "forms": _formdiv,
  7955. "click": function () {
  7956. U.MD.D.I.openApplication(str, obj, info);
  7957. }
  7958. }
  7959. break;
  7960. }
  7961. if (_iframe) {
  7962. if (str == 'CocoPi') {
  7963. _iframe = _formdiv.querySelector('iframe')
  7964. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7965. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7966. })
  7967. if (onloadListener) {
  7968. _iframe.contentDocument.location.reload()
  7969. } else {
  7970. _iframe.contentDocument.location.reload()
  7971. }
  7972. }
  7973. _jie.onclick = async () => {
  7974. let text = ''
  7975. if (aTool == 57) {
  7976. text = _iframe.contentWindow.getLoadXmlStr()
  7977. }
  7978. _loading.style.display = 'flex'
  7979. console.log(_loading);
  7980. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7981. _loading.style.display = 'none'
  7982. let _div = document.createElement('div')
  7983. _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;"
  7984. let _inner = document.createElement('div')
  7985. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7986. _inner.innerHTML = "上传成功"
  7987. _div.appendChild(_inner)
  7988. _iframe.contentWindow.window.document.body.appendChild(_div)
  7989. _div.onclick = () => {
  7990. _iframe.contentWindow.window.document.body.removeChild(_div)
  7991. }
  7992. setTimeout(() => {
  7993. _iframe.contentWindow.window.document.body.removeChild(_div)
  7994. }, 1000);
  7995. }, [], { "type": "POST", "withCredentials": true });
  7996. }
  7997. }
  7998. }
  7999. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  8000. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  8001. if (res.value[0].length > 0) {
  8002. if (atool == 57) {
  8003. iframe.contentWindow.loadingXml(res.value[0][0].content)
  8004. }
  8005. } else {
  8006. if (atool == 57) {
  8007. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  8008. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8009. }
  8010. }
  8011. }, [], { "type": "POST", "withCredentials": true });
  8012. }