DeskTop.js 495 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291
  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": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  627. { "Name": "教师管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  628. { "Name": "教师中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  629. ];
  630. //教科院实小教师桌面图标的全局变量
  631. U.MD.D.I.siesStudentDeskIcon = [
  632. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  633. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  634. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  635. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  636. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  637. ];
  638. //福田
  639. U.MD.D.I.gdjgTeacherDeskIcon = [
  640. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  641. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  642. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  643. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  644. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  645. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  646. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  647. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  648. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  649. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  650. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  651. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  652. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  653. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  654. ];
  655. //gdjg
  656. U.MD.D.I.gdjgAdminDeskIcon = [
  657. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  658. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  659. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  660. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  661. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  662. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  663. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  664. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  665. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  666. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  667. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  668. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  669. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  670. ];
  671. //hk
  672. U.MD.D.I.hkteacherDeskIcon = [
  673. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  674. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  675. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  676. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  677. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  678. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  679. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  680. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  681. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  682. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  683. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  684. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  685. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  686. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  687. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  688. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  689. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  690. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  691. ];
  692. //hk
  693. U.MD.D.I.hkStudentDeskIcon = [
  694. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  695. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  696. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  697. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  698. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  699. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  700. ];
  701. //hk
  702. U.MD.D.I.hkaceteacherDeskIcon = [
  703. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  704. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  705. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  706. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  707. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  708. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  709. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  710. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  711. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  712. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  713. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  714. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  715. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  716. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  717. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  718. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  719. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  720. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  721. ];
  722. //hk
  723. U.MD.D.I.hkaceStudentDeskIcon = [
  724. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  725. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  726. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  727. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  728. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  729. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  730. ];
  731. //香海正覺蓮社佛教正覺中學
  732. U.MD.D.I.hkZJLSteacherDeskIcon = [
  733. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  734. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  735. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  736. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  737. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  738. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  739. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  740. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  741. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  742. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  743. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  744. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  745. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  746. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  747. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  748. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  749. ];
  750. //香海正覺蓮社佛教正覺中學
  751. U.MD.D.I.hkZJLSStudentDeskIcon = [
  752. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  753. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  754. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  755. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  756. ];
  757. //云海
  758. U.MD.D.I.yunhaiTeacherDeskIcon = [
  759. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  760. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  761. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  762. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  763. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  764. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  765. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  766. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  767. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  768. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  769. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  770. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  771. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  772. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  773. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  774. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  775. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  776. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  777. ];
  778. //福田
  779. U.MD.D.I.heyuanTeacherDeskIcon = [
  780. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  781. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  782. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  783. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  784. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  785. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  786. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  787. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  788. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  789. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  790. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  791. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  792. ];
  793. //福田
  794. U.MD.D.I.heyuanAdminDeskIcon = [
  795. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  796. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  797. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  798. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  799. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  800. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  801. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  802. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  803. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  804. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  805. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  806. ];
  807. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  808. U.MD.D.I.szherTeacherDeskIcon = [
  809. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  810. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  811. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  812. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  813. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  814. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  815. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  816. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  817. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  818. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  819. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  820. ];
  821. //dsei
  822. U.MD.D.I.dseiTeacherDeskIcon = [
  823. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  824. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  825. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  826. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  827. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  828. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  829. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  830. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  831. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  832. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  833. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  834. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  835. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  836. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  837. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  838. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  839. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  840. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  841. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  842. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  843. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  844. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  845. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  846. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  847. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  848. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  849. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  850. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  851. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  852. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  853. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  854. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  855. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  856. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  857. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  858. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  859. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  860. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  861. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  862. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  863. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  864. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  865. ];
  866. //dsei
  867. U.MD.D.I.dseiAdminDeskIcon = [
  868. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  869. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  870. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  871. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  872. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  873. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  874. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  875. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  876. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  877. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  878. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  879. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  880. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  881. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  882. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  883. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  884. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  885. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  886. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  887. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  888. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  889. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  890. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  891. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  892. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  893. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  894. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  895. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  896. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  897. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  898. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  899. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  900. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  901. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  902. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  903. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  904. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  905. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  906. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  907. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  908. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  909. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  910. ];
  911. //dsei
  912. U.MD.D.I.dseiStudentDeskIcon = [
  913. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  914. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  915. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  916. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  917. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  918. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  919. ];
  920. //未来教育基地
  921. U.MD.D.I.szjkyTeacherDeskIcon = [
  922. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  923. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  924. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  925. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  926. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  927. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  928. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  929. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  930. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  931. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  932. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  933. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  934. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  935. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  936. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  937. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  938. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  939. ];
  940. //未来教育基地
  941. U.MD.D.I.szjkyAdminDeskIcon = [
  942. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  943. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  944. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  945. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  946. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  947. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  948. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  949. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  950. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  951. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  952. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  953. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  954. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  955. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  956. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  957. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  958. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  959. ];
  960. //未来教育基地
  961. U.MD.D.I.szjkyStudentDeskIcon = [
  962. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  963. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  964. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  965. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  966. ];
  967. //成华教育局
  968. U.MD.D.I.chjyjTeacherDeskIcon = [
  969. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  970. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  971. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  972. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  973. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  974. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  975. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  976. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  977. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  978. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  979. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  980. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  981. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  982. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  983. ];
  984. //成华教育局chjyj
  985. U.MD.D.I.chjyjAdminDeskIcon = [
  986. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  987. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  988. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  989. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  990. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  991. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  992. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  993. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  994. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  995. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  996. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  997. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  998. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  999. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1000. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1001. ];
  1002. //成华教育局chjyj
  1003. U.MD.D.I.chjyjStudentDeskIcon = [
  1004. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1005. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1006. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1007. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1008. ];
  1009. //tpc
  1010. U.MD.D.I.tpcStudentDeskIcon = [
  1011. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1012. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1013. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1014. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1015. ];
  1016. //tpc
  1017. U.MD.D.I.tpcTeacherDeskIcon = [
  1018. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1019. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1020. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1021. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1022. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1023. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1024. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1025. ];
  1026. //tpc
  1027. U.MD.D.I.tpcAdminDeskIcon = [
  1028. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1029. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1030. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1031. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1032. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1033. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1034. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1035. ];
  1036. //THU-IOE
  1037. U.MD.D.I.thuioeTeacherDeskIcon = [
  1038. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1039. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1040. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1041. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1042. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1043. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1044. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1045. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1046. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1047. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1048. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1049. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1050. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1051. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1052. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1053. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1054. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1055. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1056. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1057. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1058. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1059. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1060. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1061. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1062. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1063. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1064. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1065. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1066. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1067. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1068. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1069. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1070. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1071. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1072. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1073. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1074. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1075. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1076. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1077. ];
  1078. //THU-IOE
  1079. U.MD.D.I.thuioeStudentDeskIcon = [
  1080. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1081. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1082. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1083. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1084. ];
  1085. //jccssyl
  1086. U.MD.D.I.jccssylTeacherDeskIcon = [
  1087. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1088. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1089. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1090. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1091. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1092. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1093. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1094. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1095. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1096. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1097. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1098. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1099. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1100. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1101. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1102. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1103. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1104. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1105. ];
  1106. //jccssyl
  1107. U.MD.D.I.jccssylStudentDeskIcon = [
  1108. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1109. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1110. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1111. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1112. ];
  1113. //#region 桌面初始化a
  1114. /**
  1115. * 初始化桌面的起始函数
  1116. *
  1117. */
  1118. U.MD.D.I.init = function () {
  1119. if ($("#U_MD_D_K")[0]) {
  1120. //初始化桌面图标
  1121. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1122. // var clickUrl = ':12588/requestIp.php';
  1123. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1124. // U.MD.D.I.Ip = data;
  1125. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1126. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1127. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1128. // })
  1129. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1130. // })
  1131. }
  1132. }
  1133. /**
  1134. * 模式切换
  1135. *
  1136. */
  1137. U.MD.D.I.ModeCheck = function (type) {
  1138. if (US.Config.type == type) {
  1139. return
  1140. }
  1141. US.Config.type = type
  1142. $('.U_PBL_Check .active')[0].className = ''
  1143. if (type == 1) {
  1144. $('.U_PBL_Check div')[0].className = 'active'
  1145. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1146. } else {
  1147. $('.U_PBL_Check div')[1].className = 'active'
  1148. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1149. }
  1150. //初始化桌面图标
  1151. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1152. if (type == 2) {
  1153. U.MD.D.I.openApplication("project")
  1154. }
  1155. }
  1156. /**
  1157. * 隐藏任务栏
  1158. *
  1159. * @param {element} 桌面元素
  1160. */
  1161. U.MD.D.I.hiddenTaskbar = function (el) {
  1162. //任务栏位置变小
  1163. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1164. //桌面的位置变大
  1165. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1166. }
  1167. /**
  1168. * 隐藏任务栏
  1169. *
  1170. * @param {element} 桌面元素
  1171. */
  1172. U.MD.D.I.hiddenTaskbarout = function (el) {
  1173. //任务栏位置变小
  1174. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1175. //任务栏位置变化
  1176. U.selectEl(el).css({ "bottom": "-60px" });
  1177. //桌面的位置变大
  1178. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1179. }
  1180. }
  1181. /**
  1182. * 初始化打印桌面图标
  1183. *
  1184. * @param {element} 桌面元素
  1185. */
  1186. U.MD.D.I.initDesktopIcons = function (el, type) {
  1187. var i, //用于循环
  1188. _content, //桌面图标元素
  1189. _iconcontent, //桌面图标元素
  1190. _frag = $$("frag"), //定义一个碎片元素
  1191. _type = US.userInfo.type,
  1192. _org = US.userInfo.org,
  1193. _oid = US.userInfo.organizeid,
  1194. _role = US.userInfo.role,
  1195. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1196. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1197. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1198. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1199. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1200. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1201. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1202. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1203. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1204. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1205. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1206. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1207. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1208. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1209. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1210. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1211. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1212. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1213. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1214. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1215. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1216. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1217. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1218. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1219. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1220. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1221. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1222. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1223. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1224. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1225. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1226. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1227. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1228. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1229. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1230. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1231. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1232. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1233. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1234. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1235. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1236. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1237. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1238. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1239. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1240. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1241. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1242. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1243. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1244. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1245. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1246. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1247. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1248. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1249. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1250. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1251. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1252. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1253. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1254. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1255. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1256. 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'];
  1257. 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'];
  1258. //清楚桌面图标
  1259. el.innerHTML = "";
  1260. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1261. _teacherDesktopIconInfo.push(
  1262. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1263. { "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)" } },
  1264. )
  1265. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1266. }
  1267. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1268. _teacherDesktopIconInfo.push(
  1269. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1270. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1271. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1272. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1273. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1274. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1275. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1276. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1277. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1278. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1279. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1280. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1281. )
  1282. }
  1283. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1284. // _teacherDesktopIconInfo.push(
  1285. // )
  1286. // }
  1287. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1288. _teacherDesktopIconInfo.push(
  1289. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1290. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1291. )
  1292. }
  1293. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1294. _teacherDesktopIconInfo.push(
  1295. )
  1296. }
  1297. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1298. _teacherDesktopIconInfo.push(
  1299. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1300. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1301. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1302. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1303. )
  1304. _studentDesktopIconInfo.push(
  1305. )
  1306. }
  1307. //麒麟二中 和 民新小学
  1308. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1309. _teacherDesktopIconInfo.push(
  1310. )
  1311. }
  1312. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1313. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1314. _teacherDesktopIconInfo.push(
  1315. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1316. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1317. )
  1318. }
  1319. //麒麟二中
  1320. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1321. _studentDesktopIconInfo.push(
  1322. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1323. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1324. )
  1325. }
  1326. //万科双语
  1327. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1328. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1329. if (el.Name == '项目管理') {
  1330. el.Name = 'PBL项目'
  1331. }
  1332. return el
  1333. })
  1334. _studentDesktopIconInfo3.push(
  1335. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1336. )
  1337. }
  1338. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1339. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1340. return el.Name != '魔盒识字' && el.Name != '24点'
  1341. })
  1342. }
  1343. 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) {
  1344. _studentDesktopIconInfo.push(
  1345. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1346. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1347. )
  1348. }
  1349. //循环创建桌面图标
  1350. if (type == 1) {
  1351. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1352. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1353. _content = $$("div", {
  1354. className: "U_MD_D_KO",
  1355. "onmousedown": U.UF.C.closure(function (obj) {
  1356. //防止拖动图标即打开了桌面应用
  1357. U.MD.D.click(this, obj);
  1358. }, [_studentDesktopIconInfo[i]]),
  1359. "onclick": U.UF.C.closure(function (obj) {
  1360. //防止拖动图标即打开了桌面应用
  1361. U.MD.D.click(this, obj);
  1362. }, [_studentDesktopIconInfo[i]])
  1363. }, _frag); //
  1364. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1365. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1366. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1367. }
  1368. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1369. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1370. _content = $$("div", {
  1371. className: "U_MD_D_KO",
  1372. "onmousedown": U.UF.C.closure(function (obj) {
  1373. //防止拖动图标即打开了桌面应用
  1374. U.MD.D.click(this, obj);
  1375. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1376. "onclick": U.UF.C.closure(function (obj) {
  1377. //防止拖动图标即打开了桌面应用
  1378. U.MD.D.click(this, obj);
  1379. }, [_hkZJLSStudentDeskIconInfo[i]])
  1380. }, _frag); //
  1381. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1382. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1383. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1384. } //
  1385. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1386. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1387. _content = $$("div", {
  1388. className: "U_MD_D_KO",
  1389. "onmousedown": U.UF.C.closure(function (obj) {
  1390. //防止拖动图标即打开了桌面应用
  1391. U.MD.D.click(this, obj);
  1392. }, [_jccssylStudentDeskIconInfo[i]]),
  1393. "onclick": U.UF.C.closure(function (obj) {
  1394. //防止拖动图标即打开了桌面应用
  1395. U.MD.D.click(this, obj);
  1396. }, [_jccssylStudentDeskIconInfo[i]])
  1397. }, _frag); //
  1398. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1399. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1400. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1401. }
  1402. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1403. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1404. _content = $$("div", {
  1405. className: "U_MD_D_KO",
  1406. "onmousedown": U.UF.C.closure(function (obj) {
  1407. //防止拖动图标即打开了桌面应用
  1408. U.MD.D.click(this, obj);
  1409. }, [_thuioeStudentDeskIconInfo[i]]),
  1410. "onclick": U.UF.C.closure(function (obj) {
  1411. //防止拖动图标即打开了桌面应用
  1412. U.MD.D.click(this, obj);
  1413. }, [_thuioeStudentDeskIconInfo[i]])
  1414. }, _frag); //
  1415. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1416. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1417. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1418. }
  1419. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1420. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1421. _content = $$("div", {
  1422. className: "U_MD_D_KO",
  1423. "onmousedown": U.UF.C.closure(function (obj) {
  1424. //防止拖动图标即打开了桌面应用
  1425. U.MD.D.click(this, obj);
  1426. }, [_tpcStudentDeskIconInfo[i]]),
  1427. "onclick": U.UF.C.closure(function (obj) {
  1428. //防止拖动图标即打开了桌面应用
  1429. U.MD.D.click(this, obj);
  1430. }, [_tpcStudentDeskIconInfo[i]])
  1431. }, _frag); //
  1432. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1433. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1434. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1435. } //
  1436. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1437. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1438. _content = $$("div", {
  1439. className: "U_MD_D_KO",
  1440. "onmousedown": U.UF.C.closure(function (obj) {
  1441. //防止拖动图标即打开了桌面应用
  1442. U.MD.D.click(this, obj);
  1443. }, [_chjyjStudentDeskIconInfo[i]]),
  1444. "onclick": U.UF.C.closure(function (obj) {
  1445. //防止拖动图标即打开了桌面应用
  1446. U.MD.D.click(this, obj);
  1447. }, [_chjyjStudentDeskIconInfo[i]])
  1448. }, _frag); //
  1449. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1450. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1451. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1452. }
  1453. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1454. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1455. _content = $$("div", {
  1456. className: "U_MD_D_KO",
  1457. "onmousedown": U.UF.C.closure(function (obj) {
  1458. //防止拖动图标即打开了桌面应用
  1459. U.MD.D.click(this, obj);
  1460. }, [_szjkyStudentDeskIconInfo[i]]),
  1461. "onclick": U.UF.C.closure(function (obj) {
  1462. //防止拖动图标即打开了桌面应用
  1463. U.MD.D.click(this, obj);
  1464. }, [_szjkyStudentDeskIconInfo[i]])
  1465. }, _frag); //
  1466. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1467. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1468. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1469. }
  1470. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1471. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1472. _content = $$("div", {
  1473. className: "U_MD_D_KO",
  1474. "onmousedown": U.UF.C.closure(function (obj) {
  1475. //防止拖动图标即打开了桌面应用
  1476. U.MD.D.click(this, obj);
  1477. }, [_dseiStudentDeskIconInfo[i]]),
  1478. "onclick": U.UF.C.closure(function (obj) {
  1479. //防止拖动图标即打开了桌面应用
  1480. U.MD.D.click(this, obj);
  1481. }, [_dseiStudentDeskIconInfo[i]])
  1482. }, _frag); //
  1483. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1484. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1485. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1486. }
  1487. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1488. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1489. _content = $$("div", {
  1490. className: "U_MD_D_KO",
  1491. "onmousedown": U.UF.C.closure(function (obj) {
  1492. //防止拖动图标即打开了桌面应用
  1493. U.MD.D.click(this, obj);
  1494. }, [_siesStudentDeskIconInfo[i]]),
  1495. "onclick": U.UF.C.closure(function (obj) {
  1496. //防止拖动图标即打开了桌面应用
  1497. U.MD.D.click(this, obj);
  1498. }, [_siesStudentDeskIconInfo[i]])
  1499. }, _frag); //
  1500. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1501. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1502. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1503. }
  1504. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1505. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1506. _content = $$("div", {
  1507. className: "U_MD_D_KO",
  1508. "onmousedown": U.UF.C.closure(function (obj) {
  1509. //防止拖动图标即打开了桌面应用
  1510. U.MD.D.click(this, obj);
  1511. }, [_hkStudentDeskIconInfo[i]]),
  1512. "onclick": U.UF.C.closure(function (obj) {
  1513. //防止拖动图标即打开了桌面应用
  1514. U.MD.D.click(this, obj);
  1515. }, [_hkStudentDeskIconInfo[i]])
  1516. }, _frag); //
  1517. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1518. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1519. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1520. }
  1521. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1522. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1523. _content = $$("div", {
  1524. className: "U_MD_D_KO",
  1525. "onmousedown": U.UF.C.closure(function (obj) {
  1526. //防止拖动图标即打开了桌面应用
  1527. U.MD.D.click(this, obj);
  1528. }, [_hkaceStudentDeskIconInfo[i]]),
  1529. "onclick": U.UF.C.closure(function (obj) {
  1530. //防止拖动图标即打开了桌面应用
  1531. U.MD.D.click(this, obj);
  1532. }, [_hkaceStudentDeskIconInfo[i]])
  1533. }, _frag); //
  1534. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1535. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1536. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1537. }
  1538. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1539. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1540. _content = $$("div", {
  1541. className: "U_MD_D_KO",
  1542. "onmousedown": U.UF.C.closure(function (obj) {
  1543. //防止拖动图标即打开了桌面应用
  1544. U.MD.D.click(this, obj);
  1545. }, [_studentDesktopIconInfo[i]]),
  1546. "onclick": U.UF.C.closure(function (obj) {
  1547. //防止拖动图标即打开了桌面应用
  1548. U.MD.D.click(this, obj);
  1549. }, [_studentDesktopIconInfo[i]])
  1550. }, _frag); //
  1551. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1552. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1553. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1554. }
  1555. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1556. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1557. _content = $$("div", {
  1558. className: "U_MD_D_KO",
  1559. "onmousedown": U.UF.C.closure(function (obj) {
  1560. //防止拖动图标即打开了桌面应用
  1561. U.MD.D.click(this, obj);
  1562. }, [_tcStudentDeskIconInfo[i]]),
  1563. "onclick": U.UF.C.closure(function (obj) {
  1564. //防止拖动图标即打开了桌面应用
  1565. U.MD.D.click(this, obj);
  1566. }, [_tcStudentDeskIconInfo[i]])
  1567. }, _frag); //
  1568. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1569. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1570. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1571. }
  1572. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1573. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1574. _content = $$("div", {
  1575. className: "U_MD_D_KO",
  1576. "onmousedown": U.UF.C.closure(function (obj) {
  1577. //防止拖动图标即打开了桌面应用
  1578. U.MD.D.click(this, obj);
  1579. }, [_szscStudentDeskIconInfo[i]]),
  1580. "onclick": U.UF.C.closure(function (obj) {
  1581. //防止拖动图标即打开了桌面应用
  1582. U.MD.D.click(this, obj);
  1583. }, [_szscStudentDeskIconInfo[i]])
  1584. }, _frag); //
  1585. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1586. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1587. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1588. }
  1589. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1590. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1591. _content = $$("div", {
  1592. className: "U_MD_D_KO",
  1593. "onmousedown": U.UF.C.closure(function (obj) {
  1594. //防止拖动图标即打开了桌面应用
  1595. U.MD.D.click(this, obj);
  1596. }, [_studentDesktopIconInfo3[i]]),
  1597. "onclick": U.UF.C.closure(function (obj) {
  1598. //防止拖动图标即打开了桌面应用
  1599. U.MD.D.click(this, obj);
  1600. }, [_studentDesktopIconInfo3[i]])
  1601. }, _frag); //
  1602. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1603. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1604. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1605. }
  1606. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1607. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1608. _content = $$("div", {
  1609. className: "U_MD_D_KO",
  1610. "onmousedown": U.UF.C.closure(function (obj) {
  1611. //防止拖动图标即打开了桌面应用
  1612. U.MD.D.click(this, obj);
  1613. }, [_studentDesktopIconInfo2[i]]),
  1614. "onclick": U.UF.C.closure(function (obj) {
  1615. //防止拖动图标即打开了桌面应用
  1616. U.MD.D.click(this, obj);
  1617. }, [_studentDesktopIconInfo2[i]])
  1618. }, _frag); //
  1619. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1620. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1621. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1622. }
  1623. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1624. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1625. _content = $$("div", {
  1626. className: "U_MD_D_KO",
  1627. "onmousedown": U.UF.C.closure(function (obj) {
  1628. //防止拖动图标即打开了桌面应用
  1629. U.MD.D.click(this, obj);
  1630. }, [_wanketeacherDesktopIconInfo[i]]),
  1631. "onclick": U.UF.C.closure(function (obj) {
  1632. //防止拖动图标即打开了桌面应用
  1633. U.MD.D.click(this, obj);
  1634. }, [_wanketeacherDesktopIconInfo[i]])
  1635. }, _frag); //
  1636. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1637. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1638. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1639. }
  1640. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1641. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1642. _content = $$("div", {
  1643. className: "U_MD_D_KO",
  1644. "onmousedown": U.UF.C.closure(function (obj) {
  1645. //防止拖动图标即打开了桌面应用
  1646. U.MD.D.click(this, obj);
  1647. }, [_wankeAdminDesktopIconInfo[i]]),
  1648. "onclick": U.UF.C.closure(function (obj) {
  1649. //防止拖动图标即打开了桌面应用
  1650. U.MD.D.click(this, obj);
  1651. }, [_wankeAdminDesktopIconInfo[i]])
  1652. }, _frag); //
  1653. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1654. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1655. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1656. }
  1657. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1658. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1659. _content = $$("div", {
  1660. className: "U_MD_D_KO",
  1661. "onmousedown": U.UF.C.closure(function (obj) {
  1662. //防止拖动图标即打开了桌面应用
  1663. U.MD.D.click(this, obj);
  1664. }, [_jccssylTeacherDeskIconInfo[i]]),
  1665. "onclick": U.UF.C.closure(function (obj) {
  1666. //防止拖动图标即打开了桌面应用
  1667. U.MD.D.click(this, obj);
  1668. }, [_jccssylTeacherDeskIconInfo[i]])
  1669. }, _frag); //
  1670. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1671. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1672. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1673. }
  1674. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1675. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1676. _content = $$("div", {
  1677. className: "U_MD_D_KO",
  1678. "onmousedown": U.UF.C.closure(function (obj) {
  1679. //防止拖动图标即打开了桌面应用
  1680. U.MD.D.click(this, obj);
  1681. }, [_tpcOrganizerDeskIconInfo[i]]),
  1682. "onclick": U.UF.C.closure(function (obj) {
  1683. //防止拖动图标即打开了桌面应用
  1684. U.MD.D.click(this, obj);
  1685. }, [_tpcOrganizerDeskIconInfo[i]])
  1686. }, _frag); //
  1687. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1688. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1689. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1690. }
  1691. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1692. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1693. _content = $$("div", {
  1694. className: "U_MD_D_KO",
  1695. "onmousedown": U.UF.C.closure(function (obj) {
  1696. //防止拖动图标即打开了桌面应用
  1697. U.MD.D.click(this, obj);
  1698. }, [_tpcTeacherDeskIconInfo[i]]),
  1699. "onclick": U.UF.C.closure(function (obj) {
  1700. //防止拖动图标即打开了桌面应用
  1701. U.MD.D.click(this, obj);
  1702. }, [_tpcTeacherDeskIconInfo[i]])
  1703. }, _frag); //
  1704. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1705. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1706. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1707. }
  1708. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1709. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1710. _content = $$("div", {
  1711. className: "U_MD_D_KO",
  1712. "onmousedown": U.UF.C.closure(function (obj) {
  1713. //防止拖动图标即打开了桌面应用
  1714. U.MD.D.click(this, obj);
  1715. }, [_teacherDesktopIconInfo2[i]]),
  1716. "onclick": U.UF.C.closure(function (obj) {
  1717. //防止拖动图标即打开了桌面应用
  1718. U.MD.D.click(this, obj);
  1719. }, [_teacherDesktopIconInfo2[i]])
  1720. }, _frag); //
  1721. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1722. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1723. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1724. }
  1725. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1726. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1727. _content = $$("div", {
  1728. className: "U_MD_D_KO",
  1729. "onmousedown": U.UF.C.closure(function (obj) {
  1730. //防止拖动图标即打开了桌面应用
  1731. U.MD.D.click(this, obj);
  1732. }, [_thuioeTeacherDeskIconInfo[i]]),
  1733. "onclick": U.UF.C.closure(function (obj) {
  1734. //防止拖动图标即打开了桌面应用
  1735. U.MD.D.click(this, obj);
  1736. }, [_thuioeTeacherDeskIconInfo[i]])
  1737. }, _frag); //
  1738. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1739. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1740. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1741. }
  1742. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1743. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1744. _content = $$("div", {
  1745. className: "U_MD_D_KO",
  1746. "onmousedown": U.UF.C.closure(function (obj) {
  1747. //防止拖动图标即打开了桌面应用
  1748. U.MD.D.click(this, obj);
  1749. }, [_lotechTeacherDeskIconInfo[i]]),
  1750. "onclick": U.UF.C.closure(function (obj) {
  1751. //防止拖动图标即打开了桌面应用
  1752. U.MD.D.click(this, obj);
  1753. }, [_lotechTeacherDeskIconInfo[i]])
  1754. }, _frag); //
  1755. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1756. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1757. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1758. }//
  1759. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1760. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1761. _content = $$("div", {
  1762. className: "U_MD_D_KO",
  1763. "onmousedown": U.UF.C.closure(function (obj) {
  1764. //防止拖动图标即打开了桌面应用
  1765. U.MD.D.click(this, obj);
  1766. }, [_siesTeacherDeskIconInfo[i]]),
  1767. "onclick": U.UF.C.closure(function (obj) {
  1768. //防止拖动图标即打开了桌面应用
  1769. U.MD.D.click(this, obj);
  1770. }, [_siesTeacherDeskIconInfo[i]])
  1771. }, _frag); //
  1772. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1773. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1774. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1775. }
  1776. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1777. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1778. _content = $$("div", {
  1779. className: "U_MD_D_KO",
  1780. "onmousedown": U.UF.C.closure(function (obj) {
  1781. //防止拖动图标即打开了桌面应用
  1782. U.MD.D.click(this, obj);
  1783. }, [_longhuaTeacherDeskIconInfo[i]]),
  1784. "onclick": U.UF.C.closure(function (obj) {
  1785. //防止拖动图标即打开了桌面应用
  1786. U.MD.D.click(this, obj);
  1787. }, [_longhuaTeacherDeskIconInfo[i]])
  1788. }, _frag); //
  1789. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1790. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1791. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1792. }
  1793. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1794. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1795. _content = $$("div", {
  1796. className: "U_MD_D_KO",
  1797. "onmousedown": U.UF.C.closure(function (obj) {
  1798. //防止拖动图标即打开了桌面应用
  1799. U.MD.D.click(this, obj);
  1800. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1801. "onclick": U.UF.C.closure(function (obj) {
  1802. //防止拖动图标即打开了桌面应用
  1803. U.MD.D.click(this, obj);
  1804. }, [_yunhaiTeacherDeskIconInfo[i]])
  1805. }, _frag); //
  1806. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1807. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1808. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1809. } //_hkStudentDeskIconInfo
  1810. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1811. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1812. _content = $$("div", {
  1813. className: "U_MD_D_KO",
  1814. "onmousedown": U.UF.C.closure(function (obj) {
  1815. //防止拖动图标即打开了桌面应用
  1816. U.MD.D.click(this, obj);
  1817. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1818. "onclick": U.UF.C.closure(function (obj) {
  1819. //防止拖动图标即打开了桌面应用
  1820. U.MD.D.click(this, obj);
  1821. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1822. }, _frag); //
  1823. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1824. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1825. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1826. }
  1827. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1828. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1829. _content = $$("div", {
  1830. className: "U_MD_D_KO",
  1831. "onmousedown": U.UF.C.closure(function (obj) {
  1832. //防止拖动图标即打开了桌面应用
  1833. U.MD.D.click(this, obj);
  1834. }, [_hkTeacherDeskIconInfo[i]]),
  1835. "onclick": U.UF.C.closure(function (obj) {
  1836. //防止拖动图标即打开了桌面应用
  1837. U.MD.D.click(this, obj);
  1838. }, [_hkTeacherDeskIconInfo[i]])
  1839. }, _frag); //
  1840. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1841. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1842. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1843. }
  1844. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1845. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  1846. _content = $$("div", {
  1847. className: "U_MD_D_KO",
  1848. "onmousedown": U.UF.C.closure(function (obj) {
  1849. //防止拖动图标即打开了桌面应用
  1850. U.MD.D.click(this, obj);
  1851. }, [_hkaceTeacherDeskIconInfo[i]]),
  1852. "onclick": U.UF.C.closure(function (obj) {
  1853. //防止拖动图标即打开了桌面应用
  1854. U.MD.D.click(this, obj);
  1855. }, [_hkaceTeacherDeskIconInfo[i]])
  1856. }, _frag); //
  1857. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1858. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  1859. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  1860. }
  1861. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1862. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1863. _content = $$("div", {
  1864. className: "U_MD_D_KO",
  1865. "onmousedown": U.UF.C.closure(function (obj) {
  1866. //防止拖动图标即打开了桌面应用
  1867. U.MD.D.click(this, obj);
  1868. }, [_gdjgAdminDeskIconInfo[i]]),
  1869. "onclick": U.UF.C.closure(function (obj) {
  1870. //防止拖动图标即打开了桌面应用
  1871. U.MD.D.click(this, obj);
  1872. }, [_gdjgAdminDeskIconInfo[i]])
  1873. }, _frag); //
  1874. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1875. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1876. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1877. }
  1878. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1879. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1880. _content = $$("div", {
  1881. className: "U_MD_D_KO",
  1882. "onmousedown": U.UF.C.closure(function (obj) {
  1883. //防止拖动图标即打开了桌面应用
  1884. U.MD.D.click(this, obj);
  1885. }, [_gdjgTeacherDeskIconInfo[i]]),
  1886. "onclick": U.UF.C.closure(function (obj) {
  1887. //防止拖动图标即打开了桌面应用
  1888. U.MD.D.click(this, obj);
  1889. }, [_gdjgTeacherDeskIconInfo[i]])
  1890. }, _frag); //
  1891. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1892. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1893. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1894. }
  1895. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1896. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1897. _content = $$("div", {
  1898. className: "U_MD_D_KO",
  1899. "onmousedown": U.UF.C.closure(function (obj) {
  1900. //防止拖动图标即打开了桌面应用
  1901. U.MD.D.click(this, obj);
  1902. }, [_szherTeacherDeskIconInfo[i]]),
  1903. "onclick": U.UF.C.closure(function (obj) {
  1904. //防止拖动图标即打开了桌面应用
  1905. U.MD.D.click(this, obj);
  1906. }, [_szherTeacherDeskIconInfo[i]])
  1907. }, _frag); //
  1908. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1909. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1910. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1911. }
  1912. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1913. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1914. _content = $$("div", {
  1915. className: "U_MD_D_KO",
  1916. "onmousedown": U.UF.C.closure(function (obj) {
  1917. //防止拖动图标即打开了桌面应用
  1918. U.MD.D.click(this, obj);
  1919. }, [_heyuannAdminDeskIconInfo[i]]),
  1920. "onclick": U.UF.C.closure(function (obj) {
  1921. //防止拖动图标即打开了桌面应用
  1922. U.MD.D.click(this, obj);
  1923. }, [_heyuannAdminDeskIconInfo[i]])
  1924. }, _frag); //
  1925. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1926. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1927. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1928. }
  1929. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1930. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1931. _content = $$("div", {
  1932. className: "U_MD_D_KO",
  1933. "onmousedown": U.UF.C.closure(function (obj) {
  1934. //防止拖动图标即打开了桌面应用
  1935. U.MD.D.click(this, obj);
  1936. }, [_heyuanTeacherDeskIconInfo[i]]),
  1937. "onclick": U.UF.C.closure(function (obj) {
  1938. //防止拖动图标即打开了桌面应用
  1939. U.MD.D.click(this, obj);
  1940. }, [_heyuanTeacherDeskIconInfo[i]])
  1941. }, _frag); //
  1942. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1943. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1944. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1945. } //
  1946. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1947. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1948. _content = $$("div", {
  1949. className: "U_MD_D_KO",
  1950. "onmousedown": U.UF.C.closure(function (obj) {
  1951. //防止拖动图标即打开了桌面应用
  1952. U.MD.D.click(this, obj);
  1953. }, [_dseiAdminDeskIconInfo[i]]),
  1954. "onclick": U.UF.C.closure(function (obj) {
  1955. //防止拖动图标即打开了桌面应用
  1956. U.MD.D.click(this, obj);
  1957. }, [_dseiAdminDeskIconInfo[i]])
  1958. }, _frag); //
  1959. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1960. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1961. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1962. }
  1963. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1964. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1965. _content = $$("div", {
  1966. className: "U_MD_D_KO",
  1967. "onmousedown": U.UF.C.closure(function (obj) {
  1968. //防止拖动图标即打开了桌面应用
  1969. U.MD.D.click(this, obj);
  1970. }, [_dseiTeacherDeskIconInfo[i]]),
  1971. "onclick": U.UF.C.closure(function (obj) {
  1972. //防止拖动图标即打开了桌面应用
  1973. U.MD.D.click(this, obj);
  1974. }, [_dseiTeacherDeskIconInfo[i]])
  1975. }, _frag); //
  1976. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1977. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1978. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1979. } //
  1980. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1981. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1982. _content = $$("div", {
  1983. className: "U_MD_D_KO",
  1984. "onmousedown": U.UF.C.closure(function (obj) {
  1985. //防止拖动图标即打开了桌面应用
  1986. U.MD.D.click(this, obj);
  1987. }, [_chjyjAdminDeskIconInfo[i]]),
  1988. "onclick": U.UF.C.closure(function (obj) {
  1989. //防止拖动图标即打开了桌面应用
  1990. U.MD.D.click(this, obj);
  1991. }, [_chjyjAdminDeskIconInfo[i]])
  1992. }, _frag); //
  1993. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1994. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1995. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1996. }//
  1997. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1998. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1999. _content = $$("div", {
  2000. className: "U_MD_D_KO",
  2001. "onmousedown": U.UF.C.closure(function (obj) {
  2002. //防止拖动图标即打开了桌面应用
  2003. U.MD.D.click(this, obj);
  2004. }, [_chjyjTeacherDeskIconInfo[i]]),
  2005. "onclick": U.UF.C.closure(function (obj) {
  2006. //防止拖动图标即打开了桌面应用
  2007. U.MD.D.click(this, obj);
  2008. }, [_chjyjTeacherDeskIconInfo[i]])
  2009. }, _frag); //
  2010. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2011. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2012. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2013. }
  2014. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2015. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2016. _content = $$("div", {
  2017. className: "U_MD_D_KO",
  2018. "onmousedown": U.UF.C.closure(function (obj) {
  2019. //防止拖动图标即打开了桌面应用
  2020. U.MD.D.click(this, obj);
  2021. }, [_szjkyAdminDeskIconInfo[i]]),
  2022. "onclick": U.UF.C.closure(function (obj) {
  2023. //防止拖动图标即打开了桌面应用
  2024. U.MD.D.click(this, obj);
  2025. }, [_szjkyAdminDeskIconInfo[i]])
  2026. }, _frag); //
  2027. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2028. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2029. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2030. }//
  2031. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2032. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2033. _content = $$("div", {
  2034. className: "U_MD_D_KO",
  2035. "onmousedown": U.UF.C.closure(function (obj) {
  2036. //防止拖动图标即打开了桌面应用
  2037. U.MD.D.click(this, obj);
  2038. }, [_szjkyTeacherDeskIconInfo[i]]),
  2039. "onclick": U.UF.C.closure(function (obj) {
  2040. //防止拖动图标即打开了桌面应用
  2041. U.MD.D.click(this, obj);
  2042. }, [_szjkyTeacherDeskIconInfo[i]])
  2043. }, _frag); //
  2044. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2045. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2046. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2047. }
  2048. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2049. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2050. _content = $$("div", {
  2051. className: "U_MD_D_KO",
  2052. "onmousedown": U.UF.C.closure(function (obj) {
  2053. //防止拖动图标即打开了桌面应用
  2054. U.MD.D.click(this, obj);
  2055. }, [_futianAdminDeskIconInfo[i]]),
  2056. "onclick": U.UF.C.closure(function (obj) {
  2057. //防止拖动图标即打开了桌面应用
  2058. U.MD.D.click(this, obj);
  2059. }, [_futianAdminDeskIconInfo[i]])
  2060. }, _frag); //
  2061. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2062. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2063. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2064. }
  2065. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2066. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2067. _content = $$("div", {
  2068. className: "U_MD_D_KO",
  2069. "onmousedown": U.UF.C.closure(function (obj) {
  2070. //防止拖动图标即打开了桌面应用
  2071. U.MD.D.click(this, obj);
  2072. }, [_futianTeacherDeskIconInfo[i]]),
  2073. "onclick": U.UF.C.closure(function (obj) {
  2074. //防止拖动图标即打开了桌面应用
  2075. U.MD.D.click(this, obj);
  2076. }, [_futianTeacherDeskIconInfo[i]])
  2077. }, _frag); //
  2078. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2079. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2080. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2081. }
  2082. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2083. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2084. _content = $$("div", {
  2085. className: "U_MD_D_KO",
  2086. "onmousedown": U.UF.C.closure(function (obj) {
  2087. //防止拖动图标即打开了桌面应用
  2088. U.MD.D.click(this, obj);
  2089. }, [_MingdeTeacherDeskIcon[i]]),
  2090. "onclick": U.UF.C.closure(function (obj) {
  2091. //防止拖动图标即打开了桌面应用
  2092. U.MD.D.click(this, obj);
  2093. }, [_MingdeTeacherDeskIcon[i]])
  2094. }, _frag); //
  2095. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2096. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2097. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2098. }
  2099. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2100. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2101. _content = $$("div", {
  2102. className: "U_MD_D_KO",
  2103. "onmousedown": U.UF.C.closure(function (obj) {
  2104. //防止拖动图标即打开了桌面应用
  2105. U.MD.D.click(this, obj);
  2106. }, [_lhsAdminDesktopIconInfo[i]]),
  2107. "onclick": U.UF.C.closure(function (obj) {
  2108. //防止拖动图标即打开了桌面应用
  2109. U.MD.D.click(this, obj);
  2110. }, [_lhsAdminDesktopIconInfo[i]])
  2111. }, _frag); //
  2112. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2113. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2114. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2115. }
  2116. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2117. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2118. _content = $$("div", {
  2119. className: "U_MD_D_KO",
  2120. "onmousedown": U.UF.C.closure(function (obj) {
  2121. //防止拖动图标即打开了桌面应用
  2122. U.MD.D.click(this, obj);
  2123. }, [_lhsteacherDesktopIconInfo[i]]),
  2124. "onclick": U.UF.C.closure(function (obj) {
  2125. //防止拖动图标即打开了桌面应用
  2126. U.MD.D.click(this, obj);
  2127. }, [_lhsteacherDesktopIconInfo[i]])
  2128. }, _frag); //
  2129. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2130. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2131. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2132. }
  2133. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2134. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2135. _content = $$("div", {
  2136. className: "U_MD_D_KO",
  2137. "onmousedown": U.UF.C.closure(function (obj) {
  2138. //防止拖动图标即打开了桌面应用
  2139. U.MD.D.click(this, obj);
  2140. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2141. "onclick": U.UF.C.closure(function (obj) {
  2142. //防止拖动图标即打开了桌面应用
  2143. U.MD.D.click(this, obj);
  2144. }, [_zhoujiateacherDesktopIconInfo[i]])
  2145. }, _frag); //
  2146. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2147. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2148. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2149. }
  2150. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2151. for (i = 0; i < _hanDeskIcon.length; i++) {
  2152. _content = $$("div", {
  2153. className: "U_MD_D_KO",
  2154. "onmousedown": U.UF.C.closure(function (obj) {
  2155. //防止拖动图标即打开了桌面应用
  2156. U.MD.D.click(this, obj);
  2157. }, [_hanDeskIcon[i]]),
  2158. "onclick": U.UF.C.closure(function (obj) {
  2159. //防止拖动图标即打开了桌面应用
  2160. U.MD.D.click(this, obj);
  2161. }, [_hanDeskIcon[i]])
  2162. }, _frag); //
  2163. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2164. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2165. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2166. }
  2167. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2168. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2169. _content = $$("div", {
  2170. className: "U_MD_D_KO",
  2171. "onmousedown": U.UF.C.closure(function (obj) {
  2172. //防止拖动图标即打开了桌面应用
  2173. U.MD.D.click(this, obj);
  2174. }, [_orgStemDeskIcon[i]]),
  2175. "onclick": U.UF.C.closure(function (obj) {
  2176. //防止拖动图标即打开了桌面应用
  2177. U.MD.D.click(this, obj);
  2178. }, [_orgStemDeskIcon[i]])
  2179. }, _frag); //
  2180. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2181. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2182. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2183. }
  2184. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2185. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2186. _content = $$("div", {
  2187. className: "U_MD_D_KO",
  2188. "onmousedown": U.UF.C.closure(function (obj) {
  2189. //防止拖动图标即打开了桌面应用
  2190. U.MD.D.click(this, obj);
  2191. }, [_szulsDeskIcon[i]]),
  2192. "onclick": U.UF.C.closure(function (obj) {
  2193. //防止拖动图标即打开了桌面应用
  2194. U.MD.D.click(this, obj);
  2195. }, [_szulsDeskIcon[i]])
  2196. }, _frag); //
  2197. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2198. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2199. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2200. }
  2201. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2202. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2203. _content = $$("div", {
  2204. className: "U_MD_D_KO",
  2205. "onmousedown": U.UF.C.closure(function (obj) {
  2206. //防止拖动图标即打开了桌面应用
  2207. U.MD.D.click(this, obj);
  2208. }, [_orgDesktopIconInfo[i]]),
  2209. "onclick": U.UF.C.closure(function (obj) {
  2210. //防止拖动图标即打开了桌面应用
  2211. U.MD.D.click(this, obj);
  2212. }, [_orgDesktopIconInfo[i]])
  2213. }, _frag); //
  2214. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2215. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2216. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2217. }
  2218. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2219. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2220. _content = $$("div", {
  2221. className: "U_MD_D_KO",
  2222. "onmousedown": U.UF.C.closure(function (obj) {
  2223. //防止拖动图标即打开了桌面应用
  2224. U.MD.D.click(this, obj);
  2225. }, [_schoolDesktopIconInfo[i]]),
  2226. "onclick": U.UF.C.closure(function (obj) {
  2227. //防止拖动图标即打开了桌面应用
  2228. U.MD.D.click(this, obj);
  2229. }, [_schoolDesktopIconInfo[i]])
  2230. }, _frag); //
  2231. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2232. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2233. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2234. }
  2235. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2236. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2237. _content = $$("div", {
  2238. className: "U_MD_D_KO",
  2239. "onmousedown": U.UF.C.closure(function (obj) {
  2240. //防止拖动图标即打开了桌面应用
  2241. U.MD.D.click(this, obj);
  2242. }, [_GMteacherDesktopIconInfo[i]]),
  2243. "onclick": U.UF.C.closure(function (obj) {
  2244. //防止拖动图标即打开了桌面应用
  2245. U.MD.D.click(this, obj);
  2246. }, [_GMteacherDesktopIconInfo[i]])
  2247. }, _frag); //
  2248. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2249. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2250. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2251. }
  2252. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2253. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2254. _content = $$("div", {
  2255. className: "U_MD_D_KO",
  2256. "onmousedown": U.UF.C.closure(function (obj) {
  2257. //防止拖动图标即打开了桌面应用
  2258. U.MD.D.click(this, obj);
  2259. }, [_SONGteacherDesktopIconInfo[i]]),
  2260. "onclick": U.UF.C.closure(function (obj) {
  2261. //防止拖动图标即打开了桌面应用
  2262. U.MD.D.click(this, obj);
  2263. }, [_SONGteacherDesktopIconInfo[i]])
  2264. }, _frag); //
  2265. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2266. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2267. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2268. }
  2269. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2270. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2271. _content = $$("div", {
  2272. className: "U_MD_D_KO",
  2273. "onmousedown": U.UF.C.closure(function (obj) {
  2274. //防止拖动图标即打开了桌面应用
  2275. U.MD.D.click(this, obj);
  2276. }, [_GMstudentDesktopIconInfo[i]]),
  2277. "onclick": U.UF.C.closure(function (obj) {
  2278. //防止拖动图标即打开了桌面应用
  2279. U.MD.D.click(this, obj);
  2280. }, [_GMstudentDesktopIconInfo[i]])
  2281. }, _frag); //
  2282. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2283. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2284. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2285. }
  2286. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2287. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2288. _content = $$("div", {
  2289. className: "U_MD_D_KO",
  2290. "onmousedown": U.UF.C.closure(function (obj) {
  2291. //防止拖动图标即打开了桌面应用
  2292. U.MD.D.click(this, obj);
  2293. }, [_tcTeacherDeskIconInfo[i]]),
  2294. "onclick": U.UF.C.closure(function (obj) {
  2295. //防止拖动图标即打开了桌面应用
  2296. U.MD.D.click(this, obj);
  2297. }, [_tcTeacherDeskIconInfo[i]])
  2298. }, _frag); //
  2299. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2300. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2301. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2302. }
  2303. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2304. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2305. _content = $$("div", {
  2306. className: "U_MD_D_KO",
  2307. "onmousedown": U.UF.C.closure(function (obj) {
  2308. //防止拖动图标即打开了桌面应用
  2309. U.MD.D.click(this, obj);
  2310. }, [_tcOrganizerDeskIconInfo[i]]),
  2311. "onclick": U.UF.C.closure(function (obj) {
  2312. //防止拖动图标即打开了桌面应用
  2313. U.MD.D.click(this, obj);
  2314. }, [_tcOrganizerDeskIconInfo[i]])
  2315. }, _frag); //
  2316. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2317. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2318. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2319. }
  2320. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2321. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2322. _content = $$("div", {
  2323. className: "U_MD_D_KO",
  2324. "onmousedown": U.UF.C.closure(function (obj) {
  2325. //防止拖动图标即打开了桌面应用
  2326. U.MD.D.click(this, obj);
  2327. }, [_szscTeacherDeskIconInfo[i]]),
  2328. "onclick": U.UF.C.closure(function (obj) {
  2329. //防止拖动图标即打开了桌面应用
  2330. U.MD.D.click(this, obj);
  2331. }, [_szscTeacherDeskIconInfo[i]])
  2332. }, _frag); //
  2333. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2334. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2335. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2336. }
  2337. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2338. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2339. _content = $$("div", {
  2340. className: "U_MD_D_KO",
  2341. "onmousedown": U.UF.C.closure(function (obj) {
  2342. //防止拖动图标即打开了桌面应用
  2343. U.MD.D.click(this, obj);
  2344. }, [_szscOrganizerDeskIconInfo[i]]),
  2345. "onclick": U.UF.C.closure(function (obj) {
  2346. //防止拖动图标即打开了桌面应用
  2347. U.MD.D.click(this, obj);
  2348. }, [_szscOrganizerDeskIconInfo[i]])
  2349. }, _frag); //
  2350. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2351. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2352. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2353. }
  2354. } else {
  2355. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2356. _content = $$("div", {
  2357. className: "U_MD_D_KO",
  2358. "onmousedown": U.UF.C.closure(function (obj) {
  2359. //防止拖动图标即打开了桌面应用
  2360. U.MD.D.click(this, obj);
  2361. }, [_teacherDesktopIconInfo[i]]),
  2362. "onclick": U.UF.C.closure(function (obj) {
  2363. //防止拖动图标即打开了桌面应用
  2364. U.MD.D.click(this, obj);
  2365. }, [_teacherDesktopIconInfo[i]])
  2366. }, _frag); //
  2367. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2368. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2369. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2370. }
  2371. }
  2372. } else {
  2373. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2374. _content = $$("div", {
  2375. className: "U_MD_D_KO",
  2376. style: { 'width': '124px', 'height': '145px' },
  2377. "onmousedown": U.UF.C.closure(function (obj) {
  2378. //防止拖动图标即打开了桌面应用
  2379. U.MD.D.click(this, obj);
  2380. }, [_easyDesktopIconInfo[i]]),
  2381. "onclick": U.UF.C.closure(function (obj) {
  2382. //防止拖动图标即打开了桌面应用
  2383. U.MD.D.click(this, obj);
  2384. }, [_easyDesktopIconInfo[i]])
  2385. }, _frag); //
  2386. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2387. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2388. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2389. }
  2390. }
  2391. if (type == 1) {
  2392. //加载好后给图标定位
  2393. U.MD.D.iconPostion($(_frag).Child());
  2394. } else {
  2395. //加载好后给图标定位
  2396. U.MD.D.iconPostion2($(_frag).Child());
  2397. }
  2398. //把图标加载到页面
  2399. el.appendChild(_frag);
  2400. }
  2401. /**
  2402. * 显示任务栏
  2403. *
  2404. * @param {element} 桌面元素
  2405. */
  2406. U.MD.D.I.displayTaskbar = function (el) {
  2407. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2408. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2409. //任务栏位置变化
  2410. U.selectEl(el).css({ "bottom": "0px" });
  2411. //桌面位置变话
  2412. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2413. }
  2414. }
  2415. //#region 桌面图标拖动逻辑
  2416. /**
  2417. * 桌面排列图标
  2418. *
  2419. * @param {element} 桌面元素
  2420. * @param {object} 上下相距的距离
  2421. * @param {object} 左右相距的距离
  2422. * @return {object} 命名空间
  2423. */
  2424. U.MD.D.iconPostion = function (childs, top, left) {
  2425. var i; //用于循环处理
  2426. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2427. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2428. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2429. for (i = 0; i < childs.length; i++) {
  2430. //如果竖排top超过了范围处理
  2431. if (top + 95 > US.height - 10) {
  2432. //left超过了页面范围处理,则向上重叠打印处理
  2433. if ((left + 180) > US.width) {
  2434. top -= 110;
  2435. left -= 90;
  2436. }
  2437. //没有超过范围,那么left+90添加到下一个竖排打印
  2438. else {
  2439. left += 90;
  2440. top = 15;
  2441. };
  2442. }
  2443. //给图标的位置赋值
  2444. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2445. if (i < childs.length - 1) {
  2446. //页面图标每次向下加95
  2447. top += 95;
  2448. }
  2449. }
  2450. //返回最后调用的图标的位置
  2451. return [top, left];
  2452. }
  2453. /**
  2454. * 桌面排列图标
  2455. *
  2456. * @param {element} 桌面元素
  2457. * @param {object} 上下相距的距离
  2458. * @param {object} 左右相距的距离
  2459. * @return {object} 命名空间
  2460. */
  2461. U.MD.D.iconPostion2 = function (childs, top, left) {
  2462. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2463. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2464. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2465. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2466. for (i = 0; i < childs.length; i++) {
  2467. //如果竖排top超过了范围处理
  2468. if (left + 150 > US.width - 10) {
  2469. //left超过了页面范围处理,则向上重叠打印处理
  2470. if ((top + 180) > US.Height) {
  2471. top -= 150;
  2472. left -= 150;
  2473. }
  2474. //没有超过范围,那么left+90添加到下一个竖排打印
  2475. else {
  2476. top += 150;
  2477. left = ol;
  2478. };
  2479. }
  2480. //给图标的位置赋值
  2481. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2482. if (i < childs.length - 1) {
  2483. //页面图标每次向下加95
  2484. left += 150;
  2485. }
  2486. }
  2487. //返回最后调用的图标的位置
  2488. return [top, left];
  2489. }
  2490. /**
  2491. * 桌面点击事件逻辑
  2492. *
  2493. * @param {element} 桌面元素
  2494. * @param {object} 上下相距的距离
  2495. * @param {object} 左右相距的距离
  2496. * @return {object} 命名空间
  2497. */
  2498. U.MD.D.click = function (el, obj) {
  2499. var _buttonnumber = event.button; //点击的按钮的事件值
  2500. var _userinfo = US.userInfo;
  2501. U.UF.EV.stopBubble(); //阻止向上冒泡
  2502. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2503. if (_buttonnumber < 2) {
  2504. //如果是click事件的处理
  2505. if (event.type == "click") {
  2506. //如果元素在mousemove事件中没有移动则出发click事件
  2507. if (!U.MD.D.I.IsDrag) {
  2508. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2509. U.alert("请先登录您的账号!");
  2510. setTimeout(() => {
  2511. U.MD.U.L.login();
  2512. }, 2000);
  2513. } else {
  2514. //打开应用处理
  2515. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2516. }
  2517. }
  2518. }
  2519. //如果是mouse事件的处理
  2520. else {
  2521. if (US.Config.type == '1') {
  2522. //拖动处理,添加拖动和拖动结束事件
  2523. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2524. }
  2525. }
  2526. U.MD.D.I.IsDrag = false;
  2527. }
  2528. }
  2529. /**
  2530. * 拖动的处理
  2531. *
  2532. */
  2533. U.MD.D.iconMove = function () {
  2534. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2535. U.MD.D.I.IsDrag = true;
  2536. }
  2537. /**
  2538. * 拖动结束后,这里是定位处理,以网状的形式定位
  2539. *
  2540. * @param {element} 拖动的元素
  2541. * @return {object} 命名空间
  2542. */
  2543. U.MD.D.iconUp = function (el) {
  2544. var _top = 15,
  2545. _left = 20,
  2546. _margin,
  2547. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2548. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2549. if (_positioninfo["OT"] > 15) {
  2550. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2551. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2552. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2553. }
  2554. if (_positioninfo["OL"] > 20) {
  2555. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2556. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2557. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2558. }
  2559. //while循环判断么一个重叠的元素
  2560. do {
  2561. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2562. _top = _positioninfo[0] + 95; //得到定位后的top
  2563. _left = _positioninfo[1]; //得到定位后的left
  2564. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2565. }
  2566. /**
  2567. * 判断拖动后图标是否重叠
  2568. *
  2569. * @param {element} 拖动的元素
  2570. * @param {element} 桌面所有的元素
  2571. * @param {array} 拖动元素的位置
  2572. ----------[0] 上 top
  2573. ----------[1] 左 left
  2574. * @return {object} 命名空间
  2575. */
  2576. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2577. //循环所有的图标
  2578. for (var i = 0; i < childs.length; i++) {
  2579. //判断有没有和该图标诶子重叠的元素
  2580. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2581. return childs[i]; //如果有返回
  2582. }
  2583. }
  2584. }
  2585. //#endregion
  2586. //#endregion
  2587. //#region 桌面应用
  2588. /**
  2589. * 打开应用
  2590. *
  2591. * @param {string} 类型
  2592. -----------------Disk 网盘系统
  2593. -----------------PDisk 学习系统网盘
  2594. -----------------Poto 图片
  2595. -----------------Video 视频
  2596. -----------------Music 音乐
  2597. -----------------Word word
  2598. -----------------Excel excel
  2599. -----------------Txt 记事本
  2600. -----------------PB 学习系统
  2601. -----------------Blog 朋友圈系统
  2602. -----------------FTP ftp系统
  2603. -----------------Group 好友群
  2604. -----------------SY 首页系统
  2605. -----------------Set 个人设置
  2606. -----------------XSet 系统设置
  2607. -----------------App 我们所有的app
  2608. -----------------BC c.1473.cn 平台
  2609. -----------------CWeb d.1473.cn 变成平台
  2610. -----------------其他的外联系统 我们统一用iframe打开
  2611. * @param {array} 类型
  2612. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2613. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2614. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2615. 如果第一个参数为其他,则无第二个参数
  2616. * @returns {array}
  2617. */
  2618. window.addEventListener('message', function (e) { // 监听 message 事件
  2619. // alert(e.data.type);
  2620. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2621. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2622. //3是展示全部阶段 2学生 1老师 4专家
  2623. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2624. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2625. //3是展示全部阶段 2学生 1老师 4专家
  2626. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2627. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2628. //3是展示全部阶段 2学生 1老师 4专家
  2629. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2630. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2631. } else if (e.data.screenType && e.data.screenType == "3train") { //培训管理传入
  2632. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  2633. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2634. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2635. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2636. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2637. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2638. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2639. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2640. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2641. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2642. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2643. //3是展示全部阶段 2学生 1老师 4专家
  2644. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2645. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2646. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2647. U.MD.D.I.selectUser();
  2648. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2649. var _formel = document.getElementById("study");
  2650. U.UF.F.windowZooming(_formel);
  2651. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2652. var _formel = document.getElementById("studyDetail");
  2653. U.UF.F.windowZooming(_formel);
  2654. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2655. var _formel = document.getElementById("studyDetail");
  2656. U.UF.F.windowZooming(_formel);
  2657. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2658. var _formel = document.getElementById("studentStudy");
  2659. U.UF.F.windowZooming(_formel);
  2660. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2661. // var _formel = document.getElementById("study");
  2662. //如果最大化了,那么就把他缩小
  2663. // if (_formel.ismaximize) {
  2664. // return;
  2665. // }
  2666. // U.UF.F.windowZooming(_formel);
  2667. // U.UF.F.topWindow(_formel);
  2668. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2669. // var _formel = document.getElementById("studyDetail");
  2670. //如果最大化了,那么就把他缩小
  2671. // if (_formel.ismaximize) {
  2672. // return;
  2673. // }
  2674. // U.UF.F.windowZooming(_formel);
  2675. // U.UF.F.topWindow(_formel);
  2676. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2677. // var _formel = document.getElementById("studentStudy");
  2678. // if (_formel.ismaximize) {
  2679. // return;
  2680. // }
  2681. // U.UF.F.windowZooming(_formel);
  2682. // U.UF.F.topWindow(_formel);
  2683. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2684. var _formel = document.getElementById("study");
  2685. // if (_formel.ismaximize) {
  2686. // return;
  2687. // }
  2688. // U.UF.F.windowZooming(_formel);
  2689. U.UF.F.topWindow(_formel);
  2690. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2691. var _formel = document.getElementById("studentIndex");
  2692. U.UF.F.windowZooming(_formel);
  2693. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2694. var _formel = document.getElementById("studyDetailS");
  2695. U.UF.F.windowZooming(_formel);
  2696. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2697. var _formel = document.getElementById("studioIndex");
  2698. U.UF.F.windowZooming(_formel);
  2699. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2700. var _formel = document.getElementById("studyDetailStudio");
  2701. U.UF.F.windowZooming(_formel);
  2702. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2703. var _formel = document.getElementById("studyDetailStudio");
  2704. U.UF.F.windowZooming(_formel);
  2705. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2706. var _formel = document.getElementById("studyDetailNT");
  2707. U.UF.F.windowZooming(_formel);
  2708. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2709. var _formel = document.getElementById("studyDetailS");
  2710. U.UF.F.windowZooming(_formel);
  2711. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2712. var _formel = document.getElementById("studyDetailS");
  2713. U.UF.F.topWindow(_formel);
  2714. } else if (e.data.tools && e.data.tools == "1") {
  2715. // U.MD.D.I.openApplication("whiteboard")
  2716. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2717. } else if (e.data.tools && e.data.tools == "2") {
  2718. U.MD.D.I.openApplication("note")
  2719. } else if (e.data.tools && e.data.tools == "3") {
  2720. // U.MD.D.I.openApplication("mind")
  2721. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2722. } else if (e.data.tools && e.data.tools == "4") {
  2723. U.MD.D.I.openApplication("investigation")
  2724. } else if (e.data.tools && e.data.tools == "6") {
  2725. // U.MD.D.I.openApplication("doc")
  2726. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2727. } else if (e.data.tools && e.data.tools == "7") {
  2728. // U.MD.D.I.openApplication("mindNetwork")
  2729. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2730. } else if (e.data.tools && e.data.tools == "8") {
  2731. U.MD.D.I.openApplication("library")
  2732. } else if (e.data.tools && e.data.tools == "17") {
  2733. U.MD.D.I.openApplication("stuLibrary")
  2734. } else if (e.data.tools && e.data.tools == "18") {
  2735. U.MD.D.I.openApplication("train")
  2736. } else if (e.data.tools && e.data.tools == "21") {
  2737. U.MD.D.I.openApplication("program")
  2738. } else if (e.data.tools && e.data.tools == "22") {
  2739. U.MD.D.I.openApplication("AIprogram2")
  2740. } else if (e.data.tools && e.data.tools == "23") {
  2741. U.MD.D.I.openApplication("Pythonprogram")
  2742. } else if (e.data.tools && e.data.tools == "24") {
  2743. U.MD.D.I.openApplication("AIprogram")
  2744. } else if (e.data.tools && e.data.tools == "25") {
  2745. U.MD.D.I.openApplication("sys")
  2746. } else if (e.data.tools && e.data.tools == "26") {
  2747. // U.MD.D.I.openApplication("courseDesign")
  2748. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2749. } else if (e.data.tools && e.data.tools == "31") {
  2750. U.MD.D.I.openApplication("netWorkPanel")
  2751. } else if (e.data.tools && e.data.tools == "32") {
  2752. U.MD.D.I.openApplication("codeEdit")
  2753. } else if (e.data.tools && e.data.tools == "57") {
  2754. U.MD.D.I.openApplication("CocoPi")
  2755. } else if (e.data.tools && e.data.tools == "63") {
  2756. U.MD.D.I.openApplication("Wood")
  2757. } else if (e.data.tools && e.data.tools == "58") {
  2758. U.MD.D.I.openApplication("car")
  2759. } else if (e.data.tools && e.data.tools == "59") {
  2760. U.MD.D.I.openApplication("lineSearch")
  2761. } else if (e.data.tools && e.data.tools == "60") {
  2762. U.MD.D.I.openApplication("deepLearning")
  2763. } else if (e.data.tools && e.data.tools == "61") {
  2764. U.MD.D.I.openApplication("allHistory")
  2765. } else if (e.data.tools && e.data.tools == "28") {
  2766. U.MD.D.I.openApplication("translation")
  2767. } else if (e.data.tools && e.data.tools == "37") {
  2768. U.MD.D.I.openApplication("mohe")
  2769. } else if (e.data.tools && e.data.tools == "38") {
  2770. U.MD.D.I.openApplication("24game")
  2771. } else if (e.data.tools && e.data.tools == "39") {
  2772. U.MD.D.I.openApplication("GeoGebra")
  2773. } else if (e.data.tools && e.data.tools == "43") {
  2774. U.MD.D.I.openApplication("studentEvaluate")
  2775. } else if (e.data.tools && e.data.tools == "44") {
  2776. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2777. } else if (e.data.tools && e.data.tools == "46") {
  2778. U.MD.D.I.openApplication("project")
  2779. } else if (e.data.tools && e.data.tools == "1s") {
  2780. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2781. } else if (e.data.tools && e.data.tools == "3s") {
  2782. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2783. } else if (e.data.tools && e.data.tools == "6s") {
  2784. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2785. } else if (e.data.tools && e.data.tools == "1studio") {
  2786. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2787. } else if (e.data.tools && e.data.tools == "3studio") {
  2788. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2789. } else if (e.data.tools && e.data.tools == "6studio") {
  2790. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2791. } else if (e.data.tools && e.data.tools == "3y") {
  2792. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2793. } else if (e.data.tools && e.data.tools == "1y") {
  2794. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2795. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2796. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2797. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2798. U.MD.D.I.openApplication("AIAnalyse")
  2799. } else if (e.data.tools && e.data.tools == "1teacher") {
  2800. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2801. } else if (e.data.tools && e.data.tools == "3teacher") {
  2802. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2803. } else if (e.data.tools && e.data.tools == "7teacher") {
  2804. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2805. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2806. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2807. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2808. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2809. } else if (e.data.tools && e.data.tools == "1E") {
  2810. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2811. } else if (e.data.tools && e.data.tools == "3E") {
  2812. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2813. } else if (e.data.tools && e.data.tools == "57y") {
  2814. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2815. } else if (e.data.tools && e.data.tools == "57u") {
  2816. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2817. } else if (e.data.tools && e.data.tools == "57teacher") {
  2818. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2819. } else if (e.data.tools && e.data.tools == "64") {
  2820. U.MD.D.I.openApplication("AIChat")
  2821. } else if (e.data.tools && e.data.tools == "66") {
  2822. U.MD.D.I.openApplication("formulaEdi")
  2823. } else if (e.data.tools && e.data.tools == "67") {
  2824. U.MD.D.I.openApplication("molStr")
  2825. } else if (e.data.tools && e.data.tools == "68") {
  2826. U.MD.D.I.openApplication("timeAxis")
  2827. } else if (e.data.tools && e.data.tools == "openCourse") {
  2828. let _data = {
  2829. typea: e.data.typea || '',
  2830. typeb: e.data.typeb || '',
  2831. typed: e.data.typed || '',
  2832. }
  2833. U.MD.D.I.openInApplication("index", _data)
  2834. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2835. let _data = {
  2836. classid: e.data.classid || '',
  2837. }
  2838. U.MD.D.I.openInApplication("dataClass", _data)
  2839. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2840. let _data = {
  2841. cid: e.data.cid || '',
  2842. gid: e.data.gid || '',
  2843. }
  2844. U.MD.D.I.openInApplication("opencCscl", _data)
  2845. }
  2846. });
  2847. U.MD.D.I.selectUser = function () {
  2848. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2849. if (res.value[0].length > 0) {
  2850. US.userInfo = res.value[0][0];
  2851. $(".userName")[0].innerHTML = US.userInfo.username;
  2852. }
  2853. }, [], { "type": "GET", "withCredentials": true });
  2854. }
  2855. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2856. var _userinfo = US.userInfo, //登录用户信息
  2857. _userid = US.userInfo.userid, //登录用户id
  2858. _oid = _userinfo.organizeid,
  2859. _type = US.userInfo.type,
  2860. _org = US.userInfo.org,
  2861. _role = US.userInfo.role,
  2862. _classId = US.userInfo.classid;
  2863. if (_type == 4) {
  2864. tType = 4
  2865. }
  2866. switch (str) {
  2867. case "studyDetailNT": //无终端模式
  2868. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2869. setTimeout(() => {
  2870. U.MD.U.L.login();
  2871. }, 2000);
  2872. } else {
  2873. _formdiv = new U.UF.UI.form(
  2874. "课程详情",
  2875. $$("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 }), {
  2876. "id": "studyDetailNT",
  2877. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2878. "onresize": function () { }
  2879. }, {
  2880. closecallback: function () { }
  2881. }, { "style": { "height": "36px" } }).form; //创建窗体
  2882. _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); } }
  2883. break;
  2884. }
  2885. case "studyDetail":
  2886. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2887. setTimeout(() => {
  2888. U.MD.U.L.login();
  2889. }, 2000);
  2890. } else {
  2891. _formdiv = new U.UF.UI.form(
  2892. "课程详情",
  2893. $$("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 }), {
  2894. "id": "studyDetail",
  2895. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2896. "onresize": function () { }
  2897. }, {
  2898. closecallback: function () { }
  2899. }, { "style": { "height": "36px" } }).form; //创建窗体
  2900. _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); } }
  2901. break;
  2902. }
  2903. case "studyDetailTrain":
  2904. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2905. setTimeout(() => {
  2906. U.MD.U.L.login();
  2907. }, 2000);
  2908. } else {
  2909. _formdiv = new U.UF.UI.form(
  2910. "培训详情",
  2911. $$("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 }), {
  2912. "id": "studyDetailTrain",
  2913. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2914. "onresize": function () { }
  2915. }, {
  2916. closecallback: function () { }
  2917. }, { "style": { "height": "36px" } }).form; //创建窗体
  2918. _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); } }
  2919. break;
  2920. }
  2921. case "studyDetailS":
  2922. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2923. setTimeout(() => {
  2924. U.MD.U.L.login();
  2925. }, 2000);
  2926. } else {
  2927. _formdiv = new U.UF.UI.form(
  2928. "项目详情",
  2929. $$("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 }), {
  2930. "id": "studyDetailS",
  2931. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2932. "onresize": function () { }
  2933. }, {
  2934. closecallback: function () { }
  2935. }, { "style": { "height": "36px" } }).form; //创建窗体
  2936. _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); } }
  2937. break;
  2938. }
  2939. case "studyDetailStudio":
  2940. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2941. setTimeout(() => {
  2942. U.MD.U.L.login();
  2943. }, 2000);
  2944. } else {
  2945. _formdiv = new U.UF.UI.form(
  2946. "工作详情",
  2947. $$("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 }), {
  2948. "id": "studyDetailStudio",
  2949. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2950. "onresize": function () { }
  2951. }, {
  2952. closecallback: function () { }
  2953. }, { "style": { "height": "36px" } }).form; //创建窗体
  2954. _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); } }
  2955. break;
  2956. }
  2957. case "studyDetailS5":
  2958. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2959. setTimeout(() => {
  2960. U.MD.U.L.login();
  2961. }, 2000);
  2962. } else {
  2963. _formdiv = new U.UF.UI.form(
  2964. "项目详情",
  2965. $$("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 }), {
  2966. "id": "studyDetailS",
  2967. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2968. "onresize": function () { }
  2969. }, {
  2970. closecallback: function () { }
  2971. }, { "style": { "height": "36px" } }).form; //创建窗体
  2972. _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); } }
  2973. break;
  2974. }
  2975. case "studyDetailGM":
  2976. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2977. setTimeout(() => {
  2978. U.MD.U.L.login();
  2979. }, 2000);
  2980. } else {
  2981. _formdiv = new U.UF.UI.form(
  2982. "课程详情",
  2983. $$("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 }), {
  2984. "id": "studyDetail",
  2985. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2986. "onresize": function () { }
  2987. }, {
  2988. closecallback: function () { }
  2989. }, { "style": { "height": "36px" } }).form; //创建窗体
  2990. _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); } }
  2991. break;
  2992. }
  2993. case "hanUrl":
  2994. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2995. setTimeout(() => {
  2996. U.MD.U.L.login();
  2997. }, 2000);
  2998. } else {
  2999. _formdiv = new U.UF.UI.form(
  3000. "汉字宫",
  3001. $$("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" }), {
  3002. "id": "hanUrl",
  3003. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3004. "onresize": function () { }
  3005. }, {
  3006. closecallback: function () { }
  3007. }, { "style": { "height": "36px" } }).form; //创建窗体
  3008. _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); } }
  3009. break;
  3010. }
  3011. case "index":
  3012. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3013. setTimeout(() => {
  3014. U.MD.U.L.login();
  3015. }, 2000);
  3016. } else {
  3017. _formdiv = new U.UF.UI.form(
  3018. "课程中心",
  3019. $$("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 }), {
  3020. "id": "study",
  3021. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3022. "onresize": function () { }
  3023. }, {
  3024. closecallback: function () { }
  3025. }, { "style": { "height": "36px" } }).form; //创建窗体
  3026. _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); } }
  3027. break;
  3028. }
  3029. case "dataClass":
  3030. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3031. setTimeout(() => {
  3032. U.MD.U.L.login();
  3033. }, 2000);
  3034. } else {
  3035. _formdiv = new U.UF.UI.form(
  3036. "数据报告",
  3037. $$("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 }), {
  3038. "id": "dataClass",
  3039. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3040. "onresize": function () { }
  3041. }, {
  3042. closecallback: function () { }
  3043. }, { "style": { "height": "36px" } }).form; //创建窗体
  3044. _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); } }
  3045. break;
  3046. }
  3047. case "opencCscl":
  3048. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3049. setTimeout(() => {
  3050. U.MD.U.L.login();
  3051. }, 2000);
  3052. } else {
  3053. _formdiv = new U.UF.UI.form(
  3054. "协同建构",
  3055. $$("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 }), {
  3056. "id": "futureClass",
  3057. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3058. "onresize": function () { }
  3059. }, {
  3060. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3061. }, { "style": { "height": "36px" } }).form; //创建窗体
  3062. _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); } }
  3063. break;
  3064. }
  3065. }
  3066. }
  3067. U.MD.D.I.openApplication = function (str, obj, info) {
  3068. obj = obj || {};
  3069. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3070. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3071. _userinfo = US.userInfo, //登录用户信息
  3072. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3073. _oid = obj.organizeid || _userinfo.organizeid,
  3074. _type = US.userInfo.type,
  3075. _org = US.userInfo.org,
  3076. _role = US.userInfo.role,
  3077. _classId = US.userInfo.classid,
  3078. _TscreenType = 1
  3079. _screenType = 2,
  3080. _SscreenType = 3;
  3081. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3082. return;
  3083. }
  3084. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3085. switch (str) {
  3086. case "studnetProject": //好友打开
  3087. _formdiv = new U.UF.UI.form(
  3088. "我的项目",
  3089. $$("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 }), {
  3090. "id": "studnetProject",
  3091. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3092. "onresize": function () { }
  3093. }, {
  3094. closecallback: function () { }
  3095. }, { "style": { "height": "36px" } }).form; //创建窗体
  3096. _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); } }
  3097. break;
  3098. case "studentEvaluate": //好友打开
  3099. _formdiv = new U.UF.UI.form(
  3100. "我的评价",
  3101. $$("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 }), {
  3102. "id": "studentEvaluate",
  3103. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3104. "onresize": function () { }
  3105. }, {
  3106. closecallback: function () { }
  3107. }, { "style": { "height": "36px" } }).form; //创建窗体
  3108. _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); } }
  3109. break;
  3110. case "my":
  3111. _formdiv = new U.UF.UI.form(
  3112. "我的资料",
  3113. $$("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 }), {
  3114. "id": "my",
  3115. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3116. "onresize": function () { }
  3117. }, {
  3118. closecallback: function () { }
  3119. }, { "style": { "height": "36px" } }).form; //创建窗体
  3120. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3121. break;
  3122. case "program":
  3123. _formdiv = new U.UF.UI.form(
  3124. "编程平台",
  3125. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3126. "id": "program",
  3127. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3128. "onresize": function () { }
  3129. }, {
  3130. closecallback: function () { }
  3131. }, { "style": { "height": "36px" } }).form; //创建窗体
  3132. _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); } }
  3133. break;
  3134. case "library":
  3135. _formdiv = new U.UF.UI.form(
  3136. "素材库",
  3137. $$("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 }), {
  3138. "id": "library",
  3139. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3140. "onresize": function () { }
  3141. }, {
  3142. closecallback: function () { }
  3143. }, { "style": { "height": "36px" } }).form; //创建窗体
  3144. _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); } }
  3145. break;
  3146. case "whiteboard":
  3147. _formdiv = new U.UF.UI.form(
  3148. "电子白板",
  3149. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3150. "id": "whiteboard",
  3151. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3152. "onresize": function () { }
  3153. }, {
  3154. closecallback: function () { }
  3155. }, { "style": { "height": "36px" } }).form; //创建窗体
  3156. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3157. break;
  3158. case "investigation":
  3159. _formdiv = new U.UF.UI.form(
  3160. "问卷调查",
  3161. $$("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 }), {
  3162. "id": "investigation",
  3163. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3164. "onresize": function () { }
  3165. }, {
  3166. closecallback: function () { }
  3167. }, { "style": { "height": "36px" } }).form; //创建窗体
  3168. _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); } }
  3169. break;
  3170. case "note":
  3171. _formdiv = new U.UF.UI.form(
  3172. "便签分类",
  3173. $$("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 }), {
  3174. "id": "note",
  3175. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3176. "onresize": function () { }
  3177. }, {
  3178. closecallback: function () { }
  3179. }, { "style": { "height": "36px" } }).form; //创建窗体
  3180. _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); } }
  3181. break;
  3182. // case "score":
  3183. // _formdiv = new U.UF.UI.form(
  3184. // "量规评分",
  3185. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3186. // "id": "score",
  3187. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3188. // "onresize": function() {}
  3189. // }, {
  3190. // closecallback: function() {}
  3191. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3192. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3193. // break;
  3194. case "mind":
  3195. _formdiv = new U.UF.UI.form(
  3196. "思维导图",
  3197. $$("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"
  3198. "id": "mind",
  3199. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3200. "onresize": function () { }
  3201. }, {
  3202. closecallback: function () { }
  3203. }, { "style": { "height": "36px" } }).form; //创建窗体
  3204. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3205. break;
  3206. case "doc":
  3207. // U.MD.D.I.isRoom();
  3208. _formdiv = new U.UF.UI.form(
  3209. "协同文档",
  3210. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3211. "id": "doc",
  3212. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3213. "onresize": function () { }
  3214. }, {
  3215. closecallback: function () { }
  3216. }, { "style": { "height": "36px" } }).form; //创建窗体
  3217. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3218. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3219. // })
  3220. _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); } }
  3221. break;
  3222. case "studentStudy":
  3223. _formdiv = new U.UF.UI.form(
  3224. "课程中心",
  3225. $$("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
  3226. "id": "studentStudy",
  3227. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3228. "onresize": function () { }
  3229. }, {
  3230. closecallback: function () { }
  3231. }, { "style": { "height": "36px" } }).form; //创建窗体
  3232. _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); } }
  3233. break;
  3234. case "train": //好友打开
  3235. _formdiv = new U.UF.UI.form(
  3236. "训练平台",
  3237. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3238. "id": "train",
  3239. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3240. "onresize": function () { }
  3241. }, {
  3242. closecallback: function () { }
  3243. }, { "style": { "height": "36px" } }).form; //创建窗体
  3244. _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); } }
  3245. break;
  3246. case "mindNetwork": //好友打开
  3247. _formdiv = new U.UF.UI.form(
  3248. "思维网格",
  3249. $$("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 }), {
  3250. "id": "mindNetwork",
  3251. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3252. "onresize": function () { }
  3253. }, {
  3254. closecallback: function () { }
  3255. }, { "style": { "height": "36px" } }).form; //创建窗体
  3256. _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); } }
  3257. break;
  3258. case "studentClassRoom": //好友打开
  3259. _formdiv = new U.UF.UI.form(
  3260. "实时课堂",
  3261. $$("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 }), {
  3262. "id": "studentClassRoom",
  3263. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3264. "onresize": function () { }
  3265. }, {
  3266. closecallback: function () { }
  3267. }, { "style": { "height": "36px" } }).form; //创建窗体
  3268. _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); } }
  3269. setTimeout(() => {
  3270. U.UF.F.windowZooming(_formdiv)
  3271. }, 0);
  3272. break;
  3273. }
  3274. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3275. switch (str) {
  3276. case "studnetProject": //好友打开
  3277. _formdiv = new U.UF.UI.form(
  3278. "我的项目",
  3279. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/project?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), {
  3280. "id": "studnetProject",
  3281. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3282. "onresize": function () { }
  3283. }, {
  3284. closecallback: function () { }
  3285. }, { "style": { "height": "36px" } }).form; //创建窗体
  3286. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3287. break;
  3288. case "studentEvaluate": //好友打开
  3289. _formdiv = new U.UF.UI.form(
  3290. "我的评价",
  3291. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3292. "id": "studentEvaluate",
  3293. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3294. "onresize": function () { }
  3295. }, {
  3296. closecallback: function () { }
  3297. }, { "style": { "height": "36px" } }).form; //创建窗体
  3298. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3299. break;
  3300. case "my":
  3301. _formdiv = new U.UF.UI.form(
  3302. "我的资料",
  3303. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3304. "id": "my",
  3305. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3306. "onresize": function () { }
  3307. }, {
  3308. closecallback: function () { }
  3309. }, { "style": { "height": "36px" } }).form; //创建窗体
  3310. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3311. break;
  3312. case "program":
  3313. _formdiv = new U.UF.UI.form(
  3314. "编程平台",
  3315. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3316. "id": "program",
  3317. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3318. "onresize": function () { }
  3319. }, {
  3320. closecallback: function () { }
  3321. }, { "style": { "height": "36px" } }).form; //创建窗体
  3322. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3323. break;
  3324. case "library":
  3325. _formdiv = new U.UF.UI.form(
  3326. "素材库",
  3327. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  3328. "id": "library",
  3329. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3330. "onresize": function () { }
  3331. }, {
  3332. closecallback: function () { }
  3333. }, { "style": { "height": "36px" } }).form; //创建窗体
  3334. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3335. break;
  3336. case "whiteboard":
  3337. _formdiv = new U.UF.UI.form(
  3338. "电子白板",
  3339. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3340. "id": "whiteboard",
  3341. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3342. "onresize": function () { }
  3343. }, {
  3344. closecallback: function () { }
  3345. }, { "style": { "height": "36px" } }).form; //创建窗体
  3346. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3347. break;
  3348. case "investigation":
  3349. _formdiv = new U.UF.UI.form(
  3350. "问卷调查",
  3351. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3352. "id": "investigation",
  3353. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3354. "onresize": function () { }
  3355. }, {
  3356. closecallback: function () { }
  3357. }, { "style": { "height": "36px" } }).form; //创建窗体
  3358. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3359. break;
  3360. case "note":
  3361. _formdiv = new U.UF.UI.form(
  3362. "便签分类",
  3363. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3364. "id": "note",
  3365. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3366. "onresize": function () { }
  3367. }, {
  3368. closecallback: function () { }
  3369. }, { "style": { "height": "36px" } }).form; //创建窗体
  3370. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3371. break;
  3372. // case "score":
  3373. // _formdiv = new U.UF.UI.form(
  3374. // "量规评分",
  3375. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3376. // "id": "score",
  3377. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3378. // "onresize": function() {}
  3379. // }, {
  3380. // closecallback: function() {}
  3381. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3382. // _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); } }
  3383. // break;
  3384. case "mind":
  3385. _formdiv = new U.UF.UI.form(
  3386. "思维导图",
  3387. $$("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"
  3388. "id": "mind",
  3389. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3390. "onresize": function () { }
  3391. }, {
  3392. closecallback: function () { }
  3393. }, { "style": { "height": "36px" } }).form; //创建窗体
  3394. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3395. break;
  3396. case "doc":
  3397. // U.MD.D.I.isRoom();
  3398. _formdiv = new U.UF.UI.form(
  3399. "协同文档",
  3400. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3401. "id": "doc",
  3402. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3403. "onresize": function () { }
  3404. }, {
  3405. closecallback: function () { }
  3406. }, { "style": { "height": "36px" } }).form; //创建窗体
  3407. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3408. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3409. })
  3410. _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); } }
  3411. break;
  3412. case "train": //好友打开
  3413. _formdiv = new U.UF.UI.form(
  3414. "训练平台",
  3415. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3416. "id": "train",
  3417. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3418. "onresize": function () { }
  3419. }, {
  3420. closecallback: function () { }
  3421. }, { "style": { "height": "36px" } }).form; //创建窗体
  3422. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3423. break;
  3424. case "studentStudy":
  3425. _formdiv = new U.UF.UI.form(
  3426. "课程中心",
  3427. $$("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
  3428. "id": "studentStudy",
  3429. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3430. "onresize": function () { }
  3431. }, {
  3432. closecallback: function () { }
  3433. }, { "style": { "height": "36px" } }).form; //创建窗体
  3434. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3435. break;
  3436. case "mindNetwork": //好友打开
  3437. _formdiv = new U.UF.UI.form(
  3438. "思维网格",
  3439. $$("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 }), {
  3440. "id": "mindNetwork",
  3441. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3442. "onresize": function () { }
  3443. }, {
  3444. closecallback: function () { }
  3445. }, { "style": { "height": "36px" } }).form; //创建窗体
  3446. _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); } }
  3447. break;
  3448. case "studentClassRoom": //好友打开
  3449. _formdiv = new U.UF.UI.form(
  3450. "实时课堂",
  3451. $$("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 }), {
  3452. "id": "studentClassRoom",
  3453. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3454. "onresize": function () { }
  3455. }, {
  3456. closecallback: function () { }
  3457. }, { "style": { "height": "36px" } }).form; //创建窗体
  3458. _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); } }
  3459. setTimeout(() => {
  3460. U.UF.F.windowZooming(_formdiv)
  3461. }, 0);
  3462. break;
  3463. }
  3464. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3465. //选择应用处理
  3466. switch (str) {
  3467. case "project": //好友打开
  3468. _formdiv = new U.UF.UI.form(
  3469. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3470. $$("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 }), {
  3471. "id": "project",
  3472. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3473. "onresize": function () { }
  3474. }, {
  3475. closecallback: function () { }
  3476. }, { "style": { "height": "36px" } }).form; //创建窗体
  3477. _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); } }
  3478. break;
  3479. case "student":
  3480. _formdiv = new U.UF.UI.form(
  3481. "学生管理",
  3482. $$("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 }), {
  3483. "id": "student",
  3484. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3485. "onresize": function () { }
  3486. }, {
  3487. closecallback: function () { }
  3488. }, { "style": { "height": "36px" } }).form; //创建窗体
  3489. _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); } }
  3490. break;
  3491. case "evaluate":
  3492. _formdiv = new U.UF.UI.form(
  3493. "学生评价",
  3494. $$("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 }), {
  3495. "id": "evaluate",
  3496. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3497. "onresize": function () { }
  3498. }, {
  3499. closecallback: function () { }
  3500. }, { "style": { "height": "36px" } }).form; //创建窗体
  3501. _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); } }
  3502. break;
  3503. case "sys":
  3504. _formdiv = new U.UF.UI.form(
  3505. "目标管理",
  3506. $$("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 }), {
  3507. "id": "sys",
  3508. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3509. "onresize": function () { }
  3510. }, {
  3511. closecallback: function () { }
  3512. }, { "style": { "height": "36px" } }).form; //创建窗体
  3513. _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); } }
  3514. break;
  3515. case "courseDesign":
  3516. _formdiv = new U.UF.UI.form(
  3517. "项目设计",
  3518. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3519. "id": "courseDesign",
  3520. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3521. "onresize": function () { }
  3522. }, {
  3523. closecallback: function () { }
  3524. }, { "style": { "height": "36px" } }).form; //创建窗体
  3525. _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); } }
  3526. break;
  3527. case "program":
  3528. _formdiv = new U.UF.UI.form(
  3529. "编程平台",
  3530. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3531. "id": "program",
  3532. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3533. "onresize": function () { }
  3534. }, {
  3535. closecallback: function () { }
  3536. }, { "style": { "height": "36px" } }).form; //创建窗体
  3537. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3538. break;
  3539. case "class":
  3540. _formdiv = new U.UF.UI.form(
  3541. "班级管理",
  3542. $$("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 }), {
  3543. "id": "class",
  3544. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3545. "onresize": function () { }
  3546. }, {
  3547. closecallback: function () { }
  3548. }, { "style": { "height": "36px" } }).form; //创建窗体
  3549. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3550. break;
  3551. case "Grade":
  3552. _formdiv = new U.UF.UI.form(
  3553. "年级管理",
  3554. $$("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 }), {
  3555. "id": "Grade",
  3556. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3557. "onresize": function () { }
  3558. }, {
  3559. closecallback: function () { }
  3560. }, { "style": { "height": "36px" } }).form; //创建窗体
  3561. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Grade.png)" }, "name": "年级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3562. break;
  3563. case "teacherOffice":
  3564. _formdiv = new U.UF.UI.form(
  3565. "教研室",
  3566. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacherOffice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3567. "id": "teacherOffice",
  3568. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3569. "onresize": function () { }
  3570. }, {
  3571. closecallback: function () { }
  3572. }, { "style": { "height": "36px" } }).form; //创建窗体
  3573. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacherOffice.png)" }, "name": "教研室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3574. break;
  3575. case "my":
  3576. _formdiv = new U.UF.UI.form(
  3577. "我的资料",
  3578. $$("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 }), {
  3579. "id": "my",
  3580. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3581. "onresize": function () { }
  3582. }, {
  3583. closecallback: function () { }
  3584. }, { "style": { "height": "36px" } }).form; //创建窗体
  3585. _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); } }
  3586. break;
  3587. case "notice":
  3588. _formdiv = new U.UF.UI.form(
  3589. "通知公告",
  3590. $$("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 }), {
  3591. "id": "notice",
  3592. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3593. "onresize": function () { }
  3594. }, {
  3595. closecallback: function () { }
  3596. }, { "style": { "height": "36px" } }).form; //创建窗体
  3597. _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); } }
  3598. break;
  3599. case "library":
  3600. _formdiv = new U.UF.UI.form(
  3601. "素材库",
  3602. $$("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 }), {
  3603. "id": "library",
  3604. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3605. "onresize": function () { }
  3606. }, {
  3607. closecallback: function () { }
  3608. }, { "style": { "height": "36px" } }).form; //创建窗体
  3609. _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); } }
  3610. break;
  3611. case "whiteboard":
  3612. _formdiv = new U.UF.UI.form(
  3613. "电子白板",
  3614. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3615. "id": "whiteboard",
  3616. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3617. "onresize": function () { }
  3618. }, {
  3619. closecallback: function () { }
  3620. }, { "style": { "height": "36px" } }).form; //创建窗体
  3621. _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); } }
  3622. break;
  3623. case "investigation":
  3624. _formdiv = new U.UF.UI.form(
  3625. "问卷调查",
  3626. $$("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 }), {
  3627. "id": "investigation",
  3628. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3629. "onresize": function () { }
  3630. }, {
  3631. closecallback: function () { }
  3632. }, { "style": { "height": "36px" } }).form; //创建窗体
  3633. _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); } }
  3634. break;
  3635. case "note":
  3636. _formdiv = new U.UF.UI.form(
  3637. "便签分类",
  3638. $$("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 }), {
  3639. "id": "note",
  3640. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3641. "onresize": function () { }
  3642. }, {
  3643. closecallback: function () { }
  3644. }, { "style": { "height": "36px" } }).form; //创建窗体
  3645. _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); } }
  3646. break;
  3647. // case "score":
  3648. // _formdiv = new U.UF.UI.form(
  3649. // "量规评分",
  3650. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3651. // "id": "score",
  3652. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3653. // "onresize": function() {}
  3654. // }, {
  3655. // closecallback: function() {}
  3656. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3657. // _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); } }
  3658. // break;
  3659. case "mind":
  3660. _formdiv = new U.UF.UI.form(
  3661. "思维导图",
  3662. $$("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"
  3663. "id": "mind",
  3664. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3665. "onresize": function () { }
  3666. }, {
  3667. closecallback: function () { }
  3668. }, { "style": { "height": "36px" } }).form; //创建窗体
  3669. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3670. break;
  3671. case "doc":
  3672. // U.MD.D.I.isRoom();
  3673. _formdiv = new U.UF.UI.form(
  3674. "协同文档",
  3675. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3676. "id": "doc",
  3677. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3678. "onresize": function () { }
  3679. }, {
  3680. closecallback: function () { }
  3681. }, { "style": { "height": "36px" } }).form; //创建窗体
  3682. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3683. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3684. })
  3685. _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); } }
  3686. break;
  3687. case "study":
  3688. _formdiv = new U.UF.UI.form(
  3689. "课程中心",
  3690. $$("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
  3691. "id": "study",
  3692. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3693. "onresize": function () { }
  3694. }, {
  3695. closecallback: function () { }
  3696. }, { "style": { "height": "36px" } }).form; //创建窗体
  3697. _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); } }
  3698. break;
  3699. case "mindNetwork": //好友打开
  3700. _formdiv = new U.UF.UI.form(
  3701. "思维网格",
  3702. $$("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 }), {
  3703. "id": "mindNetwork",
  3704. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3705. "onresize": function () { }
  3706. }, {
  3707. closecallback: function () { }
  3708. }, { "style": { "height": "36px" } }).form; //创建窗体
  3709. _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); } }
  3710. break;
  3711. case "train": //好友打开
  3712. _formdiv = new U.UF.UI.form(
  3713. "训练平台",
  3714. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3715. "id": "mindNetwork",
  3716. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3717. "onresize": function () { }
  3718. }, {
  3719. closecallback: function () { }
  3720. }, { "style": { "height": "36px" } }).form; //创建窗体
  3721. _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); } }
  3722. break;
  3723. case "teacherClassRoom": //好友打开
  3724. _formdiv = new U.UF.UI.form(
  3725. "实时课堂",
  3726. $$("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 }), {
  3727. "id": "teacherClassRoom",
  3728. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3729. "onresize": function () { }
  3730. }, {
  3731. closecallback: function () { }
  3732. }, { "style": { "height": "36px" } }).form; //创建窗体
  3733. _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); } }
  3734. setTimeout(() => {
  3735. U.UF.F.windowZooming(_formdiv)
  3736. }, 0);
  3737. break;
  3738. }
  3739. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3740. switch (str) {
  3741. case "project": //好友打开
  3742. _formdiv = new U.UF.UI.form(
  3743. "课程管理",
  3744. $$("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 }), {
  3745. "id": "project",
  3746. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3747. "onresize": function () { }
  3748. }, {
  3749. closecallback: function () { }
  3750. }, { "style": { "height": "36px" } }).form; //创建窗体
  3751. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3752. break;
  3753. case "evaluate":
  3754. _formdiv = new U.UF.UI.form(
  3755. "学生评价",
  3756. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3757. "id": "evaluate",
  3758. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3759. "onresize": function () { }
  3760. }, {
  3761. closecallback: function () { }
  3762. }, { "style": { "height": "36px" } }).form; //创建窗体
  3763. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3764. break;
  3765. case "notice":
  3766. _formdiv = new U.UF.UI.form(
  3767. "通知公告",
  3768. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  3769. "id": "notice",
  3770. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3771. "onresize": function () { }
  3772. }, {
  3773. closecallback: function () { }
  3774. }, { "style": { "height": "36px" } }).form; //创建窗体
  3775. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3776. break;
  3777. case "stuLibrary":
  3778. _formdiv = new U.UF.UI.form(
  3779. "学习资料",
  3780. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studyLibrary?userid=" + _userid + "&org=" + _org }), {
  3781. "id": "stuLibrary",
  3782. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3783. "onresize": function () { }
  3784. }, {
  3785. closecallback: function () { }
  3786. }, { "style": { "height": "36px" } }).form; //创建窗体
  3787. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/stuLibrary.png)" }, "name": "学习资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3788. break;
  3789. case "program":
  3790. _formdiv = new U.UF.UI.form(
  3791. "编程平台",
  3792. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3793. "id": "program",
  3794. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3795. "onresize": function () { }
  3796. }, {
  3797. closecallback: function () { }
  3798. }, { "style": { "height": "36px" } }).form; //创建窗体
  3799. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3800. break;
  3801. case "whiteboard":
  3802. _formdiv = new U.UF.UI.form(
  3803. "电子白板",
  3804. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3805. "id": "whiteboard",
  3806. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3807. "onresize": function () { }
  3808. }, {
  3809. closecallback: function () { }
  3810. }, { "style": { "height": "36px" } }).form; //创建窗体
  3811. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3812. break;
  3813. case "investigation":
  3814. _formdiv = new U.UF.UI.form(
  3815. "问卷调查",
  3816. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3817. "id": "investigation",
  3818. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3819. "onresize": function () { }
  3820. }, {
  3821. closecallback: function () { }
  3822. }, { "style": { "height": "36px" } }).form; //创建窗体
  3823. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3824. break;
  3825. case "mind":
  3826. _formdiv = new U.UF.UI.form(
  3827. "思维导图",
  3828. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3829. "id": "mind",
  3830. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3831. "onresize": function () { }
  3832. }, {
  3833. closecallback: function () { }
  3834. }, { "style": { "height": "36px" } }).form; //创建窗体
  3835. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3836. break;
  3837. case "doc":
  3838. // U.MD.D.I.isRoom();
  3839. _formdiv = new U.UF.UI.form(
  3840. "协同文档",
  3841. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3842. "id": "doc",
  3843. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3844. "onresize": function () { }
  3845. }, {
  3846. closecallback: function () { }
  3847. }, { "style": { "height": "36px" } }).form; //创建窗体
  3848. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3849. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3850. })
  3851. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/doc.png)" }, "name": "协同文档", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3852. break;
  3853. case "study":
  3854. _formdiv = new U.UF.UI.form(
  3855. "课程中心",
  3856. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType }), { //https://beta.pbl.cocorobo.cn/pbl-student-table/dist/#/index
  3857. "id": "study",
  3858. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3859. "onresize": function () { }
  3860. }, {
  3861. closecallback: function () { }
  3862. }, { "style": { "height": "36px" } }).form; //创建窗体
  3863. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3864. break;
  3865. case "mindNetwork": //好友打开
  3866. _formdiv = new U.UF.UI.form(
  3867. "思维网格",
  3868. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid + "&org=" + _org }), {
  3869. "id": "mindNetwork",
  3870. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3871. "onresize": function () { }
  3872. }, {
  3873. closecallback: function () { }
  3874. }, { "style": { "height": "36px" } }).form; //创建窗体
  3875. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3876. break;
  3877. case "train": //好友打开
  3878. _formdiv = new U.UF.UI.form(
  3879. "训练平台",
  3880. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3881. "id": "train",
  3882. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3883. "onresize": function () { }
  3884. }, {
  3885. closecallback: function () { }
  3886. }, { "style": { "height": "36px" } }).form; //创建窗体
  3887. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3888. break;
  3889. case "sys":
  3890. _formdiv = new U.UF.UI.form(
  3891. "目标管理",
  3892. $$("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 }), {
  3893. "id": "sys",
  3894. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3895. "onresize": function () { }
  3896. }, {
  3897. closecallback: function () { }
  3898. }, { "style": { "height": "36px" } }).form; //创建窗体
  3899. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3900. break;
  3901. case "courseDesign":
  3902. _formdiv = new U.UF.UI.form(
  3903. "项目设计",
  3904. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3905. "id": "courseDesign",
  3906. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3907. "onresize": function () { }
  3908. }, {
  3909. closecallback: function () { }
  3910. }, { "style": { "height": "36px" } }).form; //创建窗体
  3911. _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); } }
  3912. break;
  3913. }
  3914. } else if (!_type) {
  3915. switch (str) {
  3916. case "my":
  3917. _formdiv = new U.UF.UI.form(
  3918. "我的资料",
  3919. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3920. "id": "my",
  3921. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3922. "onresize": function () { }
  3923. }, {
  3924. closecallback: function () { }
  3925. }, { "style": { "height": "36px" } }).form; //创建窗体
  3926. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3927. break;
  3928. }
  3929. }
  3930. switch (str) {
  3931. // AIprogram2 AI体验 aihub.cocorobo.cn
  3932. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3933. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3934. case "formulaEdi": //公式编辑
  3935. _formdiv = new U.UF.UI.form(
  3936. "公式编辑",
  3937. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3938. "id": "formulaEdi",
  3939. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3940. "onresize": function () { }
  3941. }, {
  3942. closecallback: function () { }
  3943. }, { "style": { "height": "36px" } }).form; //创建窗体
  3944. _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); } }
  3945. break;
  3946. case "molStr": //分子结构
  3947. _formdiv = new U.UF.UI.form(
  3948. "分子结构",
  3949. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3950. "id": "molStr",
  3951. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3952. "onresize": function () { }
  3953. }, {
  3954. closecallback: function () { }
  3955. }, { "style": { "height": "36px" } }).form; //创建窗体
  3956. _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); } }
  3957. break;
  3958. case "timeAxis": //时间轴
  3959. _formdiv = new U.UF.UI.form(
  3960. "时间轴",
  3961. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3962. "id": "timeAxis",
  3963. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3964. "onresize": function () { }
  3965. }, {
  3966. closecallback: function () { }
  3967. }, { "style": { "height": "36px" } }).form; //创建窗体
  3968. _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); } }
  3969. break;
  3970. case "AIprogram2": //AI体验
  3971. _formdiv = new U.UF.UI.form(
  3972. "AI体验",
  3973. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3974. "id": "AIprogram2",
  3975. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3976. "onresize": function () { }
  3977. }, {
  3978. closecallback: function () { }
  3979. }, { "style": { "height": "36px" } }).form; //创建窗体
  3980. _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); } }
  3981. break;
  3982. case "Pythonprogram": //python编程
  3983. _formdiv = new U.UF.UI.form(
  3984. "Python编程",
  3985. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3986. "id": "Pythonprogram",
  3987. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3988. "onresize": function () { }
  3989. }, {
  3990. closecallback: function () { }
  3991. }, { "style": { "height": "36px" } }).form; //创建窗体
  3992. _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); } }
  3993. break;
  3994. case "AIprogram": //ai编程
  3995. _formdiv = new U.UF.UI.form(
  3996. "AI编程平台",
  3997. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3998. "id": "AIprogram",
  3999. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4000. "onresize": function () { }
  4001. }, {
  4002. closecallback: function () { }
  4003. }, { "style": { "height": "36px" } }).form; //创建窗体
  4004. _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); } }
  4005. break;
  4006. case "CocoPi": //CocoPi
  4007. _formdiv = new U.UF.UI.form(
  4008. "CocoPi",
  4009. $$("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" }), {
  4010. "id": "CocoPi",
  4011. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4012. "onresize": function () { }
  4013. }, {
  4014. closecallback: function () { }
  4015. }, { "style": { "height": "36px" } }).form; //创建窗体
  4016. _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); } }
  4017. break;
  4018. case "Wood": //Wood
  4019. _formdiv = new U.UF.UI.form(
  4020. "海龟编程",
  4021. $$("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/" }), {
  4022. "id": "Wood",
  4023. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4024. "onresize": function () { }
  4025. }, {
  4026. closecallback: function () { }
  4027. }, { "style": { "height": "36px" } }).form; //创建窗体
  4028. _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); } }
  4029. break;
  4030. case "car": //模拟驾驶
  4031. _formdiv = new U.UF.UI.form(
  4032. "模拟驾驶",
  4033. $$("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/" }), {
  4034. "id": "car",
  4035. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4036. "onresize": function () { }
  4037. }, {
  4038. closecallback: function () { }
  4039. }, { "style": { "height": "36px" } }).form; //创建窗体
  4040. _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); } }
  4041. break;
  4042. case "lineSearch": //路径搜索
  4043. _formdiv = new U.UF.UI.form(
  4044. "路径搜索",
  4045. $$("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/" }), {
  4046. "id": "lineSearch",
  4047. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4048. "onresize": function () { }
  4049. }, {
  4050. closecallback: function () { }
  4051. }, { "style": { "height": "36px" } }).form; //创建窗体
  4052. _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); } }
  4053. break;
  4054. case "deepLearning": //深度学习
  4055. _formdiv = new U.UF.UI.form(
  4056. "深度学习",
  4057. $$("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/#" }), {
  4058. "id": "deepLearning",
  4059. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4060. "onresize": function () { }
  4061. }, {
  4062. closecallback: function () { }
  4063. }, { "style": { "height": "36px" } }).form; //创建窗体
  4064. _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); } }
  4065. break;
  4066. case "allHistory": //深度学习
  4067. _formdiv = new U.UF.UI.form(
  4068. "全历史",
  4069. $$("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/" }), {
  4070. "id": "allHistory",
  4071. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4072. "onresize": function () { }
  4073. }, {
  4074. closecallback: function () { }
  4075. }, { "style": { "height": "36px" } }).form; //创建窗体
  4076. _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); } }
  4077. break;
  4078. case "chatPDF": //ai编程
  4079. _formdiv = new U.UF.UI.form(
  4080. "chatPDF",
  4081. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4082. "id": "chatPDF",
  4083. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4084. "onresize": function () { }
  4085. }, {
  4086. closecallback: function () { }
  4087. }, { "style": { "height": "36px" } }).form; //创建窗体
  4088. _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); } }
  4089. break;
  4090. case "resources": //国家教育
  4091. _formdiv = new U.UF.UI.form(
  4092. "国家教育",
  4093. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4094. "id": "resources",
  4095. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4096. "onresize": function () { }
  4097. }, {
  4098. closecallback: function () { }
  4099. }, { "style": { "height": "36px" } }).form; //创建窗体
  4100. _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); } }
  4101. break;
  4102. case "codeEdit": //源码编辑
  4103. _formdiv = new U.UF.UI.form(
  4104. "源码编辑",
  4105. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4106. "id": "codeEdit",
  4107. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4108. "onresize": function () { }
  4109. }, {
  4110. closecallback: function () { }
  4111. }, { "style": { "height": "36px" } }).form; //创建窗体
  4112. _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); } }
  4113. break; //
  4114. case "MindMap": //MindMap
  4115. _formdiv = new U.UF.UI.form(
  4116. "MindMap",
  4117. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4118. "id": "MindMap",
  4119. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4120. "onresize": function () { }
  4121. }, {
  4122. closecallback: function () { }
  4123. }, { "style": { "height": "36px" } }).form; //创建窗体
  4124. _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); } }
  4125. break;
  4126. case "netWorkPanel": //netWorkPanel
  4127. _formdiv = new U.UF.UI.form(
  4128. "netWorkPanel",
  4129. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4130. "id": "netWorkPanel",
  4131. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4132. "onresize": function () { }
  4133. }, {
  4134. closecallback: function () { }
  4135. }, { "style": { "height": "36px" } }).form; //创建窗体
  4136. _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); } }
  4137. break;
  4138. case "GeoGebra": //GeoGebra
  4139. _formdiv = new U.UF.UI.form(
  4140. "GeoGebra",
  4141. $$("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" }), {
  4142. "id": "GeoGebra",
  4143. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4144. "onresize": function () { }
  4145. }, {
  4146. closecallback: function () { }
  4147. }, { "style": { "height": "36px" } }).form; //创建窗体
  4148. _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); } }
  4149. break;
  4150. case "translation": //翻译
  4151. _formdiv = new U.UF.UI.form(
  4152. "翻译",
  4153. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4154. "id": "translation",
  4155. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4156. "onresize": function () { }
  4157. }, {
  4158. closecallback: function () { }
  4159. }, { "style": { "height": "36px" } }).form; //创建窗体
  4160. _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); } }
  4161. break;
  4162. case "mohe": //魔盒
  4163. _formdiv = new U.UF.UI.form(
  4164. "魔盒识字",
  4165. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4166. "id": "mohe",
  4167. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4168. "onresize": function () { }
  4169. }, {
  4170. closecallback: function () { }
  4171. }, { "style": { "height": "36px" } }).form; //创建窗体
  4172. _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); } }
  4173. break;
  4174. case "24game": //24点
  4175. _formdiv = new U.UF.UI.form(
  4176. "24点",
  4177. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4178. "id": "24game",
  4179. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4180. "onresize": function () { }
  4181. }, {
  4182. closecallback: function () { }
  4183. }, { "style": { "height": "36px" } }).form; //创建窗体
  4184. _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); } }
  4185. break;
  4186. case "case":
  4187. _formdiv = new U.UF.UI.form(
  4188. "课程进展",
  4189. $$("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 }), {
  4190. "id": "case",
  4191. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4192. "onresize": function () { }
  4193. }, {
  4194. closecallback: function () { }
  4195. }, { "style": { "height": "36px" } }).form; //创建窗体
  4196. _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); } }
  4197. break;
  4198. case "snf":
  4199. _formdiv = new U.UF.UI.form(
  4200. "赛诺梵",
  4201. $$("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" }), {
  4202. "id": "snf",
  4203. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4204. "onresize": function () { }
  4205. }, {
  4206. closecallback: function () { }
  4207. }, { "style": { "height": "36px" } }).form; //创建窗体
  4208. _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); } }
  4209. break;
  4210. case "hanFamily":
  4211. _formdiv = new U.UF.UI.form(
  4212. "汉字家族",
  4213. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4214. "id": "hanFamily",
  4215. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4216. "onresize": function () { }
  4217. }, {
  4218. closecallback: function () { }
  4219. }, { "style": { "height": "36px" } }).form; //创建窗体
  4220. _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); } }
  4221. break;
  4222. case "hanClassics":
  4223. _formdiv = new U.UF.UI.form(
  4224. "国学经典",
  4225. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4226. "id": "hanClassics",
  4227. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4228. "onresize": function () { }
  4229. }, {
  4230. closecallback: function () { }
  4231. }, { "style": { "height": "36px" } }).form; //创建窗体
  4232. _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); } }
  4233. break;
  4234. case "hanTraining":
  4235. _formdiv = new U.UF.UI.form(
  4236. "笔画训练",
  4237. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4238. "id": "hanTraining",
  4239. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4240. "onresize": function () { }
  4241. }, {
  4242. closecallback: function () { }
  4243. }, { "style": { "height": "36px" } }).form; //创建窗体
  4244. _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); } }
  4245. break;
  4246. case "hanClass":
  4247. _formdiv = new U.UF.UI.form(
  4248. "书法课堂",
  4249. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4250. "id": "hanClass",
  4251. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4252. "onresize": function () { }
  4253. }, {
  4254. closecallback: function () { }
  4255. }, { "style": { "height": "36px" } }).form; //创建窗体
  4256. _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); } }
  4257. break;
  4258. case "han":
  4259. _formdiv = new U.UF.UI.form(
  4260. "汉字宫",
  4261. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4262. "id": "han",
  4263. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4264. "onresize": function () { }
  4265. }, {
  4266. closecallback: function () { }
  4267. }, { "style": { "height": "36px" } }).form; //创建窗体
  4268. _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); } }
  4269. break;
  4270. case "projectGM": //课程管理
  4271. _formdiv = new U.UF.UI.form(
  4272. "课程管理",
  4273. $$("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 }), {
  4274. "id": "projectGM",
  4275. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4276. "onresize": function () { }
  4277. }, {
  4278. closecallback: function () { }
  4279. }, { "style": { "height": "36px" } }).form; //创建窗体
  4280. _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); } }
  4281. break;
  4282. case "studyGM": //课程中心
  4283. _formdiv = new U.UF.UI.form(
  4284. "课程中心",
  4285. $$("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
  4286. "id": "study",
  4287. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4288. "onresize": function () { }
  4289. }, {
  4290. closecallback: function () { }
  4291. }, { "style": { "height": "36px" } }).form; //创建窗体
  4292. _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); } }
  4293. break;
  4294. // studentGM
  4295. case "studentGM": //学生管理
  4296. _formdiv = new U.UF.UI.form(
  4297. "学生管理",
  4298. $$("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 }), {
  4299. "id": "studentGM",
  4300. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4301. "onresize": function () { }
  4302. }, {
  4303. closecallback: function () { }
  4304. }, { "style": { "height": "36px" } }).form; //创建窗体
  4305. _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); } }
  4306. break;
  4307. case "evaluateGM": //学生评价
  4308. _formdiv = new U.UF.UI.form(
  4309. "学生评价",
  4310. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4311. "id": "evaluateGM",
  4312. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4313. "onresize": function () { }
  4314. }, {
  4315. closecallback: function () { }
  4316. }, { "style": { "height": "36px" } }).form; //创建窗体
  4317. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4318. break;
  4319. // classGM
  4320. case "classGM": //班级管理
  4321. _formdiv = new U.UF.UI.form(
  4322. "班级管理",
  4323. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/classGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4324. "id": "classGM",
  4325. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4326. "onresize": function () { }
  4327. }, {
  4328. closecallback: function () { }
  4329. }, { "style": { "height": "36px" } }).form; //创建窗体
  4330. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4331. break;
  4332. // dataGM
  4333. case "dataGM":
  4334. _formdiv = new U.UF.UI.form(
  4335. "我的资料",
  4336. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataGM?userid=" + _userid + "&org=" + _org }), {
  4337. "id": "dataGM",
  4338. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4339. "onresize": function () { }
  4340. }, {
  4341. closecallback: function () { }
  4342. }, { "style": { "height": "36px" } }).form; //创建窗体
  4343. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/data.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4344. break;
  4345. // caseGM
  4346. case "caseGM": //课程进展
  4347. _formdiv = new U.UF.UI.form(
  4348. "课程进展",
  4349. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4350. "id": "caseGM",
  4351. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4352. "onresize": function () { }
  4353. }, {
  4354. closecallback: function () { }
  4355. }, { "style": { "height": "36px" } }).form; //创建窗体
  4356. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4357. break;
  4358. // meterialGM
  4359. case "meterialGM": //素材库
  4360. _formdiv = new U.UF.UI.form(
  4361. "素材库",
  4362. $$("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 }), {
  4363. "id": "meterialGM",
  4364. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4365. "onresize": function () { }
  4366. }, {
  4367. closecallback: function () { }
  4368. }, { "style": { "height": "36px" } }).form; //创建窗体
  4369. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/material.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4370. break;
  4371. // evaluateSGM
  4372. case "evaluateSGM": //我的评价
  4373. _formdiv = new U.UF.UI.form(
  4374. "我的评价",
  4375. $$("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 }), {
  4376. "id": "evaluateSGM",
  4377. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4378. "onresize": function () { }
  4379. }, {
  4380. closecallback: function () { }
  4381. }, { "style": { "height": "36px" } }).form; //创建窗体
  4382. _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); } }
  4383. break;
  4384. case "jupyter": //jupyter
  4385. _formdiv = new U.UF.UI.form(
  4386. "jupyter",
  4387. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4388. "id": "jupyter",
  4389. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4390. "onresize": function () { }
  4391. }, {
  4392. closecallback: function () { }
  4393. }, { "style": { "height": "36px" } }).form; //创建窗体
  4394. _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); } }
  4395. break;
  4396. case "number": //数字实验室
  4397. _formdiv = new U.UF.UI.form(
  4398. "数字实验室",
  4399. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4400. "id": "number",
  4401. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4402. "onresize": function () { }
  4403. }, {
  4404. closecallback: function () { }
  4405. }, { "style": { "height": "36px" } }).form; //创建窗体
  4406. _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); } }
  4407. break;
  4408. case "studentCourse": //项目管理 学生
  4409. _formdiv = new U.UF.UI.form(
  4410. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4411. $$("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 }), {
  4412. "id": "studentCourse",
  4413. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4414. "onresize": function () { }
  4415. }, {
  4416. closecallback: function () { }
  4417. }, { "style": { "height": "36px" } }).form; //创建窗体
  4418. _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); } }
  4419. break;
  4420. case "studentCourseS": //项目管理 老师
  4421. _formdiv = new U.UF.UI.form(
  4422. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4423. $$("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 }), {
  4424. "id": "studentCourseS",
  4425. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4426. "onresize": function () { }
  4427. }, {
  4428. closecallback: function () { }
  4429. }, { "style": { "height": "36px" } }).form; //创建窗体
  4430. _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); } }
  4431. break;
  4432. case "studentIndex": //项目中心
  4433. _formdiv = new U.UF.UI.form(
  4434. "项目中心",
  4435. $$("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 }), {
  4436. "id": "studentIndex",
  4437. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4438. "onresize": function () { }
  4439. }, {
  4440. closecallback: function () { }
  4441. }, { "style": { "height": "36px" } }).form; //创建窗体
  4442. _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); } }
  4443. break;
  4444. case "CaseDesignS":
  4445. _formdiv = new U.UF.UI.form(
  4446. "项目进展",
  4447. $$("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 }), {
  4448. "id": "case",
  4449. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4450. "onresize": function () { }
  4451. }, {
  4452. closecallback: function () { }
  4453. }, { "style": { "height": "36px" } }).form; //创建窗体
  4454. _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); } }
  4455. break;
  4456. case "tcStudent": //腾讯学生管理
  4457. _formdiv = new U.UF.UI.form(
  4458. "学生管理",
  4459. $$("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 }), {
  4460. "id": "tcStudent",
  4461. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4462. "onresize": function () { }
  4463. }, {
  4464. closecallback: function () { }
  4465. }, { "style": { "height": "36px" } }).form; //创建窗体
  4466. _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); } }
  4467. break;
  4468. case "tcSchool": //腾讯学校管理
  4469. _formdiv = new U.UF.UI.form(
  4470. "学校管理",
  4471. $$("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 }), {
  4472. "id": "tcSchool",
  4473. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4474. "onresize": function () { }
  4475. }, {
  4476. closecallback: function () { }
  4477. }, { "style": { "height": "36px" } }).form; //创建窗体
  4478. _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); } }
  4479. break;
  4480. case "tcTeacher": //腾讯学校管理
  4481. _formdiv = new U.UF.UI.form(
  4482. "教师管理",
  4483. $$("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 }), {
  4484. "id": "tcTeacher",
  4485. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4486. "onresize": function () { }
  4487. }, {
  4488. closecallback: function () { }
  4489. }, { "style": { "height": "36px" } }).form; //创建窗体
  4490. _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); } }
  4491. break;
  4492. case "tcData": //腾讯我的资料
  4493. _formdiv = new U.UF.UI.form(
  4494. "我的资料",
  4495. $$("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 }), {
  4496. "id": "tcData",
  4497. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4498. "onresize": function () { }
  4499. }, {
  4500. closecallback: function () { }
  4501. }, { "style": { "height": "36px" } }).form; //创建窗体
  4502. _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); } }
  4503. break;
  4504. case "tcNotice": //腾讯消息通知
  4505. _formdiv = new U.UF.UI.form(
  4506. "消息通知",
  4507. $$("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 }), {
  4508. "id": "tcNotice",
  4509. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4510. "onresize": function () { }
  4511. }, {
  4512. closecallback: function () { }
  4513. }, { "style": { "height": "36px" } }).form; //创建窗体
  4514. _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); } }
  4515. break;
  4516. case "myReport": //好友打开
  4517. _formdiv = new U.UF.UI.form(
  4518. "我的评价",
  4519. $$("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 }), {
  4520. "id": "myReport",
  4521. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4522. "onresize": function () { }
  4523. }, {
  4524. closecallback: function () { }
  4525. }, { "style": { "height": "36px" } }).form; //创建窗体
  4526. _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); } }
  4527. break;
  4528. case "learnAna": //好友打开
  4529. _formdiv = new U.UF.UI.form(
  4530. "学习分析",
  4531. $$("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 }), {
  4532. "id": "learnAna",
  4533. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4534. "onresize": function () { }
  4535. }, {
  4536. closecallback: function () { }
  4537. }, { "style": { "height": "36px" } }).form; //创建窗体
  4538. _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); } }
  4539. break;
  4540. case "AIChat": //AI共创
  4541. _formdiv = new U.UF.UI.form(
  4542. "AI共创",
  4543. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4544. "id": "AIChat",
  4545. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4546. "onresize": function () { }
  4547. }, {
  4548. istop: true,
  4549. closecallback: function () { $("#aichat_icon").remove(); },
  4550. narrowcallback: function () {
  4551. if (!$("#aichat_icon")[0]) {
  4552. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4553. }
  4554. },
  4555. }, { "style": { "height": "36px" } }).form; //创建窗体
  4556. _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); } }
  4557. break;
  4558. case "ainew": //AI共创
  4559. _formdiv = new U.UF.UI.form(
  4560. "AI协同",
  4561. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4562. "id": "ainew",
  4563. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4564. "onresize": function () { }
  4565. }, {
  4566. closecallback: function () { }
  4567. }, { "style": { "height": "36px" } }).form; //创建窗体
  4568. _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); } }
  4569. break;
  4570. case "gpt4": //gpt4
  4571. _formdiv = new U.UF.UI.form(
  4572. "AI助手",
  4573. $$("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 }), {
  4574. "id": "ainew",
  4575. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4576. "onresize": function () { }
  4577. }, {
  4578. closecallback: function () { }
  4579. }, { "style": { "height": "36px" } }).form; //创建窗体
  4580. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gpt4.png)" }, "name": "AI助手", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4581. break;
  4582. case "aigpt": //gpt4
  4583. _formdiv = new U.UF.UI.form(
  4584. "AI助手+",
  4585. $$("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 }), {
  4586. "id": "ainew",
  4587. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4588. "onresize": function () { }
  4589. }, {
  4590. closecallback: function () { }
  4591. }, { "style": { "height": "36px" } }).form; //创建窗体
  4592. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aigpt.png)" }, "name": "AI助手+", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4593. break;
  4594. case "futureClass": //AI共创
  4595. _formdiv = new U.UF.UI.form(
  4596. "协同建构",
  4597. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {//https://beta.cscl.cocorobo.cn
  4598. "id": "synergyCourse",
  4599. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4600. "onresize": function () { }
  4601. }, {
  4602. closecallback: function () {
  4603. $("iframe", _formdiv)[0].contentWindow.loginout();
  4604. }
  4605. }, { "style": { "height": "36px" } }).form; //创建窗体
  4606. _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); } }
  4607. break;
  4608. case "aiagent": //ai agent
  4609. _formdiv = new U.UF.UI.form(
  4610. "AI Agent",
  4611. $$("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" }), {
  4612. "id": "AIAgent",
  4613. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4614. "onresize": function () { }
  4615. }, {
  4616. closecallback: function () { }
  4617. }, { "style": { "height": "36px" } }).form; //创建窗体
  4618. _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); } }
  4619. break;
  4620. case "dataBoard": //数据看板
  4621. _formdiv = new U.UF.UI.form(
  4622. "数据看板",
  4623. $$("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 }), {
  4624. "id": "dataBoard",
  4625. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4626. "onresize": function () { }
  4627. }, {
  4628. closecallback: function () { }
  4629. }, { "style": { "height": "36px" } }).form; //创建窗体
  4630. _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); } }
  4631. break;
  4632. case "dataBoardSies": //数据融合
  4633. _formdiv = new U.UF.UI.form(
  4634. "数据融合",
  4635. $$("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 }), {
  4636. "id": "dataBoardSies",
  4637. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4638. "onresize": function () { }
  4639. }, {
  4640. closecallback: function () { }
  4641. }, { "style": { "height": "36px" } }).form; //创建窗体
  4642. _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); } }
  4643. break;
  4644. case "dataBoardNew": //数据看板
  4645. _formdiv = new U.UF.UI.form(
  4646. "综合看板",
  4647. $$("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 }), {
  4648. "id": "dataBoardNew",
  4649. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4650. "onresize": function () { }
  4651. }, {
  4652. closecallback: function () { }
  4653. }, { "style": { "height": "36px" } }).form; //创建窗体
  4654. _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); } }
  4655. break;
  4656. case "AIAnalyse": //AI共创
  4657. _formdiv = new U.UF.UI.form(
  4658. "AI分析",
  4659. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4660. "id": "AIAnalyse",
  4661. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4662. "onresize": function () { }
  4663. }, {
  4664. closecallback: function () { }
  4665. }, { "style": { "height": "36px" } }).form; //创建窗体
  4666. _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); } }
  4667. break;
  4668. case "studioCourse": //AI共创
  4669. _formdiv = new U.UF.UI.form(
  4670. "工作管理",
  4671. $$("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 }), {
  4672. "id": "studioCourse",
  4673. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4674. "onresize": function () { }
  4675. }, {
  4676. closecallback: function () { }
  4677. }, { "style": { "height": "36px" } }).form; //创建窗体
  4678. _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); } }
  4679. break;
  4680. case "studioIndex": //AI共创
  4681. _formdiv = new U.UF.UI.form(
  4682. "工作中心",
  4683. $$("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 }), {
  4684. "id": "studioIndex",
  4685. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4686. "onresize": function () { }
  4687. }, {
  4688. closecallback: function () { }
  4689. }, { "style": { "height": "36px" } }).form; //创建窗体
  4690. _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); } }
  4691. break;
  4692. case "source":
  4693. _formdiv = new U.UF.UI.form(
  4694. "教学资源",
  4695. $$("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 }), {
  4696. "id": "source",
  4697. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4698. "onresize": function () { }
  4699. }, {
  4700. closecallback: function () { }
  4701. }, { "style": { "height": "36px" } }).form; //创建窗体
  4702. _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); } }
  4703. break;
  4704. case "testTeacher":
  4705. _formdiv = new U.UF.UI.form(
  4706. "评测管理",
  4707. $$("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 }), {
  4708. "id": "testTeacher",
  4709. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4710. "onresize": function () { }
  4711. }, {
  4712. closecallback: function () { }
  4713. }, { "style": { "height": "36px" } }).form; //创建窗体
  4714. _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); } }
  4715. break;
  4716. case "testStudent":
  4717. _formdiv = new U.UF.UI.form(
  4718. "评测中心",
  4719. $$("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 }), {
  4720. "id": "testStudent",
  4721. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4722. "onresize": function () { }
  4723. }, {
  4724. closecallback: function () { }
  4725. }, { "style": { "height": "36px" } }).form; //创建窗体
  4726. _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); } }
  4727. break;
  4728. case "testTeacherSies":
  4729. _formdiv = new U.UF.UI.form(
  4730. "教师管理",
  4731. $$("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 }), {
  4732. "id": "testTeacherSies",
  4733. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4734. "onresize": function () { }
  4735. }, {
  4736. closecallback: function () { }
  4737. }, { "style": { "height": "36px" } }).form; //创建窗体
  4738. _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); } }
  4739. break;
  4740. case "testStudentSies":
  4741. _formdiv = new U.UF.UI.form(
  4742. "教师中心",
  4743. $$("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 }), {
  4744. "id": "testStudentSies",
  4745. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4746. "onresize": function () { }
  4747. }, {
  4748. closecallback: function () { }
  4749. }, { "style": { "height": "36px" } }).form; //创建窗体
  4750. _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); } }
  4751. break;
  4752. }
  4753. //U.MD.D.I.openClick(str);
  4754. //如果有任务栏信息
  4755. if (_taskbar) {
  4756. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4757. }
  4758. }
  4759. // U.MD.D.I.openClick = function(str){
  4760. // var click = '';
  4761. // switch(str){
  4762. // case 'friend':
  4763. // click = '我的好友';
  4764. // break;
  4765. // case 'domain':
  4766. // click = '域名管理';
  4767. // break;
  4768. // case 'disk':
  4769. // click = '我的云盘';
  4770. // break;
  4771. // case 'word':
  4772. // click = 'Word';
  4773. // break;
  4774. // case 'excel':
  4775. // click = 'Execl';
  4776. // break;
  4777. // case 'txt':
  4778. // click = '文本文件';
  4779. // break;
  4780. // case 'lookupFriend':
  4781. // click = '查找好友';
  4782. // break;
  4783. // case 'ftp':
  4784. // click = 'FTP';
  4785. // break;
  4786. // case 'group':
  4787. // click = '群组';
  4788. // break;
  4789. // case 'set':
  4790. // click = '我的设置';
  4791. // break;
  4792. // case 'systemSet':
  4793. // click = '系统设置';
  4794. // break;
  4795. // case 'boomYun':
  4796. // click = '互联办公';
  4797. // break;
  4798. // case 'xz':
  4799. // click = '云端下载';
  4800. // break;
  4801. // case 'client':
  4802. // click = '有思浏览器';
  4803. // break;
  4804. // case 'backEndProgramming':
  4805. // click = '在线后台编程';
  4806. // break;
  4807. // case 'frontEndProgramming':
  4808. // click = '在线前端编程';
  4809. // break;
  4810. // default: break;
  4811. // }
  4812. // if(U.MD.D.I.Ip && click){
  4813. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4814. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4815. // })
  4816. // }
  4817. // }
  4818. /**
  4819. *函数作用:ajax简易函数,使用post格式
  4820. *@param url {data} 后台地址
  4821. *@param data {data} 参数json
  4822. *@param fn {data} 回调函数
  4823. *
  4824. */
  4825. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4826. // var xhr = new XMLHttpRequest();
  4827. // xhr.open("GET",url,true);
  4828. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4829. // xhr.onreadystatechange = function(){
  4830. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4831. // fn.call(this,xhr.responseText);
  4832. // }
  4833. // };
  4834. // xhr.send();
  4835. // }
  4836. /*判断是否是内网IP*/
  4837. // U.MD.D.I.isInnerIPFn = function(str){
  4838. // var curPageUrl = str;
  4839. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4840. // curPageUrl =curPageUrl.replace(reg1,'');
  4841. // // console.log('curPageUrl-1 '+curPageUrl);
  4842. // var reg2 = /\:+/g;//替换冒号为一点
  4843. // curPageUrl =curPageUrl.replace(reg2,'.');
  4844. // // console.log('curPageUrl-2 '+curPageUrl);
  4845. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4846. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4847. // if(curPageUrl[2] != '16'){
  4848. // return ipAddress;
  4849. // }else{
  4850. // return false;
  4851. // }
  4852. // }
  4853. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4854. // //compatibility for firefox and chrome
  4855. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4856. // var pc = new myPeerConnection({
  4857. // iceServers: []
  4858. // }),
  4859. // noop = function() {},
  4860. // localIPs = {},
  4861. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4862. // key;
  4863. // function iterateIP(ip) {
  4864. // if (!localIPs[ip]) onNewIP(ip);
  4865. // localIPs[ip] = true;
  4866. // }
  4867. // //create a bogus data channel
  4868. // pc.createDataChannel("");
  4869. // // create offer and set local description
  4870. // pc.createOffer().then(function(sdp) {
  4871. // sdp.sdp.split('\n').forEach(function(line) {
  4872. // if (line.indexOf('candidate') < 0) return;
  4873. // line.match(ipRegex).forEach(iterateIP);
  4874. // });
  4875. // pc.setLocalDescription(sdp, noop, noop);
  4876. // }).catch(function(reason) {
  4877. // // An error occurred, so handle the failure to connect
  4878. // });
  4879. // //sten for candidate events
  4880. // pc.onicecandidate = function(ice) {
  4881. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4882. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4883. // };
  4884. // }
  4885. // U.MD.D.I.getUserIpBool = function(callback){
  4886. // U.MD.D.I.getUserIP(function(ip){
  4887. // alert("Got IP! :" + ip);
  4888. // });
  4889. //}
  4890. //#endregion
  4891. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4892. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4893. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4894. _userinfo = US.userInfo, //登录用户信息
  4895. _userid = US.userInfo.userid //登录用户id
  4896. let _iframe;
  4897. let _cid = cid,
  4898. _stage = stage,
  4899. _task = task,
  4900. _tool = tool;
  4901. var _jie = $$("div", {
  4902. "style": {
  4903. "position": "absolute",
  4904. "bottom": "50px",
  4905. "right": "50px",
  4906. "zIndex": "9999",
  4907. "backgroundColor": "#2268bc",
  4908. "color": "#fff",
  4909. "padding": "12px 20px",
  4910. "cursor": "pointer",
  4911. "borderRadius": "4px",
  4912. },
  4913. "innerHTML": "提交作业"
  4914. })
  4915. let aTool = ''
  4916. let _loading = document.createElement('div')
  4917. _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;"
  4918. // _loading.id = "";
  4919. let _lchild = document.createElement('div')
  4920. let _limg = document.createElement('img')
  4921. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4922. _limg.style = "width: 26px;margin-right: 10px;"
  4923. _lchild.appendChild(_limg)
  4924. let _lspan = document.createElement('span')
  4925. _lspan.innerHTML = "上传中..."
  4926. _lchild.appendChild(_lspan)
  4927. _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%);"
  4928. _loading.appendChild(_lchild)
  4929. var _box = $$('div', {
  4930. "style": {
  4931. "position": "relative",
  4932. "width": "100%",
  4933. "height": "100%",
  4934. },
  4935. })
  4936. _box.appendChild(_loading)
  4937. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4938. switch (str) {
  4939. case "whiteboard":
  4940. aTool = 1;
  4941. _iframe = $$("iframe", {
  4942. "frameborder": "no",
  4943. "border": "0",
  4944. "scrolling ": "no",
  4945. "style": {
  4946. "cssText": "border:0;width:100%;height:100%"
  4947. },
  4948. "src": "https://iwb.cocorobo.cn/"
  4949. })
  4950. _box.appendChild(_iframe);
  4951. _box.appendChild(_jie);
  4952. _formdiv = new U.UF.UI.form(
  4953. "电子白板",
  4954. _box, {
  4955. "id": "whiteboard" + cid + stage + task + tool,
  4956. "style": {
  4957. "width": "90%",
  4958. "height": "90%",
  4959. "overflow": 'hidden'
  4960. },
  4961. "onresize": function () { }
  4962. }, {
  4963. closecallback: function () { }
  4964. }, {
  4965. "style": {
  4966. "height": "36px"
  4967. }
  4968. }).form; //创建窗体
  4969. _taskbar = {
  4970. "id": str + _formdiv.id,
  4971. "style": {
  4972. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4973. },
  4974. "name": "电子白板",
  4975. "forms": _formdiv,
  4976. "click": function () {
  4977. U.MD.D.I.openApplication(str, obj, info);
  4978. }
  4979. }
  4980. break;
  4981. case "mind":
  4982. aTool = 3;
  4983. _iframe = $$("iframe", {
  4984. "frameborder": "no",
  4985. "border": "0",
  4986. "scrolling ": "no",
  4987. "style": {
  4988. "cssText": "border:0;width:100%;height:100%"
  4989. },
  4990. "src": "/kityminder-editor/dist/index.html"
  4991. })
  4992. _box.appendChild(_iframe);
  4993. _box.appendChild(_jie);
  4994. _formdiv = new U.UF.UI.form(
  4995. "思维导图",
  4996. _box, { //"/jsmind/example/demo.html"
  4997. "id": "mind" + cid + stage + task + tool,
  4998. "style": {
  4999. "width": "90%",
  5000. "height": "90%",
  5001. "overflow": 'hidden'
  5002. },
  5003. "onresize": function () { }
  5004. }, {
  5005. closecallback: function () { }
  5006. }, {
  5007. "style": {
  5008. "height": "36px"
  5009. }
  5010. }).form; //创建窗体
  5011. _taskbar = {
  5012. "id": str + _formdiv.id,
  5013. "style": {
  5014. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5015. },
  5016. "name": "思维导图",
  5017. "forms": _formdiv,
  5018. "click": function () {
  5019. U.MD.D.I.openApplication(str, obj, info);
  5020. }
  5021. }
  5022. break;
  5023. case "MindMap":
  5024. aTool = 3;
  5025. _iframe = $$("iframe", {
  5026. "frameborder": "no",
  5027. "border": "0",
  5028. "scrolling ": "no",
  5029. "style": {
  5030. "cssText": "border:0;width:100%;height:100%"
  5031. },
  5032. "src": "//cloud.cocorobo.cn/mind/"
  5033. })
  5034. _box.appendChild(_iframe);
  5035. _box.appendChild(_jie);
  5036. _formdiv = new U.UF.UI.form(
  5037. "思维导图",
  5038. _box, { //"/jsmind/example/demo.html"
  5039. "id": "mind" + cid + stage + task + tool,
  5040. "style": {
  5041. "width": "90%",
  5042. "height": "90%",
  5043. "overflow": 'hidden'
  5044. },
  5045. "onresize": function () { }
  5046. }, {
  5047. closecallback: function () { }
  5048. }, {
  5049. "style": {
  5050. "height": "36px"
  5051. }
  5052. }).form; //创建窗体
  5053. _taskbar = {
  5054. "id": str + _formdiv.id,
  5055. "style": {
  5056. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5057. },
  5058. "name": "思维导图",
  5059. "forms": _formdiv,
  5060. "click": function () {
  5061. U.MD.D.I.openApplication(str, obj, info);
  5062. }
  5063. }
  5064. break;
  5065. case "doc":
  5066. aTool = 6;
  5067. _iframe = $$("iframe", {
  5068. "frameborder": "no",
  5069. "border": "0",
  5070. "scrolling ": "no",
  5071. "style": {
  5072. "cssText": "border:0;width:100%;height:100%"
  5073. },
  5074. "src": "/Office/Word/WordEditArea.htm"
  5075. })
  5076. _box.appendChild(_iframe);
  5077. _box.appendChild(_jie);
  5078. _formdiv = new U.UF.UI.form(
  5079. "协同文档",
  5080. _box, {
  5081. "id": "doc" + cid + stage + task + tool,
  5082. "style": {
  5083. "width": "90%",
  5084. "height": "90%",
  5085. "overflow": 'hidden'
  5086. },
  5087. "onresize": function () { }
  5088. }, {
  5089. closecallback: function () { }
  5090. }, {
  5091. "style": {
  5092. "height": "36px"
  5093. }
  5094. }).form; //创建窗体
  5095. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5096. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5097. })
  5098. _taskbar = {
  5099. "id": str + _formdiv.id,
  5100. "style": {
  5101. "backgroundImage": "url(/img/icon/doc.png)"
  5102. },
  5103. "name": "协同文档",
  5104. "forms": _formdiv,
  5105. "click": function () {
  5106. U.MD.D.I.openApplication(str, obj, info);
  5107. }
  5108. }
  5109. break;
  5110. case "mindNetwork": //好友打开
  5111. aTool = 7;
  5112. _iframe = $$("iframe", {
  5113. "webkitallowfullscreen": "",
  5114. "mozallowfullscreen": "",
  5115. "allowfullscreen": "",
  5116. "frameborder": "no",
  5117. "border": "0",
  5118. "scrolling ": "no",
  5119. "style": {
  5120. "cssText": "border:0; width:100%; height:100%;"
  5121. },
  5122. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5123. })
  5124. _box.appendChild(_iframe);
  5125. _box.appendChild(_jie);
  5126. _formdiv = new U.UF.UI.form(
  5127. "思维网格",
  5128. _box, {
  5129. "id": "mindNetwork" + cid + stage + task + tool,
  5130. "style": {
  5131. "width": "90%",
  5132. "height": "90%",
  5133. "overflow": 'hidden'
  5134. },
  5135. "onresize": function () { }
  5136. }, {
  5137. closecallback: function () { }
  5138. }, {
  5139. "style": {
  5140. "height": "36px"
  5141. }
  5142. }).form; //创建窗体
  5143. _taskbar = {
  5144. "id": str + _formdiv.id,
  5145. "style": {
  5146. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5147. },
  5148. "name": "思维网格",
  5149. "forms": _formdiv,
  5150. "click": function () {
  5151. U.MD.D.I.openApplication(str, obj, info);
  5152. }
  5153. }
  5154. break;
  5155. case "courseDesign":
  5156. _iframe = $$("iframe", {
  5157. "webkitallowfullscreen": "",
  5158. "mozallowfullscreen": "",
  5159. "allowfullscreen": "",
  5160. "frameborder": "no",
  5161. "border": "0",
  5162. "scrolling ": "no",
  5163. "style": {
  5164. "cssText": "border:0; width:100%; height:100%;"
  5165. },
  5166. "src": "/course-design-vue"
  5167. })
  5168. _box.appendChild(_iframe);
  5169. _box.appendChild(_jie);
  5170. _formdiv = new U.UF.UI.form(
  5171. "项目设计",
  5172. _box, {
  5173. "id": "courseDesign" + cid + stage + task + tool,
  5174. "style": {
  5175. "width": "90%",
  5176. "height": "90%",
  5177. "overflow": 'hidden'
  5178. },
  5179. "onresize": function () { }
  5180. }, {
  5181. closecallback: function () { }
  5182. }, {
  5183. "style": {
  5184. "height": "36px"
  5185. }
  5186. }).form; //创建窗体
  5187. _taskbar = {
  5188. "id": str + _formdiv.id,
  5189. "style": {
  5190. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5191. },
  5192. "name": "项目设计",
  5193. "forms": _formdiv,
  5194. "click": function () {
  5195. U.MD.D.I.openApplication(str, obj, info);
  5196. }
  5197. }
  5198. break;
  5199. }
  5200. const script1 = document.createElement("script");
  5201. script1.type = "text/javascript";
  5202. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5203. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5204. const script2 = document.createElement("script");
  5205. script2.type = "text/javascript";
  5206. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5207. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5208. const script3 = document.createElement("script");
  5209. script3.type = "text/javascript";
  5210. script3.charset = "UTF-8";
  5211. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5212. const script4 = document.createElement("script");
  5213. script4.type = "text/javascript";
  5214. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5215. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5216. if (_iframe) {
  5217. if (str == 'doc') {
  5218. _iframe = _formdiv.querySelector('iframe')
  5219. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5220. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5221. _iframe.contentWindow.document.body.appendChild(script1);
  5222. _iframe.contentWindow.document.body.appendChild(script2);
  5223. // _iframe.contentWindow.document.body.appendChild(script3);
  5224. _iframe.contentWindow.document.body.appendChild(script4);
  5225. })
  5226. if (onloadListener) {
  5227. _iframe.contentDocument.location.reload()
  5228. } else {
  5229. _iframe.contentDocument.location.reload()
  5230. }
  5231. } else if (str == 'courseDesign') {
  5232. U.UF.DL.iframeLoad(_iframe, function () {
  5233. // _iframe.contentWindow.U.MD.O.W.load();
  5234. // _iframe.contentWindow.document.body.appendChild(script1);
  5235. _iframe.contentWindow.document.body.appendChild(script2);
  5236. _iframe.contentWindow.document.body.appendChild(script4);
  5237. })
  5238. } else if (str == 'mind') {
  5239. _iframe = _formdiv.querySelector('iframe')
  5240. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5241. //
  5242. _iframe.contentWindow.document.body.appendChild(script1);
  5243. _iframe.contentWindow.document.body.appendChild(script2);
  5244. _iframe.contentWindow.document.body.appendChild(script4);
  5245. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5246. })
  5247. if (onloadListener) {
  5248. _iframe.contentDocument.location.reload()
  5249. } else {
  5250. _iframe.contentDocument.location.reload()
  5251. }
  5252. } else if (str == 'whiteboard') {
  5253. _iframe = _formdiv.querySelector('iframe')
  5254. let onloadListener = _iframe.onload = () => {
  5255. _iframe.contentWindow.document.body.appendChild(script1);
  5256. _iframe.contentWindow.document.body.appendChild(script2);
  5257. _iframe.contentWindow.document.body.appendChild(script4);
  5258. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5259. };
  5260. if (onloadListener) {
  5261. _iframe.contentDocument.location.reload()
  5262. } else {
  5263. _iframe.contentDocument.location.reload()
  5264. }
  5265. } else {
  5266. _iframe.onload = () => {
  5267. _iframe.contentWindow.document.body.appendChild(script1);
  5268. _iframe.contentWindow.document.body.appendChild(script2);
  5269. // _iframe.contentWindow.document.body.appendChild(script3);
  5270. _iframe.contentWindow.document.body.appendChild(script4);
  5271. };
  5272. }
  5273. _jie.onclick = async () => {
  5274. let text = ''
  5275. if (aTool == 1) {
  5276. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5277. } else if (aTool == 6) {
  5278. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5279. } else if (aTool == 3) {
  5280. text = await U.MD.D.I.getEditorContent(_iframe);
  5281. }
  5282. _loading.style.display = 'flex'
  5283. console.log(_loading);
  5284. var _ajs = _iframe.contentWindow.document.createElement("script");
  5285. _ajs.type = "text/javascript";
  5286. _ajs.innerHTML =
  5287. // 'console.log(' + _loading + ');\n' +
  5288. 'var _js = document.createElement("script");\n' +
  5289. '_js.type="text/javascript";\n' +
  5290. '_js.charset="UTF-8";\n' +
  5291. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5292. "_js.onload = function(){\n" +
  5293. ' var a = document.getElementsByTagName("img")\n' +
  5294. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5295. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5296. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5297. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5298. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5299. "beforeUpload_shishi(file," +
  5300. "'" +
  5301. _userid +
  5302. "'" +
  5303. ", " +
  5304. "'" +
  5305. _cid +
  5306. "'" +
  5307. ", " +
  5308. "'" +
  5309. _stage +
  5310. "'" +
  5311. ", " +
  5312. "'" +
  5313. _task +
  5314. "'" +
  5315. ", " +
  5316. "'" +
  5317. _tool +
  5318. "'" +
  5319. ", " +
  5320. "'" +
  5321. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5322. "'" +
  5323. ", " +
  5324. "'" +
  5325. aTool +
  5326. "'" +
  5327. ", " +
  5328. "`" +
  5329. text +
  5330. "`" +
  5331. ")\n" +
  5332. " });\n" +
  5333. "}\n" +
  5334. "document.head.appendChild(_js);\n";
  5335. _iframe.contentWindow.document.head.appendChild(_ajs);
  5336. }
  5337. }
  5338. //U.MD.D.I.openClick(str);
  5339. //如果有任务栏信息
  5340. // if (_taskbar) {
  5341. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5342. // }
  5343. }
  5344. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5345. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5346. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5347. _userinfo = US.userInfo, //登录用户信息
  5348. _userid = US.userInfo.userid //登录用户id
  5349. let _iframe;
  5350. let _cid = cid,
  5351. _stage = stage,
  5352. _task = task,
  5353. _tool = tool;
  5354. var _jie = $$("div", {
  5355. "style": {
  5356. "position": "absolute",
  5357. "bottom": "50px",
  5358. "right": "50px",
  5359. "zIndex": "9999",
  5360. "backgroundColor": "#2268bc",
  5361. "color": "#fff",
  5362. "padding": "12px 20px",
  5363. "cursor": "pointer",
  5364. "borderRadius": "4px",
  5365. },
  5366. "innerHTML": "提交作业"
  5367. })
  5368. let aTool = ''
  5369. let _loading = document.createElement('div')
  5370. _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;"
  5371. // _loading.id = "";
  5372. let _lchild = document.createElement('div')
  5373. let _limg = document.createElement('img')
  5374. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5375. _limg.style = "width: 26px;margin-right: 10px;"
  5376. _lchild.appendChild(_limg)
  5377. let _lspan = document.createElement('span')
  5378. _lspan.innerHTML = "上传中..."
  5379. _lchild.appendChild(_lspan)
  5380. _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%);"
  5381. _loading.appendChild(_lchild)
  5382. var _box = $$('div', {
  5383. "style": {
  5384. "position": "relative",
  5385. "width": "100%",
  5386. "height": "100%",
  5387. },
  5388. })
  5389. _box.appendChild(_loading)
  5390. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5391. switch (str) {
  5392. case "whiteboard":
  5393. aTool = 1;
  5394. _iframe = $$("iframe", {
  5395. "frameborder": "no",
  5396. "border": "0",
  5397. "scrolling ": "no",
  5398. "style": {
  5399. "cssText": "border:0;width:100%;height:100%"
  5400. },
  5401. "src": "https://iwb.cocorobo.cn/"
  5402. })
  5403. _box.appendChild(_iframe);
  5404. _box.appendChild(_jie);
  5405. _formdiv = new U.UF.UI.form(
  5406. "电子白板",
  5407. _box, {
  5408. "id": "whiteboard" + cid + stage + task + tool,
  5409. "style": {
  5410. "width": "90%",
  5411. "height": "90%",
  5412. "overflow": 'hidden'
  5413. },
  5414. "onresize": function () { }
  5415. }, {
  5416. closecallback: function () { }
  5417. }, {
  5418. "style": {
  5419. "height": "36px"
  5420. }
  5421. }).form; //创建窗体
  5422. _taskbar = {
  5423. "id": str + _formdiv.id,
  5424. "style": {
  5425. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5426. },
  5427. "name": "电子白板",
  5428. "forms": _formdiv,
  5429. "click": function () {
  5430. U.MD.D.I.openApplication(str, obj, info);
  5431. }
  5432. }
  5433. break;
  5434. case "mind":
  5435. aTool = 3;
  5436. _iframe = $$("iframe", {
  5437. "frameborder": "no",
  5438. "border": "0",
  5439. "scrolling ": "no",
  5440. "style": {
  5441. "cssText": "border:0;width:100%;height:100%"
  5442. },
  5443. "src": "/kityminder-editor/dist/index.html"
  5444. })
  5445. _box.appendChild(_iframe);
  5446. _box.appendChild(_jie);
  5447. _formdiv = new U.UF.UI.form(
  5448. "思维导图",
  5449. _box, { //"/jsmind/example/demo.html"
  5450. "id": "mind" + cid + stage + task + tool,
  5451. "style": {
  5452. "width": "90%",
  5453. "height": "90%",
  5454. "overflow": 'hidden'
  5455. },
  5456. "onresize": function () { }
  5457. }, {
  5458. closecallback: function () { }
  5459. }, {
  5460. "style": {
  5461. "height": "36px"
  5462. }
  5463. }).form; //创建窗体
  5464. _taskbar = {
  5465. "id": str + _formdiv.id,
  5466. "style": {
  5467. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5468. },
  5469. "name": "思维导图",
  5470. "forms": _formdiv,
  5471. "click": function () {
  5472. U.MD.D.I.openApplication(str, obj, info);
  5473. }
  5474. }
  5475. break;
  5476. case "MindMap":
  5477. aTool = 3;
  5478. _iframe = $$("iframe", {
  5479. "frameborder": "no",
  5480. "border": "0",
  5481. "scrolling ": "no",
  5482. "style": {
  5483. "cssText": "border:0;width:100%;height:100%"
  5484. },
  5485. "src": "//cloud.cocorobo.cn/mind/"
  5486. })
  5487. _box.appendChild(_iframe);
  5488. _box.appendChild(_jie);
  5489. _formdiv = new U.UF.UI.form(
  5490. "思维导图",
  5491. _box, { //"/jsmind/example/demo.html"
  5492. "id": "mind" + cid + stage + task + tool,
  5493. "style": {
  5494. "width": "90%",
  5495. "height": "90%",
  5496. "overflow": 'hidden'
  5497. },
  5498. "onresize": function () { }
  5499. }, {
  5500. closecallback: function () { }
  5501. }, {
  5502. "style": {
  5503. "height": "36px"
  5504. }
  5505. }).form; //创建窗体
  5506. _taskbar = {
  5507. "id": str + _formdiv.id,
  5508. "style": {
  5509. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5510. },
  5511. "name": "思维导图",
  5512. "forms": _formdiv,
  5513. "click": function () {
  5514. U.MD.D.I.openApplication(str, obj, info);
  5515. }
  5516. }
  5517. break;
  5518. case "doc":
  5519. aTool = 6;
  5520. _iframe = $$("iframe", {
  5521. "frameborder": "no",
  5522. "border": "0",
  5523. "scrolling ": "no",
  5524. "style": {
  5525. "cssText": "border:0;width:100%;height:100%"
  5526. },
  5527. "src": "/Office/Word/WordEditArea.htm"
  5528. })
  5529. _box.appendChild(_iframe);
  5530. _box.appendChild(_jie);
  5531. _formdiv = new U.UF.UI.form(
  5532. "协同文档",
  5533. _box, {
  5534. "id": "doc" + cid + stage + task + tool,
  5535. "style": {
  5536. "width": "90%",
  5537. "height": "90%",
  5538. "overflow": 'hidden'
  5539. },
  5540. "onresize": function () { }
  5541. }, {
  5542. closecallback: function () { }
  5543. }, {
  5544. "style": {
  5545. "height": "36px"
  5546. }
  5547. }).form; //创建窗体
  5548. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5549. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5550. })
  5551. _taskbar = {
  5552. "id": str + _formdiv.id,
  5553. "style": {
  5554. "backgroundImage": "url(/img/icon/doc.png)"
  5555. },
  5556. "name": "协同文档",
  5557. "forms": _formdiv,
  5558. "click": function () {
  5559. U.MD.D.I.openApplication(str, obj, info);
  5560. }
  5561. }
  5562. break;
  5563. case "mindNetwork": //好友打开
  5564. aTool = 7;
  5565. _iframe = $$("iframe", {
  5566. "webkitallowfullscreen": "",
  5567. "mozallowfullscreen": "",
  5568. "allowfullscreen": "",
  5569. "frameborder": "no",
  5570. "border": "0",
  5571. "scrolling ": "no",
  5572. "style": {
  5573. "cssText": "border:0; width:100%; height:100%;"
  5574. },
  5575. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5576. })
  5577. _box.appendChild(_iframe);
  5578. _box.appendChild(_jie);
  5579. _formdiv = new U.UF.UI.form(
  5580. "思维网格",
  5581. _box, {
  5582. "id": "mindNetwork" + cid + stage + task + tool,
  5583. "style": {
  5584. "width": "90%",
  5585. "height": "90%",
  5586. "overflow": 'hidden'
  5587. },
  5588. "onresize": function () { }
  5589. }, {
  5590. closecallback: function () { }
  5591. }, {
  5592. "style": {
  5593. "height": "36px"
  5594. }
  5595. }).form; //创建窗体
  5596. _taskbar = {
  5597. "id": str + _formdiv.id,
  5598. "style": {
  5599. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5600. },
  5601. "name": "思维网格",
  5602. "forms": _formdiv,
  5603. "click": function () {
  5604. U.MD.D.I.openApplication(str, obj, info);
  5605. }
  5606. }
  5607. break;
  5608. case "courseDesign":
  5609. _iframe = $$("iframe", {
  5610. "webkitallowfullscreen": "",
  5611. "mozallowfullscreen": "",
  5612. "allowfullscreen": "",
  5613. "frameborder": "no",
  5614. "border": "0",
  5615. "scrolling ": "no",
  5616. "style": {
  5617. "cssText": "border:0; width:100%; height:100%;"
  5618. },
  5619. "src": "/course-design-vue"
  5620. })
  5621. _box.appendChild(_iframe);
  5622. _box.appendChild(_jie);
  5623. _formdiv = new U.UF.UI.form(
  5624. "项目设计",
  5625. _box, {
  5626. "id": "courseDesign" + cid + stage + task + tool,
  5627. "style": {
  5628. "width": "90%",
  5629. "height": "90%",
  5630. "overflow": 'hidden'
  5631. },
  5632. "onresize": function () { }
  5633. }, {
  5634. closecallback: function () { }
  5635. }, {
  5636. "style": {
  5637. "height": "36px"
  5638. }
  5639. }).form; //创建窗体
  5640. _taskbar = {
  5641. "id": str + _formdiv.id,
  5642. "style": {
  5643. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5644. },
  5645. "name": "项目设计",
  5646. "forms": _formdiv,
  5647. "click": function () {
  5648. U.MD.D.I.openApplication(str, obj, info);
  5649. }
  5650. }
  5651. break;
  5652. }
  5653. const script1 = document.createElement("script");
  5654. script1.type = "text/javascript";
  5655. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5656. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5657. const script2 = document.createElement("script");
  5658. script2.type = "text/javascript";
  5659. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5660. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5661. const script3 = document.createElement("script");
  5662. script3.type = "text/javascript";
  5663. script3.charset = "UTF-8";
  5664. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5665. const script4 = document.createElement("script");
  5666. script4.type = "text/javascript";
  5667. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5668. script4.src = window.origin + "/js/Common/jietu2E.js";
  5669. if (_iframe) {
  5670. if (str == 'doc') {
  5671. _iframe = _formdiv.querySelector('iframe')
  5672. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5673. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5674. _iframe.contentWindow.document.body.appendChild(script1);
  5675. _iframe.contentWindow.document.body.appendChild(script2);
  5676. // _iframe.contentWindow.document.body.appendChild(script3);
  5677. _iframe.contentWindow.document.body.appendChild(script4);
  5678. })
  5679. if (onloadListener) {
  5680. _iframe.contentDocument.location.reload()
  5681. } else {
  5682. _iframe.contentDocument.location.reload()
  5683. }
  5684. } else if (str == 'courseDesign') {
  5685. U.UF.DL.iframeLoad(_iframe, function () {
  5686. // _iframe.contentWindow.U.MD.O.W.load();
  5687. // _iframe.contentWindow.document.body.appendChild(script1);
  5688. _iframe.contentWindow.document.body.appendChild(script2);
  5689. _iframe.contentWindow.document.body.appendChild(script4);
  5690. })
  5691. } else if (str == 'mind') {
  5692. _iframe = _formdiv.querySelector('iframe')
  5693. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5694. //
  5695. _iframe.contentWindow.document.body.appendChild(script1);
  5696. _iframe.contentWindow.document.body.appendChild(script2);
  5697. _iframe.contentWindow.document.body.appendChild(script4);
  5698. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5699. })
  5700. if (onloadListener) {
  5701. _iframe.contentDocument.location.reload()
  5702. } else {
  5703. _iframe.contentDocument.location.reload()
  5704. }
  5705. } else if (str == 'whiteboard') {
  5706. _iframe = _formdiv.querySelector('iframe')
  5707. let onloadListener = _iframe.onload = () => {
  5708. _iframe.contentWindow.document.body.appendChild(script1);
  5709. _iframe.contentWindow.document.body.appendChild(script2);
  5710. _iframe.contentWindow.document.body.appendChild(script4);
  5711. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5712. };
  5713. if (onloadListener) {
  5714. _iframe.contentDocument.location.reload()
  5715. } else {
  5716. _iframe.contentDocument.location.reload()
  5717. }
  5718. } else {
  5719. _iframe.onload = () => {
  5720. _iframe.contentWindow.document.body.appendChild(script1);
  5721. _iframe.contentWindow.document.body.appendChild(script2);
  5722. // _iframe.contentWindow.document.body.appendChild(script3);
  5723. _iframe.contentWindow.document.body.appendChild(script4);
  5724. };
  5725. }
  5726. _jie.onclick = async () => {
  5727. let text = ''
  5728. if (aTool == 1) {
  5729. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5730. } else if (aTool == 6) {
  5731. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5732. } else if (aTool == 3) {
  5733. text = await U.MD.D.I.getEditorContent(_iframe);
  5734. }
  5735. _loading.style.display = 'flex'
  5736. console.log(_loading);
  5737. var _ajs = _iframe.contentWindow.document.createElement("script");
  5738. _ajs.type = "text/javascript";
  5739. _ajs.innerHTML =
  5740. // 'console.log(' + _loading + ');\n' +
  5741. 'var _js = document.createElement("script");\n' +
  5742. '_js.type="text/javascript";\n' +
  5743. '_js.charset="UTF-8";\n' +
  5744. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5745. "_js.onload = function(){\n" +
  5746. ' var a = document.getElementsByTagName("img")\n' +
  5747. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5748. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5749. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5750. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5751. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5752. "beforeUpload_shishi(file," +
  5753. "'" +
  5754. _userid +
  5755. "'" +
  5756. ", " +
  5757. "'" +
  5758. _cid +
  5759. "'" +
  5760. ", " +
  5761. "'" +
  5762. _stage +
  5763. "'" +
  5764. ", " +
  5765. "'" +
  5766. _task +
  5767. "'" +
  5768. ", " +
  5769. "'" +
  5770. _tool +
  5771. "'" +
  5772. ", " +
  5773. "'" +
  5774. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5775. "'" +
  5776. ", " +
  5777. "'" +
  5778. aTool +
  5779. "'" +
  5780. ", " +
  5781. "`" +
  5782. text +
  5783. "`" +
  5784. ")\n" +
  5785. " });\n" +
  5786. "}\n" +
  5787. "document.head.appendChild(_js);\n";
  5788. _iframe.contentWindow.document.head.appendChild(_ajs);
  5789. }
  5790. }
  5791. //U.MD.D.I.openClick(str);
  5792. //如果有任务栏信息
  5793. // if (_taskbar) {
  5794. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5795. // }
  5796. }
  5797. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5798. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5799. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5800. _userid = student.userid, //登录用户id
  5801. _username = student.student //用户名字
  5802. let _iframe;
  5803. let _cid = cid,
  5804. _stage = stage,
  5805. _task = task,
  5806. _tool = tool;
  5807. var _jie = $$("div", {
  5808. "style": {
  5809. "position": "absolute",
  5810. "bottom": "50px",
  5811. "right": "50px",
  5812. "zIndex": "9999",
  5813. "backgroundColor": "#2268bc",
  5814. "color": "#fff",
  5815. "padding": "12px 20px",
  5816. "cursor": "pointer",
  5817. "borderRadius": "4px",
  5818. },
  5819. "innerHTML": "提交作业"
  5820. })
  5821. let aTool = ''
  5822. let _loading = document.createElement('div')
  5823. _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;"
  5824. // _loading.id = "";
  5825. let _lchild = document.createElement('div')
  5826. let _limg = document.createElement('img')
  5827. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5828. _limg.style = "width: 26px;margin-right: 10px;"
  5829. _lchild.appendChild(_limg)
  5830. let _lspan = document.createElement('span')
  5831. _lspan.innerHTML = "上传中..."
  5832. _lchild.appendChild(_lspan)
  5833. _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%);"
  5834. _loading.appendChild(_lchild)
  5835. var _box = $$('div', {
  5836. "style": {
  5837. "position": "relative",
  5838. "width": "100%",
  5839. "height": "100%",
  5840. },
  5841. })
  5842. _box.appendChild(_loading)
  5843. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5844. switch (str) {
  5845. case "whiteboard":
  5846. aTool = 1;
  5847. _iframe = $$("iframe", {
  5848. "frameborder": "no",
  5849. "border": "0",
  5850. "scrolling ": "no",
  5851. "style": {
  5852. "cssText": "border:0;width:100%;height:100%"
  5853. },
  5854. "src": "https://iwb.cocorobo.cn/"
  5855. })
  5856. _box.appendChild(_iframe);
  5857. _box.appendChild(_jie);
  5858. _formdiv = new U.UF.UI.form(
  5859. "电子白板-" + _username,
  5860. _box, {
  5861. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5862. "style": {
  5863. "width": "90%",
  5864. "height": "90%",
  5865. "overflow": 'hidden'
  5866. },
  5867. "onresize": function () { }
  5868. }, {
  5869. closecallback: function () { }
  5870. }, {
  5871. "style": {
  5872. "height": "36px"
  5873. }
  5874. }).form; //创建窗体
  5875. _taskbar = {
  5876. "id": str + _formdiv.id,
  5877. "style": {
  5878. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5879. },
  5880. "name": "电子白板",
  5881. "forms": _formdiv,
  5882. "click": function () {
  5883. U.MD.D.I.openApplication(str, obj, info);
  5884. }
  5885. }
  5886. break;
  5887. case "mind":
  5888. aTool = 3;
  5889. _iframe = $$("iframe", {
  5890. "frameborder": "no",
  5891. "border": "0",
  5892. "scrolling ": "no",
  5893. "style": {
  5894. "cssText": "border:0;width:100%;height:100%"
  5895. },
  5896. "src": "/kityminder-editor/dist/index.html"
  5897. })
  5898. _box.appendChild(_iframe);
  5899. _box.appendChild(_jie);
  5900. _formdiv = new U.UF.UI.form(
  5901. "思维导图-" + _username,
  5902. _box, { //"/jsmind/example/demo.html"
  5903. "id": "mind" + cid + stage + task + tool + _userid,
  5904. "style": {
  5905. "width": "90%",
  5906. "height": "90%",
  5907. "overflow": 'hidden'
  5908. },
  5909. "onresize": function () { }
  5910. }, {
  5911. closecallback: function () { }
  5912. }, {
  5913. "style": {
  5914. "height": "36px"
  5915. }
  5916. }).form; //创建窗体
  5917. _taskbar = {
  5918. "id": str + _formdiv.id,
  5919. "style": {
  5920. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5921. },
  5922. "name": "思维导图",
  5923. "forms": _formdiv,
  5924. "click": function () {
  5925. U.MD.D.I.openApplication(str, obj, info);
  5926. }
  5927. }
  5928. break;
  5929. case "MindMap":
  5930. aTool = 3;
  5931. _iframe = $$("iframe", {
  5932. "frameborder": "no",
  5933. "border": "0",
  5934. "scrolling ": "no",
  5935. "style": {
  5936. "cssText": "border:0;width:100%;height:100%"
  5937. },
  5938. "src": "//cloud.cocorobo.cn/mind/"
  5939. })
  5940. _box.appendChild(_iframe);
  5941. _box.appendChild(_jie);
  5942. _formdiv = new U.UF.UI.form(
  5943. "思维导图-" + _username,
  5944. _box, { //"/jsmind/example/demo.html"
  5945. "id": "mind" + cid + stage + task + tool + _userid,
  5946. "style": {
  5947. "width": "90%",
  5948. "height": "90%",
  5949. "overflow": 'hidden'
  5950. },
  5951. "onresize": function () { }
  5952. }, {
  5953. closecallback: function () { }
  5954. }, {
  5955. "style": {
  5956. "height": "36px"
  5957. }
  5958. }).form; //创建窗体
  5959. _taskbar = {
  5960. "id": str + _formdiv.id,
  5961. "style": {
  5962. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5963. },
  5964. "name": "思维导图",
  5965. "forms": _formdiv,
  5966. "click": function () {
  5967. U.MD.D.I.openApplication(str, obj, info);
  5968. }
  5969. }
  5970. break;
  5971. case "doc":
  5972. aTool = 6;
  5973. _iframe = $$("iframe", {
  5974. "frameborder": "no",
  5975. "border": "0",
  5976. "scrolling ": "no",
  5977. "style": {
  5978. "cssText": "border:0;width:100%;height:100%"
  5979. },
  5980. "src": "/Office/Word/WordEditArea.htm"
  5981. })
  5982. _box.appendChild(_iframe);
  5983. _box.appendChild(_jie);
  5984. _formdiv = new U.UF.UI.form(
  5985. "协同文档-" + _username,
  5986. _box, {
  5987. "id": "doc" + cid + stage + task + tool + _userid,
  5988. "style": {
  5989. "width": "90%",
  5990. "height": "90%",
  5991. "overflow": 'hidden'
  5992. },
  5993. "onresize": function () { }
  5994. }, {
  5995. closecallback: function () { }
  5996. }, {
  5997. "style": {
  5998. "height": "36px"
  5999. }
  6000. }).form; //创建窗体
  6001. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6002. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6003. })
  6004. _taskbar = {
  6005. "id": str + _formdiv.id,
  6006. "style": {
  6007. "backgroundImage": "url(/img/icon/doc.png)"
  6008. },
  6009. "name": "协同文档",
  6010. "forms": _formdiv,
  6011. "click": function () {
  6012. U.MD.D.I.openApplication(str, obj, info);
  6013. }
  6014. }
  6015. break;
  6016. case "mindNetwork": //好友打开
  6017. aTool = 7;
  6018. _iframe = $$("iframe", {
  6019. "webkitallowfullscreen": "",
  6020. "mozallowfullscreen": "",
  6021. "allowfullscreen": "",
  6022. "frameborder": "no",
  6023. "border": "0",
  6024. "scrolling ": "no",
  6025. "style": {
  6026. "cssText": "border:0; width:100%; height:100%;"
  6027. },
  6028. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6029. })
  6030. _box.appendChild(_iframe);
  6031. _box.appendChild(_jie);
  6032. _formdiv = new U.UF.UI.form(
  6033. "思维网格-" + _username,
  6034. _box, {
  6035. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6036. "style": {
  6037. "width": "90%",
  6038. "height": "90%",
  6039. "overflow": 'hidden'
  6040. },
  6041. "onresize": function () { }
  6042. }, {
  6043. closecallback: function () { }
  6044. }, {
  6045. "style": {
  6046. "height": "36px"
  6047. }
  6048. }).form; //创建窗体
  6049. _taskbar = {
  6050. "id": str + _formdiv.id,
  6051. "style": {
  6052. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6053. },
  6054. "name": "思维网格",
  6055. "forms": _formdiv,
  6056. "click": function () {
  6057. U.MD.D.I.openApplication(str, obj, info);
  6058. }
  6059. }
  6060. break;
  6061. case "courseDesign":
  6062. _iframe = $$("iframe", {
  6063. "webkitallowfullscreen": "",
  6064. "mozallowfullscreen": "",
  6065. "allowfullscreen": "",
  6066. "frameborder": "no",
  6067. "border": "0",
  6068. "scrolling ": "no",
  6069. "style": {
  6070. "cssText": "border:0; width:100%; height:100%;"
  6071. },
  6072. "src": "/course-design-vue"
  6073. })
  6074. _box.appendChild(_iframe);
  6075. _box.appendChild(_jie);
  6076. _formdiv = new U.UF.UI.form(
  6077. "项目设计-" + _username,
  6078. _box, {
  6079. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6080. "style": {
  6081. "width": "90%",
  6082. "height": "90%",
  6083. "overflow": 'hidden'
  6084. },
  6085. "onresize": function () { }
  6086. }, {
  6087. closecallback: function () { }
  6088. }, {
  6089. "style": {
  6090. "height": "36px"
  6091. }
  6092. }).form; //创建窗体
  6093. _taskbar = {
  6094. "id": str + _formdiv.id,
  6095. "style": {
  6096. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6097. },
  6098. "name": "项目设计",
  6099. "forms": _formdiv,
  6100. "click": function () {
  6101. U.MD.D.I.openApplication(str, obj, info);
  6102. }
  6103. }
  6104. break;
  6105. }
  6106. const script1 = document.createElement("script");
  6107. script1.type = "text/javascript";
  6108. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6109. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6110. const script2 = document.createElement("script");
  6111. script2.type = "text/javascript";
  6112. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6113. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6114. const script3 = document.createElement("script");
  6115. script3.type = "text/javascript";
  6116. script3.charset = "UTF-8";
  6117. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6118. const script4 = document.createElement("script");
  6119. script4.type = "text/javascript";
  6120. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6121. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6122. if (_iframe) {
  6123. if (str == 'doc') {
  6124. _iframe = _formdiv.querySelector('iframe')
  6125. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6126. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6127. _iframe.contentWindow.document.body.appendChild(script1);
  6128. _iframe.contentWindow.document.body.appendChild(script2);
  6129. // _iframe.contentWindow.document.body.appendChild(script3);
  6130. _iframe.contentWindow.document.body.appendChild(script4);
  6131. })
  6132. if (onloadListener) {
  6133. _iframe.contentDocument.location.reload()
  6134. } else {
  6135. _iframe.contentDocument.location.reload()
  6136. }
  6137. } else if (str == 'courseDesign') {
  6138. U.UF.DL.iframeLoad(_iframe, function () {
  6139. // _iframe.contentWindow.U.MD.O.W.load();
  6140. // _iframe.contentWindow.document.body.appendChild(script1);
  6141. _iframe.contentWindow.document.body.appendChild(script2);
  6142. _iframe.contentWindow.document.body.appendChild(script4);
  6143. })
  6144. } else if (str == 'mind') {
  6145. _iframe = _formdiv.querySelector('iframe')
  6146. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6147. //
  6148. _iframe.contentWindow.document.body.appendChild(script1);
  6149. _iframe.contentWindow.document.body.appendChild(script2);
  6150. _iframe.contentWindow.document.body.appendChild(script4);
  6151. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6152. })
  6153. if (onloadListener) {
  6154. _iframe.contentDocument.location.reload()
  6155. } else {
  6156. _iframe.contentDocument.location.reload()
  6157. }
  6158. } else if (str == 'whiteboard') {
  6159. _iframe = _formdiv.querySelector('iframe')
  6160. let onloadListener = _iframe.onload = () => {
  6161. _iframe.contentWindow.document.body.appendChild(script1);
  6162. _iframe.contentWindow.document.body.appendChild(script2);
  6163. _iframe.contentWindow.document.body.appendChild(script4);
  6164. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6165. };
  6166. if (onloadListener) {
  6167. _iframe.contentDocument.location.reload()
  6168. } else {
  6169. _iframe.contentDocument.location.reload()
  6170. }
  6171. } else {
  6172. _iframe.onload = () => {
  6173. _iframe.contentWindow.document.body.appendChild(script1);
  6174. _iframe.contentWindow.document.body.appendChild(script2);
  6175. // _iframe.contentWindow.document.body.appendChild(script3);
  6176. _iframe.contentWindow.document.body.appendChild(script4);
  6177. };
  6178. }
  6179. _jie.onclick = async () => {
  6180. let text = ''
  6181. if (aTool == 1) {
  6182. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6183. } else if (aTool == 6) {
  6184. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6185. } else if (aTool == 3) {
  6186. text = await U.MD.D.I.getEditorContent(_iframe);
  6187. }
  6188. _loading.style.display = 'flex'
  6189. console.log(_loading);
  6190. var _ajs = _iframe.contentWindow.document.createElement("script");
  6191. _ajs.type = "text/javascript";
  6192. _ajs.innerHTML =
  6193. // 'console.log(' + _loading + ');\n' +
  6194. 'var _js = document.createElement("script");\n' +
  6195. '_js.type="text/javascript";\n' +
  6196. '_js.charset="UTF-8";\n' +
  6197. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6198. "_js.onload = function(){\n" +
  6199. ' var a = document.getElementsByTagName("img")\n' +
  6200. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6201. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6202. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6203. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6204. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6205. "beforeUpload_shishi(file," +
  6206. "'" +
  6207. _userid +
  6208. "'" +
  6209. ", " +
  6210. "'" +
  6211. _cid +
  6212. "'" +
  6213. ", " +
  6214. "'" +
  6215. _stage +
  6216. "'" +
  6217. ", " +
  6218. "'" +
  6219. _task +
  6220. "'" +
  6221. ", " +
  6222. "'" +
  6223. _tool +
  6224. "'" +
  6225. ", " +
  6226. "'" +
  6227. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6228. "'" +
  6229. ", " +
  6230. "'" +
  6231. aTool +
  6232. "'" +
  6233. ", " +
  6234. "`" +
  6235. text +
  6236. "`" +
  6237. ")\n" +
  6238. " });\n" +
  6239. "}\n" +
  6240. "document.head.appendChild(_js);\n";
  6241. _iframe.contentWindow.document.head.appendChild(_ajs);
  6242. }
  6243. }
  6244. }
  6245. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6246. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6247. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6248. _userid = student.userid, //登录用户id
  6249. _username = student.student //用户名字
  6250. let _iframe;
  6251. let _cid = cid,
  6252. _stage = stage,
  6253. _task = task,
  6254. _tool = tool;
  6255. var _jie = $$("div", {
  6256. "style": {
  6257. "position": "absolute",
  6258. "bottom": "50px",
  6259. "right": "50px",
  6260. "zIndex": "9999",
  6261. "backgroundColor": "#2268bc",
  6262. "color": "#fff",
  6263. "padding": "12px 20px",
  6264. "cursor": "pointer",
  6265. "borderRadius": "4px",
  6266. },
  6267. "innerHTML": "提交作业"
  6268. })
  6269. let aTool = ''
  6270. let _loading = document.createElement('div')
  6271. _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;"
  6272. // _loading.id = "";
  6273. let _lchild = document.createElement('div')
  6274. let _limg = document.createElement('img')
  6275. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6276. _limg.style = "width: 26px;margin-right: 10px;"
  6277. _lchild.appendChild(_limg)
  6278. let _lspan = document.createElement('span')
  6279. _lspan.innerHTML = "上传中..."
  6280. _lchild.appendChild(_lspan)
  6281. _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%);"
  6282. _loading.appendChild(_lchild)
  6283. var _box = $$('div', {
  6284. "style": {
  6285. "position": "relative",
  6286. "width": "100%",
  6287. "height": "100%",
  6288. },
  6289. })
  6290. _box.appendChild(_loading)
  6291. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6292. switch (str) {
  6293. case "whiteboard":
  6294. aTool = 1;
  6295. _iframe = $$("iframe", {
  6296. "frameborder": "no",
  6297. "border": "0",
  6298. "scrolling ": "no",
  6299. "style": {
  6300. "cssText": "border:0;width:100%;height:100%"
  6301. },
  6302. "src": "https://iwb.cocorobo.cn/"
  6303. })
  6304. _box.appendChild(_iframe);
  6305. _box.appendChild(_jie);
  6306. _formdiv = new U.UF.UI.form(
  6307. "电子白板-" + _username,
  6308. _box, {
  6309. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6310. "style": {
  6311. "width": "90%",
  6312. "height": "90%",
  6313. "overflow": 'hidden'
  6314. },
  6315. "onresize": function () { }
  6316. }, {
  6317. closecallback: function () { }
  6318. }, {
  6319. "style": {
  6320. "height": "36px"
  6321. }
  6322. }).form; //创建窗体
  6323. _taskbar = {
  6324. "id": str + _formdiv.id,
  6325. "style": {
  6326. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6327. },
  6328. "name": "电子白板",
  6329. "forms": _formdiv,
  6330. "click": function () {
  6331. U.MD.D.I.openApplication(str, obj, info);
  6332. }
  6333. }
  6334. break;
  6335. case "mind":
  6336. aTool = 3;
  6337. _iframe = $$("iframe", {
  6338. "frameborder": "no",
  6339. "border": "0",
  6340. "scrolling ": "no",
  6341. "style": {
  6342. "cssText": "border:0;width:100%;height:100%"
  6343. },
  6344. "src": "/kityminder-editor/dist/index.html"
  6345. })
  6346. _box.appendChild(_iframe);
  6347. _box.appendChild(_jie);
  6348. _formdiv = new U.UF.UI.form(
  6349. "思维导图-" + _username,
  6350. _box, { //"/jsmind/example/demo.html"
  6351. "id": "mind" + cid + stage + task + tool + _userid,
  6352. "style": {
  6353. "width": "90%",
  6354. "height": "90%",
  6355. "overflow": 'hidden'
  6356. },
  6357. "onresize": function () { }
  6358. }, {
  6359. closecallback: function () { }
  6360. }, {
  6361. "style": {
  6362. "height": "36px"
  6363. }
  6364. }).form; //创建窗体
  6365. _taskbar = {
  6366. "id": str + _formdiv.id,
  6367. "style": {
  6368. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6369. },
  6370. "name": "思维导图",
  6371. "forms": _formdiv,
  6372. "click": function () {
  6373. U.MD.D.I.openApplication(str, obj, info);
  6374. }
  6375. }
  6376. break;
  6377. case "MindMap":
  6378. aTool = 3;
  6379. _iframe = $$("iframe", {
  6380. "frameborder": "no",
  6381. "border": "0",
  6382. "scrolling ": "no",
  6383. "style": {
  6384. "cssText": "border:0;width:100%;height:100%"
  6385. },
  6386. "src": "//cloud.cocorobo.cn/mind/"
  6387. })
  6388. _box.appendChild(_iframe);
  6389. _box.appendChild(_jie);
  6390. _formdiv = new U.UF.UI.form(
  6391. "思维导图-" + _username,
  6392. _box, { //"/jsmind/example/demo.html"
  6393. "id": "mind" + cid + stage + task + tool + _userid,
  6394. "style": {
  6395. "width": "90%",
  6396. "height": "90%",
  6397. "overflow": 'hidden'
  6398. },
  6399. "onresize": function () { }
  6400. }, {
  6401. closecallback: function () { }
  6402. }, {
  6403. "style": {
  6404. "height": "36px"
  6405. }
  6406. }).form; //创建窗体
  6407. _taskbar = {
  6408. "id": str + _formdiv.id,
  6409. "style": {
  6410. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6411. },
  6412. "name": "思维导图",
  6413. "forms": _formdiv,
  6414. "click": function () {
  6415. U.MD.D.I.openApplication(str, obj, info);
  6416. }
  6417. }
  6418. break;
  6419. case "doc":
  6420. aTool = 6;
  6421. _iframe = $$("iframe", {
  6422. "frameborder": "no",
  6423. "border": "0",
  6424. "scrolling ": "no",
  6425. "style": {
  6426. "cssText": "border:0;width:100%;height:100%"
  6427. },
  6428. "src": "/Office/Word/WordEditArea.htm"
  6429. })
  6430. _box.appendChild(_iframe);
  6431. _box.appendChild(_jie);
  6432. _formdiv = new U.UF.UI.form(
  6433. "协同文档-" + _username,
  6434. _box, {
  6435. "id": "doc" + cid + stage + task + tool + _userid,
  6436. "style": {
  6437. "width": "90%",
  6438. "height": "90%",
  6439. "overflow": 'hidden'
  6440. },
  6441. "onresize": function () { }
  6442. }, {
  6443. closecallback: function () { }
  6444. }, {
  6445. "style": {
  6446. "height": "36px"
  6447. }
  6448. }).form; //创建窗体
  6449. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6450. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6451. })
  6452. _taskbar = {
  6453. "id": str + _formdiv.id,
  6454. "style": {
  6455. "backgroundImage": "url(/img/icon/doc.png)"
  6456. },
  6457. "name": "协同文档",
  6458. "forms": _formdiv,
  6459. "click": function () {
  6460. U.MD.D.I.openApplication(str, obj, info);
  6461. }
  6462. }
  6463. break;
  6464. case "mindNetwork": //好友打开
  6465. aTool = 7;
  6466. _iframe = $$("iframe", {
  6467. "webkitallowfullscreen": "",
  6468. "mozallowfullscreen": "",
  6469. "allowfullscreen": "",
  6470. "frameborder": "no",
  6471. "border": "0",
  6472. "scrolling ": "no",
  6473. "style": {
  6474. "cssText": "border:0; width:100%; height:100%;"
  6475. },
  6476. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6477. })
  6478. _box.appendChild(_iframe);
  6479. _box.appendChild(_jie);
  6480. _formdiv = new U.UF.UI.form(
  6481. "思维网格-" + _username,
  6482. _box, {
  6483. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6484. "style": {
  6485. "width": "90%",
  6486. "height": "90%",
  6487. "overflow": 'hidden'
  6488. },
  6489. "onresize": function () { }
  6490. }, {
  6491. closecallback: function () { }
  6492. }, {
  6493. "style": {
  6494. "height": "36px"
  6495. }
  6496. }).form; //创建窗体
  6497. _taskbar = {
  6498. "id": str + _formdiv.id,
  6499. "style": {
  6500. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6501. },
  6502. "name": "思维网格",
  6503. "forms": _formdiv,
  6504. "click": function () {
  6505. U.MD.D.I.openApplication(str, obj, info);
  6506. }
  6507. }
  6508. break;
  6509. case "courseDesign":
  6510. _iframe = $$("iframe", {
  6511. "webkitallowfullscreen": "",
  6512. "mozallowfullscreen": "",
  6513. "allowfullscreen": "",
  6514. "frameborder": "no",
  6515. "border": "0",
  6516. "scrolling ": "no",
  6517. "style": {
  6518. "cssText": "border:0; width:100%; height:100%;"
  6519. },
  6520. "src": "/course-design-vue"
  6521. })
  6522. _box.appendChild(_iframe);
  6523. _box.appendChild(_jie);
  6524. _formdiv = new U.UF.UI.form(
  6525. "项目设计-" + _username,
  6526. _box, {
  6527. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6528. "style": {
  6529. "width": "90%",
  6530. "height": "90%",
  6531. "overflow": 'hidden'
  6532. },
  6533. "onresize": function () { }
  6534. }, {
  6535. closecallback: function () { }
  6536. }, {
  6537. "style": {
  6538. "height": "36px"
  6539. }
  6540. }).form; //创建窗体
  6541. _taskbar = {
  6542. "id": str + _formdiv.id,
  6543. "style": {
  6544. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6545. },
  6546. "name": "项目设计",
  6547. "forms": _formdiv,
  6548. "click": function () {
  6549. U.MD.D.I.openApplication(str, obj, info);
  6550. }
  6551. }
  6552. break;
  6553. }
  6554. const script1 = document.createElement("script");
  6555. script1.type = "text/javascript";
  6556. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6557. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6558. const script2 = document.createElement("script");
  6559. script2.type = "text/javascript";
  6560. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6561. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6562. const script3 = document.createElement("script");
  6563. script3.type = "text/javascript";
  6564. script3.charset = "UTF-8";
  6565. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6566. const script4 = document.createElement("script");
  6567. script4.type = "text/javascript";
  6568. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6569. script4.src = window.origin + "/js/Common/jietu2E.js";
  6570. if (_iframe) {
  6571. if (str == 'doc') {
  6572. _iframe = _formdiv.querySelector('iframe')
  6573. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6574. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6575. _iframe.contentWindow.document.body.appendChild(script1);
  6576. _iframe.contentWindow.document.body.appendChild(script2);
  6577. // _iframe.contentWindow.document.body.appendChild(script3);
  6578. _iframe.contentWindow.document.body.appendChild(script4);
  6579. })
  6580. if (onloadListener) {
  6581. _iframe.contentDocument.location.reload()
  6582. } else {
  6583. _iframe.contentDocument.location.reload()
  6584. }
  6585. } else if (str == 'courseDesign') {
  6586. U.UF.DL.iframeLoad(_iframe, function () {
  6587. // _iframe.contentWindow.U.MD.O.W.load();
  6588. // _iframe.contentWindow.document.body.appendChild(script1);
  6589. _iframe.contentWindow.document.body.appendChild(script2);
  6590. _iframe.contentWindow.document.body.appendChild(script4);
  6591. })
  6592. } else if (str == 'mind') {
  6593. _iframe = _formdiv.querySelector('iframe')
  6594. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6595. //
  6596. _iframe.contentWindow.document.body.appendChild(script1);
  6597. _iframe.contentWindow.document.body.appendChild(script2);
  6598. _iframe.contentWindow.document.body.appendChild(script4);
  6599. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6600. })
  6601. if (onloadListener) {
  6602. _iframe.contentDocument.location.reload()
  6603. } else {
  6604. _iframe.contentDocument.location.reload()
  6605. }
  6606. } else if (str == 'whiteboard') {
  6607. _iframe = _formdiv.querySelector('iframe')
  6608. let onloadListener = _iframe.onload = () => {
  6609. _iframe.contentWindow.document.body.appendChild(script1);
  6610. _iframe.contentWindow.document.body.appendChild(script2);
  6611. _iframe.contentWindow.document.body.appendChild(script4);
  6612. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6613. };
  6614. if (onloadListener) {
  6615. _iframe.contentDocument.location.reload()
  6616. } else {
  6617. _iframe.contentDocument.location.reload()
  6618. }
  6619. } else {
  6620. _iframe.onload = () => {
  6621. _iframe.contentWindow.document.body.appendChild(script1);
  6622. _iframe.contentWindow.document.body.appendChild(script2);
  6623. // _iframe.contentWindow.document.body.appendChild(script3);
  6624. _iframe.contentWindow.document.body.appendChild(script4);
  6625. };
  6626. }
  6627. _jie.onclick = async () => {
  6628. let text = ''
  6629. if (aTool == 1) {
  6630. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6631. } else if (aTool == 6) {
  6632. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6633. } else if (aTool == 3) {
  6634. text = await U.MD.D.I.getEditorContent(_iframe);
  6635. }
  6636. _loading.style.display = 'flex'
  6637. console.log(_loading);
  6638. var _ajs = _iframe.contentWindow.document.createElement("script");
  6639. _ajs.type = "text/javascript";
  6640. _ajs.innerHTML =
  6641. // 'console.log(' + _loading + ');\n' +
  6642. 'var _js = document.createElement("script");\n' +
  6643. '_js.type="text/javascript";\n' +
  6644. '_js.charset="UTF-8";\n' +
  6645. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6646. "_js.onload = function(){\n" +
  6647. ' var a = document.getElementsByTagName("img")\n' +
  6648. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6649. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6650. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6651. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6652. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6653. "beforeUpload_shishi(file," +
  6654. "'" +
  6655. _userid +
  6656. "'" +
  6657. ", " +
  6658. "'" +
  6659. _cid +
  6660. "'" +
  6661. ", " +
  6662. "'" +
  6663. _stage +
  6664. "'" +
  6665. ", " +
  6666. "'" +
  6667. _task +
  6668. "'" +
  6669. ", " +
  6670. "'" +
  6671. _tool +
  6672. "'" +
  6673. ", " +
  6674. "'" +
  6675. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6676. "'" +
  6677. ", " +
  6678. "'" +
  6679. aTool +
  6680. "'" +
  6681. ", " +
  6682. "`" +
  6683. text +
  6684. "`" +
  6685. ")\n" +
  6686. " });\n" +
  6687. "}\n" +
  6688. "document.head.appendChild(_js);\n";
  6689. _iframe.contentWindow.document.head.appendChild(_ajs);
  6690. }
  6691. }
  6692. }
  6693. U.MD.D.I.getEditorContent = function (iframe) {
  6694. return new Promise((resolve, reject) => {
  6695. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6696. console.log(content);
  6697. resolve(content)
  6698. });
  6699. });
  6700. }
  6701. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6702. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6703. // if (res.value[0].length > 0) {
  6704. // // resolve(res.value[0][0].text);
  6705. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6706. // $(fileInput).val('');
  6707. // });
  6708. // }
  6709. // }, [], { "type": "GET", "withCredentials": true });
  6710. var xmlhttp;
  6711. var Mac, Sn, DeviceId
  6712. if (window.XMLHttpRequest) {
  6713. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6714. xmlhttp = new XMLHttpRequest();
  6715. } else {
  6716. // IE6, IE5 浏览器执行代码
  6717. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6718. }
  6719. xmlhttp.onreadystatechange = function () {
  6720. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6721. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6722. // resolve(res.value[0][0].text);
  6723. if (type == '2') {
  6724. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6725. } else if (type == '3') {
  6726. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6727. }
  6728. } else {
  6729. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6730. }
  6731. }
  6732. }
  6733. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6734. xmlhttp.send();
  6735. }
  6736. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6737. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6738. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6739. _userinfo = US.userInfo, //登录用户信息
  6740. _userid = US.userInfo.userid //登录用户id
  6741. let _iframe;
  6742. let _cid = cid,
  6743. _stage = stage,
  6744. _task = task,
  6745. _tool = tool;
  6746. var _jie = $$("div", {
  6747. "style": {
  6748. "position": "absolute",
  6749. "bottom": "50px",
  6750. "right": "50px",
  6751. "zIndex": "9999",
  6752. "backgroundColor": "#2268bc",
  6753. "color": "#fff",
  6754. "padding": "12px 20px",
  6755. "cursor": "pointer",
  6756. "borderRadius": "4px",
  6757. },
  6758. "innerHTML": "确认并提交"
  6759. })
  6760. let aTool = ''
  6761. let _loading = document.createElement('div')
  6762. _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;"
  6763. // _loading.id = "";
  6764. let _lchild = document.createElement('div')
  6765. let _limg = document.createElement('img')
  6766. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6767. _limg.style = "width: 26px;margin-right: 10px;"
  6768. _lchild.appendChild(_limg)
  6769. let _lspan = document.createElement('span')
  6770. _lspan.innerHTML = "上传中..."
  6771. _lchild.appendChild(_lspan)
  6772. _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%);"
  6773. _loading.appendChild(_lchild)
  6774. var _box = $$('div', {
  6775. "style": {
  6776. "position": "relative",
  6777. "width": "100%",
  6778. "height": "100%",
  6779. },
  6780. })
  6781. _box.appendChild(_loading)
  6782. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6783. switch (str) {
  6784. case "whiteboard":
  6785. aTool = 1;
  6786. _iframe = $$("iframe", {
  6787. "frameborder": "no",
  6788. "border": "0",
  6789. "scrolling ": "no",
  6790. "style": {
  6791. "cssText": "border:0;width:100%;height:100%"
  6792. },
  6793. "src": "https://iwb.cocorobo.cn/"
  6794. })
  6795. _box.appendChild(_iframe);
  6796. _box.appendChild(_jie);
  6797. _formdiv = new U.UF.UI.form(
  6798. "电子白板",
  6799. _box, {
  6800. "id": "whiteboards" + cid + stage + task + tool,
  6801. "style": {
  6802. "width": "90%",
  6803. "height": "90%",
  6804. "overflow": 'hidden'
  6805. },
  6806. "onresize": function () { }
  6807. }, {
  6808. closecallback: function () { }
  6809. }, {
  6810. "style": {
  6811. "height": "36px"
  6812. }
  6813. }).form; //创建窗体
  6814. _taskbar = {
  6815. "id": str + _formdiv.id,
  6816. "style": {
  6817. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6818. },
  6819. "name": "电子白板",
  6820. "forms": _formdiv,
  6821. "click": function () {
  6822. U.MD.D.I.openApplication(str, obj, info);
  6823. }
  6824. }
  6825. break;
  6826. case "mind":
  6827. aTool = 3;
  6828. _iframe = $$("iframe", {
  6829. "frameborder": "no",
  6830. "border": "0",
  6831. "scrolling ": "no",
  6832. "style": {
  6833. "cssText": "border:0;width:100%;height:100%"
  6834. },
  6835. "src": "/kityminder-editor/dist/index.html"
  6836. });
  6837. _box.appendChild(_iframe);
  6838. _box.appendChild(_jie);
  6839. _formdiv = new U.UF.UI.form(
  6840. "思维导图",
  6841. _box, { //"/jsmind/example/demo.html"
  6842. "id": "minds" + cid + stage + task + tool,
  6843. "style": {
  6844. "width": "90%",
  6845. "height": "90%",
  6846. "overflow": 'hidden'
  6847. },
  6848. "onresize": function () { }
  6849. }, {
  6850. closecallback: function () { }
  6851. }, {
  6852. "style": {
  6853. "height": "36px"
  6854. }
  6855. }).form; //创建窗体
  6856. _taskbar = {
  6857. "id": str + _formdiv.id,
  6858. "style": {
  6859. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6860. },
  6861. "name": "思维导图",
  6862. "forms": _formdiv,
  6863. "click": function () {
  6864. U.MD.D.I.openApplication(str, obj, info);
  6865. }
  6866. }
  6867. break;
  6868. case "doc":
  6869. aTool = 6;
  6870. _iframe = $$("iframe", {
  6871. "frameborder": "no",
  6872. "border": "0",
  6873. "scrolling ": "no",
  6874. "style": {
  6875. "cssText": "border:0;width:100%;height:100%"
  6876. },
  6877. "src": "/Office/Word/WordEditArea.htm"
  6878. })
  6879. _box.appendChild(_iframe);
  6880. _box.appendChild(_jie);
  6881. _formdiv = new U.UF.UI.form(
  6882. "协同文档",
  6883. _box, {
  6884. "id": "docs" + cid + stage + task + tool,
  6885. "style": {
  6886. "width": "90%",
  6887. "height": "90%",
  6888. "overflow": 'hidden'
  6889. },
  6890. "onresize": function () { }
  6891. }, {
  6892. closecallback: function () { }
  6893. }, {
  6894. "style": {
  6895. "height": "36px"
  6896. }
  6897. }).form; //创建窗体
  6898. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6899. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6900. })
  6901. _taskbar = {
  6902. "id": str + _formdiv.id,
  6903. "style": {
  6904. "backgroundImage": "url(/img/icon/doc.png)"
  6905. },
  6906. "name": "协同文档",
  6907. "forms": _formdiv,
  6908. "click": function () {
  6909. U.MD.D.I.openApplication(str, obj, info);
  6910. }
  6911. }
  6912. break;
  6913. }
  6914. const script1 = document.createElement("script");
  6915. script1.type = "text/javascript";
  6916. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6917. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6918. const script2 = document.createElement("script");
  6919. script2.type = "text/javascript";
  6920. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6921. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6922. const script3 = document.createElement("script");
  6923. script3.type = "text/javascript";
  6924. script3.charset = "UTF-8";
  6925. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6926. const script4 = document.createElement("script");
  6927. script4.type = "text/javascript";
  6928. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6929. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6930. if (_iframe) {
  6931. if (str == 'doc') {
  6932. _iframe = _formdiv.querySelector('iframe')
  6933. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6934. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6935. _iframe.contentWindow.document.body.appendChild(script1);
  6936. _iframe.contentWindow.document.body.appendChild(script2);
  6937. // _iframe.contentWindow.document.body.appendChild(script3);
  6938. _iframe.contentWindow.document.body.appendChild(script4);
  6939. })
  6940. if (onloadListener) {
  6941. _iframe.contentDocument.location.reload()
  6942. } else {
  6943. _iframe.contentDocument.location.reload()
  6944. }
  6945. } else if (str == 'mind') {
  6946. _iframe = _formdiv.querySelector('iframe')
  6947. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6948. _iframe.contentWindow.document.body.appendChild(script1);
  6949. _iframe.contentWindow.document.body.appendChild(script2);
  6950. _iframe.contentWindow.document.body.appendChild(script4);
  6951. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6952. })
  6953. if (onloadListener) {
  6954. _iframe.contentDocument.location.reload()
  6955. } else {
  6956. _iframe.contentDocument.location.reload()
  6957. }
  6958. } else {
  6959. _iframe.onload = () => {
  6960. _iframe.contentWindow.document.body.appendChild(script1);
  6961. _iframe.contentWindow.document.body.appendChild(script2);
  6962. // _iframe.contentWindow.document.body.appendChild(script3);
  6963. _iframe.contentWindow.document.body.appendChild(script4);
  6964. };
  6965. }
  6966. _jie.onclick = async () => {
  6967. let text = ''
  6968. if (aTool == 6) {
  6969. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6970. } else if (aTool == 3) {
  6971. text = await U.MD.D.I.getEditorContent(_iframe);
  6972. }
  6973. _loading.style.display = 'flex'
  6974. console.log(_loading);
  6975. var _ajs = _iframe.contentWindow.document.createElement("script");
  6976. _ajs.type = "text/javascript";
  6977. _ajs.innerHTML =
  6978. // 'console.log(' + _loading + ');\n' +
  6979. 'var _js = document.createElement("script");\n' +
  6980. '_js.type="text/javascript";\n' +
  6981. '_js.charset="UTF-8";\n' +
  6982. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6983. "_js.onload = function(){\n" +
  6984. ' var a = document.getElementsByTagName("img")\n' +
  6985. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6986. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6987. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6988. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6989. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6990. "beforeUpload_shishi(file," +
  6991. "'" +
  6992. _userid +
  6993. "'" +
  6994. ", " +
  6995. "'" +
  6996. _cid +
  6997. "'" +
  6998. ", " +
  6999. "'" +
  7000. _stage +
  7001. "'" +
  7002. ", " +
  7003. "'" +
  7004. _task +
  7005. "'" +
  7006. ", " +
  7007. "'" +
  7008. _tool +
  7009. "'" +
  7010. ", " +
  7011. "'" +
  7012. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7013. "'" +
  7014. ", " +
  7015. "'" +
  7016. aTool +
  7017. "'" +
  7018. ", " +
  7019. "`" +
  7020. text +
  7021. "`" +
  7022. ")\n" +
  7023. " });\n" +
  7024. "}\n" +
  7025. "document.head.appendChild(_js);\n";
  7026. _iframe.contentWindow.document.head.appendChild(_ajs);
  7027. }
  7028. }
  7029. //U.MD.D.I.openClick(str);
  7030. //如果有任务栏信息
  7031. // if (_taskbar) {
  7032. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7033. // }
  7034. }
  7035. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7036. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7037. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7038. _userinfo = US.userInfo, //登录用户信息
  7039. _userid = US.userInfo.userid //登录用户id
  7040. let _iframe;
  7041. let _cid = cid,
  7042. _stage = stage,
  7043. _task = task,
  7044. _tool = tool;
  7045. var _jie = $$("div", {
  7046. "style": {
  7047. "position": "absolute",
  7048. "bottom": "50px",
  7049. "right": "50px",
  7050. "zIndex": "9999",
  7051. "backgroundColor": "#2268bc",
  7052. "color": "#fff",
  7053. "padding": "12px 20px",
  7054. "cursor": "pointer",
  7055. "borderRadius": "4px",
  7056. },
  7057. "innerHTML": "确认并提交"
  7058. })
  7059. let aTool = ''
  7060. let _loading = document.createElement('div')
  7061. _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;"
  7062. // _loading.id = "";
  7063. let _lchild = document.createElement('div')
  7064. let _limg = document.createElement('img')
  7065. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7066. _limg.style = "width: 26px;margin-right: 10px;"
  7067. _lchild.appendChild(_limg)
  7068. let _lspan = document.createElement('span')
  7069. _lspan.innerHTML = "上传中..."
  7070. _lchild.appendChild(_lspan)
  7071. _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%);"
  7072. _loading.appendChild(_lchild)
  7073. var _box = $$('div', {
  7074. "style": {
  7075. "position": "relative",
  7076. "width": "100%",
  7077. "height": "100%",
  7078. },
  7079. })
  7080. _box.appendChild(_loading)
  7081. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7082. switch (str) {
  7083. case "whiteboard":
  7084. aTool = 1;
  7085. _iframe = $$("iframe", {
  7086. "frameborder": "no",
  7087. "border": "0",
  7088. "scrolling ": "no",
  7089. "style": {
  7090. "cssText": "border:0;width:100%;height:100%"
  7091. },
  7092. "src": "https://iwb.cocorobo.cn/"
  7093. })
  7094. _box.appendChild(_iframe);
  7095. _box.appendChild(_jie);
  7096. _formdiv = new U.UF.UI.form(
  7097. "电子白板",
  7098. _box, {
  7099. "id": "whiteboards" + cid + stage + task + tool,
  7100. "style": {
  7101. "width": "90%",
  7102. "height": "90%",
  7103. "overflow": 'hidden'
  7104. },
  7105. "onresize": function () { }
  7106. }, {
  7107. closecallback: function () { }
  7108. }, {
  7109. "style": {
  7110. "height": "36px"
  7111. }
  7112. }).form; //创建窗体
  7113. _taskbar = {
  7114. "id": str + _formdiv.id,
  7115. "style": {
  7116. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7117. },
  7118. "name": "电子白板",
  7119. "forms": _formdiv,
  7120. "click": function () {
  7121. U.MD.D.I.openApplication(str, obj, info);
  7122. }
  7123. }
  7124. break;
  7125. case "mind":
  7126. aTool = 3;
  7127. _iframe = $$("iframe", {
  7128. "frameborder": "no",
  7129. "border": "0",
  7130. "scrolling ": "no",
  7131. "style": {
  7132. "cssText": "border:0;width:100%;height:100%"
  7133. },
  7134. "src": "/kityminder-editor/dist/index.html"
  7135. });
  7136. _box.appendChild(_iframe);
  7137. _box.appendChild(_jie);
  7138. _formdiv = new U.UF.UI.form(
  7139. "思维导图",
  7140. _box, { //"/jsmind/example/demo.html"
  7141. "id": "minds" + cid + stage + task + tool,
  7142. "style": {
  7143. "width": "90%",
  7144. "height": "90%",
  7145. "overflow": 'hidden'
  7146. },
  7147. "onresize": function () { }
  7148. }, {
  7149. closecallback: function () { }
  7150. }, {
  7151. "style": {
  7152. "height": "36px"
  7153. }
  7154. }).form; //创建窗体
  7155. _taskbar = {
  7156. "id": str + _formdiv.id,
  7157. "style": {
  7158. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7159. },
  7160. "name": "思维导图",
  7161. "forms": _formdiv,
  7162. "click": function () {
  7163. U.MD.D.I.openApplication(str, obj, info);
  7164. }
  7165. }
  7166. break;
  7167. case "doc":
  7168. aTool = 6;
  7169. _iframe = $$("iframe", {
  7170. "frameborder": "no",
  7171. "border": "0",
  7172. "scrolling ": "no",
  7173. "style": {
  7174. "cssText": "border:0;width:100%;height:100%"
  7175. },
  7176. "src": "/Office/Word/WordEditArea.htm"
  7177. })
  7178. _box.appendChild(_iframe);
  7179. _box.appendChild(_jie);
  7180. _formdiv = new U.UF.UI.form(
  7181. "协同文档",
  7182. _box, {
  7183. "id": "docs" + cid + stage + task + tool,
  7184. "style": {
  7185. "width": "90%",
  7186. "height": "90%",
  7187. "overflow": 'hidden'
  7188. },
  7189. "onresize": function () { }
  7190. }, {
  7191. closecallback: function () { }
  7192. }, {
  7193. "style": {
  7194. "height": "36px"
  7195. }
  7196. }).form; //创建窗体
  7197. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7198. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7199. })
  7200. _taskbar = {
  7201. "id": str + _formdiv.id,
  7202. "style": {
  7203. "backgroundImage": "url(/img/icon/doc.png)"
  7204. },
  7205. "name": "协同文档",
  7206. "forms": _formdiv,
  7207. "click": function () {
  7208. U.MD.D.I.openApplication(str, obj, info);
  7209. }
  7210. }
  7211. break;
  7212. }
  7213. const script1 = document.createElement("script");
  7214. script1.type = "text/javascript";
  7215. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7216. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7217. const script2 = document.createElement("script");
  7218. script2.type = "text/javascript";
  7219. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7220. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7221. const script3 = document.createElement("script");
  7222. script3.type = "text/javascript";
  7223. script3.charset = "UTF-8";
  7224. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7225. const script4 = document.createElement("script");
  7226. script4.type = "text/javascript";
  7227. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7228. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7229. if (_iframe) {
  7230. if (str == 'doc') {
  7231. _iframe = _formdiv.querySelector('iframe')
  7232. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7233. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7234. _iframe.contentWindow.document.body.appendChild(script1);
  7235. _iframe.contentWindow.document.body.appendChild(script2);
  7236. // _iframe.contentWindow.document.body.appendChild(script3);
  7237. _iframe.contentWindow.document.body.appendChild(script4);
  7238. })
  7239. if (onloadListener) {
  7240. _iframe.contentDocument.location.reload()
  7241. } else {
  7242. _iframe.contentDocument.location.reload()
  7243. }
  7244. } else if (str == 'mind') {
  7245. _iframe = _formdiv.querySelector('iframe')
  7246. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7247. _iframe.contentWindow.document.body.appendChild(script1);
  7248. _iframe.contentWindow.document.body.appendChild(script2);
  7249. _iframe.contentWindow.document.body.appendChild(script4);
  7250. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7251. })
  7252. if (onloadListener) {
  7253. _iframe.contentDocument.location.reload()
  7254. } else {
  7255. _iframe.contentDocument.location.reload()
  7256. }
  7257. } else {
  7258. _iframe.onload = () => {
  7259. _iframe.contentWindow.document.body.appendChild(script1);
  7260. _iframe.contentWindow.document.body.appendChild(script2);
  7261. // _iframe.contentWindow.document.body.appendChild(script3);
  7262. _iframe.contentWindow.document.body.appendChild(script4);
  7263. };
  7264. }
  7265. _jie.onclick = async () => {
  7266. let text = ''
  7267. if (aTool == 6) {
  7268. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7269. } else if (aTool == 3) {
  7270. text = await U.MD.D.I.getEditorContent(_iframe);
  7271. }
  7272. _loading.style.display = 'flex'
  7273. console.log(_loading);
  7274. var _ajs = _iframe.contentWindow.document.createElement("script");
  7275. _ajs.type = "text/javascript";
  7276. _ajs.innerHTML =
  7277. // 'console.log(' + _loading + ');\n' +
  7278. 'var _js = document.createElement("script");\n' +
  7279. '_js.type="text/javascript";\n' +
  7280. '_js.charset="UTF-8";\n' +
  7281. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7282. "_js.onload = function(){\n" +
  7283. ' var a = document.getElementsByTagName("img")\n' +
  7284. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7285. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7286. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7287. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7288. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7289. "beforeUpload_shishi(file," +
  7290. "'" +
  7291. _userid +
  7292. "'" +
  7293. ", " +
  7294. "'" +
  7295. _cid +
  7296. "'" +
  7297. ", " +
  7298. "'" +
  7299. _stage +
  7300. "'" +
  7301. ", " +
  7302. "'" +
  7303. _task +
  7304. "'" +
  7305. ", " +
  7306. "'" +
  7307. _tool +
  7308. "'" +
  7309. ", " +
  7310. "'" +
  7311. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7312. "'" +
  7313. ", " +
  7314. "'" +
  7315. aTool +
  7316. "'" +
  7317. ", " +
  7318. "`" +
  7319. text +
  7320. "`" +
  7321. ")\n" +
  7322. " });\n" +
  7323. "}\n" +
  7324. "document.head.appendChild(_js);\n";
  7325. _iframe.contentWindow.document.head.appendChild(_ajs);
  7326. }
  7327. }
  7328. //U.MD.D.I.openClick(str);
  7329. //如果有任务栏信息
  7330. // if (_taskbar) {
  7331. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7332. // }
  7333. }
  7334. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7335. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7336. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7337. _userinfo = US.userInfo, //登录用户信息
  7338. _userid = US.userInfo.userid //登录用户id
  7339. let _iframe;
  7340. let _cid = cid,
  7341. _stage = stage,
  7342. _task = task,
  7343. _tool = tool;
  7344. var _jie = $$("div", {
  7345. "style": {
  7346. "position": "absolute",
  7347. "bottom": "50px",
  7348. "right": "50px",
  7349. "zIndex": "9999",
  7350. "backgroundColor": "#2268bc",
  7351. "color": "#fff",
  7352. "padding": "12px 20px",
  7353. "cursor": "pointer",
  7354. "borderRadius": "4px",
  7355. },
  7356. "innerHTML": "上传模板"
  7357. })
  7358. let aTool = ''
  7359. let _loading = document.createElement('div')
  7360. _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;"
  7361. // _loading.id = "";
  7362. let _lchild = document.createElement('div')
  7363. let _limg = document.createElement('img')
  7364. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7365. _limg.style = "width: 26px;margin-right: 10px;"
  7366. _lchild.appendChild(_limg)
  7367. let _lspan = document.createElement('span')
  7368. _lspan.innerHTML = "上传中..."
  7369. _lchild.appendChild(_lspan)
  7370. _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%);"
  7371. _loading.appendChild(_lchild)
  7372. var _box = $$('div', {
  7373. "style": {
  7374. "position": "relative",
  7375. "width": "100%",
  7376. "height": "100%",
  7377. },
  7378. })
  7379. _box.appendChild(_loading)
  7380. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7381. switch (str) {
  7382. case "whiteboard":
  7383. aTool = 1;
  7384. _iframe = $$("iframe", {
  7385. "frameborder": "no",
  7386. "border": "0",
  7387. "scrolling ": "no",
  7388. "style": {
  7389. "cssText": "border:0;width:100%;height:100%"
  7390. },
  7391. "src": "https://iwb.cocorobo.cn/"
  7392. })
  7393. _box.appendChild(_iframe);
  7394. _box.appendChild(_jie);
  7395. _formdiv = new U.UF.UI.form(
  7396. "电子白板",
  7397. _box, {
  7398. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7399. "style": {
  7400. "width": "90%",
  7401. "height": "90%",
  7402. "overflow": 'hidden'
  7403. },
  7404. "onresize": function () { }
  7405. }, {
  7406. closecallback: function () { }
  7407. }, {
  7408. "style": {
  7409. "height": "36px"
  7410. }
  7411. }).form; //创建窗体
  7412. _taskbar = {
  7413. "id": str + _formdiv.id,
  7414. "style": {
  7415. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7416. },
  7417. "name": "电子白板",
  7418. "forms": _formdiv,
  7419. "click": function () {
  7420. U.MD.D.I.openApplication(str, obj, info);
  7421. }
  7422. }
  7423. break;
  7424. case "mind":
  7425. aTool = 3;
  7426. _iframe = $$("iframe", {
  7427. "frameborder": "no",
  7428. "border": "0",
  7429. "scrolling ": "no",
  7430. "style": {
  7431. "cssText": "border:0;width:100%;height:100%"
  7432. },
  7433. "src": "/kityminder-editor/dist/index.html"
  7434. });
  7435. _box.appendChild(_iframe);
  7436. _box.appendChild(_jie);
  7437. _formdiv = new U.UF.UI.form(
  7438. "思维导图",
  7439. _box, { //"/jsmind/example/demo.html"
  7440. "id": "minds_Yu" + cid + stage + task + tool,
  7441. "style": {
  7442. "width": "90%",
  7443. "height": "90%",
  7444. "overflow": 'hidden'
  7445. },
  7446. "onresize": function () { }
  7447. }, {
  7448. closecallback: function () { }
  7449. }, {
  7450. "style": {
  7451. "height": "36px"
  7452. }
  7453. }).form; //创建窗体
  7454. _taskbar = {
  7455. "id": str + _formdiv.id,
  7456. "style": {
  7457. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7458. },
  7459. "name": "思维导图",
  7460. "forms": _formdiv,
  7461. "click": function () {
  7462. U.MD.D.I.openApplication(str, obj, info);
  7463. }
  7464. }
  7465. break;
  7466. case "doc":
  7467. aTool = 6;
  7468. _iframe = $$("iframe", {
  7469. "frameborder": "no",
  7470. "border": "0",
  7471. "scrolling ": "no",
  7472. "style": {
  7473. "cssText": "border:0;width:100%;height:100%"
  7474. },
  7475. "src": "/Office/Word/WordEditArea.htm"
  7476. })
  7477. _box.appendChild(_iframe);
  7478. _box.appendChild(_jie);
  7479. _formdiv = new U.UF.UI.form(
  7480. "协同文档",
  7481. _box, {
  7482. "id": "docs_Yu" + cid + stage + task + tool,
  7483. "style": {
  7484. "width": "90%",
  7485. "height": "90%",
  7486. "overflow": 'hidden'
  7487. },
  7488. "onresize": function () { }
  7489. }, {
  7490. closecallback: function () { }
  7491. }, {
  7492. "style": {
  7493. "height": "36px"
  7494. }
  7495. }).form; //创建窗体
  7496. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7497. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7498. })
  7499. _taskbar = {
  7500. "id": str + _formdiv.id,
  7501. "style": {
  7502. "backgroundImage": "url(/img/icon/doc.png)"
  7503. },
  7504. "name": "协同文档",
  7505. "forms": _formdiv,
  7506. "click": function () {
  7507. U.MD.D.I.openApplication(str, obj, info);
  7508. }
  7509. }
  7510. break;
  7511. case "CocoPi":
  7512. aTool = 57;
  7513. _iframe = $$("iframe", {
  7514. "allowpaymentrequest": "allowpaymentrequest",
  7515. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7516. "webkitallowfullscreen": "",
  7517. "mozallowfullscreen": "",
  7518. "frameborder": "no",
  7519. "border": "0",
  7520. "scrolling ": "no",
  7521. "style": {
  7522. "cssText": "border:0;width:100%;height:100%"
  7523. },
  7524. "src": "https://pi.cocorobo.cn/"
  7525. })
  7526. _box.appendChild(_iframe);
  7527. _box.appendChild(_jie);
  7528. _formdiv = new U.UF.UI.form(
  7529. "CocoPi",
  7530. _box, {
  7531. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7532. "style": {
  7533. "width": "90%",
  7534. "height": "90%",
  7535. "overflow": 'hidden'
  7536. },
  7537. "onresize": function () { }
  7538. }, {
  7539. closecallback: function () { }
  7540. }, {
  7541. "style": {
  7542. "height": "36px"
  7543. }
  7544. }).form; //创建窗体
  7545. _taskbar = {
  7546. "id": str + _formdiv.id,
  7547. "style": {
  7548. "backgroundImage": "url(/img/icon/cocopi.png)"
  7549. },
  7550. "name": "CocoPi",
  7551. "forms": _formdiv,
  7552. "click": function () {
  7553. U.MD.D.I.openApplication(str, obj, info);
  7554. }
  7555. }
  7556. break;
  7557. }
  7558. if (_iframe) {
  7559. if (str == 'doc') {
  7560. _iframe = _formdiv.querySelector('iframe')
  7561. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7562. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7563. })
  7564. if (onloadListener) {
  7565. _iframe.contentDocument.location.reload()
  7566. } else {
  7567. _iframe.contentDocument.location.reload()
  7568. }
  7569. } else if (str == 'mind') {
  7570. _iframe = _formdiv.querySelector('iframe')
  7571. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7572. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7573. })
  7574. if (onloadListener) {
  7575. _iframe.contentDocument.location.reload()
  7576. } else {
  7577. _iframe.contentDocument.location.reload()
  7578. }
  7579. } else if (str == 'whiteboard') {
  7580. _iframe = _formdiv.querySelector('iframe')
  7581. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7582. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7583. })
  7584. if (onloadListener) {
  7585. _iframe.contentDocument.location.reload()
  7586. } else {
  7587. _iframe.contentDocument.location.reload()
  7588. }
  7589. } else if (str == 'CocoPi') {
  7590. _iframe = _formdiv.querySelector('iframe')
  7591. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7592. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7593. })
  7594. if (onloadListener) {
  7595. _iframe.contentDocument.location.reload()
  7596. } else {
  7597. _iframe.contentDocument.location.reload()
  7598. }
  7599. } else {
  7600. _iframe.onload = () => { };
  7601. }
  7602. _jie.onclick = async () => {
  7603. let text = ''
  7604. let type = '2'
  7605. if (aTool == 1) {
  7606. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7607. type = '3'
  7608. } else if (aTool == 6) {
  7609. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7610. type = '1'
  7611. } else if (aTool == 3) {
  7612. text = await U.MD.D.I.getEditorContent(_iframe);
  7613. type = '2'
  7614. } else if (aTool == 57) {
  7615. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7616. type = '4'
  7617. }
  7618. _loading.style.display = 'flex'
  7619. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7620. }
  7621. }
  7622. //U.MD.D.I.openClick(str);
  7623. //如果有任务栏信息
  7624. // if (_taskbar) {
  7625. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7626. // }
  7627. }
  7628. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7629. var xmlhttp;
  7630. var Mac, Sn, DeviceId
  7631. if (window.XMLHttpRequest) {
  7632. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7633. xmlhttp = new XMLHttpRequest();
  7634. } else {
  7635. // IE6, IE5 浏览器执行代码
  7636. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7637. }
  7638. xmlhttp.onreadystatechange = function () {
  7639. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7640. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7641. // resolve(res.value[0][0].text);
  7642. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7643. }
  7644. }
  7645. }
  7646. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7647. xmlhttp.send();
  7648. }
  7649. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7650. var xmlhttp;
  7651. var Mac, Sn, DeviceId
  7652. if (window.XMLHttpRequest) {
  7653. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7654. xmlhttp = new XMLHttpRequest();
  7655. } else {
  7656. // IE6, IE5 浏览器执行代码
  7657. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7658. }
  7659. xmlhttp.onreadystatechange = function () {
  7660. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7661. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7662. // resolve(res.value[0][0].text);
  7663. if (type == '2') {
  7664. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7665. } else if (type == '3') {
  7666. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7667. } else if (type == '4') {
  7668. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7669. }
  7670. } else {
  7671. if (type == '2') {
  7672. iframe.contentWindow.editor.minder.importData('json', '')
  7673. } else if (type == '3') {
  7674. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7675. } else if (type == '4') {
  7676. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7677. }
  7678. }
  7679. }
  7680. }
  7681. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7682. xmlhttp.send();
  7683. }
  7684. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7685. var xmlhttp;
  7686. var Mac, Sn, DeviceId
  7687. if (window.XMLHttpRequest) {
  7688. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7689. xmlhttp = new XMLHttpRequest();
  7690. } else {
  7691. // IE6, IE5 浏览器执行代码
  7692. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7693. }
  7694. xmlhttp.onreadystatechange = function () {
  7695. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7696. if (xmlhttp.response) {
  7697. // resolve(res.value[0][0].text);
  7698. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7699. // $(fileInput).val('');
  7700. // });
  7701. span.innerHTML = '上传成功'
  7702. setTimeout(() => {
  7703. loading.style.display = 'none'
  7704. }, 1000);
  7705. }
  7706. }
  7707. }
  7708. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7709. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7710. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7711. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7712. // 设置请求头,表示请求体的编码格式
  7713. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7714. // 设置请求体,使用url-encoded格式的数据
  7715. }
  7716. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7717. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7718. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7719. _userinfo = US.userInfo, //登录用户信息
  7720. _userid = US.userInfo.userid //登录用户id
  7721. let _iframe;
  7722. let _cid = cid,
  7723. _stage = stage,
  7724. _task = task,
  7725. _tool = tool;
  7726. var _jie = $$("div", {
  7727. "style": {
  7728. "position": "absolute",
  7729. "bottom": "50px",
  7730. "right": "50px",
  7731. "zIndex": "9999",
  7732. "backgroundColor": "#2268bc",
  7733. "color": "#fff",
  7734. "padding": "12px 20px",
  7735. "cursor": "pointer",
  7736. "borderRadius": "4px",
  7737. },
  7738. "innerHTML": "提交作业"
  7739. })
  7740. let aTool = ''
  7741. let _loading = document.createElement('div')
  7742. _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;"
  7743. // _loading.id = "";
  7744. let _lchild = document.createElement('div')
  7745. let _limg = document.createElement('img')
  7746. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7747. _limg.style = "width: 26px;margin-right: 10px;"
  7748. _lchild.appendChild(_limg)
  7749. let _lspan = document.createElement('span')
  7750. _lspan.innerHTML = "上传中..."
  7751. _lchild.appendChild(_lspan)
  7752. _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%);"
  7753. _loading.appendChild(_lchild)
  7754. var _box = $$('div', {
  7755. "style": {
  7756. "position": "relative",
  7757. "width": "100%",
  7758. "height": "100%",
  7759. },
  7760. })
  7761. _box.appendChild(_loading)
  7762. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7763. switch (str) {
  7764. case "CocoPi":
  7765. aTool = 57;
  7766. _iframe = $$("iframe", {
  7767. "allowpaymentrequest": "allowpaymentrequest",
  7768. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7769. "webkitallowfullscreen": "",
  7770. "mozallowfullscreen": "",
  7771. "frameborder": "no",
  7772. "border": "0",
  7773. "scrolling ": "no",
  7774. "style": {
  7775. "cssText": "border:0;width:100%;height:100%"
  7776. },
  7777. "src": "https://pi.cocorobo.cn/"
  7778. })
  7779. _box.appendChild(_iframe);
  7780. _box.appendChild(_jie);
  7781. _formdiv = new U.UF.UI.form(
  7782. "CocoPi",
  7783. _box, {
  7784. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7785. "style": {
  7786. "width": "90%",
  7787. "height": "90%",
  7788. "overflow": 'hidden'
  7789. },
  7790. "onresize": function () { }
  7791. }, {
  7792. closecallback: function () { }
  7793. }, {
  7794. "style": {
  7795. "height": "36px"
  7796. }
  7797. }).form; //创建窗体
  7798. _taskbar = {
  7799. "id": str + _formdiv.id,
  7800. "style": {
  7801. "backgroundImage": "url(/img/icon/cocopi.png)"
  7802. },
  7803. "name": "CocoPi",
  7804. "forms": _formdiv,
  7805. "click": function () {
  7806. U.MD.D.I.openApplication(str, obj, info);
  7807. }
  7808. }
  7809. break;
  7810. }
  7811. if (_iframe) {
  7812. if (str == 'CocoPi') {
  7813. _iframe = _formdiv.querySelector('iframe')
  7814. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7815. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7816. })
  7817. if (onloadListener) {
  7818. _iframe.contentDocument.location.reload()
  7819. } else {
  7820. _iframe.contentDocument.location.reload()
  7821. }
  7822. }
  7823. _jie.onclick = async () => {
  7824. let text = ''
  7825. if (aTool == 57) {
  7826. text = _iframe.contentWindow.getLoadXmlStr()
  7827. }
  7828. _loading.style.display = 'flex'
  7829. console.log(_loading);
  7830. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7831. _loading.style.display = 'none'
  7832. let _div = document.createElement('div')
  7833. _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;"
  7834. let _inner = document.createElement('div')
  7835. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7836. _inner.innerHTML = "上传成功"
  7837. _div.appendChild(_inner)
  7838. _iframe.contentWindow.window.document.body.appendChild(_div)
  7839. _div.onclick = () => {
  7840. _iframe.contentWindow.window.document.body.removeChild(_div)
  7841. }
  7842. setTimeout(() => {
  7843. _iframe.contentWindow.window.document.body.removeChild(_div)
  7844. }, 1000);
  7845. }, [], { "type": "POST", "withCredentials": true });
  7846. }
  7847. }
  7848. }
  7849. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7850. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7851. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7852. _userid = student.userid, //登录用户id
  7853. _username = student.student //用户名字
  7854. let _iframe;
  7855. let _cid = cid,
  7856. _stage = stage,
  7857. _task = task,
  7858. _tool = tool;
  7859. var _jie = $$("div", {
  7860. "style": {
  7861. "position": "absolute",
  7862. "bottom": "50px",
  7863. "right": "50px",
  7864. "zIndex": "9999",
  7865. "backgroundColor": "#2268bc",
  7866. "color": "#fff",
  7867. "padding": "12px 20px",
  7868. "cursor": "pointer",
  7869. "borderRadius": "4px",
  7870. },
  7871. "innerHTML": "提交作业"
  7872. })
  7873. let aTool = ''
  7874. let _loading = document.createElement('div')
  7875. _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;"
  7876. // _loading.id = "";
  7877. let _lchild = document.createElement('div')
  7878. let _limg = document.createElement('img')
  7879. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7880. _limg.style = "width: 26px;margin-right: 10px;"
  7881. _lchild.appendChild(_limg)
  7882. let _lspan = document.createElement('span')
  7883. _lspan.innerHTML = "上传中..."
  7884. _lchild.appendChild(_lspan)
  7885. _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%);"
  7886. _loading.appendChild(_lchild)
  7887. var _box = $$('div', {
  7888. "style": {
  7889. "position": "relative",
  7890. "width": "100%",
  7891. "height": "100%",
  7892. },
  7893. })
  7894. _box.appendChild(_loading)
  7895. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7896. switch (str) {
  7897. case "CocoPi":
  7898. aTool = 57;
  7899. _iframe = $$("iframe", {
  7900. "allowpaymentrequest": "allowpaymentrequest",
  7901. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7902. "webkitallowfullscreen": "",
  7903. "mozallowfullscreen": "",
  7904. "frameborder": "no",
  7905. "border": "0",
  7906. "scrolling ": "no",
  7907. "style": {
  7908. "cssText": "border:0;width:100%;height:100%"
  7909. },
  7910. "src": "https://pi.cocorobo.cn/"
  7911. })
  7912. _box.appendChild(_iframe);
  7913. _box.appendChild(_jie);
  7914. _formdiv = new U.UF.UI.form(
  7915. "CocoPi-" + _username,
  7916. _box, {
  7917. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7918. "style": {
  7919. "width": "90%",
  7920. "height": "90%",
  7921. "overflow": 'hidden'
  7922. },
  7923. "onresize": function () { }
  7924. }, {
  7925. closecallback: function () { }
  7926. }, {
  7927. "style": {
  7928. "height": "36px"
  7929. }
  7930. }).form; //创建窗体
  7931. _taskbar = {
  7932. "id": str + _formdiv.id,
  7933. "style": {
  7934. "backgroundImage": "url(/img/icon/cocopi.png)"
  7935. },
  7936. "name": "CocoPi",
  7937. "forms": _formdiv,
  7938. "click": function () {
  7939. U.MD.D.I.openApplication(str, obj, info);
  7940. }
  7941. }
  7942. break;
  7943. }
  7944. if (_iframe) {
  7945. if (str == 'CocoPi') {
  7946. _iframe = _formdiv.querySelector('iframe')
  7947. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7948. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7949. })
  7950. if (onloadListener) {
  7951. _iframe.contentDocument.location.reload()
  7952. } else {
  7953. _iframe.contentDocument.location.reload()
  7954. }
  7955. }
  7956. _jie.onclick = async () => {
  7957. let text = ''
  7958. if (aTool == 57) {
  7959. text = _iframe.contentWindow.getLoadXmlStr()
  7960. }
  7961. _loading.style.display = 'flex'
  7962. console.log(_loading);
  7963. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7964. _loading.style.display = 'none'
  7965. let _div = document.createElement('div')
  7966. _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;"
  7967. let _inner = document.createElement('div')
  7968. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7969. _inner.innerHTML = "上传成功"
  7970. _div.appendChild(_inner)
  7971. _iframe.contentWindow.window.document.body.appendChild(_div)
  7972. _div.onclick = () => {
  7973. _iframe.contentWindow.window.document.body.removeChild(_div)
  7974. }
  7975. setTimeout(() => {
  7976. _iframe.contentWindow.window.document.body.removeChild(_div)
  7977. }, 1000);
  7978. }, [], { "type": "POST", "withCredentials": true });
  7979. }
  7980. }
  7981. }
  7982. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7983. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7984. if (res.value[0].length > 0) {
  7985. if (atool == 57) {
  7986. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7987. }
  7988. } else {
  7989. if (atool == 57) {
  7990. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7991. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7992. }
  7993. }
  7994. }, [], { "type": "POST", "withCredentials": true });
  7995. }