DeskTop.js 471 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036
  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. ];
  51. //极简模式
  52. U.MD.D.I.easyDeskIcon = [
  53. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  54. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  55. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  57. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  58. ];
  59. //教师桌面图标的全局变量
  60. U.MD.D.I.teacherDeskIcon2 = [
  61. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  62. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  63. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  64. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  65. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  66. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  67. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  68. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  69. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  70. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  71. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  72. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  73. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  74. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  75. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  76. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  77. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  78. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  79. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  80. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  81. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  82. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  83. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  84. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  85. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  86. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  87. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  88. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  89. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  90. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  91. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  92. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  93. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  94. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  95. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  96. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  97. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  98. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  99. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  100. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  101. ];
  102. U.MD.D.I.studentDeskIcon = [
  103. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  104. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  105. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  106. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  107. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  108. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  109. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  110. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  111. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  112. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  113. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  114. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  115. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  116. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  117. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  118. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  119. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  120. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  121. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  122. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  123. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  124. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  125. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  126. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  127. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  128. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  129. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  130. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  131. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  132. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  133. ];
  134. U.MD.D.I.studentDeskIcon2 = [
  135. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  136. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  137. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  138. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  139. ]
  140. U.MD.D.I.studentDeskIcon3 = [
  141. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  142. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  143. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  144. ]
  145. U.MD.D.I.schoolDeskIcon = [
  146. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  147. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  148. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  149. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  150. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  151. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  152. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  153. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  154. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  155. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  156. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  157. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  158. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  159. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  160. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  161. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  162. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  163. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  164. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  165. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  166. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  167. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  168. ];
  169. U.MD.D.I.orgDeskIcon = [
  170. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  171. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  172. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  173. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  174. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  175. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  176. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  177. ];
  178. U.MD.D.I.orgStemDeskIcon = [
  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": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  182. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  183. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  184. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  185. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  186. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  187. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  188. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  189. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  190. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  191. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  192. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  193. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  194. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  195. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  196. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  197. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  198. ];
  199. U.MD.D.I.szulsDeskIcon = [
  200. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  201. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  202. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  203. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  204. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  205. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  206. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  207. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  208. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  209. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  210. ];
  211. U.MD.D.I.hanDeskIcon = [
  212. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  213. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  214. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  215. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  216. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  217. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  218. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  219. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  220. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  221. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  222. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  223. ];
  224. U.MD.D.I.GMteacherDeskIcon = [
  225. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  226. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  227. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  228. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  229. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  230. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  231. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  232. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  233. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  234. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  235. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  236. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  237. ];
  238. U.MD.D.I.GMstudentDeskIcon = [
  239. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  240. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  241. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  242. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  243. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  244. ];
  245. //北师大
  246. U.MD.D.I.BSDNSteacherDeskIcon = [
  247. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  248. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  249. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  250. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  251. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  252. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  253. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  254. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  255. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  256. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  257. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  258. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  259. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  260. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  261. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  262. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  263. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  264. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  265. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  266. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  267. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  268. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  269. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  270. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  271. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  272. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  273. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  274. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  275. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  276. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  277. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  278. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  279. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  280. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  281. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  282. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  283. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  284. ];
  285. //松山湖
  286. U.MD.D.I.SONGteacherDeskIcon = [
  287. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  288. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  289. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  290. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  291. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  292. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  293. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  294. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  295. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  296. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  297. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  298. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  299. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  300. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  301. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  302. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  303. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  304. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  305. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  306. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  307. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  308. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  309. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  310. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  311. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  312. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  313. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  314. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  315. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  316. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  317. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  318. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  319. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  320. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  321. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  322. ];
  323. U.MD.D.I.tcStudentDeskIcon = [
  324. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  325. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  326. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  327. ];
  328. U.MD.D.I.tcTeacherDeskIcon = [
  329. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  330. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  331. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  332. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  333. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  334. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  335. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  336. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  337. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  338. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  339. ];
  340. U.MD.D.I.tcOrganizerDeskIcon = [
  341. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  342. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  343. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  344. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  345. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  346. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  347. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  348. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.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.szscStudentDeskIcon = [
  354. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  355. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  356. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  357. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  358. ];
  359. U.MD.D.I.szscTeacherDeskIcon = [
  360. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  361. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  362. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  363. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  364. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  365. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  366. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  367. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  368. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  369. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  370. ];
  371. U.MD.D.I.szscOrganizerDeskIcon = [
  372. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  373. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  374. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  375. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  376. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  377. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  378. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  379. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  380. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  381. ];
  382. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  383. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  384. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  385. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  386. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  387. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  388. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  389. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  390. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  391. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  392. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  393. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  394. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  395. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  396. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  397. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  398. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  399. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  400. ];
  401. U.MD.D.I.wankeAdminDeskIcon = [
  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": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  405. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  406. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  407. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  408. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  409. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  410. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  411. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  412. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  413. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  414. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  415. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  416. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  417. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  418. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  419. ];
  420. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  421. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  422. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  423. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  424. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  425. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  426. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  427. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  428. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  429. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  430. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  431. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  432. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  433. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  434. ];
  435. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  436. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  437. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  438. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  439. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  440. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  441. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  442. { "Name": "教研室", "Url": "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": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  446. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  447. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  448. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  449. ];
  450. //明德教师桌面图标的全局变量
  451. U.MD.D.I.MingdeTeacherDeskIcon = [
  452. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  453. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  454. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  455. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  456. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  457. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  458. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  459. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  460. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  461. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  462. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  463. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  464. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  465. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  466. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  467. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  468. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  469. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  470. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  471. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  472. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  473. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  474. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  475. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  476. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  477. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  478. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  479. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  480. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  481. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  482. ];
  483. //97c4ee8b-d010-4042-986d-e9d3c217264f
  484. //教师桌面图标的全局变量
  485. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  486. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  487. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  488. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  489. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  490. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  491. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  492. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  493. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  494. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  495. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  496. ];
  497. //福田
  498. U.MD.D.I.futianTeacherDeskIcon = [
  499. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  500. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  501. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  502. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  503. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  504. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  505. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  506. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  507. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  508. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  509. ];
  510. //福田
  511. U.MD.D.I.futianAdminDeskIcon = [
  512. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  513. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  514. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  515. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  516. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  517. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  518. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  519. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  520. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  521. ];
  522. //lotech
  523. U.MD.D.I.lotechTeacherDeskIcon = [
  524. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  525. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  526. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  527. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  528. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  529. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  530. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  531. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  532. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  533. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  534. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  535. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  536. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  537. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  538. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  539. ];
  540. //龙华中心小学教师桌面图标的全局变量
  541. U.MD.D.I.longhuateacherDeskIcon = [
  542. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  543. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  544. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  545. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  546. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  547. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  548. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  549. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  550. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  551. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  552. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  553. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  554. ];
  555. //教科院实小教师桌面图标的全局变量
  556. U.MD.D.I.siesteacherDeskIcon = [
  557. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  558. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  559. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  560. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  561. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  562. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  563. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  564. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  565. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  566. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  567. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  568. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  569. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  570. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  571. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  572. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  573. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  574. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  575. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  576. { "Name": "数据看板", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  577. ];
  578. //教科院实小教师桌面图标的全局变量
  579. U.MD.D.I.siesStudentDeskIcon = [
  580. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  581. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  582. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  583. ];
  584. //福田
  585. U.MD.D.I.gdjgTeacherDeskIcon = [
  586. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  587. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  588. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  589. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  590. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  591. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  592. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  593. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  594. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  595. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  596. ];
  597. //gdjg
  598. U.MD.D.I.gdjgAdminDeskIcon = [
  599. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  600. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  601. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  602. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  603. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  604. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  605. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  606. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  607. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  608. ];
  609. //hk
  610. U.MD.D.I.hkteacherDeskIcon = [
  611. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  612. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  613. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  614. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  615. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  616. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.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": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  620. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  621. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  622. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  623. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  624. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  625. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  626. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  627. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  628. ];
  629. //hk
  630. U.MD.D.I.hkStudentDeskIcon = [
  631. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  632. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  633. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  634. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  635. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  636. ];
  637. //香海正覺蓮社佛教正覺中學
  638. U.MD.D.I.hkZJLSteacherDeskIcon = [
  639. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  640. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  641. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  642. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  643. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  644. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  645. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  646. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  647. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  648. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  649. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  650. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  651. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  652. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  653. ];
  654. //香海正覺蓮社佛教正覺中學
  655. U.MD.D.I.hkZJLSStudentDeskIcon = [
  656. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  657. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  658. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  659. ];
  660. //云海
  661. U.MD.D.I.yunhaiTeacherDeskIcon = [
  662. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  663. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  664. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  665. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  666. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  667. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  668. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  669. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  670. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  671. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  672. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  673. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  674. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  675. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  676. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  677. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  678. ];
  679. //福田
  680. U.MD.D.I.heyuanTeacherDeskIcon = [
  681. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  682. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  683. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  684. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  685. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  686. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  687. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  688. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  689. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  690. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  691. ];
  692. //福田
  693. U.MD.D.I.heyuanAdminDeskIcon = [
  694. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  695. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  696. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  697. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  698. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  699. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  700. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  701. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  702. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  703. ];
  704. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  705. U.MD.D.I.szherTeacherDeskIcon = [
  706. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  707. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  708. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  709. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  710. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  711. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  712. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  713. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  714. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  715. ];
  716. //dsei
  717. U.MD.D.I.dseiTeacherDeskIcon = [
  718. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  719. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  720. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  721. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  722. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  723. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  724. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  725. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  726. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  727. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  728. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  729. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  730. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  731. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  732. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  733. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  734. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  735. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  736. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  737. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  738. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  739. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  740. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  741. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  742. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  743. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  744. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  745. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  746. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  747. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  748. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  749. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  750. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  751. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  752. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  753. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  754. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  755. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  756. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  757. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  758. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  759. ];
  760. //dsei
  761. U.MD.D.I.dseiAdminDeskIcon = [
  762. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  763. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  764. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  765. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  766. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  767. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  768. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  769. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  770. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  771. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  772. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  773. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  774. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  775. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  776. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  777. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  778. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  779. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  780. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  781. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  782. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  783. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  784. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  785. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  786. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  787. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  788. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  789. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  790. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  791. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  792. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  793. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  794. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  795. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  796. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  797. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  798. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  799. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  800. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  801. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  802. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  803. ];
  804. //dsei
  805. U.MD.D.I.dseiStudentDeskIcon = [
  806. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  807. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  808. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  809. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  810. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  811. ];
  812. //未来教育基地
  813. U.MD.D.I.szjkyTeacherDeskIcon = [
  814. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  815. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  816. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  817. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  818. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  819. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  820. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  821. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  822. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  823. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  824. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  825. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  826. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  827. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  828. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  829. ];
  830. //未来教育基地
  831. U.MD.D.I.szjkyAdminDeskIcon = [
  832. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  833. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  834. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  835. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  836. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  837. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  838. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  839. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  840. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  841. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  842. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  843. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  844. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  845. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  846. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  847. ];
  848. //未来教育基地
  849. U.MD.D.I.szjkyStudentDeskIcon = [
  850. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  851. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  852. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  853. ];
  854. //成华教育局
  855. U.MD.D.I.chjyjTeacherDeskIcon = [
  856. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  857. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  858. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  859. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  860. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  861. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  862. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  863. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  864. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  865. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  866. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  867. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  868. ];
  869. //成华教育局chjyj
  870. U.MD.D.I.chjyjAdminDeskIcon = [
  871. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  872. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  873. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  874. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  875. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  876. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  877. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  878. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  879. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  880. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  881. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  882. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  883. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  884. ];
  885. //成华教育局chjyj
  886. U.MD.D.I.chjyjStudentDeskIcon = [
  887. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  888. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  889. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  890. ];
  891. //tpc
  892. U.MD.D.I.tpcStudentDeskIcon = [
  893. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  894. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  895. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  896. ];
  897. //tpc
  898. U.MD.D.I.tpcTeacherDeskIcon = [
  899. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  900. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  901. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  902. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  903. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  904. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  905. ];
  906. //tpc
  907. U.MD.D.I.tpcAdminDeskIcon = [
  908. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  909. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  910. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  911. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  912. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  913. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  914. ];
  915. //THU-IOE
  916. U.MD.D.I.thuioeTeacherDeskIcon = [
  917. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  918. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  919. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  920. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  921. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  922. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  923. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  924. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  925. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  926. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  927. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  928. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  929. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  930. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  931. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  932. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  933. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  934. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  935. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  936. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  937. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  938. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  939. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  940. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  941. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  942. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  943. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  944. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  945. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  946. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  947. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  948. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  949. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  950. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  951. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  952. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  953. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  954. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  955. ];
  956. //THU-IOE
  957. U.MD.D.I.thuioeStudentDeskIcon = [
  958. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  959. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  960. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  961. ];
  962. //jccssyl
  963. U.MD.D.I.jccssylTeacherDeskIcon = [
  964. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  965. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  966. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  967. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  968. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  969. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  970. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  971. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  972. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  973. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  974. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  975. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  976. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  977. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  978. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  979. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  980. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  981. ];
  982. //jccssyl
  983. U.MD.D.I.jccssylStudentDeskIcon = [
  984. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  985. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  986. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  987. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  988. ];
  989. //#region 桌面初始化a
  990. /**
  991. * 初始化桌面的起始函数
  992. *
  993. */
  994. U.MD.D.I.init = function () {
  995. if ($("#U_MD_D_K")[0]) {
  996. //初始化桌面图标
  997. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  998. // var clickUrl = ':12588/requestIp.php';
  999. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1000. // U.MD.D.I.Ip = data;
  1001. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1002. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1003. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1004. // })
  1005. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1006. // })
  1007. }
  1008. }
  1009. /**
  1010. * 模式切换
  1011. *
  1012. */
  1013. U.MD.D.I.ModeCheck = function (type) {
  1014. if (US.Config.type == type) {
  1015. return
  1016. }
  1017. US.Config.type = type
  1018. $('.U_PBL_Check .active')[0].className = ''
  1019. if (type == 1) {
  1020. $('.U_PBL_Check div')[0].className = 'active'
  1021. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1022. } else {
  1023. $('.U_PBL_Check div')[1].className = 'active'
  1024. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1025. }
  1026. //初始化桌面图标
  1027. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1028. if (type == 2) {
  1029. U.MD.D.I.openApplication("project")
  1030. }
  1031. }
  1032. /**
  1033. * 隐藏任务栏
  1034. *
  1035. * @param {element} 桌面元素
  1036. */
  1037. U.MD.D.I.hiddenTaskbar = function (el) {
  1038. //任务栏位置变小
  1039. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1040. //桌面的位置变大
  1041. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1042. }
  1043. /**
  1044. * 隐藏任务栏
  1045. *
  1046. * @param {element} 桌面元素
  1047. */
  1048. U.MD.D.I.hiddenTaskbarout = function (el) {
  1049. //任务栏位置变小
  1050. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1051. //任务栏位置变化
  1052. U.selectEl(el).css({ "bottom": "-60px" });
  1053. //桌面的位置变大
  1054. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1055. }
  1056. }
  1057. /**
  1058. * 初始化打印桌面图标
  1059. *
  1060. * @param {element} 桌面元素
  1061. */
  1062. U.MD.D.I.initDesktopIcons = function (el, type) {
  1063. var i, //用于循环
  1064. _content, //桌面图标元素
  1065. _iconcontent, //桌面图标元素
  1066. _frag = $$("frag"), //定义一个碎片元素
  1067. _type = US.userInfo.type,
  1068. _org = US.userInfo.org,
  1069. _oid = US.userInfo.organizeid,
  1070. _role = US.userInfo.role,
  1071. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1072. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1073. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1074. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1075. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1076. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1077. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1078. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1079. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1080. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1081. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1082. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1083. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1084. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1085. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1086. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1087. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1088. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1089. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1090. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1091. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1092. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1093. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1094. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1095. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1096. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1097. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1098. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1099. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1100. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1101. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1102. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1103. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1104. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1105. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1106. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1107. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1108. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1109. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1110. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1111. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1112. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1113. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1114. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1115. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1116. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1117. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1118. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1119. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1120. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1121. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1122. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1123. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1124. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1125. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1126. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1127. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1128. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1129. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1130. 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'];
  1131. 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'];
  1132. //清楚桌面图标
  1133. el.innerHTML = "";
  1134. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1135. _teacherDesktopIconInfo.push(
  1136. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1137. { "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)" } },
  1138. )
  1139. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1140. }
  1141. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1142. _teacherDesktopIconInfo.push(
  1143. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1144. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1145. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1146. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1147. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1148. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1149. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1150. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1151. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1152. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1153. )
  1154. }
  1155. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1156. _teacherDesktopIconInfo.push(
  1157. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1158. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1159. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1160. )
  1161. }
  1162. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1163. _teacherDesktopIconInfo.push(
  1164. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1165. )
  1166. }
  1167. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1168. _teacherDesktopIconInfo.push(
  1169. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1170. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1171. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1172. )
  1173. _studentDesktopIconInfo.push(
  1174. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1175. )
  1176. }
  1177. //麒麟二中 和 民新小学
  1178. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1179. _teacherDesktopIconInfo.push(
  1180. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1181. )
  1182. }
  1183. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1184. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1185. _teacherDesktopIconInfo.push(
  1186. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1187. )
  1188. }
  1189. //麒麟二中
  1190. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1191. _studentDesktopIconInfo.push(
  1192. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1193. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1194. )
  1195. }
  1196. //万科双语
  1197. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1198. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1199. if (el.Name == '项目管理') {
  1200. el.Name = 'PBL项目'
  1201. }
  1202. return el
  1203. })
  1204. _studentDesktopIconInfo3.push(
  1205. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1206. )
  1207. }
  1208. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1209. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1210. return el.Name != '魔盒识字' && el.Name != '24点'
  1211. })
  1212. }
  1213. 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) {
  1214. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },)
  1215. }
  1216. //循环创建桌面图标
  1217. if (type == 1) {
  1218. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1219. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1220. _content = $$("div", {
  1221. className: "U_MD_D_KO",
  1222. "onmousedown": U.UF.C.closure(function (obj) {
  1223. //防止拖动图标即打开了桌面应用
  1224. U.MD.D.click(this, obj);
  1225. }, [_studentDesktopIconInfo[i]]),
  1226. "onclick": U.UF.C.closure(function (obj) {
  1227. //防止拖动图标即打开了桌面应用
  1228. U.MD.D.click(this, obj);
  1229. }, [_studentDesktopIconInfo[i]])
  1230. }, _frag); //
  1231. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1232. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1233. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1234. }
  1235. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1236. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1237. _content = $$("div", {
  1238. className: "U_MD_D_KO",
  1239. "onmousedown": U.UF.C.closure(function (obj) {
  1240. //防止拖动图标即打开了桌面应用
  1241. U.MD.D.click(this, obj);
  1242. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1243. "onclick": U.UF.C.closure(function (obj) {
  1244. //防止拖动图标即打开了桌面应用
  1245. U.MD.D.click(this, obj);
  1246. }, [_hkZJLSStudentDeskIconInfo[i]])
  1247. }, _frag); //
  1248. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1249. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1250. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1251. } //
  1252. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1253. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1254. _content = $$("div", {
  1255. className: "U_MD_D_KO",
  1256. "onmousedown": U.UF.C.closure(function (obj) {
  1257. //防止拖动图标即打开了桌面应用
  1258. U.MD.D.click(this, obj);
  1259. }, [_jccssylStudentDeskIconInfo[i]]),
  1260. "onclick": U.UF.C.closure(function (obj) {
  1261. //防止拖动图标即打开了桌面应用
  1262. U.MD.D.click(this, obj);
  1263. }, [_jccssylStudentDeskIconInfo[i]])
  1264. }, _frag); //
  1265. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1266. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1267. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1268. }
  1269. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1270. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1271. _content = $$("div", {
  1272. className: "U_MD_D_KO",
  1273. "onmousedown": U.UF.C.closure(function (obj) {
  1274. //防止拖动图标即打开了桌面应用
  1275. U.MD.D.click(this, obj);
  1276. }, [_thuioeStudentDeskIconInfo[i]]),
  1277. "onclick": U.UF.C.closure(function (obj) {
  1278. //防止拖动图标即打开了桌面应用
  1279. U.MD.D.click(this, obj);
  1280. }, [_thuioeStudentDeskIconInfo[i]])
  1281. }, _frag); //
  1282. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1283. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1284. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1285. }
  1286. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1287. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1288. _content = $$("div", {
  1289. className: "U_MD_D_KO",
  1290. "onmousedown": U.UF.C.closure(function (obj) {
  1291. //防止拖动图标即打开了桌面应用
  1292. U.MD.D.click(this, obj);
  1293. }, [_tpcStudentDeskIconInfo[i]]),
  1294. "onclick": U.UF.C.closure(function (obj) {
  1295. //防止拖动图标即打开了桌面应用
  1296. U.MD.D.click(this, obj);
  1297. }, [_tpcStudentDeskIconInfo[i]])
  1298. }, _frag); //
  1299. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1300. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1301. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1302. } //
  1303. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1304. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1305. _content = $$("div", {
  1306. className: "U_MD_D_KO",
  1307. "onmousedown": U.UF.C.closure(function (obj) {
  1308. //防止拖动图标即打开了桌面应用
  1309. U.MD.D.click(this, obj);
  1310. }, [_chjyjStudentDeskIconInfo[i]]),
  1311. "onclick": U.UF.C.closure(function (obj) {
  1312. //防止拖动图标即打开了桌面应用
  1313. U.MD.D.click(this, obj);
  1314. }, [_chjyjStudentDeskIconInfo[i]])
  1315. }, _frag); //
  1316. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1317. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1318. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1319. }
  1320. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1321. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1322. _content = $$("div", {
  1323. className: "U_MD_D_KO",
  1324. "onmousedown": U.UF.C.closure(function (obj) {
  1325. //防止拖动图标即打开了桌面应用
  1326. U.MD.D.click(this, obj);
  1327. }, [_szjkyStudentDeskIconInfo[i]]),
  1328. "onclick": U.UF.C.closure(function (obj) {
  1329. //防止拖动图标即打开了桌面应用
  1330. U.MD.D.click(this, obj);
  1331. }, [_szjkyStudentDeskIconInfo[i]])
  1332. }, _frag); //
  1333. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1334. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1335. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1336. }
  1337. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1338. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1339. _content = $$("div", {
  1340. className: "U_MD_D_KO",
  1341. "onmousedown": U.UF.C.closure(function (obj) {
  1342. //防止拖动图标即打开了桌面应用
  1343. U.MD.D.click(this, obj);
  1344. }, [_dseiStudentDeskIconInfo[i]]),
  1345. "onclick": U.UF.C.closure(function (obj) {
  1346. //防止拖动图标即打开了桌面应用
  1347. U.MD.D.click(this, obj);
  1348. }, [_dseiStudentDeskIconInfo[i]])
  1349. }, _frag); //
  1350. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1351. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1352. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1353. }
  1354. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1355. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1356. _content = $$("div", {
  1357. className: "U_MD_D_KO",
  1358. "onmousedown": U.UF.C.closure(function (obj) {
  1359. //防止拖动图标即打开了桌面应用
  1360. U.MD.D.click(this, obj);
  1361. }, [_siesStudentDeskIconInfo[i]]),
  1362. "onclick": U.UF.C.closure(function (obj) {
  1363. //防止拖动图标即打开了桌面应用
  1364. U.MD.D.click(this, obj);
  1365. }, [_siesStudentDeskIconInfo[i]])
  1366. }, _frag); //
  1367. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1368. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1369. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1370. }
  1371. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1372. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1373. _content = $$("div", {
  1374. className: "U_MD_D_KO",
  1375. "onmousedown": U.UF.C.closure(function (obj) {
  1376. //防止拖动图标即打开了桌面应用
  1377. U.MD.D.click(this, obj);
  1378. }, [_hkStudentDeskIconInfo[i]]),
  1379. "onclick": U.UF.C.closure(function (obj) {
  1380. //防止拖动图标即打开了桌面应用
  1381. U.MD.D.click(this, obj);
  1382. }, [_hkStudentDeskIconInfo[i]])
  1383. }, _frag); //
  1384. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1385. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1386. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1387. }
  1388. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1389. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1390. _content = $$("div", {
  1391. className: "U_MD_D_KO",
  1392. "onmousedown": U.UF.C.closure(function (obj) {
  1393. //防止拖动图标即打开了桌面应用
  1394. U.MD.D.click(this, obj);
  1395. }, [_studentDesktopIconInfo[i]]),
  1396. "onclick": U.UF.C.closure(function (obj) {
  1397. //防止拖动图标即打开了桌面应用
  1398. U.MD.D.click(this, obj);
  1399. }, [_studentDesktopIconInfo[i]])
  1400. }, _frag); //
  1401. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1402. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1403. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1404. }
  1405. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1406. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1407. _content = $$("div", {
  1408. className: "U_MD_D_KO",
  1409. "onmousedown": U.UF.C.closure(function (obj) {
  1410. //防止拖动图标即打开了桌面应用
  1411. U.MD.D.click(this, obj);
  1412. }, [_tcStudentDeskIconInfo[i]]),
  1413. "onclick": U.UF.C.closure(function (obj) {
  1414. //防止拖动图标即打开了桌面应用
  1415. U.MD.D.click(this, obj);
  1416. }, [_tcStudentDeskIconInfo[i]])
  1417. }, _frag); //
  1418. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1419. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1420. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1421. }
  1422. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1423. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1424. _content = $$("div", {
  1425. className: "U_MD_D_KO",
  1426. "onmousedown": U.UF.C.closure(function (obj) {
  1427. //防止拖动图标即打开了桌面应用
  1428. U.MD.D.click(this, obj);
  1429. }, [_szscStudentDeskIconInfo[i]]),
  1430. "onclick": U.UF.C.closure(function (obj) {
  1431. //防止拖动图标即打开了桌面应用
  1432. U.MD.D.click(this, obj);
  1433. }, [_szscStudentDeskIconInfo[i]])
  1434. }, _frag); //
  1435. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1436. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1437. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1438. }
  1439. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1440. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1441. _content = $$("div", {
  1442. className: "U_MD_D_KO",
  1443. "onmousedown": U.UF.C.closure(function (obj) {
  1444. //防止拖动图标即打开了桌面应用
  1445. U.MD.D.click(this, obj);
  1446. }, [_studentDesktopIconInfo3[i]]),
  1447. "onclick": U.UF.C.closure(function (obj) {
  1448. //防止拖动图标即打开了桌面应用
  1449. U.MD.D.click(this, obj);
  1450. }, [_studentDesktopIconInfo3[i]])
  1451. }, _frag); //
  1452. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1453. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1454. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1455. }
  1456. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1457. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1458. _content = $$("div", {
  1459. className: "U_MD_D_KO",
  1460. "onmousedown": U.UF.C.closure(function (obj) {
  1461. //防止拖动图标即打开了桌面应用
  1462. U.MD.D.click(this, obj);
  1463. }, [_studentDesktopIconInfo2[i]]),
  1464. "onclick": U.UF.C.closure(function (obj) {
  1465. //防止拖动图标即打开了桌面应用
  1466. U.MD.D.click(this, obj);
  1467. }, [_studentDesktopIconInfo2[i]])
  1468. }, _frag); //
  1469. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1470. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1471. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1472. }
  1473. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1474. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1475. _content = $$("div", {
  1476. className: "U_MD_D_KO",
  1477. "onmousedown": U.UF.C.closure(function (obj) {
  1478. //防止拖动图标即打开了桌面应用
  1479. U.MD.D.click(this, obj);
  1480. }, [_wanketeacherDesktopIconInfo[i]]),
  1481. "onclick": U.UF.C.closure(function (obj) {
  1482. //防止拖动图标即打开了桌面应用
  1483. U.MD.D.click(this, obj);
  1484. }, [_wanketeacherDesktopIconInfo[i]])
  1485. }, _frag); //
  1486. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1487. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1488. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1489. }
  1490. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1491. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1492. _content = $$("div", {
  1493. className: "U_MD_D_KO",
  1494. "onmousedown": U.UF.C.closure(function (obj) {
  1495. //防止拖动图标即打开了桌面应用
  1496. U.MD.D.click(this, obj);
  1497. }, [_wankeAdminDesktopIconInfo[i]]),
  1498. "onclick": U.UF.C.closure(function (obj) {
  1499. //防止拖动图标即打开了桌面应用
  1500. U.MD.D.click(this, obj);
  1501. }, [_wankeAdminDesktopIconInfo[i]])
  1502. }, _frag); //
  1503. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1504. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1505. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1506. }
  1507. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1508. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1509. _content = $$("div", {
  1510. className: "U_MD_D_KO",
  1511. "onmousedown": U.UF.C.closure(function (obj) {
  1512. //防止拖动图标即打开了桌面应用
  1513. U.MD.D.click(this, obj);
  1514. }, [_jccssylTeacherDeskIconInfo[i]]),
  1515. "onclick": U.UF.C.closure(function (obj) {
  1516. //防止拖动图标即打开了桌面应用
  1517. U.MD.D.click(this, obj);
  1518. }, [_jccssylTeacherDeskIconInfo[i]])
  1519. }, _frag); //
  1520. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1521. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1522. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1523. }
  1524. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1525. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1526. _content = $$("div", {
  1527. className: "U_MD_D_KO",
  1528. "onmousedown": U.UF.C.closure(function (obj) {
  1529. //防止拖动图标即打开了桌面应用
  1530. U.MD.D.click(this, obj);
  1531. }, [_tpcOrganizerDeskIconInfo[i]]),
  1532. "onclick": U.UF.C.closure(function (obj) {
  1533. //防止拖动图标即打开了桌面应用
  1534. U.MD.D.click(this, obj);
  1535. }, [_tpcOrganizerDeskIconInfo[i]])
  1536. }, _frag); //
  1537. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1538. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1539. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1540. }
  1541. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1542. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1543. _content = $$("div", {
  1544. className: "U_MD_D_KO",
  1545. "onmousedown": U.UF.C.closure(function (obj) {
  1546. //防止拖动图标即打开了桌面应用
  1547. U.MD.D.click(this, obj);
  1548. }, [_tpcTeacherDeskIconInfo[i]]),
  1549. "onclick": U.UF.C.closure(function (obj) {
  1550. //防止拖动图标即打开了桌面应用
  1551. U.MD.D.click(this, obj);
  1552. }, [_tpcTeacherDeskIconInfo[i]])
  1553. }, _frag); //
  1554. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1555. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1556. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1557. }
  1558. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1559. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1560. _content = $$("div", {
  1561. className: "U_MD_D_KO",
  1562. "onmousedown": U.UF.C.closure(function (obj) {
  1563. //防止拖动图标即打开了桌面应用
  1564. U.MD.D.click(this, obj);
  1565. }, [_teacherDesktopIconInfo2[i]]),
  1566. "onclick": U.UF.C.closure(function (obj) {
  1567. //防止拖动图标即打开了桌面应用
  1568. U.MD.D.click(this, obj);
  1569. }, [_teacherDesktopIconInfo2[i]])
  1570. }, _frag); //
  1571. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1572. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1573. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1574. }
  1575. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1576. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1577. _content = $$("div", {
  1578. className: "U_MD_D_KO",
  1579. "onmousedown": U.UF.C.closure(function (obj) {
  1580. //防止拖动图标即打开了桌面应用
  1581. U.MD.D.click(this, obj);
  1582. }, [_thuioeTeacherDeskIconInfo[i]]),
  1583. "onclick": U.UF.C.closure(function (obj) {
  1584. //防止拖动图标即打开了桌面应用
  1585. U.MD.D.click(this, obj);
  1586. }, [_thuioeTeacherDeskIconInfo[i]])
  1587. }, _frag); //
  1588. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1589. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1590. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1591. }
  1592. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1593. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1594. _content = $$("div", {
  1595. className: "U_MD_D_KO",
  1596. "onmousedown": U.UF.C.closure(function (obj) {
  1597. //防止拖动图标即打开了桌面应用
  1598. U.MD.D.click(this, obj);
  1599. }, [_lotechTeacherDeskIconInfo[i]]),
  1600. "onclick": U.UF.C.closure(function (obj) {
  1601. //防止拖动图标即打开了桌面应用
  1602. U.MD.D.click(this, obj);
  1603. }, [_lotechTeacherDeskIconInfo[i]])
  1604. }, _frag); //
  1605. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1606. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1607. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1608. }//
  1609. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1610. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1611. _content = $$("div", {
  1612. className: "U_MD_D_KO",
  1613. "onmousedown": U.UF.C.closure(function (obj) {
  1614. //防止拖动图标即打开了桌面应用
  1615. U.MD.D.click(this, obj);
  1616. }, [_siesTeacherDeskIconInfo[i]]),
  1617. "onclick": U.UF.C.closure(function (obj) {
  1618. //防止拖动图标即打开了桌面应用
  1619. U.MD.D.click(this, obj);
  1620. }, [_siesTeacherDeskIconInfo[i]])
  1621. }, _frag); //
  1622. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1623. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1624. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1625. }
  1626. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1627. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1628. _content = $$("div", {
  1629. className: "U_MD_D_KO",
  1630. "onmousedown": U.UF.C.closure(function (obj) {
  1631. //防止拖动图标即打开了桌面应用
  1632. U.MD.D.click(this, obj);
  1633. }, [_longhuaTeacherDeskIconInfo[i]]),
  1634. "onclick": U.UF.C.closure(function (obj) {
  1635. //防止拖动图标即打开了桌面应用
  1636. U.MD.D.click(this, obj);
  1637. }, [_longhuaTeacherDeskIconInfo[i]])
  1638. }, _frag); //
  1639. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1640. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1641. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1642. }
  1643. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1644. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1645. _content = $$("div", {
  1646. className: "U_MD_D_KO",
  1647. "onmousedown": U.UF.C.closure(function (obj) {
  1648. //防止拖动图标即打开了桌面应用
  1649. U.MD.D.click(this, obj);
  1650. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1651. "onclick": U.UF.C.closure(function (obj) {
  1652. //防止拖动图标即打开了桌面应用
  1653. U.MD.D.click(this, obj);
  1654. }, [_yunhaiTeacherDeskIconInfo[i]])
  1655. }, _frag); //
  1656. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1657. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1658. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1659. } //_hkStudentDeskIconInfo
  1660. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1661. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1662. _content = $$("div", {
  1663. className: "U_MD_D_KO",
  1664. "onmousedown": U.UF.C.closure(function (obj) {
  1665. //防止拖动图标即打开了桌面应用
  1666. U.MD.D.click(this, obj);
  1667. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1668. "onclick": U.UF.C.closure(function (obj) {
  1669. //防止拖动图标即打开了桌面应用
  1670. U.MD.D.click(this, obj);
  1671. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1672. }, _frag); //
  1673. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1674. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1675. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1676. }
  1677. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1678. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1679. _content = $$("div", {
  1680. className: "U_MD_D_KO",
  1681. "onmousedown": U.UF.C.closure(function (obj) {
  1682. //防止拖动图标即打开了桌面应用
  1683. U.MD.D.click(this, obj);
  1684. }, [_hkTeacherDeskIconInfo[i]]),
  1685. "onclick": U.UF.C.closure(function (obj) {
  1686. //防止拖动图标即打开了桌面应用
  1687. U.MD.D.click(this, obj);
  1688. }, [_hkTeacherDeskIconInfo[i]])
  1689. }, _frag); //
  1690. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1691. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1692. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1693. }
  1694. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1695. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1696. _content = $$("div", {
  1697. className: "U_MD_D_KO",
  1698. "onmousedown": U.UF.C.closure(function (obj) {
  1699. //防止拖动图标即打开了桌面应用
  1700. U.MD.D.click(this, obj);
  1701. }, [_gdjgAdminDeskIconInfo[i]]),
  1702. "onclick": U.UF.C.closure(function (obj) {
  1703. //防止拖动图标即打开了桌面应用
  1704. U.MD.D.click(this, obj);
  1705. }, [_gdjgAdminDeskIconInfo[i]])
  1706. }, _frag); //
  1707. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1708. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1709. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1710. }
  1711. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1712. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1713. _content = $$("div", {
  1714. className: "U_MD_D_KO",
  1715. "onmousedown": U.UF.C.closure(function (obj) {
  1716. //防止拖动图标即打开了桌面应用
  1717. U.MD.D.click(this, obj);
  1718. }, [_gdjgTeacherDeskIconInfo[i]]),
  1719. "onclick": U.UF.C.closure(function (obj) {
  1720. //防止拖动图标即打开了桌面应用
  1721. U.MD.D.click(this, obj);
  1722. }, [_gdjgTeacherDeskIconInfo[i]])
  1723. }, _frag); //
  1724. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1725. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1726. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1727. }
  1728. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1729. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1730. _content = $$("div", {
  1731. className: "U_MD_D_KO",
  1732. "onmousedown": U.UF.C.closure(function (obj) {
  1733. //防止拖动图标即打开了桌面应用
  1734. U.MD.D.click(this, obj);
  1735. }, [_szherTeacherDeskIconInfo[i]]),
  1736. "onclick": U.UF.C.closure(function (obj) {
  1737. //防止拖动图标即打开了桌面应用
  1738. U.MD.D.click(this, obj);
  1739. }, [_szherTeacherDeskIconInfo[i]])
  1740. }, _frag); //
  1741. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1742. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1743. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1744. }
  1745. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1746. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1747. _content = $$("div", {
  1748. className: "U_MD_D_KO",
  1749. "onmousedown": U.UF.C.closure(function (obj) {
  1750. //防止拖动图标即打开了桌面应用
  1751. U.MD.D.click(this, obj);
  1752. }, [_heyuannAdminDeskIconInfo[i]]),
  1753. "onclick": U.UF.C.closure(function (obj) {
  1754. //防止拖动图标即打开了桌面应用
  1755. U.MD.D.click(this, obj);
  1756. }, [_heyuannAdminDeskIconInfo[i]])
  1757. }, _frag); //
  1758. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1759. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1760. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1761. }
  1762. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1763. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1764. _content = $$("div", {
  1765. className: "U_MD_D_KO",
  1766. "onmousedown": U.UF.C.closure(function (obj) {
  1767. //防止拖动图标即打开了桌面应用
  1768. U.MD.D.click(this, obj);
  1769. }, [_heyuanTeacherDeskIconInfo[i]]),
  1770. "onclick": U.UF.C.closure(function (obj) {
  1771. //防止拖动图标即打开了桌面应用
  1772. U.MD.D.click(this, obj);
  1773. }, [_heyuanTeacherDeskIconInfo[i]])
  1774. }, _frag); //
  1775. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1776. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1777. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1778. } //
  1779. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1780. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1781. _content = $$("div", {
  1782. className: "U_MD_D_KO",
  1783. "onmousedown": U.UF.C.closure(function (obj) {
  1784. //防止拖动图标即打开了桌面应用
  1785. U.MD.D.click(this, obj);
  1786. }, [_dseiAdminDeskIconInfo[i]]),
  1787. "onclick": U.UF.C.closure(function (obj) {
  1788. //防止拖动图标即打开了桌面应用
  1789. U.MD.D.click(this, obj);
  1790. }, [_dseiAdminDeskIconInfo[i]])
  1791. }, _frag); //
  1792. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1793. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1794. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1795. }
  1796. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1797. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1798. _content = $$("div", {
  1799. className: "U_MD_D_KO",
  1800. "onmousedown": U.UF.C.closure(function (obj) {
  1801. //防止拖动图标即打开了桌面应用
  1802. U.MD.D.click(this, obj);
  1803. }, [_dseiTeacherDeskIconInfo[i]]),
  1804. "onclick": U.UF.C.closure(function (obj) {
  1805. //防止拖动图标即打开了桌面应用
  1806. U.MD.D.click(this, obj);
  1807. }, [_dseiTeacherDeskIconInfo[i]])
  1808. }, _frag); //
  1809. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1810. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1811. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1812. } //
  1813. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1814. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1815. _content = $$("div", {
  1816. className: "U_MD_D_KO",
  1817. "onmousedown": U.UF.C.closure(function (obj) {
  1818. //防止拖动图标即打开了桌面应用
  1819. U.MD.D.click(this, obj);
  1820. }, [_chjyjAdminDeskIconInfo[i]]),
  1821. "onclick": U.UF.C.closure(function (obj) {
  1822. //防止拖动图标即打开了桌面应用
  1823. U.MD.D.click(this, obj);
  1824. }, [_chjyjAdminDeskIconInfo[i]])
  1825. }, _frag); //
  1826. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1827. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1828. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1829. }//
  1830. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1831. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1832. _content = $$("div", {
  1833. className: "U_MD_D_KO",
  1834. "onmousedown": U.UF.C.closure(function (obj) {
  1835. //防止拖动图标即打开了桌面应用
  1836. U.MD.D.click(this, obj);
  1837. }, [_chjyjTeacherDeskIconInfo[i]]),
  1838. "onclick": U.UF.C.closure(function (obj) {
  1839. //防止拖动图标即打开了桌面应用
  1840. U.MD.D.click(this, obj);
  1841. }, [_chjyjTeacherDeskIconInfo[i]])
  1842. }, _frag); //
  1843. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1844. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1845. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1846. }
  1847. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1848. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1849. _content = $$("div", {
  1850. className: "U_MD_D_KO",
  1851. "onmousedown": U.UF.C.closure(function (obj) {
  1852. //防止拖动图标即打开了桌面应用
  1853. U.MD.D.click(this, obj);
  1854. }, [_szjkyAdminDeskIconInfo[i]]),
  1855. "onclick": U.UF.C.closure(function (obj) {
  1856. //防止拖动图标即打开了桌面应用
  1857. U.MD.D.click(this, obj);
  1858. }, [_szjkyAdminDeskIconInfo[i]])
  1859. }, _frag); //
  1860. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1861. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1862. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1863. }//
  1864. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1865. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1866. _content = $$("div", {
  1867. className: "U_MD_D_KO",
  1868. "onmousedown": U.UF.C.closure(function (obj) {
  1869. //防止拖动图标即打开了桌面应用
  1870. U.MD.D.click(this, obj);
  1871. }, [_szjkyTeacherDeskIconInfo[i]]),
  1872. "onclick": U.UF.C.closure(function (obj) {
  1873. //防止拖动图标即打开了桌面应用
  1874. U.MD.D.click(this, obj);
  1875. }, [_szjkyTeacherDeskIconInfo[i]])
  1876. }, _frag); //
  1877. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1878. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1879. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1880. }
  1881. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1882. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1883. _content = $$("div", {
  1884. className: "U_MD_D_KO",
  1885. "onmousedown": U.UF.C.closure(function (obj) {
  1886. //防止拖动图标即打开了桌面应用
  1887. U.MD.D.click(this, obj);
  1888. }, [_futianAdminDeskIconInfo[i]]),
  1889. "onclick": U.UF.C.closure(function (obj) {
  1890. //防止拖动图标即打开了桌面应用
  1891. U.MD.D.click(this, obj);
  1892. }, [_futianAdminDeskIconInfo[i]])
  1893. }, _frag); //
  1894. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1895. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1896. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1897. }
  1898. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1899. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1900. _content = $$("div", {
  1901. className: "U_MD_D_KO",
  1902. "onmousedown": U.UF.C.closure(function (obj) {
  1903. //防止拖动图标即打开了桌面应用
  1904. U.MD.D.click(this, obj);
  1905. }, [_futianTeacherDeskIconInfo[i]]),
  1906. "onclick": U.UF.C.closure(function (obj) {
  1907. //防止拖动图标即打开了桌面应用
  1908. U.MD.D.click(this, obj);
  1909. }, [_futianTeacherDeskIconInfo[i]])
  1910. }, _frag); //
  1911. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1912. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1913. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1914. }
  1915. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1916. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1917. _content = $$("div", {
  1918. className: "U_MD_D_KO",
  1919. "onmousedown": U.UF.C.closure(function (obj) {
  1920. //防止拖动图标即打开了桌面应用
  1921. U.MD.D.click(this, obj);
  1922. }, [_MingdeTeacherDeskIcon[i]]),
  1923. "onclick": U.UF.C.closure(function (obj) {
  1924. //防止拖动图标即打开了桌面应用
  1925. U.MD.D.click(this, obj);
  1926. }, [_MingdeTeacherDeskIcon[i]])
  1927. }, _frag); //
  1928. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1929. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1930. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1931. }
  1932. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1933. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1934. _content = $$("div", {
  1935. className: "U_MD_D_KO",
  1936. "onmousedown": U.UF.C.closure(function (obj) {
  1937. //防止拖动图标即打开了桌面应用
  1938. U.MD.D.click(this, obj);
  1939. }, [_lhsAdminDesktopIconInfo[i]]),
  1940. "onclick": U.UF.C.closure(function (obj) {
  1941. //防止拖动图标即打开了桌面应用
  1942. U.MD.D.click(this, obj);
  1943. }, [_lhsAdminDesktopIconInfo[i]])
  1944. }, _frag); //
  1945. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1946. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1947. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1948. }
  1949. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1950. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1951. _content = $$("div", {
  1952. className: "U_MD_D_KO",
  1953. "onmousedown": U.UF.C.closure(function (obj) {
  1954. //防止拖动图标即打开了桌面应用
  1955. U.MD.D.click(this, obj);
  1956. }, [_lhsteacherDesktopIconInfo[i]]),
  1957. "onclick": U.UF.C.closure(function (obj) {
  1958. //防止拖动图标即打开了桌面应用
  1959. U.MD.D.click(this, obj);
  1960. }, [_lhsteacherDesktopIconInfo[i]])
  1961. }, _frag); //
  1962. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1963. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1964. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1965. }
  1966. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1967. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1968. _content = $$("div", {
  1969. className: "U_MD_D_KO",
  1970. "onmousedown": U.UF.C.closure(function (obj) {
  1971. //防止拖动图标即打开了桌面应用
  1972. U.MD.D.click(this, obj);
  1973. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1974. "onclick": U.UF.C.closure(function (obj) {
  1975. //防止拖动图标即打开了桌面应用
  1976. U.MD.D.click(this, obj);
  1977. }, [_zhoujiateacherDesktopIconInfo[i]])
  1978. }, _frag); //
  1979. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1980. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1981. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1982. }
  1983. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1984. for (i = 0; i < _hanDeskIcon.length; i++) {
  1985. _content = $$("div", {
  1986. className: "U_MD_D_KO",
  1987. "onmousedown": U.UF.C.closure(function (obj) {
  1988. //防止拖动图标即打开了桌面应用
  1989. U.MD.D.click(this, obj);
  1990. }, [_hanDeskIcon[i]]),
  1991. "onclick": U.UF.C.closure(function (obj) {
  1992. //防止拖动图标即打开了桌面应用
  1993. U.MD.D.click(this, obj);
  1994. }, [_hanDeskIcon[i]])
  1995. }, _frag); //
  1996. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1997. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1998. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1999. }
  2000. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2001. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2002. _content = $$("div", {
  2003. className: "U_MD_D_KO",
  2004. "onmousedown": U.UF.C.closure(function (obj) {
  2005. //防止拖动图标即打开了桌面应用
  2006. U.MD.D.click(this, obj);
  2007. }, [_orgStemDeskIcon[i]]),
  2008. "onclick": U.UF.C.closure(function (obj) {
  2009. //防止拖动图标即打开了桌面应用
  2010. U.MD.D.click(this, obj);
  2011. }, [_orgStemDeskIcon[i]])
  2012. }, _frag); //
  2013. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2014. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2015. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2016. }
  2017. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2018. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2019. _content = $$("div", {
  2020. className: "U_MD_D_KO",
  2021. "onmousedown": U.UF.C.closure(function (obj) {
  2022. //防止拖动图标即打开了桌面应用
  2023. U.MD.D.click(this, obj);
  2024. }, [_szulsDeskIcon[i]]),
  2025. "onclick": U.UF.C.closure(function (obj) {
  2026. //防止拖动图标即打开了桌面应用
  2027. U.MD.D.click(this, obj);
  2028. }, [_szulsDeskIcon[i]])
  2029. }, _frag); //
  2030. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2031. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2032. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2033. }
  2034. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2035. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2036. _content = $$("div", {
  2037. className: "U_MD_D_KO",
  2038. "onmousedown": U.UF.C.closure(function (obj) {
  2039. //防止拖动图标即打开了桌面应用
  2040. U.MD.D.click(this, obj);
  2041. }, [_orgDesktopIconInfo[i]]),
  2042. "onclick": U.UF.C.closure(function (obj) {
  2043. //防止拖动图标即打开了桌面应用
  2044. U.MD.D.click(this, obj);
  2045. }, [_orgDesktopIconInfo[i]])
  2046. }, _frag); //
  2047. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2048. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2049. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2050. }
  2051. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2052. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2053. _content = $$("div", {
  2054. className: "U_MD_D_KO",
  2055. "onmousedown": U.UF.C.closure(function (obj) {
  2056. //防止拖动图标即打开了桌面应用
  2057. U.MD.D.click(this, obj);
  2058. }, [_schoolDesktopIconInfo[i]]),
  2059. "onclick": U.UF.C.closure(function (obj) {
  2060. //防止拖动图标即打开了桌面应用
  2061. U.MD.D.click(this, obj);
  2062. }, [_schoolDesktopIconInfo[i]])
  2063. }, _frag); //
  2064. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2065. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2066. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2067. }
  2068. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2069. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2070. _content = $$("div", {
  2071. className: "U_MD_D_KO",
  2072. "onmousedown": U.UF.C.closure(function (obj) {
  2073. //防止拖动图标即打开了桌面应用
  2074. U.MD.D.click(this, obj);
  2075. }, [_GMteacherDesktopIconInfo[i]]),
  2076. "onclick": U.UF.C.closure(function (obj) {
  2077. //防止拖动图标即打开了桌面应用
  2078. U.MD.D.click(this, obj);
  2079. }, [_GMteacherDesktopIconInfo[i]])
  2080. }, _frag); //
  2081. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2082. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2083. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2084. }
  2085. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2086. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2087. _content = $$("div", {
  2088. className: "U_MD_D_KO",
  2089. "onmousedown": U.UF.C.closure(function (obj) {
  2090. //防止拖动图标即打开了桌面应用
  2091. U.MD.D.click(this, obj);
  2092. }, [_SONGteacherDesktopIconInfo[i]]),
  2093. "onclick": U.UF.C.closure(function (obj) {
  2094. //防止拖动图标即打开了桌面应用
  2095. U.MD.D.click(this, obj);
  2096. }, [_SONGteacherDesktopIconInfo[i]])
  2097. }, _frag); //
  2098. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2099. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2100. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2101. }
  2102. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2103. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2104. _content = $$("div", {
  2105. className: "U_MD_D_KO",
  2106. "onmousedown": U.UF.C.closure(function (obj) {
  2107. //防止拖动图标即打开了桌面应用
  2108. U.MD.D.click(this, obj);
  2109. }, [_GMstudentDesktopIconInfo[i]]),
  2110. "onclick": U.UF.C.closure(function (obj) {
  2111. //防止拖动图标即打开了桌面应用
  2112. U.MD.D.click(this, obj);
  2113. }, [_GMstudentDesktopIconInfo[i]])
  2114. }, _frag); //
  2115. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2116. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2117. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2118. }
  2119. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2120. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2121. _content = $$("div", {
  2122. className: "U_MD_D_KO",
  2123. "onmousedown": U.UF.C.closure(function (obj) {
  2124. //防止拖动图标即打开了桌面应用
  2125. U.MD.D.click(this, obj);
  2126. }, [_tcTeacherDeskIconInfo[i]]),
  2127. "onclick": U.UF.C.closure(function (obj) {
  2128. //防止拖动图标即打开了桌面应用
  2129. U.MD.D.click(this, obj);
  2130. }, [_tcTeacherDeskIconInfo[i]])
  2131. }, _frag); //
  2132. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2133. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2134. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2135. }
  2136. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2137. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2138. _content = $$("div", {
  2139. className: "U_MD_D_KO",
  2140. "onmousedown": U.UF.C.closure(function (obj) {
  2141. //防止拖动图标即打开了桌面应用
  2142. U.MD.D.click(this, obj);
  2143. }, [_tcOrganizerDeskIconInfo[i]]),
  2144. "onclick": U.UF.C.closure(function (obj) {
  2145. //防止拖动图标即打开了桌面应用
  2146. U.MD.D.click(this, obj);
  2147. }, [_tcOrganizerDeskIconInfo[i]])
  2148. }, _frag); //
  2149. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2150. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2151. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2152. }
  2153. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2154. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2155. _content = $$("div", {
  2156. className: "U_MD_D_KO",
  2157. "onmousedown": U.UF.C.closure(function (obj) {
  2158. //防止拖动图标即打开了桌面应用
  2159. U.MD.D.click(this, obj);
  2160. }, [_szscTeacherDeskIconInfo[i]]),
  2161. "onclick": U.UF.C.closure(function (obj) {
  2162. //防止拖动图标即打开了桌面应用
  2163. U.MD.D.click(this, obj);
  2164. }, [_szscTeacherDeskIconInfo[i]])
  2165. }, _frag); //
  2166. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2167. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2168. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2169. }
  2170. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2171. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2172. _content = $$("div", {
  2173. className: "U_MD_D_KO",
  2174. "onmousedown": U.UF.C.closure(function (obj) {
  2175. //防止拖动图标即打开了桌面应用
  2176. U.MD.D.click(this, obj);
  2177. }, [_szscOrganizerDeskIconInfo[i]]),
  2178. "onclick": U.UF.C.closure(function (obj) {
  2179. //防止拖动图标即打开了桌面应用
  2180. U.MD.D.click(this, obj);
  2181. }, [_szscOrganizerDeskIconInfo[i]])
  2182. }, _frag); //
  2183. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2184. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2185. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2186. }
  2187. } else {
  2188. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2189. _content = $$("div", {
  2190. className: "U_MD_D_KO",
  2191. "onmousedown": U.UF.C.closure(function (obj) {
  2192. //防止拖动图标即打开了桌面应用
  2193. U.MD.D.click(this, obj);
  2194. }, [_teacherDesktopIconInfo[i]]),
  2195. "onclick": U.UF.C.closure(function (obj) {
  2196. //防止拖动图标即打开了桌面应用
  2197. U.MD.D.click(this, obj);
  2198. }, [_teacherDesktopIconInfo[i]])
  2199. }, _frag); //
  2200. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2201. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2202. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2203. }
  2204. }
  2205. } else {
  2206. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2207. _content = $$("div", {
  2208. className: "U_MD_D_KO",
  2209. style: { 'width': '124px', 'height': '145px' },
  2210. "onmousedown": U.UF.C.closure(function (obj) {
  2211. //防止拖动图标即打开了桌面应用
  2212. U.MD.D.click(this, obj);
  2213. }, [_easyDesktopIconInfo[i]]),
  2214. "onclick": U.UF.C.closure(function (obj) {
  2215. //防止拖动图标即打开了桌面应用
  2216. U.MD.D.click(this, obj);
  2217. }, [_easyDesktopIconInfo[i]])
  2218. }, _frag); //
  2219. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2220. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2221. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2222. }
  2223. }
  2224. if (type == 1) {
  2225. //加载好后给图标定位
  2226. U.MD.D.iconPostion($(_frag).Child());
  2227. } else {
  2228. //加载好后给图标定位
  2229. U.MD.D.iconPostion2($(_frag).Child());
  2230. }
  2231. //把图标加载到页面
  2232. el.appendChild(_frag);
  2233. }
  2234. /**
  2235. * 显示任务栏
  2236. *
  2237. * @param {element} 桌面元素
  2238. */
  2239. U.MD.D.I.displayTaskbar = function (el) {
  2240. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2241. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2242. //任务栏位置变化
  2243. U.selectEl(el).css({ "bottom": "0px" });
  2244. //桌面位置变话
  2245. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2246. }
  2247. }
  2248. //#region 桌面图标拖动逻辑
  2249. /**
  2250. * 桌面排列图标
  2251. *
  2252. * @param {element} 桌面元素
  2253. * @param {object} 上下相距的距离
  2254. * @param {object} 左右相距的距离
  2255. * @return {object} 命名空间
  2256. */
  2257. U.MD.D.iconPostion = function (childs, top, left) {
  2258. var i; //用于循环处理
  2259. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2260. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2261. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2262. for (i = 0; i < childs.length; i++) {
  2263. //如果竖排top超过了范围处理
  2264. if (top + 95 > US.height - 10) {
  2265. //left超过了页面范围处理,则向上重叠打印处理
  2266. if ((left + 180) > US.width) {
  2267. top -= 110;
  2268. left -= 90;
  2269. }
  2270. //没有超过范围,那么left+90添加到下一个竖排打印
  2271. else {
  2272. left += 90;
  2273. top = 15;
  2274. };
  2275. }
  2276. //给图标的位置赋值
  2277. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2278. if (i < childs.length - 1) {
  2279. //页面图标每次向下加95
  2280. top += 95;
  2281. }
  2282. }
  2283. //返回最后调用的图标的位置
  2284. return [top, left];
  2285. }
  2286. /**
  2287. * 桌面排列图标
  2288. *
  2289. * @param {element} 桌面元素
  2290. * @param {object} 上下相距的距离
  2291. * @param {object} 左右相距的距离
  2292. * @return {object} 命名空间
  2293. */
  2294. U.MD.D.iconPostion2 = function (childs, top, left) {
  2295. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2296. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2297. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2298. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2299. for (i = 0; i < childs.length; i++) {
  2300. //如果竖排top超过了范围处理
  2301. if (left + 150 > US.width - 10) {
  2302. //left超过了页面范围处理,则向上重叠打印处理
  2303. if ((top + 180) > US.Height) {
  2304. top -= 150;
  2305. left -= 150;
  2306. }
  2307. //没有超过范围,那么left+90添加到下一个竖排打印
  2308. else {
  2309. top += 150;
  2310. left = ol;
  2311. };
  2312. }
  2313. //给图标的位置赋值
  2314. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2315. if (i < childs.length - 1) {
  2316. //页面图标每次向下加95
  2317. left += 150;
  2318. }
  2319. }
  2320. //返回最后调用的图标的位置
  2321. return [top, left];
  2322. }
  2323. /**
  2324. * 桌面点击事件逻辑
  2325. *
  2326. * @param {element} 桌面元素
  2327. * @param {object} 上下相距的距离
  2328. * @param {object} 左右相距的距离
  2329. * @return {object} 命名空间
  2330. */
  2331. U.MD.D.click = function (el, obj) {
  2332. var _buttonnumber = event.button; //点击的按钮的事件值
  2333. var _userinfo = US.userInfo;
  2334. U.UF.EV.stopBubble(); //阻止向上冒泡
  2335. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2336. if (_buttonnumber < 2) {
  2337. //如果是click事件的处理
  2338. if (event.type == "click") {
  2339. //如果元素在mousemove事件中没有移动则出发click事件
  2340. if (!U.MD.D.I.IsDrag) {
  2341. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2342. U.alert("请先登录您的账号!");
  2343. setTimeout(() => {
  2344. U.MD.U.L.login();
  2345. }, 2000);
  2346. } else {
  2347. //打开应用处理
  2348. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2349. }
  2350. }
  2351. }
  2352. //如果是mouse事件的处理
  2353. else {
  2354. if (US.Config.type == '1') {
  2355. //拖动处理,添加拖动和拖动结束事件
  2356. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2357. }
  2358. }
  2359. U.MD.D.I.IsDrag = false;
  2360. }
  2361. }
  2362. /**
  2363. * 拖动的处理
  2364. *
  2365. */
  2366. U.MD.D.iconMove = function () {
  2367. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2368. U.MD.D.I.IsDrag = true;
  2369. }
  2370. /**
  2371. * 拖动结束后,这里是定位处理,以网状的形式定位
  2372. *
  2373. * @param {element} 拖动的元素
  2374. * @return {object} 命名空间
  2375. */
  2376. U.MD.D.iconUp = function (el) {
  2377. var _top = 15,
  2378. _left = 20,
  2379. _margin,
  2380. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2381. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2382. if (_positioninfo["OT"] > 15) {
  2383. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2384. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2385. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2386. }
  2387. if (_positioninfo["OL"] > 20) {
  2388. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2389. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2390. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2391. }
  2392. //while循环判断么一个重叠的元素
  2393. do {
  2394. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2395. _top = _positioninfo[0] + 95; //得到定位后的top
  2396. _left = _positioninfo[1]; //得到定位后的left
  2397. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2398. }
  2399. /**
  2400. * 判断拖动后图标是否重叠
  2401. *
  2402. * @param {element} 拖动的元素
  2403. * @param {element} 桌面所有的元素
  2404. * @param {array} 拖动元素的位置
  2405. ----------[0] 上 top
  2406. ----------[1] 左 left
  2407. * @return {object} 命名空间
  2408. */
  2409. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2410. //循环所有的图标
  2411. for (var i = 0; i < childs.length; i++) {
  2412. //判断有没有和该图标诶子重叠的元素
  2413. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2414. return childs[i]; //如果有返回
  2415. }
  2416. }
  2417. }
  2418. //#endregion
  2419. //#endregion
  2420. //#region 桌面应用
  2421. /**
  2422. * 打开应用
  2423. *
  2424. * @param {string} 类型
  2425. -----------------Disk 网盘系统
  2426. -----------------PDisk 学习系统网盘
  2427. -----------------Poto 图片
  2428. -----------------Video 视频
  2429. -----------------Music 音乐
  2430. -----------------Word word
  2431. -----------------Excel excel
  2432. -----------------Txt 记事本
  2433. -----------------PB 学习系统
  2434. -----------------Blog 朋友圈系统
  2435. -----------------FTP ftp系统
  2436. -----------------Group 好友群
  2437. -----------------SY 首页系统
  2438. -----------------Set 个人设置
  2439. -----------------XSet 系统设置
  2440. -----------------App 我们所有的app
  2441. -----------------BC c.1473.cn 平台
  2442. -----------------CWeb d.1473.cn 变成平台
  2443. -----------------其他的外联系统 我们统一用iframe打开
  2444. * @param {array} 类型
  2445. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2446. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2447. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2448. 如果第一个参数为其他,则无第二个参数
  2449. * @returns {array}
  2450. */
  2451. window.addEventListener('message', function (e) { // 监听 message 事件
  2452. // alert(e.data.type);
  2453. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2454. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2455. //3是展示全部阶段 2学生 1老师 4专家
  2456. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2457. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2458. //3是展示全部阶段 2学生 1老师 4专家
  2459. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2460. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2461. //3是展示全部阶段 2学生 1老师 4专家
  2462. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2463. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2464. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2465. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2466. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2467. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2468. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2469. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2470. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2471. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2472. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2473. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2474. //3是展示全部阶段 2学生 1老师 4专家
  2475. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2476. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2477. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2478. U.MD.D.I.selectUser();
  2479. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2480. var _formel = document.getElementById("study");
  2481. U.UF.F.windowZooming(_formel);
  2482. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2483. var _formel = document.getElementById("studyDetail");
  2484. U.UF.F.windowZooming(_formel);
  2485. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2486. var _formel = document.getElementById("studyDetail");
  2487. U.UF.F.windowZooming(_formel);
  2488. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2489. var _formel = document.getElementById("studentStudy");
  2490. U.UF.F.windowZooming(_formel);
  2491. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2492. // var _formel = document.getElementById("study");
  2493. //如果最大化了,那么就把他缩小
  2494. // if (_formel.ismaximize) {
  2495. // return;
  2496. // }
  2497. // U.UF.F.windowZooming(_formel);
  2498. // U.UF.F.topWindow(_formel);
  2499. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2500. // var _formel = document.getElementById("studyDetail");
  2501. //如果最大化了,那么就把他缩小
  2502. // if (_formel.ismaximize) {
  2503. // return;
  2504. // }
  2505. // U.UF.F.windowZooming(_formel);
  2506. // U.UF.F.topWindow(_formel);
  2507. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2508. // var _formel = document.getElementById("studentStudy");
  2509. // if (_formel.ismaximize) {
  2510. // return;
  2511. // }
  2512. // U.UF.F.windowZooming(_formel);
  2513. // U.UF.F.topWindow(_formel);
  2514. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2515. var _formel = document.getElementById("study");
  2516. // if (_formel.ismaximize) {
  2517. // return;
  2518. // }
  2519. // U.UF.F.windowZooming(_formel);
  2520. U.UF.F.topWindow(_formel);
  2521. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2522. var _formel = document.getElementById("studentIndex");
  2523. U.UF.F.windowZooming(_formel);
  2524. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2525. var _formel = document.getElementById("studyDetailS");
  2526. U.UF.F.windowZooming(_formel);
  2527. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2528. var _formel = document.getElementById("studioIndex");
  2529. U.UF.F.windowZooming(_formel);
  2530. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2531. var _formel = document.getElementById("studyDetailStudio");
  2532. U.UF.F.windowZooming(_formel);
  2533. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2534. var _formel = document.getElementById("studyDetailStudio");
  2535. U.UF.F.windowZooming(_formel);
  2536. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2537. var _formel = document.getElementById("studyDetailNT");
  2538. U.UF.F.windowZooming(_formel);
  2539. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2540. var _formel = document.getElementById("studyDetailS");
  2541. U.UF.F.windowZooming(_formel);
  2542. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2543. var _formel = document.getElementById("studyDetailS");
  2544. U.UF.F.topWindow(_formel);
  2545. } else if (e.data.tools && e.data.tools == "1") {
  2546. // U.MD.D.I.openApplication("whiteboard")
  2547. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2548. } else if (e.data.tools && e.data.tools == "2") {
  2549. U.MD.D.I.openApplication("note")
  2550. } else if (e.data.tools && e.data.tools == "3") {
  2551. // U.MD.D.I.openApplication("mind")
  2552. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2553. } else if (e.data.tools && e.data.tools == "4") {
  2554. U.MD.D.I.openApplication("investigation")
  2555. } else if (e.data.tools && e.data.tools == "6") {
  2556. // U.MD.D.I.openApplication("doc")
  2557. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2558. } else if (e.data.tools && e.data.tools == "7") {
  2559. // U.MD.D.I.openApplication("mindNetwork")
  2560. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2561. } else if (e.data.tools && e.data.tools == "8") {
  2562. U.MD.D.I.openApplication("library")
  2563. } else if (e.data.tools && e.data.tools == "17") {
  2564. U.MD.D.I.openApplication("stuLibrary")
  2565. } else if (e.data.tools && e.data.tools == "18") {
  2566. U.MD.D.I.openApplication("train")
  2567. } else if (e.data.tools && e.data.tools == "21") {
  2568. U.MD.D.I.openApplication("program")
  2569. } else if (e.data.tools && e.data.tools == "22") {
  2570. U.MD.D.I.openApplication("AIprogram2")
  2571. } else if (e.data.tools && e.data.tools == "23") {
  2572. U.MD.D.I.openApplication("Pythonprogram")
  2573. } else if (e.data.tools && e.data.tools == "24") {
  2574. U.MD.D.I.openApplication("AIprogram")
  2575. } else if (e.data.tools && e.data.tools == "25") {
  2576. U.MD.D.I.openApplication("sys")
  2577. } else if (e.data.tools && e.data.tools == "26") {
  2578. // U.MD.D.I.openApplication("courseDesign")
  2579. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2580. } else if (e.data.tools && e.data.tools == "31") {
  2581. U.MD.D.I.openApplication("netWorkPanel")
  2582. } else if (e.data.tools && e.data.tools == "32") {
  2583. U.MD.D.I.openApplication("codeEdit")
  2584. } else if (e.data.tools && e.data.tools == "57") {
  2585. U.MD.D.I.openApplication("CocoPi")
  2586. } else if (e.data.tools && e.data.tools == "63") {
  2587. U.MD.D.I.openApplication("Wood")
  2588. } else if (e.data.tools && e.data.tools == "58") {
  2589. U.MD.D.I.openApplication("car")
  2590. } else if (e.data.tools && e.data.tools == "59") {
  2591. U.MD.D.I.openApplication("lineSearch")
  2592. } else if (e.data.tools && e.data.tools == "60") {
  2593. U.MD.D.I.openApplication("deepLearning")
  2594. } else if (e.data.tools && e.data.tools == "61") {
  2595. U.MD.D.I.openApplication("allHistory")
  2596. } else if (e.data.tools && e.data.tools == "28") {
  2597. U.MD.D.I.openApplication("translation")
  2598. } else if (e.data.tools && e.data.tools == "37") {
  2599. U.MD.D.I.openApplication("mohe")
  2600. } else if (e.data.tools && e.data.tools == "38") {
  2601. U.MD.D.I.openApplication("24game")
  2602. } else if (e.data.tools && e.data.tools == "39") {
  2603. U.MD.D.I.openApplication("GeoGebra")
  2604. } else if (e.data.tools && e.data.tools == "43") {
  2605. U.MD.D.I.openApplication("studentEvaluate")
  2606. } else if (e.data.tools && e.data.tools == "44") {
  2607. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2608. } else if (e.data.tools && e.data.tools == "46") {
  2609. U.MD.D.I.openApplication("project")
  2610. } else if (e.data.tools && e.data.tools == "1s") {
  2611. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2612. } else if (e.data.tools && e.data.tools == "3s") {
  2613. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2614. } else if (e.data.tools && e.data.tools == "6s") {
  2615. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2616. } else if (e.data.tools && e.data.tools == "1studio") {
  2617. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2618. } else if (e.data.tools && e.data.tools == "3studio") {
  2619. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2620. } else if (e.data.tools && e.data.tools == "6studio") {
  2621. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2622. } else if (e.data.tools && e.data.tools == "3y") {
  2623. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2624. } else if (e.data.tools && e.data.tools == "1y") {
  2625. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2626. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2627. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2628. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2629. U.MD.D.I.openApplication("AIAnalyse")
  2630. } else if (e.data.tools && e.data.tools == "1teacher") {
  2631. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2632. } else if (e.data.tools && e.data.tools == "3teacher") {
  2633. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2634. } else if (e.data.tools && e.data.tools == "7teacher") {
  2635. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2636. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2637. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2638. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2639. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2640. } else if (e.data.tools && e.data.tools == "1E") {
  2641. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2642. } else if (e.data.tools && e.data.tools == "3E") {
  2643. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2644. } else if (e.data.tools && e.data.tools == "57y") {
  2645. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2646. } else if (e.data.tools && e.data.tools == "57u") {
  2647. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2648. } else if (e.data.tools && e.data.tools == "57teacher") {
  2649. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2650. } else if (e.data.tools && e.data.tools == "64") {
  2651. U.MD.D.I.openApplication("AIChat")
  2652. } else if (e.data.tools && e.data.tools == "66") {
  2653. U.MD.D.I.openApplication("formulaEdi")
  2654. } else if (e.data.tools && e.data.tools == "67") {
  2655. U.MD.D.I.openApplication("molStr")
  2656. } else if (e.data.tools && e.data.tools == "68") {
  2657. U.MD.D.I.openApplication("timeAxis")
  2658. } else if (e.data.tools && e.data.tools == "openCourse") {
  2659. let _data = {
  2660. typea: e.data.typea || '',
  2661. typeb: e.data.typeb || '',
  2662. typed: e.data.typed || '',
  2663. }
  2664. U.MD.D.I.openInApplication("index", _data)
  2665. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2666. let _data = {
  2667. classid: e.data.classid || '',
  2668. }
  2669. U.MD.D.I.openInApplication("dataClass", _data)
  2670. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2671. let _data = {
  2672. cid: e.data.cid || '',
  2673. gid: e.data.gid || '',
  2674. }
  2675. U.MD.D.I.openInApplication("opencCscl", _data)
  2676. }
  2677. });
  2678. U.MD.D.I.selectUser = function () {
  2679. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2680. if (res.value[0].length > 0) {
  2681. US.userInfo = res.value[0][0];
  2682. $(".userName")[0].innerHTML = US.userInfo.username;
  2683. }
  2684. }, [], { "type": "GET", "withCredentials": true });
  2685. }
  2686. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2687. var _userinfo = US.userInfo, //登录用户信息
  2688. _userid = US.userInfo.userid, //登录用户id
  2689. _oid = _userinfo.organizeid,
  2690. _type = US.userInfo.type,
  2691. _org = US.userInfo.org,
  2692. _role = US.userInfo.role,
  2693. _classId = US.userInfo.classid;
  2694. if (_type == 4) {
  2695. tType = 4
  2696. }
  2697. switch (str) {
  2698. case "studyDetailNT": //无终端模式
  2699. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2700. setTimeout(() => {
  2701. U.MD.U.L.login();
  2702. }, 2000);
  2703. } else {
  2704. _formdiv = new U.UF.UI.form(
  2705. "课程详情",
  2706. $$("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 }), {
  2707. "id": "studyDetailNT",
  2708. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2709. "onresize": function () { }
  2710. }, {
  2711. closecallback: function () { }
  2712. }, { "style": { "height": "36px" } }).form; //创建窗体
  2713. _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); } }
  2714. break;
  2715. }
  2716. case "studyDetail":
  2717. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2718. setTimeout(() => {
  2719. U.MD.U.L.login();
  2720. }, 2000);
  2721. } else {
  2722. _formdiv = new U.UF.UI.form(
  2723. "课程详情",
  2724. $$("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 }), {
  2725. "id": "studyDetail",
  2726. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2727. "onresize": function () { }
  2728. }, {
  2729. closecallback: function () { }
  2730. }, { "style": { "height": "36px" } }).form; //创建窗体
  2731. _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); } }
  2732. break;
  2733. }
  2734. case "studyDetailS":
  2735. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2736. setTimeout(() => {
  2737. U.MD.U.L.login();
  2738. }, 2000);
  2739. } else {
  2740. _formdiv = new U.UF.UI.form(
  2741. "项目详情",
  2742. $$("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 }), {
  2743. "id": "studyDetailS",
  2744. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2745. "onresize": function () { }
  2746. }, {
  2747. closecallback: function () { }
  2748. }, { "style": { "height": "36px" } }).form; //创建窗体
  2749. _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); } }
  2750. break;
  2751. }
  2752. case "studyDetailStudio":
  2753. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2754. setTimeout(() => {
  2755. U.MD.U.L.login();
  2756. }, 2000);
  2757. } else {
  2758. _formdiv = new U.UF.UI.form(
  2759. "工作详情",
  2760. $$("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 }), {
  2761. "id": "studyDetailStudio",
  2762. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2763. "onresize": function () { }
  2764. }, {
  2765. closecallback: function () { }
  2766. }, { "style": { "height": "36px" } }).form; //创建窗体
  2767. _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); } }
  2768. break;
  2769. }
  2770. case "studyDetailS5":
  2771. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2772. setTimeout(() => {
  2773. U.MD.U.L.login();
  2774. }, 2000);
  2775. } else {
  2776. _formdiv = new U.UF.UI.form(
  2777. "项目详情",
  2778. $$("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 }), {
  2779. "id": "studyDetailS",
  2780. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2781. "onresize": function () { }
  2782. }, {
  2783. closecallback: function () { }
  2784. }, { "style": { "height": "36px" } }).form; //创建窗体
  2785. _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); } }
  2786. break;
  2787. }
  2788. case "studyDetailGM":
  2789. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2790. setTimeout(() => {
  2791. U.MD.U.L.login();
  2792. }, 2000);
  2793. } else {
  2794. _formdiv = new U.UF.UI.form(
  2795. "课程详情",
  2796. $$("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 }), {
  2797. "id": "studyDetail",
  2798. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2799. "onresize": function () { }
  2800. }, {
  2801. closecallback: function () { }
  2802. }, { "style": { "height": "36px" } }).form; //创建窗体
  2803. _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); } }
  2804. break;
  2805. }
  2806. case "hanUrl":
  2807. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2808. setTimeout(() => {
  2809. U.MD.U.L.login();
  2810. }, 2000);
  2811. } else {
  2812. _formdiv = new U.UF.UI.form(
  2813. "汉字宫",
  2814. $$("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" }), {
  2815. "id": "hanUrl",
  2816. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2817. "onresize": function () { }
  2818. }, {
  2819. closecallback: function () { }
  2820. }, { "style": { "height": "36px" } }).form; //创建窗体
  2821. _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); } }
  2822. break;
  2823. }
  2824. case "index":
  2825. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2826. setTimeout(() => {
  2827. U.MD.U.L.login();
  2828. }, 2000);
  2829. } else {
  2830. _formdiv = new U.UF.UI.form(
  2831. "课程中心",
  2832. $$("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 }), {
  2833. "id": "study",
  2834. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2835. "onresize": function () { }
  2836. }, {
  2837. closecallback: function () { }
  2838. }, { "style": { "height": "36px" } }).form; //创建窗体
  2839. _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); } }
  2840. break;
  2841. }
  2842. case "dataClass":
  2843. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2844. setTimeout(() => {
  2845. U.MD.U.L.login();
  2846. }, 2000);
  2847. } else {
  2848. _formdiv = new U.UF.UI.form(
  2849. "数据报告",
  2850. $$("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 }), {
  2851. "id": "dataClass",
  2852. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2853. "onresize": function () { }
  2854. }, {
  2855. closecallback: function () { }
  2856. }, { "style": { "height": "36px" } }).form; //创建窗体
  2857. _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); } }
  2858. break;
  2859. }
  2860. case "opencCscl":
  2861. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2862. setTimeout(() => {
  2863. U.MD.U.L.login();
  2864. }, 2000);
  2865. } else {
  2866. _formdiv = new U.UF.UI.form(
  2867. "协同建构",
  2868. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  2869. "id": "futureClass",
  2870. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2871. "onresize": function () { }
  2872. }, {
  2873. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  2874. }, { "style": { "height": "36px" } }).form; //创建窗体
  2875. _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); } }
  2876. break;
  2877. }
  2878. }
  2879. }
  2880. U.MD.D.I.openApplication = function (str, obj, info) {
  2881. obj = obj || {};
  2882. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2883. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2884. _userinfo = US.userInfo, //登录用户信息
  2885. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2886. _oid = obj.organizeid || _userinfo.organizeid,
  2887. _type = US.userInfo.type,
  2888. _org = US.userInfo.org,
  2889. _role = US.userInfo.role,
  2890. _classId = US.userInfo.classid,
  2891. _TscreenType = 1
  2892. _screenType = 2,
  2893. _SscreenType = 3;
  2894. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2895. return;
  2896. }
  2897. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2898. switch (str) {
  2899. case "studnetProject": //好友打开
  2900. _formdiv = new U.UF.UI.form(
  2901. "我的项目",
  2902. $$("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 }), {
  2903. "id": "studnetProject",
  2904. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2905. "onresize": function () { }
  2906. }, {
  2907. closecallback: function () { }
  2908. }, { "style": { "height": "36px" } }).form; //创建窗体
  2909. _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); } }
  2910. break;
  2911. case "studentEvaluate": //好友打开
  2912. _formdiv = new U.UF.UI.form(
  2913. "我的评价",
  2914. $$("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 }), {
  2915. "id": "studentEvaluate",
  2916. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2917. "onresize": function () { }
  2918. }, {
  2919. closecallback: function () { }
  2920. }, { "style": { "height": "36px" } }).form; //创建窗体
  2921. _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); } }
  2922. break;
  2923. case "my":
  2924. _formdiv = new U.UF.UI.form(
  2925. "我的资料",
  2926. $$("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 }), {
  2927. "id": "my",
  2928. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2929. "onresize": function () { }
  2930. }, {
  2931. closecallback: function () { }
  2932. }, { "style": { "height": "36px" } }).form; //创建窗体
  2933. _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); } }
  2934. break;
  2935. case "program":
  2936. _formdiv = new U.UF.UI.form(
  2937. "编程平台",
  2938. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2939. "id": "program",
  2940. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2941. "onresize": function () { }
  2942. }, {
  2943. closecallback: function () { }
  2944. }, { "style": { "height": "36px" } }).form; //创建窗体
  2945. _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); } }
  2946. break;
  2947. case "library":
  2948. _formdiv = new U.UF.UI.form(
  2949. "素材库",
  2950. $$("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 }), {
  2951. "id": "library",
  2952. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2953. "onresize": function () { }
  2954. }, {
  2955. closecallback: function () { }
  2956. }, { "style": { "height": "36px" } }).form; //创建窗体
  2957. _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); } }
  2958. break;
  2959. case "whiteboard":
  2960. _formdiv = new U.UF.UI.form(
  2961. "电子白板",
  2962. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2963. "id": "whiteboard",
  2964. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2965. "onresize": function () { }
  2966. }, {
  2967. closecallback: function () { }
  2968. }, { "style": { "height": "36px" } }).form; //创建窗体
  2969. _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); } }
  2970. break;
  2971. case "investigation":
  2972. _formdiv = new U.UF.UI.form(
  2973. "问卷调查",
  2974. $$("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 }), {
  2975. "id": "investigation",
  2976. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2977. "onresize": function () { }
  2978. }, {
  2979. closecallback: function () { }
  2980. }, { "style": { "height": "36px" } }).form; //创建窗体
  2981. _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); } }
  2982. break;
  2983. case "note":
  2984. _formdiv = new U.UF.UI.form(
  2985. "便签分类",
  2986. $$("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 }), {
  2987. "id": "note",
  2988. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2989. "onresize": function () { }
  2990. }, {
  2991. closecallback: function () { }
  2992. }, { "style": { "height": "36px" } }).form; //创建窗体
  2993. _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); } }
  2994. break;
  2995. // case "score":
  2996. // _formdiv = new U.UF.UI.form(
  2997. // "量规评分",
  2998. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2999. // "id": "score",
  3000. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3001. // "onresize": function() {}
  3002. // }, {
  3003. // closecallback: function() {}
  3004. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3005. // _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); } }
  3006. // break;
  3007. case "mind":
  3008. _formdiv = new U.UF.UI.form(
  3009. "思维导图",
  3010. $$("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"
  3011. "id": "mind",
  3012. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3013. "onresize": function () { }
  3014. }, {
  3015. closecallback: function () { }
  3016. }, { "style": { "height": "36px" } }).form; //创建窗体
  3017. _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); } }
  3018. break;
  3019. case "doc":
  3020. // U.MD.D.I.isRoom();
  3021. _formdiv = new U.UF.UI.form(
  3022. "协同文档",
  3023. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3024. "id": "doc",
  3025. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3026. "onresize": function () { }
  3027. }, {
  3028. closecallback: function () { }
  3029. }, { "style": { "height": "36px" } }).form; //创建窗体
  3030. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3031. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3032. // })
  3033. _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); } }
  3034. break;
  3035. case "studentStudy":
  3036. _formdiv = new U.UF.UI.form(
  3037. "课程中心",
  3038. $$("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
  3039. "id": "studentStudy",
  3040. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3041. "onresize": function () { }
  3042. }, {
  3043. closecallback: function () { }
  3044. }, { "style": { "height": "36px" } }).form; //创建窗体
  3045. _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); } }
  3046. break;
  3047. case "train": //好友打开
  3048. _formdiv = new U.UF.UI.form(
  3049. "训练平台",
  3050. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3051. "id": "train",
  3052. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3053. "onresize": function () { }
  3054. }, {
  3055. closecallback: function () { }
  3056. }, { "style": { "height": "36px" } }).form; //创建窗体
  3057. _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); } }
  3058. break;
  3059. case "mindNetwork": //好友打开
  3060. _formdiv = new U.UF.UI.form(
  3061. "思维网格",
  3062. $$("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 }), {
  3063. "id": "mindNetwork",
  3064. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3065. "onresize": function () { }
  3066. }, {
  3067. closecallback: function () { }
  3068. }, { "style": { "height": "36px" } }).form; //创建窗体
  3069. _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); } }
  3070. break;
  3071. case "studentClassRoom": //好友打开
  3072. _formdiv = new U.UF.UI.form(
  3073. "实时课堂",
  3074. $$("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 }), {
  3075. "id": "studentClassRoom",
  3076. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3077. "onresize": function () { }
  3078. }, {
  3079. closecallback: function () { }
  3080. }, { "style": { "height": "36px" } }).form; //创建窗体
  3081. _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); } }
  3082. setTimeout(() => {
  3083. U.UF.F.windowZooming(_formdiv)
  3084. }, 0);
  3085. break;
  3086. }
  3087. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3088. switch (str) {
  3089. case "studnetProject": //好友打开
  3090. _formdiv = new U.UF.UI.form(
  3091. "我的项目",
  3092. $$("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 }), {
  3093. "id": "studnetProject",
  3094. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3095. "onresize": function () { }
  3096. }, {
  3097. closecallback: function () { }
  3098. }, { "style": { "height": "36px" } }).form; //创建窗体
  3099. _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); } }
  3100. break;
  3101. case "studentEvaluate": //好友打开
  3102. _formdiv = new U.UF.UI.form(
  3103. "我的评价",
  3104. $$("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 }), {
  3105. "id": "studentEvaluate",
  3106. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3107. "onresize": function () { }
  3108. }, {
  3109. closecallback: function () { }
  3110. }, { "style": { "height": "36px" } }).form; //创建窗体
  3111. _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); } }
  3112. break;
  3113. case "my":
  3114. _formdiv = new U.UF.UI.form(
  3115. "我的资料",
  3116. $$("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 }), {
  3117. "id": "my",
  3118. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3119. "onresize": function () { }
  3120. }, {
  3121. closecallback: function () { }
  3122. }, { "style": { "height": "36px" } }).form; //创建窗体
  3123. _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); } }
  3124. break;
  3125. case "program":
  3126. _formdiv = new U.UF.UI.form(
  3127. "编程平台",
  3128. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3129. "id": "program",
  3130. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3131. "onresize": function () { }
  3132. }, {
  3133. closecallback: function () { }
  3134. }, { "style": { "height": "36px" } }).form; //创建窗体
  3135. _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); } }
  3136. break;
  3137. case "library":
  3138. _formdiv = new U.UF.UI.form(
  3139. "素材库",
  3140. $$("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 }), {
  3141. "id": "library",
  3142. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3143. "onresize": function () { }
  3144. }, {
  3145. closecallback: function () { }
  3146. }, { "style": { "height": "36px" } }).form; //创建窗体
  3147. _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); } }
  3148. break;
  3149. case "whiteboard":
  3150. _formdiv = new U.UF.UI.form(
  3151. "电子白板",
  3152. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3153. "id": "whiteboard",
  3154. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3155. "onresize": function () { }
  3156. }, {
  3157. closecallback: function () { }
  3158. }, { "style": { "height": "36px" } }).form; //创建窗体
  3159. _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); } }
  3160. break;
  3161. case "investigation":
  3162. _formdiv = new U.UF.UI.form(
  3163. "问卷调查",
  3164. $$("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 }), {
  3165. "id": "investigation",
  3166. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3167. "onresize": function () { }
  3168. }, {
  3169. closecallback: function () { }
  3170. }, { "style": { "height": "36px" } }).form; //创建窗体
  3171. _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); } }
  3172. break;
  3173. case "note":
  3174. _formdiv = new U.UF.UI.form(
  3175. "便签分类",
  3176. $$("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 }), {
  3177. "id": "note",
  3178. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3179. "onresize": function () { }
  3180. }, {
  3181. closecallback: function () { }
  3182. }, { "style": { "height": "36px" } }).form; //创建窗体
  3183. _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); } }
  3184. break;
  3185. // case "score":
  3186. // _formdiv = new U.UF.UI.form(
  3187. // "量规评分",
  3188. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3189. // "id": "score",
  3190. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3191. // "onresize": function() {}
  3192. // }, {
  3193. // closecallback: function() {}
  3194. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3195. // _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); } }
  3196. // break;
  3197. case "mind":
  3198. _formdiv = new U.UF.UI.form(
  3199. "思维导图",
  3200. $$("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"
  3201. "id": "mind",
  3202. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3203. "onresize": function () { }
  3204. }, {
  3205. closecallback: function () { }
  3206. }, { "style": { "height": "36px" } }).form; //创建窗体
  3207. _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); } }
  3208. break;
  3209. case "doc":
  3210. // U.MD.D.I.isRoom();
  3211. _formdiv = new U.UF.UI.form(
  3212. "协同文档",
  3213. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3214. "id": "doc",
  3215. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3216. "onresize": function () { }
  3217. }, {
  3218. closecallback: function () { }
  3219. }, { "style": { "height": "36px" } }).form; //创建窗体
  3220. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3221. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3222. })
  3223. _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); } }
  3224. break;
  3225. case "train": //好友打开
  3226. _formdiv = new U.UF.UI.form(
  3227. "训练平台",
  3228. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3229. "id": "train",
  3230. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3231. "onresize": function () { }
  3232. }, {
  3233. closecallback: function () { }
  3234. }, { "style": { "height": "36px" } }).form; //创建窗体
  3235. _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); } }
  3236. break;
  3237. case "studentStudy":
  3238. _formdiv = new U.UF.UI.form(
  3239. "课程中心",
  3240. $$("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
  3241. "id": "studentStudy",
  3242. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3243. "onresize": function () { }
  3244. }, {
  3245. closecallback: function () { }
  3246. }, { "style": { "height": "36px" } }).form; //创建窗体
  3247. _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); } }
  3248. break;
  3249. case "mindNetwork": //好友打开
  3250. _formdiv = new U.UF.UI.form(
  3251. "思维网格",
  3252. $$("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 }), {
  3253. "id": "mindNetwork",
  3254. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3255. "onresize": function () { }
  3256. }, {
  3257. closecallback: function () { }
  3258. }, { "style": { "height": "36px" } }).form; //创建窗体
  3259. _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); } }
  3260. break;
  3261. case "studentClassRoom": //好友打开
  3262. _formdiv = new U.UF.UI.form(
  3263. "实时课堂",
  3264. $$("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 }), {
  3265. "id": "studentClassRoom",
  3266. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3267. "onresize": function () { }
  3268. }, {
  3269. closecallback: function () { }
  3270. }, { "style": { "height": "36px" } }).form; //创建窗体
  3271. _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); } }
  3272. setTimeout(() => {
  3273. U.UF.F.windowZooming(_formdiv)
  3274. }, 0);
  3275. break;
  3276. }
  3277. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3278. //选择应用处理
  3279. switch (str) {
  3280. case "project": //好友打开
  3281. _formdiv = new U.UF.UI.form(
  3282. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3283. $$("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 }), {
  3284. "id": "project",
  3285. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3286. "onresize": function () { }
  3287. }, {
  3288. closecallback: function () { }
  3289. }, { "style": { "height": "36px" } }).form; //创建窗体
  3290. _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); } }
  3291. break;
  3292. case "student":
  3293. _formdiv = new U.UF.UI.form(
  3294. "学生管理",
  3295. $$("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 }), {
  3296. "id": "student",
  3297. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3298. "onresize": function () { }
  3299. }, {
  3300. closecallback: function () { }
  3301. }, { "style": { "height": "36px" } }).form; //创建窗体
  3302. _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); } }
  3303. break;
  3304. case "evaluate":
  3305. _formdiv = new U.UF.UI.form(
  3306. "学生评价",
  3307. $$("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 }), {
  3308. "id": "evaluate",
  3309. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3310. "onresize": function () { }
  3311. }, {
  3312. closecallback: function () { }
  3313. }, { "style": { "height": "36px" } }).form; //创建窗体
  3314. _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); } }
  3315. break;
  3316. case "sys":
  3317. _formdiv = new U.UF.UI.form(
  3318. "目标管理",
  3319. $$("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 }), {
  3320. "id": "sys",
  3321. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3322. "onresize": function () { }
  3323. }, {
  3324. closecallback: function () { }
  3325. }, { "style": { "height": "36px" } }).form; //创建窗体
  3326. _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); } }
  3327. break;
  3328. case "courseDesign":
  3329. _formdiv = new U.UF.UI.form(
  3330. "项目设计",
  3331. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3332. "id": "courseDesign",
  3333. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3334. "onresize": function () { }
  3335. }, {
  3336. closecallback: function () { }
  3337. }, { "style": { "height": "36px" } }).form; //创建窗体
  3338. _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); } }
  3339. break;
  3340. case "program":
  3341. _formdiv = new U.UF.UI.form(
  3342. "编程平台",
  3343. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3344. "id": "program",
  3345. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3346. "onresize": function () { }
  3347. }, {
  3348. closecallback: function () { }
  3349. }, { "style": { "height": "36px" } }).form; //创建窗体
  3350. _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); } }
  3351. break;
  3352. case "class":
  3353. _formdiv = new U.UF.UI.form(
  3354. "班级管理",
  3355. $$("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 }), {
  3356. "id": "class",
  3357. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3358. "onresize": function () { }
  3359. }, {
  3360. closecallback: function () { }
  3361. }, { "style": { "height": "36px" } }).form; //创建窗体
  3362. _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); } }
  3363. break;
  3364. case "Grade":
  3365. _formdiv = new U.UF.UI.form(
  3366. "年级管理",
  3367. $$("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 }), {
  3368. "id": "Grade",
  3369. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3370. "onresize": function () { }
  3371. }, {
  3372. closecallback: function () { }
  3373. }, { "style": { "height": "36px" } }).form; //创建窗体
  3374. _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); } }
  3375. break;
  3376. case "teacherOffice":
  3377. _formdiv = new U.UF.UI.form(
  3378. "教研室",
  3379. $$("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 }), {
  3380. "id": "teacherOffice",
  3381. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3382. "onresize": function () { }
  3383. }, {
  3384. closecallback: function () { }
  3385. }, { "style": { "height": "36px" } }).form; //创建窗体
  3386. _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); } }
  3387. break;
  3388. case "my":
  3389. _formdiv = new U.UF.UI.form(
  3390. "我的资料",
  3391. $$("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 }), {
  3392. "id": "my",
  3393. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3394. "onresize": function () { }
  3395. }, {
  3396. closecallback: function () { }
  3397. }, { "style": { "height": "36px" } }).form; //创建窗体
  3398. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3399. break;
  3400. case "notice":
  3401. _formdiv = new U.UF.UI.form(
  3402. "通知公告",
  3403. $$("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 }), {
  3404. "id": "notice",
  3405. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3406. "onresize": function () { }
  3407. }, {
  3408. closecallback: function () { }
  3409. }, { "style": { "height": "36px" } }).form; //创建窗体
  3410. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3411. break;
  3412. case "library":
  3413. _formdiv = new U.UF.UI.form(
  3414. "素材库",
  3415. $$("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 }), {
  3416. "id": "library",
  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/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3423. break;
  3424. case "whiteboard":
  3425. _formdiv = new U.UF.UI.form(
  3426. "电子白板",
  3427. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3428. "id": "whiteboard",
  3429. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3430. "onresize": function () { }
  3431. }, {
  3432. closecallback: function () { }
  3433. }, { "style": { "height": "36px" } }).form; //创建窗体
  3434. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3435. break;
  3436. case "investigation":
  3437. _formdiv = new U.UF.UI.form(
  3438. "问卷调查",
  3439. $$("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 }), {
  3440. "id": "investigation",
  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/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3447. break;
  3448. case "note":
  3449. _formdiv = new U.UF.UI.form(
  3450. "便签分类",
  3451. $$("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 }), {
  3452. "id": "note",
  3453. "style": { "width": "20%", "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/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3459. break;
  3460. // case "score":
  3461. // _formdiv = new U.UF.UI.form(
  3462. // "量规评分",
  3463. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3464. // "id": "score",
  3465. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3466. // "onresize": function() {}
  3467. // }, {
  3468. // closecallback: function() {}
  3469. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3470. // _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); } }
  3471. // break;
  3472. case "mind":
  3473. _formdiv = new U.UF.UI.form(
  3474. "思维导图",
  3475. $$("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"
  3476. "id": "mind",
  3477. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3478. "onresize": function () { }
  3479. }, {
  3480. closecallback: function () { }
  3481. }, { "style": { "height": "36px" } }).form; //创建窗体
  3482. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3483. break;
  3484. case "doc":
  3485. // U.MD.D.I.isRoom();
  3486. _formdiv = new U.UF.UI.form(
  3487. "协同文档",
  3488. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3489. "id": "doc",
  3490. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3491. "onresize": function () { }
  3492. }, {
  3493. closecallback: function () { }
  3494. }, { "style": { "height": "36px" } }).form; //创建窗体
  3495. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3496. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3497. })
  3498. _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); } }
  3499. break;
  3500. case "study":
  3501. _formdiv = new U.UF.UI.form(
  3502. "课程中心",
  3503. $$("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
  3504. "id": "study",
  3505. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3506. "onresize": function () { }
  3507. }, {
  3508. closecallback: function () { }
  3509. }, { "style": { "height": "36px" } }).form; //创建窗体
  3510. _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); } }
  3511. break;
  3512. case "mindNetwork": //好友打开
  3513. _formdiv = new U.UF.UI.form(
  3514. "思维网格",
  3515. $$("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 }), {
  3516. "id": "mindNetwork",
  3517. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3518. "onresize": function () { }
  3519. }, {
  3520. closecallback: function () { }
  3521. }, { "style": { "height": "36px" } }).form; //创建窗体
  3522. _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); } }
  3523. break;
  3524. case "train": //好友打开
  3525. _formdiv = new U.UF.UI.form(
  3526. "训练平台",
  3527. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3528. "id": "mindNetwork",
  3529. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3530. "onresize": function () { }
  3531. }, {
  3532. closecallback: function () { }
  3533. }, { "style": { "height": "36px" } }).form; //创建窗体
  3534. _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); } }
  3535. break;
  3536. case "teacherClassRoom": //好友打开
  3537. _formdiv = new U.UF.UI.form(
  3538. "实时课堂",
  3539. $$("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 }), {
  3540. "id": "teacherClassRoom",
  3541. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3542. "onresize": function () { }
  3543. }, {
  3544. closecallback: function () { }
  3545. }, { "style": { "height": "36px" } }).form; //创建窗体
  3546. _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); } }
  3547. setTimeout(() => {
  3548. U.UF.F.windowZooming(_formdiv)
  3549. }, 0);
  3550. break;
  3551. }
  3552. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3553. switch (str) {
  3554. case "project": //好友打开
  3555. _formdiv = new U.UF.UI.form(
  3556. "课程管理",
  3557. $$("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 }), {
  3558. "id": "project",
  3559. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3560. "onresize": function () { }
  3561. }, {
  3562. closecallback: function () { }
  3563. }, { "style": { "height": "36px" } }).form; //创建窗体
  3564. _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); } }
  3565. break;
  3566. case "evaluate":
  3567. _formdiv = new U.UF.UI.form(
  3568. "学生评价",
  3569. $$("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 }), {
  3570. "id": "evaluate",
  3571. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3572. "onresize": function () { }
  3573. }, {
  3574. closecallback: function () { }
  3575. }, { "style": { "height": "36px" } }).form; //创建窗体
  3576. _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); } }
  3577. break;
  3578. case "notice":
  3579. _formdiv = new U.UF.UI.form(
  3580. "通知公告",
  3581. $$("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 }), {
  3582. "id": "notice",
  3583. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3584. "onresize": function () { }
  3585. }, {
  3586. closecallback: function () { }
  3587. }, { "style": { "height": "36px" } }).form; //创建窗体
  3588. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3589. break;
  3590. case "stuLibrary":
  3591. _formdiv = new U.UF.UI.form(
  3592. "学习资料",
  3593. $$("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 }), {
  3594. "id": "stuLibrary",
  3595. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3596. "onresize": function () { }
  3597. }, {
  3598. closecallback: function () { }
  3599. }, { "style": { "height": "36px" } }).form; //创建窗体
  3600. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/stuLibrary.png)" }, "name": "学习资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3601. break;
  3602. case "program":
  3603. _formdiv = new U.UF.UI.form(
  3604. "编程平台",
  3605. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3606. "id": "program",
  3607. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3608. "onresize": function () { }
  3609. }, {
  3610. closecallback: function () { }
  3611. }, { "style": { "height": "36px" } }).form; //创建窗体
  3612. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3613. break;
  3614. case "whiteboard":
  3615. _formdiv = new U.UF.UI.form(
  3616. "电子白板",
  3617. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3618. "id": "whiteboard",
  3619. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3620. "onresize": function () { }
  3621. }, {
  3622. closecallback: function () { }
  3623. }, { "style": { "height": "36px" } }).form; //创建窗体
  3624. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3625. break;
  3626. case "investigation":
  3627. _formdiv = new U.UF.UI.form(
  3628. "问卷调查",
  3629. $$("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 }), {
  3630. "id": "investigation",
  3631. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3632. "onresize": function () { }
  3633. }, {
  3634. closecallback: function () { }
  3635. }, { "style": { "height": "36px" } }).form; //创建窗体
  3636. _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); } }
  3637. break;
  3638. case "mind":
  3639. _formdiv = new U.UF.UI.form(
  3640. "思维导图",
  3641. $$("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"
  3642. "id": "mind",
  3643. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3644. "onresize": function () { }
  3645. }, {
  3646. closecallback: function () { }
  3647. }, { "style": { "height": "36px" } }).form; //创建窗体
  3648. _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); } }
  3649. break;
  3650. case "doc":
  3651. // U.MD.D.I.isRoom();
  3652. _formdiv = new U.UF.UI.form(
  3653. "协同文档",
  3654. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3655. "id": "doc",
  3656. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3657. "onresize": function () { }
  3658. }, {
  3659. closecallback: function () { }
  3660. }, { "style": { "height": "36px" } }).form; //创建窗体
  3661. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3662. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3663. })
  3664. _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); } }
  3665. break;
  3666. case "study":
  3667. _formdiv = new U.UF.UI.form(
  3668. "课程中心",
  3669. $$("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
  3670. "id": "study",
  3671. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3672. "onresize": function () { }
  3673. }, {
  3674. closecallback: function () { }
  3675. }, { "style": { "height": "36px" } }).form; //创建窗体
  3676. _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); } }
  3677. break;
  3678. case "mindNetwork": //好友打开
  3679. _formdiv = new U.UF.UI.form(
  3680. "思维网格",
  3681. $$("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 }), {
  3682. "id": "mindNetwork",
  3683. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3684. "onresize": function () { }
  3685. }, {
  3686. closecallback: function () { }
  3687. }, { "style": { "height": "36px" } }).form; //创建窗体
  3688. _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); } }
  3689. break;
  3690. case "train": //好友打开
  3691. _formdiv = new U.UF.UI.form(
  3692. "训练平台",
  3693. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3694. "id": "train",
  3695. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3696. "onresize": function () { }
  3697. }, {
  3698. closecallback: function () { }
  3699. }, { "style": { "height": "36px" } }).form; //创建窗体
  3700. _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); } }
  3701. break;
  3702. case "sys":
  3703. _formdiv = new U.UF.UI.form(
  3704. "目标管理",
  3705. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3706. "id": "sys",
  3707. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3708. "onresize": function () { }
  3709. }, {
  3710. closecallback: function () { }
  3711. }, { "style": { "height": "36px" } }).form; //创建窗体
  3712. _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); } }
  3713. break;
  3714. case "courseDesign":
  3715. _formdiv = new U.UF.UI.form(
  3716. "项目设计",
  3717. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3718. "id": "courseDesign",
  3719. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3720. "onresize": function () { }
  3721. }, {
  3722. closecallback: function () { }
  3723. }, { "style": { "height": "36px" } }).form; //创建窗体
  3724. _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); } }
  3725. break;
  3726. }
  3727. } else if (!_type) {
  3728. switch (str) {
  3729. case "my":
  3730. _formdiv = new U.UF.UI.form(
  3731. "我的资料",
  3732. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3733. "id": "my",
  3734. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3735. "onresize": function () { }
  3736. }, {
  3737. closecallback: function () { }
  3738. }, { "style": { "height": "36px" } }).form; //创建窗体
  3739. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3740. break;
  3741. }
  3742. }
  3743. switch (str) {
  3744. // AIprogram2 AI体验 aihub.cocorobo.cn
  3745. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3746. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3747. case "formulaEdi": //公式编辑
  3748. _formdiv = new U.UF.UI.form(
  3749. "公式编辑",
  3750. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3751. "id": "formulaEdi",
  3752. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3753. "onresize": function () { }
  3754. }, {
  3755. closecallback: function () { }
  3756. }, { "style": { "height": "36px" } }).form; //创建窗体
  3757. _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); } }
  3758. break;
  3759. case "molStr": //分子结构
  3760. _formdiv = new U.UF.UI.form(
  3761. "分子结构",
  3762. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3763. "id": "molStr",
  3764. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3765. "onresize": function () { }
  3766. }, {
  3767. closecallback: function () { }
  3768. }, { "style": { "height": "36px" } }).form; //创建窗体
  3769. _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); } }
  3770. break;
  3771. case "timeAxis": //时间轴
  3772. _formdiv = new U.UF.UI.form(
  3773. "时间轴",
  3774. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3775. "id": "timeAxis",
  3776. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3777. "onresize": function () { }
  3778. }, {
  3779. closecallback: function () { }
  3780. }, { "style": { "height": "36px" } }).form; //创建窗体
  3781. _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); } }
  3782. break;
  3783. case "AIprogram2": //AI体验
  3784. _formdiv = new U.UF.UI.form(
  3785. "AI体验",
  3786. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3787. "id": "AIprogram2",
  3788. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3789. "onresize": function () { }
  3790. }, {
  3791. closecallback: function () { }
  3792. }, { "style": { "height": "36px" } }).form; //创建窗体
  3793. _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); } }
  3794. break;
  3795. case "Pythonprogram": //python编程
  3796. _formdiv = new U.UF.UI.form(
  3797. "Python编程",
  3798. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3799. "id": "Pythonprogram",
  3800. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3801. "onresize": function () { }
  3802. }, {
  3803. closecallback: function () { }
  3804. }, { "style": { "height": "36px" } }).form; //创建窗体
  3805. _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); } }
  3806. break;
  3807. case "AIprogram": //ai编程
  3808. _formdiv = new U.UF.UI.form(
  3809. "AI编程平台",
  3810. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3811. "id": "AIprogram",
  3812. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3813. "onresize": function () { }
  3814. }, {
  3815. closecallback: function () { }
  3816. }, { "style": { "height": "36px" } }).form; //创建窗体
  3817. _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); } }
  3818. break;
  3819. case "CocoPi": //CocoPi
  3820. _formdiv = new U.UF.UI.form(
  3821. "CocoPi",
  3822. $$("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" }), {
  3823. "id": "CocoPi",
  3824. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3825. "onresize": function () { }
  3826. }, {
  3827. closecallback: function () { }
  3828. }, { "style": { "height": "36px" } }).form; //创建窗体
  3829. _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); } }
  3830. break;
  3831. case "Wood": //Wood
  3832. _formdiv = new U.UF.UI.form(
  3833. "海龟编程",
  3834. $$("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/" }), {
  3835. "id": "Wood",
  3836. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3837. "onresize": function () { }
  3838. }, {
  3839. closecallback: function () { }
  3840. }, { "style": { "height": "36px" } }).form; //创建窗体
  3841. _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); } }
  3842. break;
  3843. case "car": //模拟驾驶
  3844. _formdiv = new U.UF.UI.form(
  3845. "模拟驾驶",
  3846. $$("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/" }), {
  3847. "id": "car",
  3848. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3849. "onresize": function () { }
  3850. }, {
  3851. closecallback: function () { }
  3852. }, { "style": { "height": "36px" } }).form; //创建窗体
  3853. _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); } }
  3854. break;
  3855. case "lineSearch": //路径搜索
  3856. _formdiv = new U.UF.UI.form(
  3857. "路径搜索",
  3858. $$("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/" }), {
  3859. "id": "lineSearch",
  3860. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3861. "onresize": function () { }
  3862. }, {
  3863. closecallback: function () { }
  3864. }, { "style": { "height": "36px" } }).form; //创建窗体
  3865. _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); } }
  3866. break;
  3867. case "deepLearning": //深度学习
  3868. _formdiv = new U.UF.UI.form(
  3869. "深度学习",
  3870. $$("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/#" }), {
  3871. "id": "deepLearning",
  3872. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3873. "onresize": function () { }
  3874. }, {
  3875. closecallback: function () { }
  3876. }, { "style": { "height": "36px" } }).form; //创建窗体
  3877. _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); } }
  3878. break;
  3879. case "allHistory": //深度学习
  3880. _formdiv = new U.UF.UI.form(
  3881. "全历史",
  3882. $$("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/" }), {
  3883. "id": "allHistory",
  3884. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3885. "onresize": function () { }
  3886. }, {
  3887. closecallback: function () { }
  3888. }, { "style": { "height": "36px" } }).form; //创建窗体
  3889. _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); } }
  3890. break;
  3891. case "chatPDF": //ai编程
  3892. _formdiv = new U.UF.UI.form(
  3893. "chatPDF",
  3894. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3895. "id": "chatPDF",
  3896. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3897. "onresize": function () { }
  3898. }, {
  3899. closecallback: function () { }
  3900. }, { "style": { "height": "36px" } }).form; //创建窗体
  3901. _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); } }
  3902. break;
  3903. case "resources": //国家教育
  3904. _formdiv = new U.UF.UI.form(
  3905. "国家教育",
  3906. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3907. "id": "resources",
  3908. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3909. "onresize": function () { }
  3910. }, {
  3911. closecallback: function () { }
  3912. }, { "style": { "height": "36px" } }).form; //创建窗体
  3913. _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); } }
  3914. break;
  3915. case "codeEdit": //源码编辑
  3916. _formdiv = new U.UF.UI.form(
  3917. "源码编辑",
  3918. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3919. "id": "codeEdit",
  3920. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3921. "onresize": function () { }
  3922. }, {
  3923. closecallback: function () { }
  3924. }, { "style": { "height": "36px" } }).form; //创建窗体
  3925. _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); } }
  3926. break; //
  3927. case "MindMap": //MindMap
  3928. _formdiv = new U.UF.UI.form(
  3929. "MindMap",
  3930. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3931. "id": "MindMap",
  3932. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3933. "onresize": function () { }
  3934. }, {
  3935. closecallback: function () { }
  3936. }, { "style": { "height": "36px" } }).form; //创建窗体
  3937. _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); } }
  3938. break;
  3939. case "netWorkPanel": //netWorkPanel
  3940. _formdiv = new U.UF.UI.form(
  3941. "netWorkPanel",
  3942. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3943. "id": "netWorkPanel",
  3944. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3945. "onresize": function () { }
  3946. }, {
  3947. closecallback: function () { }
  3948. }, { "style": { "height": "36px" } }).form; //创建窗体
  3949. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/netWorkPanel.png)" }, "name": "netWorkPanel", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3950. break;
  3951. case "GeoGebra": //GeoGebra
  3952. _formdiv = new U.UF.UI.form(
  3953. "GeoGebra",
  3954. $$("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" }), {
  3955. "id": "GeoGebra",
  3956. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3957. "onresize": function () { }
  3958. }, {
  3959. closecallback: function () { }
  3960. }, { "style": { "height": "36px" } }).form; //创建窗体
  3961. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/GeoGebra.png)" }, "name": "GeoGebra", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3962. break;
  3963. case "translation": //翻译
  3964. _formdiv = new U.UF.UI.form(
  3965. "翻译",
  3966. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3967. "id": "translation",
  3968. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3969. "onresize": function () { }
  3970. }, {
  3971. closecallback: function () { }
  3972. }, { "style": { "height": "36px" } }).form; //创建窗体
  3973. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/translation.png)" }, "name": "翻译", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3974. break;
  3975. case "mohe": //魔盒
  3976. _formdiv = new U.UF.UI.form(
  3977. "魔盒识字",
  3978. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3979. "id": "mohe",
  3980. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3981. "onresize": function () { }
  3982. }, {
  3983. closecallback: function () { }
  3984. }, { "style": { "height": "36px" } }).form; //创建窗体
  3985. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mohe.png)" }, "name": "魔盒识字", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3986. break;
  3987. case "24game": //24点
  3988. _formdiv = new U.UF.UI.form(
  3989. "24点",
  3990. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3991. "id": "24game",
  3992. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3993. "onresize": function () { }
  3994. }, {
  3995. closecallback: function () { }
  3996. }, { "style": { "height": "36px" } }).form; //创建窗体
  3997. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/24game.png)" }, "name": "24点", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3998. break;
  3999. case "case":
  4000. _formdiv = new U.UF.UI.form(
  4001. "课程进展",
  4002. $$("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 }), {
  4003. "id": "case",
  4004. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4005. "onresize": function () { }
  4006. }, {
  4007. closecallback: function () { }
  4008. }, { "style": { "height": "36px" } }).form; //创建窗体
  4009. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4010. break;
  4011. case "snf":
  4012. _formdiv = new U.UF.UI.form(
  4013. "赛诺梵",
  4014. $$("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" }), {
  4015. "id": "snf",
  4016. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4017. "onresize": function () { }
  4018. }, {
  4019. closecallback: function () { }
  4020. }, { "style": { "height": "36px" } }).form; //创建窗体
  4021. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/snf.png)" }, "name": "赛诺梵", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4022. break;
  4023. case "hanFamily":
  4024. _formdiv = new U.UF.UI.form(
  4025. "汉字家族",
  4026. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4027. "id": "hanFamily",
  4028. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4029. "onresize": function () { }
  4030. }, {
  4031. closecallback: function () { }
  4032. }, { "style": { "height": "36px" } }).form; //创建窗体
  4033. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4034. break;
  4035. case "hanClassics":
  4036. _formdiv = new U.UF.UI.form(
  4037. "国学经典",
  4038. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4039. "id": "hanClassics",
  4040. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4041. "onresize": function () { }
  4042. }, {
  4043. closecallback: function () { }
  4044. }, { "style": { "height": "36px" } }).form; //创建窗体
  4045. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClassics.png)" }, "name": "国学经典", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4046. break;
  4047. case "hanTraining":
  4048. _formdiv = new U.UF.UI.form(
  4049. "笔画训练",
  4050. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4051. "id": "hanTraining",
  4052. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4053. "onresize": function () { }
  4054. }, {
  4055. closecallback: function () { }
  4056. }, { "style": { "height": "36px" } }).form; //创建窗体
  4057. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanTraining.png)" }, "name": "笔画训练", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4058. break;
  4059. case "hanClass":
  4060. _formdiv = new U.UF.UI.form(
  4061. "书法课堂",
  4062. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4063. "id": "hanClass",
  4064. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4065. "onresize": function () { }
  4066. }, {
  4067. closecallback: function () { }
  4068. }, { "style": { "height": "36px" } }).form; //创建窗体
  4069. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "书法课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4070. break;
  4071. case "han":
  4072. _formdiv = new U.UF.UI.form(
  4073. "汉字宫",
  4074. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4075. "id": "han",
  4076. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4077. "onresize": function () { }
  4078. }, {
  4079. closecallback: function () { }
  4080. }, { "style": { "height": "36px" } }).form; //创建窗体
  4081. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/han.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4082. break;
  4083. case "projectGM": //课程管理
  4084. _formdiv = new U.UF.UI.form(
  4085. "课程管理",
  4086. $$("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 }), {
  4087. "id": "projectGM",
  4088. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4089. "onresize": function () { }
  4090. }, {
  4091. closecallback: function () { }
  4092. }, { "style": { "height": "36px" } }).form; //创建窗体
  4093. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/courseMange.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4094. break;
  4095. case "studyGM": //课程中心
  4096. _formdiv = new U.UF.UI.form(
  4097. "课程中心",
  4098. $$("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
  4099. "id": "study",
  4100. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4101. "onresize": function () { }
  4102. }, {
  4103. closecallback: function () { }
  4104. }, { "style": { "height": "36px" } }).form; //创建窗体
  4105. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4106. break;
  4107. // studentGM
  4108. case "studentGM": //学生管理
  4109. _formdiv = new U.UF.UI.form(
  4110. "学生管理",
  4111. $$("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 }), {
  4112. "id": "studentGM",
  4113. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4114. "onresize": function () { }
  4115. }, {
  4116. closecallback: function () { }
  4117. }, { "style": { "height": "36px" } }).form; //创建窗体
  4118. _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); } }
  4119. break;
  4120. case "evaluateGM": //学生评价
  4121. _formdiv = new U.UF.UI.form(
  4122. "学生评价",
  4123. $$("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 }), {
  4124. "id": "evaluateGM",
  4125. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4126. "onresize": function () { }
  4127. }, {
  4128. closecallback: function () { }
  4129. }, { "style": { "height": "36px" } }).form; //创建窗体
  4130. _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); } }
  4131. break;
  4132. // classGM
  4133. case "classGM": //班级管理
  4134. _formdiv = new U.UF.UI.form(
  4135. "班级管理",
  4136. $$("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 }), {
  4137. "id": "classGM",
  4138. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4139. "onresize": function () { }
  4140. }, {
  4141. closecallback: function () { }
  4142. }, { "style": { "height": "36px" } }).form; //创建窗体
  4143. _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); } }
  4144. break;
  4145. // dataGM
  4146. case "dataGM":
  4147. _formdiv = new U.UF.UI.form(
  4148. "我的资料",
  4149. $$("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 }), {
  4150. "id": "dataGM",
  4151. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4152. "onresize": function () { }
  4153. }, {
  4154. closecallback: function () { }
  4155. }, { "style": { "height": "36px" } }).form; //创建窗体
  4156. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/data.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4157. break;
  4158. // caseGM
  4159. case "caseGM": //课程进展
  4160. _formdiv = new U.UF.UI.form(
  4161. "课程进展",
  4162. $$("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 }), {
  4163. "id": "caseGM",
  4164. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4165. "onresize": function () { }
  4166. }, {
  4167. closecallback: function () { }
  4168. }, { "style": { "height": "36px" } }).form; //创建窗体
  4169. _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); } }
  4170. break;
  4171. // meterialGM
  4172. case "meterialGM": //素材库
  4173. _formdiv = new U.UF.UI.form(
  4174. "素材库",
  4175. $$("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 }), {
  4176. "id": "meterialGM",
  4177. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4178. "onresize": function () { }
  4179. }, {
  4180. closecallback: function () { }
  4181. }, { "style": { "height": "36px" } }).form; //创建窗体
  4182. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/material.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4183. break;
  4184. // evaluateSGM
  4185. case "evaluateSGM": //我的评价
  4186. _formdiv = new U.UF.UI.form(
  4187. "我的评价",
  4188. $$("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 }), {
  4189. "id": "evaluateSGM",
  4190. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4191. "onresize": function () { }
  4192. }, {
  4193. closecallback: function () { }
  4194. }, { "style": { "height": "36px" } }).form; //创建窗体
  4195. _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); } }
  4196. break;
  4197. case "jupyter": //jupyter
  4198. _formdiv = new U.UF.UI.form(
  4199. "jupyter",
  4200. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4201. "id": "jupyter",
  4202. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4203. "onresize": function () { }
  4204. }, {
  4205. closecallback: function () { }
  4206. }, { "style": { "height": "36px" } }).form; //创建窗体
  4207. _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); } }
  4208. break;
  4209. case "number": //数字实验室
  4210. _formdiv = new U.UF.UI.form(
  4211. "数字实验室",
  4212. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4213. "id": "number",
  4214. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4215. "onresize": function () { }
  4216. }, {
  4217. closecallback: function () { }
  4218. }, { "style": { "height": "36px" } }).form; //创建窗体
  4219. _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); } }
  4220. break;
  4221. case "studentCourse": //项目管理 学生
  4222. _formdiv = new U.UF.UI.form(
  4223. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4224. $$("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 }), {
  4225. "id": "studentCourse",
  4226. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4227. "onresize": function () { }
  4228. }, {
  4229. closecallback: function () { }
  4230. }, { "style": { "height": "36px" } }).form; //创建窗体
  4231. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4232. break;
  4233. case "studentCourseS": //项目管理 老师
  4234. _formdiv = new U.UF.UI.form(
  4235. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4236. $$("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 }), {
  4237. "id": "studentCourseS",
  4238. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4239. "onresize": function () { }
  4240. }, {
  4241. closecallback: function () { }
  4242. }, { "style": { "height": "36px" } }).form; //创建窗体
  4243. _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); } }
  4244. break;
  4245. case "studentIndex": //项目中心
  4246. _formdiv = new U.UF.UI.form(
  4247. "项目中心",
  4248. $$("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 }), {
  4249. "id": "studentIndex",
  4250. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4251. "onresize": function () { }
  4252. }, {
  4253. closecallback: function () { }
  4254. }, { "style": { "height": "36px" } }).form; //创建窗体
  4255. _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); } }
  4256. break;
  4257. case "CaseDesignS":
  4258. _formdiv = new U.UF.UI.form(
  4259. "项目进展",
  4260. $$("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 }), {
  4261. "id": "case",
  4262. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4263. "onresize": function () { }
  4264. }, {
  4265. closecallback: function () { }
  4266. }, { "style": { "height": "36px" } }).form; //创建窗体
  4267. _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); } }
  4268. break;
  4269. case "tcStudent": //腾讯学生管理
  4270. _formdiv = new U.UF.UI.form(
  4271. "学生管理",
  4272. $$("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 }), {
  4273. "id": "tcStudent",
  4274. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4275. "onresize": function () { }
  4276. }, {
  4277. closecallback: function () { }
  4278. }, { "style": { "height": "36px" } }).form; //创建窗体
  4279. _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); } }
  4280. break;
  4281. case "tcSchool": //腾讯学校管理
  4282. _formdiv = new U.UF.UI.form(
  4283. "学校管理",
  4284. $$("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 }), {
  4285. "id": "tcSchool",
  4286. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4287. "onresize": function () { }
  4288. }, {
  4289. closecallback: function () { }
  4290. }, { "style": { "height": "36px" } }).form; //创建窗体
  4291. _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); } }
  4292. break;
  4293. case "tcTeacher": //腾讯学校管理
  4294. _formdiv = new U.UF.UI.form(
  4295. "教师管理",
  4296. $$("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 }), {
  4297. "id": "tcTeacher",
  4298. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4299. "onresize": function () { }
  4300. }, {
  4301. closecallback: function () { }
  4302. }, { "style": { "height": "36px" } }).form; //创建窗体
  4303. _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); } }
  4304. break;
  4305. case "tcData": //腾讯我的资料
  4306. _formdiv = new U.UF.UI.form(
  4307. "我的资料",
  4308. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcData?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4309. "id": "tcData",
  4310. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4311. "onresize": function () { }
  4312. }, {
  4313. closecallback: function () { }
  4314. }, { "style": { "height": "36px" } }).form; //创建窗体
  4315. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4316. break;
  4317. case "tcNotice": //腾讯消息通知
  4318. _formdiv = new U.UF.UI.form(
  4319. "消息通知",
  4320. $$("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 }), {
  4321. "id": "tcNotice",
  4322. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4323. "onresize": function () { }
  4324. }, {
  4325. closecallback: function () { }
  4326. }, { "style": { "height": "36px" } }).form; //创建窗体
  4327. _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); } }
  4328. break;
  4329. case "myReport": //好友打开
  4330. _formdiv = new U.UF.UI.form(
  4331. "我的评价",
  4332. $$("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 }), {
  4333. "id": "myReport",
  4334. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4335. "onresize": function () { }
  4336. }, {
  4337. closecallback: function () { }
  4338. }, { "style": { "height": "36px" } }).form; //创建窗体
  4339. _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); } }
  4340. break;
  4341. case "learnAna": //好友打开
  4342. _formdiv = new U.UF.UI.form(
  4343. "学习分析",
  4344. $$("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 }), {
  4345. "id": "learnAna",
  4346. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4347. "onresize": function () { }
  4348. }, {
  4349. closecallback: function () { }
  4350. }, { "style": { "height": "36px" } }).form; //创建窗体
  4351. _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); } }
  4352. break;
  4353. case "AIChat": //AI共创
  4354. _formdiv = new U.UF.UI.form(
  4355. "AI共创",
  4356. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4357. "id": "AIChat",
  4358. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4359. "onresize": function () { }
  4360. }, {
  4361. istop: true,
  4362. closecallback: function () { $("#aichat_icon").remove(); },
  4363. narrowcallback: function () {
  4364. if (!$("#aichat_icon")[0]) {
  4365. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4366. }
  4367. },
  4368. }, { "style": { "height": "36px" } }).form; //创建窗体
  4369. _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); } }
  4370. break;
  4371. case "ainew": //AI共创
  4372. _formdiv = new U.UF.UI.form(
  4373. "AI协同",
  4374. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4375. "id": "ainew",
  4376. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4377. "onresize": function () { }
  4378. }, {
  4379. closecallback: function () { }
  4380. }, { "style": { "height": "36px" } }).form; //创建窗体
  4381. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI协同", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4382. break;
  4383. case "futureClass": //AI共创
  4384. _formdiv = new U.UF.UI.form(
  4385. "协同建构",
  4386. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {//https://cscl.cocorobo.cn
  4387. "id": "synergyCourse",
  4388. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4389. "onresize": function () { }
  4390. }, {
  4391. closecallback: function () {
  4392. $("iframe", _formdiv)[0].contentWindow.loginout();
  4393. }
  4394. }, { "style": { "height": "36px" } }).form; //创建窗体
  4395. _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); } }
  4396. break;
  4397. case "aiagent": //ai agent
  4398. _formdiv = new U.UF.UI.form(
  4399. "AI Agent",
  4400. $$("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" }), {
  4401. "id": "AIAgent",
  4402. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4403. "onresize": function () { }
  4404. }, {
  4405. closecallback: function () { }
  4406. }, { "style": { "height": "36px" } }).form; //创建窗体
  4407. _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); } }
  4408. break;
  4409. case "dataBoard": //数据看板
  4410. _formdiv = new U.UF.UI.form(
  4411. "数据看板",
  4412. $$("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 }), {
  4413. "id": "dataBoard",
  4414. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4415. "onresize": function () { }
  4416. }, {
  4417. closecallback: function () { }
  4418. }, { "style": { "height": "36px" } }).form; //创建窗体
  4419. _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); } }
  4420. break;
  4421. case "dataBoardSies": //数据看板
  4422. _formdiv = new U.UF.UI.form(
  4423. "数据看板",
  4424. $$("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 }), {
  4425. "id": "dataBoardSies",
  4426. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4427. "onresize": function () { }
  4428. }, {
  4429. closecallback: function () { }
  4430. }, { "style": { "height": "36px" } }).form; //创建窗体
  4431. _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); } }
  4432. break;
  4433. case "AIAnalyse": //AI共创
  4434. _formdiv = new U.UF.UI.form(
  4435. "AI分析",
  4436. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4437. "id": "AIAnalyse",
  4438. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4439. "onresize": function () { }
  4440. }, {
  4441. closecallback: function () { }
  4442. }, { "style": { "height": "36px" } }).form; //创建窗体
  4443. _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); } }
  4444. break;
  4445. case "studioCourse": //AI共创
  4446. _formdiv = new U.UF.UI.form(
  4447. "工作管理",
  4448. $$("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 }), {
  4449. "id": "studioCourse",
  4450. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4451. "onresize": function () { }
  4452. }, {
  4453. closecallback: function () { }
  4454. }, { "style": { "height": "36px" } }).form; //创建窗体
  4455. _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); } }
  4456. break;
  4457. case "studioIndex": //AI共创
  4458. _formdiv = new U.UF.UI.form(
  4459. "工作中心",
  4460. $$("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 }), {
  4461. "id": "studioIndex",
  4462. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4463. "onresize": function () { }
  4464. }, {
  4465. closecallback: function () { }
  4466. }, { "style": { "height": "36px" } }).form; //创建窗体
  4467. _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); } }
  4468. break;
  4469. case "source":
  4470. _formdiv = new U.UF.UI.form(
  4471. "教学资源",
  4472. $$("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 }), {
  4473. "id": "source",
  4474. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4475. "onresize": function () { }
  4476. }, {
  4477. closecallback: function () { }
  4478. }, { "style": { "height": "36px" } }).form; //创建窗体
  4479. _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); } }
  4480. break;
  4481. case "testTeacher":
  4482. _formdiv = new U.UF.UI.form(
  4483. "评测管理",
  4484. $$("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 }), {
  4485. "id": "testTeacher",
  4486. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4487. "onresize": function () { }
  4488. }, {
  4489. closecallback: function () { }
  4490. }, { "style": { "height": "36px" } }).form; //创建窗体
  4491. _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); } }
  4492. break;
  4493. case "testStudent":
  4494. _formdiv = new U.UF.UI.form(
  4495. "评测中心",
  4496. $$("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 }), {
  4497. "id": "testStudent",
  4498. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4499. "onresize": function () { }
  4500. }, {
  4501. closecallback: function () { }
  4502. }, { "style": { "height": "36px" } }).form; //创建窗体
  4503. _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); } }
  4504. break;
  4505. }
  4506. //U.MD.D.I.openClick(str);
  4507. //如果有任务栏信息
  4508. if (_taskbar) {
  4509. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4510. }
  4511. }
  4512. // U.MD.D.I.openClick = function(str){
  4513. // var click = '';
  4514. // switch(str){
  4515. // case 'friend':
  4516. // click = '我的好友';
  4517. // break;
  4518. // case 'domain':
  4519. // click = '域名管理';
  4520. // break;
  4521. // case 'disk':
  4522. // click = '我的云盘';
  4523. // break;
  4524. // case 'word':
  4525. // click = 'Word';
  4526. // break;
  4527. // case 'excel':
  4528. // click = 'Execl';
  4529. // break;
  4530. // case 'txt':
  4531. // click = '文本文件';
  4532. // break;
  4533. // case 'lookupFriend':
  4534. // click = '查找好友';
  4535. // break;
  4536. // case 'ftp':
  4537. // click = 'FTP';
  4538. // break;
  4539. // case 'group':
  4540. // click = '群组';
  4541. // break;
  4542. // case 'set':
  4543. // click = '我的设置';
  4544. // break;
  4545. // case 'systemSet':
  4546. // click = '系统设置';
  4547. // break;
  4548. // case 'boomYun':
  4549. // click = '互联办公';
  4550. // break;
  4551. // case 'xz':
  4552. // click = '云端下载';
  4553. // break;
  4554. // case 'client':
  4555. // click = '有思浏览器';
  4556. // break;
  4557. // case 'backEndProgramming':
  4558. // click = '在线后台编程';
  4559. // break;
  4560. // case 'frontEndProgramming':
  4561. // click = '在线前端编程';
  4562. // break;
  4563. // default: break;
  4564. // }
  4565. // if(U.MD.D.I.Ip && click){
  4566. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4567. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4568. // })
  4569. // }
  4570. // }
  4571. /**
  4572. *函数作用:ajax简易函数,使用post格式
  4573. *@param url {data} 后台地址
  4574. *@param data {data} 参数json
  4575. *@param fn {data} 回调函数
  4576. *
  4577. */
  4578. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4579. // var xhr = new XMLHttpRequest();
  4580. // xhr.open("GET",url,true);
  4581. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4582. // xhr.onreadystatechange = function(){
  4583. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4584. // fn.call(this,xhr.responseText);
  4585. // }
  4586. // };
  4587. // xhr.send();
  4588. // }
  4589. /*判断是否是内网IP*/
  4590. // U.MD.D.I.isInnerIPFn = function(str){
  4591. // var curPageUrl = str;
  4592. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4593. // curPageUrl =curPageUrl.replace(reg1,'');
  4594. // // console.log('curPageUrl-1 '+curPageUrl);
  4595. // var reg2 = /\:+/g;//替换冒号为一点
  4596. // curPageUrl =curPageUrl.replace(reg2,'.');
  4597. // // console.log('curPageUrl-2 '+curPageUrl);
  4598. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4599. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4600. // if(curPageUrl[2] != '16'){
  4601. // return ipAddress;
  4602. // }else{
  4603. // return false;
  4604. // }
  4605. // }
  4606. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4607. // //compatibility for firefox and chrome
  4608. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4609. // var pc = new myPeerConnection({
  4610. // iceServers: []
  4611. // }),
  4612. // noop = function() {},
  4613. // localIPs = {},
  4614. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4615. // key;
  4616. // function iterateIP(ip) {
  4617. // if (!localIPs[ip]) onNewIP(ip);
  4618. // localIPs[ip] = true;
  4619. // }
  4620. // //create a bogus data channel
  4621. // pc.createDataChannel("");
  4622. // // create offer and set local description
  4623. // pc.createOffer().then(function(sdp) {
  4624. // sdp.sdp.split('\n').forEach(function(line) {
  4625. // if (line.indexOf('candidate') < 0) return;
  4626. // line.match(ipRegex).forEach(iterateIP);
  4627. // });
  4628. // pc.setLocalDescription(sdp, noop, noop);
  4629. // }).catch(function(reason) {
  4630. // // An error occurred, so handle the failure to connect
  4631. // });
  4632. // //sten for candidate events
  4633. // pc.onicecandidate = function(ice) {
  4634. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4635. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4636. // };
  4637. // }
  4638. // U.MD.D.I.getUserIpBool = function(callback){
  4639. // U.MD.D.I.getUserIP(function(ip){
  4640. // alert("Got IP! :" + ip);
  4641. // });
  4642. //}
  4643. //#endregion
  4644. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4645. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4646. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4647. _userinfo = US.userInfo, //登录用户信息
  4648. _userid = US.userInfo.userid //登录用户id
  4649. let _iframe;
  4650. let _cid = cid,
  4651. _stage = stage,
  4652. _task = task,
  4653. _tool = tool;
  4654. var _jie = $$("div", {
  4655. "style": {
  4656. "position": "absolute",
  4657. "bottom": "50px",
  4658. "right": "50px",
  4659. "zIndex": "9999",
  4660. "backgroundColor": "#2268bc",
  4661. "color": "#fff",
  4662. "padding": "12px 20px",
  4663. "cursor": "pointer",
  4664. "borderRadius": "4px",
  4665. },
  4666. "innerHTML": "提交作业"
  4667. })
  4668. let aTool = ''
  4669. let _loading = document.createElement('div')
  4670. _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;"
  4671. // _loading.id = "";
  4672. let _lchild = document.createElement('div')
  4673. let _limg = document.createElement('img')
  4674. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4675. _limg.style = "width: 26px;margin-right: 10px;"
  4676. _lchild.appendChild(_limg)
  4677. let _lspan = document.createElement('span')
  4678. _lspan.innerHTML = "上传中..."
  4679. _lchild.appendChild(_lspan)
  4680. _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%);"
  4681. _loading.appendChild(_lchild)
  4682. var _box = $$('div', {
  4683. "style": {
  4684. "position": "relative",
  4685. "width": "100%",
  4686. "height": "100%",
  4687. },
  4688. })
  4689. _box.appendChild(_loading)
  4690. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4691. switch (str) {
  4692. case "whiteboard":
  4693. aTool = 1;
  4694. _iframe = $$("iframe", {
  4695. "frameborder": "no",
  4696. "border": "0",
  4697. "scrolling ": "no",
  4698. "style": {
  4699. "cssText": "border:0;width:100%;height:100%"
  4700. },
  4701. "src": "https://iwb.cocorobo.cn/"
  4702. })
  4703. _box.appendChild(_iframe);
  4704. _box.appendChild(_jie);
  4705. _formdiv = new U.UF.UI.form(
  4706. "电子白板",
  4707. _box, {
  4708. "id": "whiteboard" + cid + stage + task + tool,
  4709. "style": {
  4710. "width": "90%",
  4711. "height": "90%",
  4712. "overflow": 'hidden'
  4713. },
  4714. "onresize": function () { }
  4715. }, {
  4716. closecallback: function () { }
  4717. }, {
  4718. "style": {
  4719. "height": "36px"
  4720. }
  4721. }).form; //创建窗体
  4722. _taskbar = {
  4723. "id": str + _formdiv.id,
  4724. "style": {
  4725. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4726. },
  4727. "name": "电子白板",
  4728. "forms": _formdiv,
  4729. "click": function () {
  4730. U.MD.D.I.openApplication(str, obj, info);
  4731. }
  4732. }
  4733. break;
  4734. case "mind":
  4735. aTool = 3;
  4736. _iframe = $$("iframe", {
  4737. "frameborder": "no",
  4738. "border": "0",
  4739. "scrolling ": "no",
  4740. "style": {
  4741. "cssText": "border:0;width:100%;height:100%"
  4742. },
  4743. "src": "/kityminder-editor/dist/index.html"
  4744. })
  4745. _box.appendChild(_iframe);
  4746. _box.appendChild(_jie);
  4747. _formdiv = new U.UF.UI.form(
  4748. "思维导图",
  4749. _box, { //"/jsmind/example/demo.html"
  4750. "id": "mind" + cid + stage + task + tool,
  4751. "style": {
  4752. "width": "90%",
  4753. "height": "90%",
  4754. "overflow": 'hidden'
  4755. },
  4756. "onresize": function () { }
  4757. }, {
  4758. closecallback: function () { }
  4759. }, {
  4760. "style": {
  4761. "height": "36px"
  4762. }
  4763. }).form; //创建窗体
  4764. _taskbar = {
  4765. "id": str + _formdiv.id,
  4766. "style": {
  4767. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4768. },
  4769. "name": "思维导图",
  4770. "forms": _formdiv,
  4771. "click": function () {
  4772. U.MD.D.I.openApplication(str, obj, info);
  4773. }
  4774. }
  4775. break;
  4776. case "MindMap":
  4777. aTool = 3;
  4778. _iframe = $$("iframe", {
  4779. "frameborder": "no",
  4780. "border": "0",
  4781. "scrolling ": "no",
  4782. "style": {
  4783. "cssText": "border:0;width:100%;height:100%"
  4784. },
  4785. "src": "//cloud.cocorobo.cn/mind/"
  4786. })
  4787. _box.appendChild(_iframe);
  4788. _box.appendChild(_jie);
  4789. _formdiv = new U.UF.UI.form(
  4790. "思维导图",
  4791. _box, { //"/jsmind/example/demo.html"
  4792. "id": "mind" + cid + stage + task + tool,
  4793. "style": {
  4794. "width": "90%",
  4795. "height": "90%",
  4796. "overflow": 'hidden'
  4797. },
  4798. "onresize": function () { }
  4799. }, {
  4800. closecallback: function () { }
  4801. }, {
  4802. "style": {
  4803. "height": "36px"
  4804. }
  4805. }).form; //创建窗体
  4806. _taskbar = {
  4807. "id": str + _formdiv.id,
  4808. "style": {
  4809. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4810. },
  4811. "name": "思维导图",
  4812. "forms": _formdiv,
  4813. "click": function () {
  4814. U.MD.D.I.openApplication(str, obj, info);
  4815. }
  4816. }
  4817. break;
  4818. case "doc":
  4819. aTool = 6;
  4820. _iframe = $$("iframe", {
  4821. "frameborder": "no",
  4822. "border": "0",
  4823. "scrolling ": "no",
  4824. "style": {
  4825. "cssText": "border:0;width:100%;height:100%"
  4826. },
  4827. "src": "/Office/Word/WordEditArea.htm"
  4828. })
  4829. _box.appendChild(_iframe);
  4830. _box.appendChild(_jie);
  4831. _formdiv = new U.UF.UI.form(
  4832. "协同文档",
  4833. _box, {
  4834. "id": "doc" + cid + stage + task + tool,
  4835. "style": {
  4836. "width": "90%",
  4837. "height": "90%",
  4838. "overflow": 'hidden'
  4839. },
  4840. "onresize": function () { }
  4841. }, {
  4842. closecallback: function () { }
  4843. }, {
  4844. "style": {
  4845. "height": "36px"
  4846. }
  4847. }).form; //创建窗体
  4848. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4849. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4850. })
  4851. _taskbar = {
  4852. "id": str + _formdiv.id,
  4853. "style": {
  4854. "backgroundImage": "url(/img/icon/doc.png)"
  4855. },
  4856. "name": "协同文档",
  4857. "forms": _formdiv,
  4858. "click": function () {
  4859. U.MD.D.I.openApplication(str, obj, info);
  4860. }
  4861. }
  4862. break;
  4863. case "mindNetwork": //好友打开
  4864. aTool = 7;
  4865. _iframe = $$("iframe", {
  4866. "webkitallowfullscreen": "",
  4867. "mozallowfullscreen": "",
  4868. "allowfullscreen": "",
  4869. "frameborder": "no",
  4870. "border": "0",
  4871. "scrolling ": "no",
  4872. "style": {
  4873. "cssText": "border:0; width:100%; height:100%;"
  4874. },
  4875. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4876. })
  4877. _box.appendChild(_iframe);
  4878. _box.appendChild(_jie);
  4879. _formdiv = new U.UF.UI.form(
  4880. "思维网格",
  4881. _box, {
  4882. "id": "mindNetwork" + cid + stage + task + tool,
  4883. "style": {
  4884. "width": "90%",
  4885. "height": "90%",
  4886. "overflow": 'hidden'
  4887. },
  4888. "onresize": function () { }
  4889. }, {
  4890. closecallback: function () { }
  4891. }, {
  4892. "style": {
  4893. "height": "36px"
  4894. }
  4895. }).form; //创建窗体
  4896. _taskbar = {
  4897. "id": str + _formdiv.id,
  4898. "style": {
  4899. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4900. },
  4901. "name": "思维网格",
  4902. "forms": _formdiv,
  4903. "click": function () {
  4904. U.MD.D.I.openApplication(str, obj, info);
  4905. }
  4906. }
  4907. break;
  4908. case "courseDesign":
  4909. _iframe = $$("iframe", {
  4910. "webkitallowfullscreen": "",
  4911. "mozallowfullscreen": "",
  4912. "allowfullscreen": "",
  4913. "frameborder": "no",
  4914. "border": "0",
  4915. "scrolling ": "no",
  4916. "style": {
  4917. "cssText": "border:0; width:100%; height:100%;"
  4918. },
  4919. "src": "/course-design-vue"
  4920. })
  4921. _box.appendChild(_iframe);
  4922. _box.appendChild(_jie);
  4923. _formdiv = new U.UF.UI.form(
  4924. "项目设计",
  4925. _box, {
  4926. "id": "courseDesign" + cid + stage + task + tool,
  4927. "style": {
  4928. "width": "90%",
  4929. "height": "90%",
  4930. "overflow": 'hidden'
  4931. },
  4932. "onresize": function () { }
  4933. }, {
  4934. closecallback: function () { }
  4935. }, {
  4936. "style": {
  4937. "height": "36px"
  4938. }
  4939. }).form; //创建窗体
  4940. _taskbar = {
  4941. "id": str + _formdiv.id,
  4942. "style": {
  4943. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4944. },
  4945. "name": "项目设计",
  4946. "forms": _formdiv,
  4947. "click": function () {
  4948. U.MD.D.I.openApplication(str, obj, info);
  4949. }
  4950. }
  4951. break;
  4952. }
  4953. const script1 = document.createElement("script");
  4954. script1.type = "text/javascript";
  4955. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4956. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4957. const script2 = document.createElement("script");
  4958. script2.type = "text/javascript";
  4959. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4960. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4961. const script3 = document.createElement("script");
  4962. script3.type = "text/javascript";
  4963. script3.charset = "UTF-8";
  4964. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4965. const script4 = document.createElement("script");
  4966. script4.type = "text/javascript";
  4967. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4968. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4969. if (_iframe) {
  4970. if (str == 'doc') {
  4971. _iframe = _formdiv.querySelector('iframe')
  4972. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4973. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4974. _iframe.contentWindow.document.body.appendChild(script1);
  4975. _iframe.contentWindow.document.body.appendChild(script2);
  4976. // _iframe.contentWindow.document.body.appendChild(script3);
  4977. _iframe.contentWindow.document.body.appendChild(script4);
  4978. })
  4979. if (onloadListener) {
  4980. _iframe.contentDocument.location.reload()
  4981. } else {
  4982. _iframe.contentDocument.location.reload()
  4983. }
  4984. } else if (str == 'courseDesign') {
  4985. U.UF.DL.iframeLoad(_iframe, function () {
  4986. // _iframe.contentWindow.U.MD.O.W.load();
  4987. // _iframe.contentWindow.document.body.appendChild(script1);
  4988. _iframe.contentWindow.document.body.appendChild(script2);
  4989. _iframe.contentWindow.document.body.appendChild(script4);
  4990. })
  4991. } else if (str == 'mind') {
  4992. _iframe = _formdiv.querySelector('iframe')
  4993. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4994. //
  4995. _iframe.contentWindow.document.body.appendChild(script1);
  4996. _iframe.contentWindow.document.body.appendChild(script2);
  4997. _iframe.contentWindow.document.body.appendChild(script4);
  4998. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4999. })
  5000. if (onloadListener) {
  5001. _iframe.contentDocument.location.reload()
  5002. } else {
  5003. _iframe.contentDocument.location.reload()
  5004. }
  5005. } else if (str == 'whiteboard') {
  5006. _iframe = _formdiv.querySelector('iframe')
  5007. let onloadListener = _iframe.onload = () => {
  5008. _iframe.contentWindow.document.body.appendChild(script1);
  5009. _iframe.contentWindow.document.body.appendChild(script2);
  5010. _iframe.contentWindow.document.body.appendChild(script4);
  5011. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5012. };
  5013. if (onloadListener) {
  5014. _iframe.contentDocument.location.reload()
  5015. } else {
  5016. _iframe.contentDocument.location.reload()
  5017. }
  5018. } else {
  5019. _iframe.onload = () => {
  5020. _iframe.contentWindow.document.body.appendChild(script1);
  5021. _iframe.contentWindow.document.body.appendChild(script2);
  5022. // _iframe.contentWindow.document.body.appendChild(script3);
  5023. _iframe.contentWindow.document.body.appendChild(script4);
  5024. };
  5025. }
  5026. _jie.onclick = async () => {
  5027. let text = ''
  5028. if (aTool == 1) {
  5029. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5030. } else if (aTool == 6) {
  5031. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5032. } else if (aTool == 3) {
  5033. text = await U.MD.D.I.getEditorContent(_iframe);
  5034. }
  5035. _loading.style.display = 'flex'
  5036. console.log(_loading);
  5037. var _ajs = _iframe.contentWindow.document.createElement("script");
  5038. _ajs.type = "text/javascript";
  5039. _ajs.innerHTML =
  5040. // 'console.log(' + _loading + ');\n' +
  5041. 'var _js = document.createElement("script");\n' +
  5042. '_js.type="text/javascript";\n' +
  5043. '_js.charset="UTF-8";\n' +
  5044. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5045. "_js.onload = function(){\n" +
  5046. ' var a = document.getElementsByTagName("img")\n' +
  5047. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5048. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5049. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5050. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5051. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5052. "beforeUpload_shishi(file," +
  5053. "'" +
  5054. _userid +
  5055. "'" +
  5056. ", " +
  5057. "'" +
  5058. _cid +
  5059. "'" +
  5060. ", " +
  5061. "'" +
  5062. _stage +
  5063. "'" +
  5064. ", " +
  5065. "'" +
  5066. _task +
  5067. "'" +
  5068. ", " +
  5069. "'" +
  5070. _tool +
  5071. "'" +
  5072. ", " +
  5073. "'" +
  5074. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5075. "'" +
  5076. ", " +
  5077. "'" +
  5078. aTool +
  5079. "'" +
  5080. ", " +
  5081. "`" +
  5082. text +
  5083. "`" +
  5084. ")\n" +
  5085. " });\n" +
  5086. "}\n" +
  5087. "document.head.appendChild(_js);\n";
  5088. _iframe.contentWindow.document.head.appendChild(_ajs);
  5089. }
  5090. }
  5091. //U.MD.D.I.openClick(str);
  5092. //如果有任务栏信息
  5093. // if (_taskbar) {
  5094. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5095. // }
  5096. }
  5097. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5098. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5099. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5100. _userinfo = US.userInfo, //登录用户信息
  5101. _userid = US.userInfo.userid //登录用户id
  5102. let _iframe;
  5103. let _cid = cid,
  5104. _stage = stage,
  5105. _task = task,
  5106. _tool = tool;
  5107. var _jie = $$("div", {
  5108. "style": {
  5109. "position": "absolute",
  5110. "bottom": "50px",
  5111. "right": "50px",
  5112. "zIndex": "9999",
  5113. "backgroundColor": "#2268bc",
  5114. "color": "#fff",
  5115. "padding": "12px 20px",
  5116. "cursor": "pointer",
  5117. "borderRadius": "4px",
  5118. },
  5119. "innerHTML": "提交作业"
  5120. })
  5121. let aTool = ''
  5122. let _loading = document.createElement('div')
  5123. _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;"
  5124. // _loading.id = "";
  5125. let _lchild = document.createElement('div')
  5126. let _limg = document.createElement('img')
  5127. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5128. _limg.style = "width: 26px;margin-right: 10px;"
  5129. _lchild.appendChild(_limg)
  5130. let _lspan = document.createElement('span')
  5131. _lspan.innerHTML = "上传中..."
  5132. _lchild.appendChild(_lspan)
  5133. _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%);"
  5134. _loading.appendChild(_lchild)
  5135. var _box = $$('div', {
  5136. "style": {
  5137. "position": "relative",
  5138. "width": "100%",
  5139. "height": "100%",
  5140. },
  5141. })
  5142. _box.appendChild(_loading)
  5143. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5144. switch (str) {
  5145. case "whiteboard":
  5146. aTool = 1;
  5147. _iframe = $$("iframe", {
  5148. "frameborder": "no",
  5149. "border": "0",
  5150. "scrolling ": "no",
  5151. "style": {
  5152. "cssText": "border:0;width:100%;height:100%"
  5153. },
  5154. "src": "https://iwb.cocorobo.cn/"
  5155. })
  5156. _box.appendChild(_iframe);
  5157. _box.appendChild(_jie);
  5158. _formdiv = new U.UF.UI.form(
  5159. "电子白板",
  5160. _box, {
  5161. "id": "whiteboard" + cid + stage + task + tool,
  5162. "style": {
  5163. "width": "90%",
  5164. "height": "90%",
  5165. "overflow": 'hidden'
  5166. },
  5167. "onresize": function () { }
  5168. }, {
  5169. closecallback: function () { }
  5170. }, {
  5171. "style": {
  5172. "height": "36px"
  5173. }
  5174. }).form; //创建窗体
  5175. _taskbar = {
  5176. "id": str + _formdiv.id,
  5177. "style": {
  5178. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5179. },
  5180. "name": "电子白板",
  5181. "forms": _formdiv,
  5182. "click": function () {
  5183. U.MD.D.I.openApplication(str, obj, info);
  5184. }
  5185. }
  5186. break;
  5187. case "mind":
  5188. aTool = 3;
  5189. _iframe = $$("iframe", {
  5190. "frameborder": "no",
  5191. "border": "0",
  5192. "scrolling ": "no",
  5193. "style": {
  5194. "cssText": "border:0;width:100%;height:100%"
  5195. },
  5196. "src": "/kityminder-editor/dist/index.html"
  5197. })
  5198. _box.appendChild(_iframe);
  5199. _box.appendChild(_jie);
  5200. _formdiv = new U.UF.UI.form(
  5201. "思维导图",
  5202. _box, { //"/jsmind/example/demo.html"
  5203. "id": "mind" + cid + stage + task + tool,
  5204. "style": {
  5205. "width": "90%",
  5206. "height": "90%",
  5207. "overflow": 'hidden'
  5208. },
  5209. "onresize": function () { }
  5210. }, {
  5211. closecallback: function () { }
  5212. }, {
  5213. "style": {
  5214. "height": "36px"
  5215. }
  5216. }).form; //创建窗体
  5217. _taskbar = {
  5218. "id": str + _formdiv.id,
  5219. "style": {
  5220. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5221. },
  5222. "name": "思维导图",
  5223. "forms": _formdiv,
  5224. "click": function () {
  5225. U.MD.D.I.openApplication(str, obj, info);
  5226. }
  5227. }
  5228. break;
  5229. case "MindMap":
  5230. aTool = 3;
  5231. _iframe = $$("iframe", {
  5232. "frameborder": "no",
  5233. "border": "0",
  5234. "scrolling ": "no",
  5235. "style": {
  5236. "cssText": "border:0;width:100%;height:100%"
  5237. },
  5238. "src": "//cloud.cocorobo.cn/mind/"
  5239. })
  5240. _box.appendChild(_iframe);
  5241. _box.appendChild(_jie);
  5242. _formdiv = new U.UF.UI.form(
  5243. "思维导图",
  5244. _box, { //"/jsmind/example/demo.html"
  5245. "id": "mind" + cid + stage + task + tool,
  5246. "style": {
  5247. "width": "90%",
  5248. "height": "90%",
  5249. "overflow": 'hidden'
  5250. },
  5251. "onresize": function () { }
  5252. }, {
  5253. closecallback: function () { }
  5254. }, {
  5255. "style": {
  5256. "height": "36px"
  5257. }
  5258. }).form; //创建窗体
  5259. _taskbar = {
  5260. "id": str + _formdiv.id,
  5261. "style": {
  5262. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5263. },
  5264. "name": "思维导图",
  5265. "forms": _formdiv,
  5266. "click": function () {
  5267. U.MD.D.I.openApplication(str, obj, info);
  5268. }
  5269. }
  5270. break;
  5271. case "doc":
  5272. aTool = 6;
  5273. _iframe = $$("iframe", {
  5274. "frameborder": "no",
  5275. "border": "0",
  5276. "scrolling ": "no",
  5277. "style": {
  5278. "cssText": "border:0;width:100%;height:100%"
  5279. },
  5280. "src": "/Office/Word/WordEditArea.htm"
  5281. })
  5282. _box.appendChild(_iframe);
  5283. _box.appendChild(_jie);
  5284. _formdiv = new U.UF.UI.form(
  5285. "协同文档",
  5286. _box, {
  5287. "id": "doc" + cid + stage + task + tool,
  5288. "style": {
  5289. "width": "90%",
  5290. "height": "90%",
  5291. "overflow": 'hidden'
  5292. },
  5293. "onresize": function () { }
  5294. }, {
  5295. closecallback: function () { }
  5296. }, {
  5297. "style": {
  5298. "height": "36px"
  5299. }
  5300. }).form; //创建窗体
  5301. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5302. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5303. })
  5304. _taskbar = {
  5305. "id": str + _formdiv.id,
  5306. "style": {
  5307. "backgroundImage": "url(/img/icon/doc.png)"
  5308. },
  5309. "name": "协同文档",
  5310. "forms": _formdiv,
  5311. "click": function () {
  5312. U.MD.D.I.openApplication(str, obj, info);
  5313. }
  5314. }
  5315. break;
  5316. case "mindNetwork": //好友打开
  5317. aTool = 7;
  5318. _iframe = $$("iframe", {
  5319. "webkitallowfullscreen": "",
  5320. "mozallowfullscreen": "",
  5321. "allowfullscreen": "",
  5322. "frameborder": "no",
  5323. "border": "0",
  5324. "scrolling ": "no",
  5325. "style": {
  5326. "cssText": "border:0; width:100%; height:100%;"
  5327. },
  5328. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5329. })
  5330. _box.appendChild(_iframe);
  5331. _box.appendChild(_jie);
  5332. _formdiv = new U.UF.UI.form(
  5333. "思维网格",
  5334. _box, {
  5335. "id": "mindNetwork" + cid + stage + task + tool,
  5336. "style": {
  5337. "width": "90%",
  5338. "height": "90%",
  5339. "overflow": 'hidden'
  5340. },
  5341. "onresize": function () { }
  5342. }, {
  5343. closecallback: function () { }
  5344. }, {
  5345. "style": {
  5346. "height": "36px"
  5347. }
  5348. }).form; //创建窗体
  5349. _taskbar = {
  5350. "id": str + _formdiv.id,
  5351. "style": {
  5352. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5353. },
  5354. "name": "思维网格",
  5355. "forms": _formdiv,
  5356. "click": function () {
  5357. U.MD.D.I.openApplication(str, obj, info);
  5358. }
  5359. }
  5360. break;
  5361. case "courseDesign":
  5362. _iframe = $$("iframe", {
  5363. "webkitallowfullscreen": "",
  5364. "mozallowfullscreen": "",
  5365. "allowfullscreen": "",
  5366. "frameborder": "no",
  5367. "border": "0",
  5368. "scrolling ": "no",
  5369. "style": {
  5370. "cssText": "border:0; width:100%; height:100%;"
  5371. },
  5372. "src": "/course-design-vue"
  5373. })
  5374. _box.appendChild(_iframe);
  5375. _box.appendChild(_jie);
  5376. _formdiv = new U.UF.UI.form(
  5377. "项目设计",
  5378. _box, {
  5379. "id": "courseDesign" + cid + stage + task + tool,
  5380. "style": {
  5381. "width": "90%",
  5382. "height": "90%",
  5383. "overflow": 'hidden'
  5384. },
  5385. "onresize": function () { }
  5386. }, {
  5387. closecallback: function () { }
  5388. }, {
  5389. "style": {
  5390. "height": "36px"
  5391. }
  5392. }).form; //创建窗体
  5393. _taskbar = {
  5394. "id": str + _formdiv.id,
  5395. "style": {
  5396. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5397. },
  5398. "name": "项目设计",
  5399. "forms": _formdiv,
  5400. "click": function () {
  5401. U.MD.D.I.openApplication(str, obj, info);
  5402. }
  5403. }
  5404. break;
  5405. }
  5406. const script1 = document.createElement("script");
  5407. script1.type = "text/javascript";
  5408. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5409. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5410. const script2 = document.createElement("script");
  5411. script2.type = "text/javascript";
  5412. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5413. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5414. const script3 = document.createElement("script");
  5415. script3.type = "text/javascript";
  5416. script3.charset = "UTF-8";
  5417. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5418. const script4 = document.createElement("script");
  5419. script4.type = "text/javascript";
  5420. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5421. script4.src = window.origin + "/js/Common/jietu2E.js";
  5422. if (_iframe) {
  5423. if (str == 'doc') {
  5424. _iframe = _formdiv.querySelector('iframe')
  5425. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5426. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5427. _iframe.contentWindow.document.body.appendChild(script1);
  5428. _iframe.contentWindow.document.body.appendChild(script2);
  5429. // _iframe.contentWindow.document.body.appendChild(script3);
  5430. _iframe.contentWindow.document.body.appendChild(script4);
  5431. })
  5432. if (onloadListener) {
  5433. _iframe.contentDocument.location.reload()
  5434. } else {
  5435. _iframe.contentDocument.location.reload()
  5436. }
  5437. } else if (str == 'courseDesign') {
  5438. U.UF.DL.iframeLoad(_iframe, function () {
  5439. // _iframe.contentWindow.U.MD.O.W.load();
  5440. // _iframe.contentWindow.document.body.appendChild(script1);
  5441. _iframe.contentWindow.document.body.appendChild(script2);
  5442. _iframe.contentWindow.document.body.appendChild(script4);
  5443. })
  5444. } else if (str == 'mind') {
  5445. _iframe = _formdiv.querySelector('iframe')
  5446. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5447. //
  5448. _iframe.contentWindow.document.body.appendChild(script1);
  5449. _iframe.contentWindow.document.body.appendChild(script2);
  5450. _iframe.contentWindow.document.body.appendChild(script4);
  5451. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5452. })
  5453. if (onloadListener) {
  5454. _iframe.contentDocument.location.reload()
  5455. } else {
  5456. _iframe.contentDocument.location.reload()
  5457. }
  5458. } else if (str == 'whiteboard') {
  5459. _iframe = _formdiv.querySelector('iframe')
  5460. let onloadListener = _iframe.onload = () => {
  5461. _iframe.contentWindow.document.body.appendChild(script1);
  5462. _iframe.contentWindow.document.body.appendChild(script2);
  5463. _iframe.contentWindow.document.body.appendChild(script4);
  5464. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5465. };
  5466. if (onloadListener) {
  5467. _iframe.contentDocument.location.reload()
  5468. } else {
  5469. _iframe.contentDocument.location.reload()
  5470. }
  5471. } else {
  5472. _iframe.onload = () => {
  5473. _iframe.contentWindow.document.body.appendChild(script1);
  5474. _iframe.contentWindow.document.body.appendChild(script2);
  5475. // _iframe.contentWindow.document.body.appendChild(script3);
  5476. _iframe.contentWindow.document.body.appendChild(script4);
  5477. };
  5478. }
  5479. _jie.onclick = async () => {
  5480. let text = ''
  5481. if (aTool == 1) {
  5482. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5483. } else if (aTool == 6) {
  5484. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5485. } else if (aTool == 3) {
  5486. text = await U.MD.D.I.getEditorContent(_iframe);
  5487. }
  5488. _loading.style.display = 'flex'
  5489. console.log(_loading);
  5490. var _ajs = _iframe.contentWindow.document.createElement("script");
  5491. _ajs.type = "text/javascript";
  5492. _ajs.innerHTML =
  5493. // 'console.log(' + _loading + ');\n' +
  5494. 'var _js = document.createElement("script");\n' +
  5495. '_js.type="text/javascript";\n' +
  5496. '_js.charset="UTF-8";\n' +
  5497. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5498. "_js.onload = function(){\n" +
  5499. ' var a = document.getElementsByTagName("img")\n' +
  5500. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5501. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5502. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5503. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5504. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5505. "beforeUpload_shishi(file," +
  5506. "'" +
  5507. _userid +
  5508. "'" +
  5509. ", " +
  5510. "'" +
  5511. _cid +
  5512. "'" +
  5513. ", " +
  5514. "'" +
  5515. _stage +
  5516. "'" +
  5517. ", " +
  5518. "'" +
  5519. _task +
  5520. "'" +
  5521. ", " +
  5522. "'" +
  5523. _tool +
  5524. "'" +
  5525. ", " +
  5526. "'" +
  5527. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5528. "'" +
  5529. ", " +
  5530. "'" +
  5531. aTool +
  5532. "'" +
  5533. ", " +
  5534. "`" +
  5535. text +
  5536. "`" +
  5537. ")\n" +
  5538. " });\n" +
  5539. "}\n" +
  5540. "document.head.appendChild(_js);\n";
  5541. _iframe.contentWindow.document.head.appendChild(_ajs);
  5542. }
  5543. }
  5544. //U.MD.D.I.openClick(str);
  5545. //如果有任务栏信息
  5546. // if (_taskbar) {
  5547. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5548. // }
  5549. }
  5550. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5551. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5552. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5553. _userid = student.userid, //登录用户id
  5554. _username = student.student //用户名字
  5555. let _iframe;
  5556. let _cid = cid,
  5557. _stage = stage,
  5558. _task = task,
  5559. _tool = tool;
  5560. var _jie = $$("div", {
  5561. "style": {
  5562. "position": "absolute",
  5563. "bottom": "50px",
  5564. "right": "50px",
  5565. "zIndex": "9999",
  5566. "backgroundColor": "#2268bc",
  5567. "color": "#fff",
  5568. "padding": "12px 20px",
  5569. "cursor": "pointer",
  5570. "borderRadius": "4px",
  5571. },
  5572. "innerHTML": "提交作业"
  5573. })
  5574. let aTool = ''
  5575. let _loading = document.createElement('div')
  5576. _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;"
  5577. // _loading.id = "";
  5578. let _lchild = document.createElement('div')
  5579. let _limg = document.createElement('img')
  5580. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5581. _limg.style = "width: 26px;margin-right: 10px;"
  5582. _lchild.appendChild(_limg)
  5583. let _lspan = document.createElement('span')
  5584. _lspan.innerHTML = "上传中..."
  5585. _lchild.appendChild(_lspan)
  5586. _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%);"
  5587. _loading.appendChild(_lchild)
  5588. var _box = $$('div', {
  5589. "style": {
  5590. "position": "relative",
  5591. "width": "100%",
  5592. "height": "100%",
  5593. },
  5594. })
  5595. _box.appendChild(_loading)
  5596. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5597. switch (str) {
  5598. case "whiteboard":
  5599. aTool = 1;
  5600. _iframe = $$("iframe", {
  5601. "frameborder": "no",
  5602. "border": "0",
  5603. "scrolling ": "no",
  5604. "style": {
  5605. "cssText": "border:0;width:100%;height:100%"
  5606. },
  5607. "src": "https://iwb.cocorobo.cn/"
  5608. })
  5609. _box.appendChild(_iframe);
  5610. _box.appendChild(_jie);
  5611. _formdiv = new U.UF.UI.form(
  5612. "电子白板-" + _username,
  5613. _box, {
  5614. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5615. "style": {
  5616. "width": "90%",
  5617. "height": "90%",
  5618. "overflow": 'hidden'
  5619. },
  5620. "onresize": function () { }
  5621. }, {
  5622. closecallback: function () { }
  5623. }, {
  5624. "style": {
  5625. "height": "36px"
  5626. }
  5627. }).form; //创建窗体
  5628. _taskbar = {
  5629. "id": str + _formdiv.id,
  5630. "style": {
  5631. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5632. },
  5633. "name": "电子白板",
  5634. "forms": _formdiv,
  5635. "click": function () {
  5636. U.MD.D.I.openApplication(str, obj, info);
  5637. }
  5638. }
  5639. break;
  5640. case "mind":
  5641. aTool = 3;
  5642. _iframe = $$("iframe", {
  5643. "frameborder": "no",
  5644. "border": "0",
  5645. "scrolling ": "no",
  5646. "style": {
  5647. "cssText": "border:0;width:100%;height:100%"
  5648. },
  5649. "src": "/kityminder-editor/dist/index.html"
  5650. })
  5651. _box.appendChild(_iframe);
  5652. _box.appendChild(_jie);
  5653. _formdiv = new U.UF.UI.form(
  5654. "思维导图-" + _username,
  5655. _box, { //"/jsmind/example/demo.html"
  5656. "id": "mind" + cid + stage + task + tool + _userid,
  5657. "style": {
  5658. "width": "90%",
  5659. "height": "90%",
  5660. "overflow": 'hidden'
  5661. },
  5662. "onresize": function () { }
  5663. }, {
  5664. closecallback: function () { }
  5665. }, {
  5666. "style": {
  5667. "height": "36px"
  5668. }
  5669. }).form; //创建窗体
  5670. _taskbar = {
  5671. "id": str + _formdiv.id,
  5672. "style": {
  5673. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5674. },
  5675. "name": "思维导图",
  5676. "forms": _formdiv,
  5677. "click": function () {
  5678. U.MD.D.I.openApplication(str, obj, info);
  5679. }
  5680. }
  5681. break;
  5682. case "MindMap":
  5683. aTool = 3;
  5684. _iframe = $$("iframe", {
  5685. "frameborder": "no",
  5686. "border": "0",
  5687. "scrolling ": "no",
  5688. "style": {
  5689. "cssText": "border:0;width:100%;height:100%"
  5690. },
  5691. "src": "//cloud.cocorobo.cn/mind/"
  5692. })
  5693. _box.appendChild(_iframe);
  5694. _box.appendChild(_jie);
  5695. _formdiv = new U.UF.UI.form(
  5696. "思维导图-" + _username,
  5697. _box, { //"/jsmind/example/demo.html"
  5698. "id": "mind" + cid + stage + task + tool + _userid,
  5699. "style": {
  5700. "width": "90%",
  5701. "height": "90%",
  5702. "overflow": 'hidden'
  5703. },
  5704. "onresize": function () { }
  5705. }, {
  5706. closecallback: function () { }
  5707. }, {
  5708. "style": {
  5709. "height": "36px"
  5710. }
  5711. }).form; //创建窗体
  5712. _taskbar = {
  5713. "id": str + _formdiv.id,
  5714. "style": {
  5715. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5716. },
  5717. "name": "思维导图",
  5718. "forms": _formdiv,
  5719. "click": function () {
  5720. U.MD.D.I.openApplication(str, obj, info);
  5721. }
  5722. }
  5723. break;
  5724. case "doc":
  5725. aTool = 6;
  5726. _iframe = $$("iframe", {
  5727. "frameborder": "no",
  5728. "border": "0",
  5729. "scrolling ": "no",
  5730. "style": {
  5731. "cssText": "border:0;width:100%;height:100%"
  5732. },
  5733. "src": "/Office/Word/WordEditArea.htm"
  5734. })
  5735. _box.appendChild(_iframe);
  5736. _box.appendChild(_jie);
  5737. _formdiv = new U.UF.UI.form(
  5738. "协同文档-" + _username,
  5739. _box, {
  5740. "id": "doc" + cid + stage + task + tool + _userid,
  5741. "style": {
  5742. "width": "90%",
  5743. "height": "90%",
  5744. "overflow": 'hidden'
  5745. },
  5746. "onresize": function () { }
  5747. }, {
  5748. closecallback: function () { }
  5749. }, {
  5750. "style": {
  5751. "height": "36px"
  5752. }
  5753. }).form; //创建窗体
  5754. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5755. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5756. })
  5757. _taskbar = {
  5758. "id": str + _formdiv.id,
  5759. "style": {
  5760. "backgroundImage": "url(/img/icon/doc.png)"
  5761. },
  5762. "name": "协同文档",
  5763. "forms": _formdiv,
  5764. "click": function () {
  5765. U.MD.D.I.openApplication(str, obj, info);
  5766. }
  5767. }
  5768. break;
  5769. case "mindNetwork": //好友打开
  5770. aTool = 7;
  5771. _iframe = $$("iframe", {
  5772. "webkitallowfullscreen": "",
  5773. "mozallowfullscreen": "",
  5774. "allowfullscreen": "",
  5775. "frameborder": "no",
  5776. "border": "0",
  5777. "scrolling ": "no",
  5778. "style": {
  5779. "cssText": "border:0; width:100%; height:100%;"
  5780. },
  5781. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5782. })
  5783. _box.appendChild(_iframe);
  5784. _box.appendChild(_jie);
  5785. _formdiv = new U.UF.UI.form(
  5786. "思维网格-" + _username,
  5787. _box, {
  5788. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5789. "style": {
  5790. "width": "90%",
  5791. "height": "90%",
  5792. "overflow": 'hidden'
  5793. },
  5794. "onresize": function () { }
  5795. }, {
  5796. closecallback: function () { }
  5797. }, {
  5798. "style": {
  5799. "height": "36px"
  5800. }
  5801. }).form; //创建窗体
  5802. _taskbar = {
  5803. "id": str + _formdiv.id,
  5804. "style": {
  5805. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5806. },
  5807. "name": "思维网格",
  5808. "forms": _formdiv,
  5809. "click": function () {
  5810. U.MD.D.I.openApplication(str, obj, info);
  5811. }
  5812. }
  5813. break;
  5814. case "courseDesign":
  5815. _iframe = $$("iframe", {
  5816. "webkitallowfullscreen": "",
  5817. "mozallowfullscreen": "",
  5818. "allowfullscreen": "",
  5819. "frameborder": "no",
  5820. "border": "0",
  5821. "scrolling ": "no",
  5822. "style": {
  5823. "cssText": "border:0; width:100%; height:100%;"
  5824. },
  5825. "src": "/course-design-vue"
  5826. })
  5827. _box.appendChild(_iframe);
  5828. _box.appendChild(_jie);
  5829. _formdiv = new U.UF.UI.form(
  5830. "项目设计-" + _username,
  5831. _box, {
  5832. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5833. "style": {
  5834. "width": "90%",
  5835. "height": "90%",
  5836. "overflow": 'hidden'
  5837. },
  5838. "onresize": function () { }
  5839. }, {
  5840. closecallback: function () { }
  5841. }, {
  5842. "style": {
  5843. "height": "36px"
  5844. }
  5845. }).form; //创建窗体
  5846. _taskbar = {
  5847. "id": str + _formdiv.id,
  5848. "style": {
  5849. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5850. },
  5851. "name": "项目设计",
  5852. "forms": _formdiv,
  5853. "click": function () {
  5854. U.MD.D.I.openApplication(str, obj, info);
  5855. }
  5856. }
  5857. break;
  5858. }
  5859. const script1 = document.createElement("script");
  5860. script1.type = "text/javascript";
  5861. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5862. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5863. const script2 = document.createElement("script");
  5864. script2.type = "text/javascript";
  5865. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5866. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5867. const script3 = document.createElement("script");
  5868. script3.type = "text/javascript";
  5869. script3.charset = "UTF-8";
  5870. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5871. const script4 = document.createElement("script");
  5872. script4.type = "text/javascript";
  5873. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5874. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5875. if (_iframe) {
  5876. if (str == 'doc') {
  5877. _iframe = _formdiv.querySelector('iframe')
  5878. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5879. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5880. _iframe.contentWindow.document.body.appendChild(script1);
  5881. _iframe.contentWindow.document.body.appendChild(script2);
  5882. // _iframe.contentWindow.document.body.appendChild(script3);
  5883. _iframe.contentWindow.document.body.appendChild(script4);
  5884. })
  5885. if (onloadListener) {
  5886. _iframe.contentDocument.location.reload()
  5887. } else {
  5888. _iframe.contentDocument.location.reload()
  5889. }
  5890. } else if (str == 'courseDesign') {
  5891. U.UF.DL.iframeLoad(_iframe, function () {
  5892. // _iframe.contentWindow.U.MD.O.W.load();
  5893. // _iframe.contentWindow.document.body.appendChild(script1);
  5894. _iframe.contentWindow.document.body.appendChild(script2);
  5895. _iframe.contentWindow.document.body.appendChild(script4);
  5896. })
  5897. } else if (str == 'mind') {
  5898. _iframe = _formdiv.querySelector('iframe')
  5899. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5900. //
  5901. _iframe.contentWindow.document.body.appendChild(script1);
  5902. _iframe.contentWindow.document.body.appendChild(script2);
  5903. _iframe.contentWindow.document.body.appendChild(script4);
  5904. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5905. })
  5906. if (onloadListener) {
  5907. _iframe.contentDocument.location.reload()
  5908. } else {
  5909. _iframe.contentDocument.location.reload()
  5910. }
  5911. } else if (str == 'whiteboard') {
  5912. _iframe = _formdiv.querySelector('iframe')
  5913. let onloadListener = _iframe.onload = () => {
  5914. _iframe.contentWindow.document.body.appendChild(script1);
  5915. _iframe.contentWindow.document.body.appendChild(script2);
  5916. _iframe.contentWindow.document.body.appendChild(script4);
  5917. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5918. };
  5919. if (onloadListener) {
  5920. _iframe.contentDocument.location.reload()
  5921. } else {
  5922. _iframe.contentDocument.location.reload()
  5923. }
  5924. } else {
  5925. _iframe.onload = () => {
  5926. _iframe.contentWindow.document.body.appendChild(script1);
  5927. _iframe.contentWindow.document.body.appendChild(script2);
  5928. // _iframe.contentWindow.document.body.appendChild(script3);
  5929. _iframe.contentWindow.document.body.appendChild(script4);
  5930. };
  5931. }
  5932. _jie.onclick = async () => {
  5933. let text = ''
  5934. if (aTool == 1) {
  5935. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5936. } else if (aTool == 6) {
  5937. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5938. } else if (aTool == 3) {
  5939. text = await U.MD.D.I.getEditorContent(_iframe);
  5940. }
  5941. _loading.style.display = 'flex'
  5942. console.log(_loading);
  5943. var _ajs = _iframe.contentWindow.document.createElement("script");
  5944. _ajs.type = "text/javascript";
  5945. _ajs.innerHTML =
  5946. // 'console.log(' + _loading + ');\n' +
  5947. 'var _js = document.createElement("script");\n' +
  5948. '_js.type="text/javascript";\n' +
  5949. '_js.charset="UTF-8";\n' +
  5950. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5951. "_js.onload = function(){\n" +
  5952. ' var a = document.getElementsByTagName("img")\n' +
  5953. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5954. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5955. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5956. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5957. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5958. "beforeUpload_shishi(file," +
  5959. "'" +
  5960. _userid +
  5961. "'" +
  5962. ", " +
  5963. "'" +
  5964. _cid +
  5965. "'" +
  5966. ", " +
  5967. "'" +
  5968. _stage +
  5969. "'" +
  5970. ", " +
  5971. "'" +
  5972. _task +
  5973. "'" +
  5974. ", " +
  5975. "'" +
  5976. _tool +
  5977. "'" +
  5978. ", " +
  5979. "'" +
  5980. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5981. "'" +
  5982. ", " +
  5983. "'" +
  5984. aTool +
  5985. "'" +
  5986. ", " +
  5987. "`" +
  5988. text +
  5989. "`" +
  5990. ")\n" +
  5991. " });\n" +
  5992. "}\n" +
  5993. "document.head.appendChild(_js);\n";
  5994. _iframe.contentWindow.document.head.appendChild(_ajs);
  5995. }
  5996. }
  5997. }
  5998. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  5999. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6000. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6001. _userid = student.userid, //登录用户id
  6002. _username = student.student //用户名字
  6003. let _iframe;
  6004. let _cid = cid,
  6005. _stage = stage,
  6006. _task = task,
  6007. _tool = tool;
  6008. var _jie = $$("div", {
  6009. "style": {
  6010. "position": "absolute",
  6011. "bottom": "50px",
  6012. "right": "50px",
  6013. "zIndex": "9999",
  6014. "backgroundColor": "#2268bc",
  6015. "color": "#fff",
  6016. "padding": "12px 20px",
  6017. "cursor": "pointer",
  6018. "borderRadius": "4px",
  6019. },
  6020. "innerHTML": "提交作业"
  6021. })
  6022. let aTool = ''
  6023. let _loading = document.createElement('div')
  6024. _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;"
  6025. // _loading.id = "";
  6026. let _lchild = document.createElement('div')
  6027. let _limg = document.createElement('img')
  6028. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6029. _limg.style = "width: 26px;margin-right: 10px;"
  6030. _lchild.appendChild(_limg)
  6031. let _lspan = document.createElement('span')
  6032. _lspan.innerHTML = "上传中..."
  6033. _lchild.appendChild(_lspan)
  6034. _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%);"
  6035. _loading.appendChild(_lchild)
  6036. var _box = $$('div', {
  6037. "style": {
  6038. "position": "relative",
  6039. "width": "100%",
  6040. "height": "100%",
  6041. },
  6042. })
  6043. _box.appendChild(_loading)
  6044. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6045. switch (str) {
  6046. case "whiteboard":
  6047. aTool = 1;
  6048. _iframe = $$("iframe", {
  6049. "frameborder": "no",
  6050. "border": "0",
  6051. "scrolling ": "no",
  6052. "style": {
  6053. "cssText": "border:0;width:100%;height:100%"
  6054. },
  6055. "src": "https://iwb.cocorobo.cn/"
  6056. })
  6057. _box.appendChild(_iframe);
  6058. _box.appendChild(_jie);
  6059. _formdiv = new U.UF.UI.form(
  6060. "电子白板-" + _username,
  6061. _box, {
  6062. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6063. "style": {
  6064. "width": "90%",
  6065. "height": "90%",
  6066. "overflow": 'hidden'
  6067. },
  6068. "onresize": function () { }
  6069. }, {
  6070. closecallback: function () { }
  6071. }, {
  6072. "style": {
  6073. "height": "36px"
  6074. }
  6075. }).form; //创建窗体
  6076. _taskbar = {
  6077. "id": str + _formdiv.id,
  6078. "style": {
  6079. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6080. },
  6081. "name": "电子白板",
  6082. "forms": _formdiv,
  6083. "click": function () {
  6084. U.MD.D.I.openApplication(str, obj, info);
  6085. }
  6086. }
  6087. break;
  6088. case "mind":
  6089. aTool = 3;
  6090. _iframe = $$("iframe", {
  6091. "frameborder": "no",
  6092. "border": "0",
  6093. "scrolling ": "no",
  6094. "style": {
  6095. "cssText": "border:0;width:100%;height:100%"
  6096. },
  6097. "src": "/kityminder-editor/dist/index.html"
  6098. })
  6099. _box.appendChild(_iframe);
  6100. _box.appendChild(_jie);
  6101. _formdiv = new U.UF.UI.form(
  6102. "思维导图-" + _username,
  6103. _box, { //"/jsmind/example/demo.html"
  6104. "id": "mind" + cid + stage + task + tool + _userid,
  6105. "style": {
  6106. "width": "90%",
  6107. "height": "90%",
  6108. "overflow": 'hidden'
  6109. },
  6110. "onresize": function () { }
  6111. }, {
  6112. closecallback: function () { }
  6113. }, {
  6114. "style": {
  6115. "height": "36px"
  6116. }
  6117. }).form; //创建窗体
  6118. _taskbar = {
  6119. "id": str + _formdiv.id,
  6120. "style": {
  6121. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6122. },
  6123. "name": "思维导图",
  6124. "forms": _formdiv,
  6125. "click": function () {
  6126. U.MD.D.I.openApplication(str, obj, info);
  6127. }
  6128. }
  6129. break;
  6130. case "MindMap":
  6131. aTool = 3;
  6132. _iframe = $$("iframe", {
  6133. "frameborder": "no",
  6134. "border": "0",
  6135. "scrolling ": "no",
  6136. "style": {
  6137. "cssText": "border:0;width:100%;height:100%"
  6138. },
  6139. "src": "//cloud.cocorobo.cn/mind/"
  6140. })
  6141. _box.appendChild(_iframe);
  6142. _box.appendChild(_jie);
  6143. _formdiv = new U.UF.UI.form(
  6144. "思维导图-" + _username,
  6145. _box, { //"/jsmind/example/demo.html"
  6146. "id": "mind" + cid + stage + task + tool + _userid,
  6147. "style": {
  6148. "width": "90%",
  6149. "height": "90%",
  6150. "overflow": 'hidden'
  6151. },
  6152. "onresize": function () { }
  6153. }, {
  6154. closecallback: function () { }
  6155. }, {
  6156. "style": {
  6157. "height": "36px"
  6158. }
  6159. }).form; //创建窗体
  6160. _taskbar = {
  6161. "id": str + _formdiv.id,
  6162. "style": {
  6163. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6164. },
  6165. "name": "思维导图",
  6166. "forms": _formdiv,
  6167. "click": function () {
  6168. U.MD.D.I.openApplication(str, obj, info);
  6169. }
  6170. }
  6171. break;
  6172. case "doc":
  6173. aTool = 6;
  6174. _iframe = $$("iframe", {
  6175. "frameborder": "no",
  6176. "border": "0",
  6177. "scrolling ": "no",
  6178. "style": {
  6179. "cssText": "border:0;width:100%;height:100%"
  6180. },
  6181. "src": "/Office/Word/WordEditArea.htm"
  6182. })
  6183. _box.appendChild(_iframe);
  6184. _box.appendChild(_jie);
  6185. _formdiv = new U.UF.UI.form(
  6186. "协同文档-" + _username,
  6187. _box, {
  6188. "id": "doc" + cid + stage + task + tool + _userid,
  6189. "style": {
  6190. "width": "90%",
  6191. "height": "90%",
  6192. "overflow": 'hidden'
  6193. },
  6194. "onresize": function () { }
  6195. }, {
  6196. closecallback: function () { }
  6197. }, {
  6198. "style": {
  6199. "height": "36px"
  6200. }
  6201. }).form; //创建窗体
  6202. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6203. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6204. })
  6205. _taskbar = {
  6206. "id": str + _formdiv.id,
  6207. "style": {
  6208. "backgroundImage": "url(/img/icon/doc.png)"
  6209. },
  6210. "name": "协同文档",
  6211. "forms": _formdiv,
  6212. "click": function () {
  6213. U.MD.D.I.openApplication(str, obj, info);
  6214. }
  6215. }
  6216. break;
  6217. case "mindNetwork": //好友打开
  6218. aTool = 7;
  6219. _iframe = $$("iframe", {
  6220. "webkitallowfullscreen": "",
  6221. "mozallowfullscreen": "",
  6222. "allowfullscreen": "",
  6223. "frameborder": "no",
  6224. "border": "0",
  6225. "scrolling ": "no",
  6226. "style": {
  6227. "cssText": "border:0; width:100%; height:100%;"
  6228. },
  6229. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6230. })
  6231. _box.appendChild(_iframe);
  6232. _box.appendChild(_jie);
  6233. _formdiv = new U.UF.UI.form(
  6234. "思维网格-" + _username,
  6235. _box, {
  6236. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6237. "style": {
  6238. "width": "90%",
  6239. "height": "90%",
  6240. "overflow": 'hidden'
  6241. },
  6242. "onresize": function () { }
  6243. }, {
  6244. closecallback: function () { }
  6245. }, {
  6246. "style": {
  6247. "height": "36px"
  6248. }
  6249. }).form; //创建窗体
  6250. _taskbar = {
  6251. "id": str + _formdiv.id,
  6252. "style": {
  6253. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6254. },
  6255. "name": "思维网格",
  6256. "forms": _formdiv,
  6257. "click": function () {
  6258. U.MD.D.I.openApplication(str, obj, info);
  6259. }
  6260. }
  6261. break;
  6262. case "courseDesign":
  6263. _iframe = $$("iframe", {
  6264. "webkitallowfullscreen": "",
  6265. "mozallowfullscreen": "",
  6266. "allowfullscreen": "",
  6267. "frameborder": "no",
  6268. "border": "0",
  6269. "scrolling ": "no",
  6270. "style": {
  6271. "cssText": "border:0; width:100%; height:100%;"
  6272. },
  6273. "src": "/course-design-vue"
  6274. })
  6275. _box.appendChild(_iframe);
  6276. _box.appendChild(_jie);
  6277. _formdiv = new U.UF.UI.form(
  6278. "项目设计-" + _username,
  6279. _box, {
  6280. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6281. "style": {
  6282. "width": "90%",
  6283. "height": "90%",
  6284. "overflow": 'hidden'
  6285. },
  6286. "onresize": function () { }
  6287. }, {
  6288. closecallback: function () { }
  6289. }, {
  6290. "style": {
  6291. "height": "36px"
  6292. }
  6293. }).form; //创建窗体
  6294. _taskbar = {
  6295. "id": str + _formdiv.id,
  6296. "style": {
  6297. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6298. },
  6299. "name": "项目设计",
  6300. "forms": _formdiv,
  6301. "click": function () {
  6302. U.MD.D.I.openApplication(str, obj, info);
  6303. }
  6304. }
  6305. break;
  6306. }
  6307. const script1 = document.createElement("script");
  6308. script1.type = "text/javascript";
  6309. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6310. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6311. const script2 = document.createElement("script");
  6312. script2.type = "text/javascript";
  6313. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6314. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6315. const script3 = document.createElement("script");
  6316. script3.type = "text/javascript";
  6317. script3.charset = "UTF-8";
  6318. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6319. const script4 = document.createElement("script");
  6320. script4.type = "text/javascript";
  6321. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6322. script4.src = window.origin + "/js/Common/jietu2E.js";
  6323. if (_iframe) {
  6324. if (str == 'doc') {
  6325. _iframe = _formdiv.querySelector('iframe')
  6326. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6327. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6328. _iframe.contentWindow.document.body.appendChild(script1);
  6329. _iframe.contentWindow.document.body.appendChild(script2);
  6330. // _iframe.contentWindow.document.body.appendChild(script3);
  6331. _iframe.contentWindow.document.body.appendChild(script4);
  6332. })
  6333. if (onloadListener) {
  6334. _iframe.contentDocument.location.reload()
  6335. } else {
  6336. _iframe.contentDocument.location.reload()
  6337. }
  6338. } else if (str == 'courseDesign') {
  6339. U.UF.DL.iframeLoad(_iframe, function () {
  6340. // _iframe.contentWindow.U.MD.O.W.load();
  6341. // _iframe.contentWindow.document.body.appendChild(script1);
  6342. _iframe.contentWindow.document.body.appendChild(script2);
  6343. _iframe.contentWindow.document.body.appendChild(script4);
  6344. })
  6345. } else if (str == 'mind') {
  6346. _iframe = _formdiv.querySelector('iframe')
  6347. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6348. //
  6349. _iframe.contentWindow.document.body.appendChild(script1);
  6350. _iframe.contentWindow.document.body.appendChild(script2);
  6351. _iframe.contentWindow.document.body.appendChild(script4);
  6352. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6353. })
  6354. if (onloadListener) {
  6355. _iframe.contentDocument.location.reload()
  6356. } else {
  6357. _iframe.contentDocument.location.reload()
  6358. }
  6359. } else if (str == 'whiteboard') {
  6360. _iframe = _formdiv.querySelector('iframe')
  6361. let onloadListener = _iframe.onload = () => {
  6362. _iframe.contentWindow.document.body.appendChild(script1);
  6363. _iframe.contentWindow.document.body.appendChild(script2);
  6364. _iframe.contentWindow.document.body.appendChild(script4);
  6365. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6366. };
  6367. if (onloadListener) {
  6368. _iframe.contentDocument.location.reload()
  6369. } else {
  6370. _iframe.contentDocument.location.reload()
  6371. }
  6372. } else {
  6373. _iframe.onload = () => {
  6374. _iframe.contentWindow.document.body.appendChild(script1);
  6375. _iframe.contentWindow.document.body.appendChild(script2);
  6376. // _iframe.contentWindow.document.body.appendChild(script3);
  6377. _iframe.contentWindow.document.body.appendChild(script4);
  6378. };
  6379. }
  6380. _jie.onclick = async () => {
  6381. let text = ''
  6382. if (aTool == 1) {
  6383. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6384. } else if (aTool == 6) {
  6385. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6386. } else if (aTool == 3) {
  6387. text = await U.MD.D.I.getEditorContent(_iframe);
  6388. }
  6389. _loading.style.display = 'flex'
  6390. console.log(_loading);
  6391. var _ajs = _iframe.contentWindow.document.createElement("script");
  6392. _ajs.type = "text/javascript";
  6393. _ajs.innerHTML =
  6394. // 'console.log(' + _loading + ');\n' +
  6395. 'var _js = document.createElement("script");\n' +
  6396. '_js.type="text/javascript";\n' +
  6397. '_js.charset="UTF-8";\n' +
  6398. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6399. "_js.onload = function(){\n" +
  6400. ' var a = document.getElementsByTagName("img")\n' +
  6401. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6402. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6403. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6404. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6405. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6406. "beforeUpload_shishi(file," +
  6407. "'" +
  6408. _userid +
  6409. "'" +
  6410. ", " +
  6411. "'" +
  6412. _cid +
  6413. "'" +
  6414. ", " +
  6415. "'" +
  6416. _stage +
  6417. "'" +
  6418. ", " +
  6419. "'" +
  6420. _task +
  6421. "'" +
  6422. ", " +
  6423. "'" +
  6424. _tool +
  6425. "'" +
  6426. ", " +
  6427. "'" +
  6428. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6429. "'" +
  6430. ", " +
  6431. "'" +
  6432. aTool +
  6433. "'" +
  6434. ", " +
  6435. "`" +
  6436. text +
  6437. "`" +
  6438. ")\n" +
  6439. " });\n" +
  6440. "}\n" +
  6441. "document.head.appendChild(_js);\n";
  6442. _iframe.contentWindow.document.head.appendChild(_ajs);
  6443. }
  6444. }
  6445. }
  6446. U.MD.D.I.getEditorContent = function (iframe) {
  6447. return new Promise((resolve, reject) => {
  6448. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6449. console.log(content);
  6450. resolve(content)
  6451. });
  6452. });
  6453. }
  6454. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6455. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6456. // if (res.value[0].length > 0) {
  6457. // // resolve(res.value[0][0].text);
  6458. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6459. // $(fileInput).val('');
  6460. // });
  6461. // }
  6462. // }, [], { "type": "GET", "withCredentials": true });
  6463. var xmlhttp;
  6464. var Mac, Sn, DeviceId
  6465. if (window.XMLHttpRequest) {
  6466. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6467. xmlhttp = new XMLHttpRequest();
  6468. } else {
  6469. // IE6, IE5 浏览器执行代码
  6470. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6471. }
  6472. xmlhttp.onreadystatechange = function () {
  6473. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6474. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6475. // resolve(res.value[0][0].text);
  6476. if (type == '2') {
  6477. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6478. } else if (type == '3') {
  6479. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6480. }
  6481. } else {
  6482. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6483. }
  6484. }
  6485. }
  6486. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6487. xmlhttp.send();
  6488. }
  6489. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6490. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6491. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6492. _userinfo = US.userInfo, //登录用户信息
  6493. _userid = US.userInfo.userid //登录用户id
  6494. let _iframe;
  6495. let _cid = cid,
  6496. _stage = stage,
  6497. _task = task,
  6498. _tool = tool;
  6499. var _jie = $$("div", {
  6500. "style": {
  6501. "position": "absolute",
  6502. "bottom": "50px",
  6503. "right": "50px",
  6504. "zIndex": "9999",
  6505. "backgroundColor": "#2268bc",
  6506. "color": "#fff",
  6507. "padding": "12px 20px",
  6508. "cursor": "pointer",
  6509. "borderRadius": "4px",
  6510. },
  6511. "innerHTML": "确认并提交"
  6512. })
  6513. let aTool = ''
  6514. let _loading = document.createElement('div')
  6515. _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;"
  6516. // _loading.id = "";
  6517. let _lchild = document.createElement('div')
  6518. let _limg = document.createElement('img')
  6519. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6520. _limg.style = "width: 26px;margin-right: 10px;"
  6521. _lchild.appendChild(_limg)
  6522. let _lspan = document.createElement('span')
  6523. _lspan.innerHTML = "上传中..."
  6524. _lchild.appendChild(_lspan)
  6525. _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%);"
  6526. _loading.appendChild(_lchild)
  6527. var _box = $$('div', {
  6528. "style": {
  6529. "position": "relative",
  6530. "width": "100%",
  6531. "height": "100%",
  6532. },
  6533. })
  6534. _box.appendChild(_loading)
  6535. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6536. switch (str) {
  6537. case "whiteboard":
  6538. aTool = 1;
  6539. _iframe = $$("iframe", {
  6540. "frameborder": "no",
  6541. "border": "0",
  6542. "scrolling ": "no",
  6543. "style": {
  6544. "cssText": "border:0;width:100%;height:100%"
  6545. },
  6546. "src": "https://iwb.cocorobo.cn/"
  6547. })
  6548. _box.appendChild(_iframe);
  6549. _box.appendChild(_jie);
  6550. _formdiv = new U.UF.UI.form(
  6551. "电子白板",
  6552. _box, {
  6553. "id": "whiteboards" + cid + stage + task + tool,
  6554. "style": {
  6555. "width": "90%",
  6556. "height": "90%",
  6557. "overflow": 'hidden'
  6558. },
  6559. "onresize": function () { }
  6560. }, {
  6561. closecallback: function () { }
  6562. }, {
  6563. "style": {
  6564. "height": "36px"
  6565. }
  6566. }).form; //创建窗体
  6567. _taskbar = {
  6568. "id": str + _formdiv.id,
  6569. "style": {
  6570. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6571. },
  6572. "name": "电子白板",
  6573. "forms": _formdiv,
  6574. "click": function () {
  6575. U.MD.D.I.openApplication(str, obj, info);
  6576. }
  6577. }
  6578. break;
  6579. case "mind":
  6580. aTool = 3;
  6581. _iframe = $$("iframe", {
  6582. "frameborder": "no",
  6583. "border": "0",
  6584. "scrolling ": "no",
  6585. "style": {
  6586. "cssText": "border:0;width:100%;height:100%"
  6587. },
  6588. "src": "/kityminder-editor/dist/index.html"
  6589. });
  6590. _box.appendChild(_iframe);
  6591. _box.appendChild(_jie);
  6592. _formdiv = new U.UF.UI.form(
  6593. "思维导图",
  6594. _box, { //"/jsmind/example/demo.html"
  6595. "id": "minds" + cid + stage + task + tool,
  6596. "style": {
  6597. "width": "90%",
  6598. "height": "90%",
  6599. "overflow": 'hidden'
  6600. },
  6601. "onresize": function () { }
  6602. }, {
  6603. closecallback: function () { }
  6604. }, {
  6605. "style": {
  6606. "height": "36px"
  6607. }
  6608. }).form; //创建窗体
  6609. _taskbar = {
  6610. "id": str + _formdiv.id,
  6611. "style": {
  6612. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6613. },
  6614. "name": "思维导图",
  6615. "forms": _formdiv,
  6616. "click": function () {
  6617. U.MD.D.I.openApplication(str, obj, info);
  6618. }
  6619. }
  6620. break;
  6621. case "doc":
  6622. aTool = 6;
  6623. _iframe = $$("iframe", {
  6624. "frameborder": "no",
  6625. "border": "0",
  6626. "scrolling ": "no",
  6627. "style": {
  6628. "cssText": "border:0;width:100%;height:100%"
  6629. },
  6630. "src": "/Office/Word/WordEditArea.htm"
  6631. })
  6632. _box.appendChild(_iframe);
  6633. _box.appendChild(_jie);
  6634. _formdiv = new U.UF.UI.form(
  6635. "协同文档",
  6636. _box, {
  6637. "id": "docs" + cid + stage + task + tool,
  6638. "style": {
  6639. "width": "90%",
  6640. "height": "90%",
  6641. "overflow": 'hidden'
  6642. },
  6643. "onresize": function () { }
  6644. }, {
  6645. closecallback: function () { }
  6646. }, {
  6647. "style": {
  6648. "height": "36px"
  6649. }
  6650. }).form; //创建窗体
  6651. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6652. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6653. })
  6654. _taskbar = {
  6655. "id": str + _formdiv.id,
  6656. "style": {
  6657. "backgroundImage": "url(/img/icon/doc.png)"
  6658. },
  6659. "name": "协同文档",
  6660. "forms": _formdiv,
  6661. "click": function () {
  6662. U.MD.D.I.openApplication(str, obj, info);
  6663. }
  6664. }
  6665. break;
  6666. }
  6667. const script1 = document.createElement("script");
  6668. script1.type = "text/javascript";
  6669. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6670. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6671. const script2 = document.createElement("script");
  6672. script2.type = "text/javascript";
  6673. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6674. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6675. const script3 = document.createElement("script");
  6676. script3.type = "text/javascript";
  6677. script3.charset = "UTF-8";
  6678. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6679. const script4 = document.createElement("script");
  6680. script4.type = "text/javascript";
  6681. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6682. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6683. if (_iframe) {
  6684. if (str == 'doc') {
  6685. _iframe = _formdiv.querySelector('iframe')
  6686. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6687. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6688. _iframe.contentWindow.document.body.appendChild(script1);
  6689. _iframe.contentWindow.document.body.appendChild(script2);
  6690. // _iframe.contentWindow.document.body.appendChild(script3);
  6691. _iframe.contentWindow.document.body.appendChild(script4);
  6692. })
  6693. if (onloadListener) {
  6694. _iframe.contentDocument.location.reload()
  6695. } else {
  6696. _iframe.contentDocument.location.reload()
  6697. }
  6698. } else if (str == 'mind') {
  6699. _iframe = _formdiv.querySelector('iframe')
  6700. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6701. _iframe.contentWindow.document.body.appendChild(script1);
  6702. _iframe.contentWindow.document.body.appendChild(script2);
  6703. _iframe.contentWindow.document.body.appendChild(script4);
  6704. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6705. })
  6706. if (onloadListener) {
  6707. _iframe.contentDocument.location.reload()
  6708. } else {
  6709. _iframe.contentDocument.location.reload()
  6710. }
  6711. } else {
  6712. _iframe.onload = () => {
  6713. _iframe.contentWindow.document.body.appendChild(script1);
  6714. _iframe.contentWindow.document.body.appendChild(script2);
  6715. // _iframe.contentWindow.document.body.appendChild(script3);
  6716. _iframe.contentWindow.document.body.appendChild(script4);
  6717. };
  6718. }
  6719. _jie.onclick = async () => {
  6720. let text = ''
  6721. if (aTool == 6) {
  6722. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6723. } else if (aTool == 3) {
  6724. text = await U.MD.D.I.getEditorContent(_iframe);
  6725. }
  6726. _loading.style.display = 'flex'
  6727. console.log(_loading);
  6728. var _ajs = _iframe.contentWindow.document.createElement("script");
  6729. _ajs.type = "text/javascript";
  6730. _ajs.innerHTML =
  6731. // 'console.log(' + _loading + ');\n' +
  6732. 'var _js = document.createElement("script");\n' +
  6733. '_js.type="text/javascript";\n' +
  6734. '_js.charset="UTF-8";\n' +
  6735. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6736. "_js.onload = function(){\n" +
  6737. ' var a = document.getElementsByTagName("img")\n' +
  6738. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6739. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6740. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6741. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6742. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6743. "beforeUpload_shishi(file," +
  6744. "'" +
  6745. _userid +
  6746. "'" +
  6747. ", " +
  6748. "'" +
  6749. _cid +
  6750. "'" +
  6751. ", " +
  6752. "'" +
  6753. _stage +
  6754. "'" +
  6755. ", " +
  6756. "'" +
  6757. _task +
  6758. "'" +
  6759. ", " +
  6760. "'" +
  6761. _tool +
  6762. "'" +
  6763. ", " +
  6764. "'" +
  6765. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6766. "'" +
  6767. ", " +
  6768. "'" +
  6769. aTool +
  6770. "'" +
  6771. ", " +
  6772. "`" +
  6773. text +
  6774. "`" +
  6775. ")\n" +
  6776. " });\n" +
  6777. "}\n" +
  6778. "document.head.appendChild(_js);\n";
  6779. _iframe.contentWindow.document.head.appendChild(_ajs);
  6780. }
  6781. }
  6782. //U.MD.D.I.openClick(str);
  6783. //如果有任务栏信息
  6784. // if (_taskbar) {
  6785. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6786. // }
  6787. }
  6788. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  6789. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6790. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6791. _userinfo = US.userInfo, //登录用户信息
  6792. _userid = US.userInfo.userid //登录用户id
  6793. let _iframe;
  6794. let _cid = cid,
  6795. _stage = stage,
  6796. _task = task,
  6797. _tool = tool;
  6798. var _jie = $$("div", {
  6799. "style": {
  6800. "position": "absolute",
  6801. "bottom": "50px",
  6802. "right": "50px",
  6803. "zIndex": "9999",
  6804. "backgroundColor": "#2268bc",
  6805. "color": "#fff",
  6806. "padding": "12px 20px",
  6807. "cursor": "pointer",
  6808. "borderRadius": "4px",
  6809. },
  6810. "innerHTML": "确认并提交"
  6811. })
  6812. let aTool = ''
  6813. let _loading = document.createElement('div')
  6814. _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;"
  6815. // _loading.id = "";
  6816. let _lchild = document.createElement('div')
  6817. let _limg = document.createElement('img')
  6818. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6819. _limg.style = "width: 26px;margin-right: 10px;"
  6820. _lchild.appendChild(_limg)
  6821. let _lspan = document.createElement('span')
  6822. _lspan.innerHTML = "上传中..."
  6823. _lchild.appendChild(_lspan)
  6824. _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%);"
  6825. _loading.appendChild(_lchild)
  6826. var _box = $$('div', {
  6827. "style": {
  6828. "position": "relative",
  6829. "width": "100%",
  6830. "height": "100%",
  6831. },
  6832. })
  6833. _box.appendChild(_loading)
  6834. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6835. switch (str) {
  6836. case "whiteboard":
  6837. aTool = 1;
  6838. _iframe = $$("iframe", {
  6839. "frameborder": "no",
  6840. "border": "0",
  6841. "scrolling ": "no",
  6842. "style": {
  6843. "cssText": "border:0;width:100%;height:100%"
  6844. },
  6845. "src": "https://iwb.cocorobo.cn/"
  6846. })
  6847. _box.appendChild(_iframe);
  6848. _box.appendChild(_jie);
  6849. _formdiv = new U.UF.UI.form(
  6850. "电子白板",
  6851. _box, {
  6852. "id": "whiteboards" + cid + stage + task + tool,
  6853. "style": {
  6854. "width": "90%",
  6855. "height": "90%",
  6856. "overflow": 'hidden'
  6857. },
  6858. "onresize": function () { }
  6859. }, {
  6860. closecallback: function () { }
  6861. }, {
  6862. "style": {
  6863. "height": "36px"
  6864. }
  6865. }).form; //创建窗体
  6866. _taskbar = {
  6867. "id": str + _formdiv.id,
  6868. "style": {
  6869. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6870. },
  6871. "name": "电子白板",
  6872. "forms": _formdiv,
  6873. "click": function () {
  6874. U.MD.D.I.openApplication(str, obj, info);
  6875. }
  6876. }
  6877. break;
  6878. case "mind":
  6879. aTool = 3;
  6880. _iframe = $$("iframe", {
  6881. "frameborder": "no",
  6882. "border": "0",
  6883. "scrolling ": "no",
  6884. "style": {
  6885. "cssText": "border:0;width:100%;height:100%"
  6886. },
  6887. "src": "/kityminder-editor/dist/index.html"
  6888. });
  6889. _box.appendChild(_iframe);
  6890. _box.appendChild(_jie);
  6891. _formdiv = new U.UF.UI.form(
  6892. "思维导图",
  6893. _box, { //"/jsmind/example/demo.html"
  6894. "id": "minds" + cid + stage + task + tool,
  6895. "style": {
  6896. "width": "90%",
  6897. "height": "90%",
  6898. "overflow": 'hidden'
  6899. },
  6900. "onresize": function () { }
  6901. }, {
  6902. closecallback: function () { }
  6903. }, {
  6904. "style": {
  6905. "height": "36px"
  6906. }
  6907. }).form; //创建窗体
  6908. _taskbar = {
  6909. "id": str + _formdiv.id,
  6910. "style": {
  6911. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6912. },
  6913. "name": "思维导图",
  6914. "forms": _formdiv,
  6915. "click": function () {
  6916. U.MD.D.I.openApplication(str, obj, info);
  6917. }
  6918. }
  6919. break;
  6920. case "doc":
  6921. aTool = 6;
  6922. _iframe = $$("iframe", {
  6923. "frameborder": "no",
  6924. "border": "0",
  6925. "scrolling ": "no",
  6926. "style": {
  6927. "cssText": "border:0;width:100%;height:100%"
  6928. },
  6929. "src": "/Office/Word/WordEditArea.htm"
  6930. })
  6931. _box.appendChild(_iframe);
  6932. _box.appendChild(_jie);
  6933. _formdiv = new U.UF.UI.form(
  6934. "协同文档",
  6935. _box, {
  6936. "id": "docs" + cid + stage + task + tool,
  6937. "style": {
  6938. "width": "90%",
  6939. "height": "90%",
  6940. "overflow": 'hidden'
  6941. },
  6942. "onresize": function () { }
  6943. }, {
  6944. closecallback: function () { }
  6945. }, {
  6946. "style": {
  6947. "height": "36px"
  6948. }
  6949. }).form; //创建窗体
  6950. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6951. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6952. })
  6953. _taskbar = {
  6954. "id": str + _formdiv.id,
  6955. "style": {
  6956. "backgroundImage": "url(/img/icon/doc.png)"
  6957. },
  6958. "name": "协同文档",
  6959. "forms": _formdiv,
  6960. "click": function () {
  6961. U.MD.D.I.openApplication(str, obj, info);
  6962. }
  6963. }
  6964. break;
  6965. }
  6966. const script1 = document.createElement("script");
  6967. script1.type = "text/javascript";
  6968. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6969. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6970. const script2 = document.createElement("script");
  6971. script2.type = "text/javascript";
  6972. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6973. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6974. const script3 = document.createElement("script");
  6975. script3.type = "text/javascript";
  6976. script3.charset = "UTF-8";
  6977. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6978. const script4 = document.createElement("script");
  6979. script4.type = "text/javascript";
  6980. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6981. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6982. if (_iframe) {
  6983. if (str == 'doc') {
  6984. _iframe = _formdiv.querySelector('iframe')
  6985. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6986. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6987. _iframe.contentWindow.document.body.appendChild(script1);
  6988. _iframe.contentWindow.document.body.appendChild(script2);
  6989. // _iframe.contentWindow.document.body.appendChild(script3);
  6990. _iframe.contentWindow.document.body.appendChild(script4);
  6991. })
  6992. if (onloadListener) {
  6993. _iframe.contentDocument.location.reload()
  6994. } else {
  6995. _iframe.contentDocument.location.reload()
  6996. }
  6997. } else if (str == 'mind') {
  6998. _iframe = _formdiv.querySelector('iframe')
  6999. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7000. _iframe.contentWindow.document.body.appendChild(script1);
  7001. _iframe.contentWindow.document.body.appendChild(script2);
  7002. _iframe.contentWindow.document.body.appendChild(script4);
  7003. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7004. })
  7005. if (onloadListener) {
  7006. _iframe.contentDocument.location.reload()
  7007. } else {
  7008. _iframe.contentDocument.location.reload()
  7009. }
  7010. } else {
  7011. _iframe.onload = () => {
  7012. _iframe.contentWindow.document.body.appendChild(script1);
  7013. _iframe.contentWindow.document.body.appendChild(script2);
  7014. // _iframe.contentWindow.document.body.appendChild(script3);
  7015. _iframe.contentWindow.document.body.appendChild(script4);
  7016. };
  7017. }
  7018. _jie.onclick = async () => {
  7019. let text = ''
  7020. if (aTool == 6) {
  7021. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7022. } else if (aTool == 3) {
  7023. text = await U.MD.D.I.getEditorContent(_iframe);
  7024. }
  7025. _loading.style.display = 'flex'
  7026. console.log(_loading);
  7027. var _ajs = _iframe.contentWindow.document.createElement("script");
  7028. _ajs.type = "text/javascript";
  7029. _ajs.innerHTML =
  7030. // 'console.log(' + _loading + ');\n' +
  7031. 'var _js = document.createElement("script");\n' +
  7032. '_js.type="text/javascript";\n' +
  7033. '_js.charset="UTF-8";\n' +
  7034. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7035. "_js.onload = function(){\n" +
  7036. ' var a = document.getElementsByTagName("img")\n' +
  7037. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7038. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7039. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7040. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7041. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7042. "beforeUpload_shishi(file," +
  7043. "'" +
  7044. _userid +
  7045. "'" +
  7046. ", " +
  7047. "'" +
  7048. _cid +
  7049. "'" +
  7050. ", " +
  7051. "'" +
  7052. _stage +
  7053. "'" +
  7054. ", " +
  7055. "'" +
  7056. _task +
  7057. "'" +
  7058. ", " +
  7059. "'" +
  7060. _tool +
  7061. "'" +
  7062. ", " +
  7063. "'" +
  7064. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7065. "'" +
  7066. ", " +
  7067. "'" +
  7068. aTool +
  7069. "'" +
  7070. ", " +
  7071. "`" +
  7072. text +
  7073. "`" +
  7074. ")\n" +
  7075. " });\n" +
  7076. "}\n" +
  7077. "document.head.appendChild(_js);\n";
  7078. _iframe.contentWindow.document.head.appendChild(_ajs);
  7079. }
  7080. }
  7081. //U.MD.D.I.openClick(str);
  7082. //如果有任务栏信息
  7083. // if (_taskbar) {
  7084. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7085. // }
  7086. }
  7087. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7088. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7089. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7090. _userinfo = US.userInfo, //登录用户信息
  7091. _userid = US.userInfo.userid //登录用户id
  7092. let _iframe;
  7093. let _cid = cid,
  7094. _stage = stage,
  7095. _task = task,
  7096. _tool = tool;
  7097. var _jie = $$("div", {
  7098. "style": {
  7099. "position": "absolute",
  7100. "bottom": "50px",
  7101. "right": "50px",
  7102. "zIndex": "9999",
  7103. "backgroundColor": "#2268bc",
  7104. "color": "#fff",
  7105. "padding": "12px 20px",
  7106. "cursor": "pointer",
  7107. "borderRadius": "4px",
  7108. },
  7109. "innerHTML": "上传模板"
  7110. })
  7111. let aTool = ''
  7112. let _loading = document.createElement('div')
  7113. _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;"
  7114. // _loading.id = "";
  7115. let _lchild = document.createElement('div')
  7116. let _limg = document.createElement('img')
  7117. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7118. _limg.style = "width: 26px;margin-right: 10px;"
  7119. _lchild.appendChild(_limg)
  7120. let _lspan = document.createElement('span')
  7121. _lspan.innerHTML = "上传中..."
  7122. _lchild.appendChild(_lspan)
  7123. _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%);"
  7124. _loading.appendChild(_lchild)
  7125. var _box = $$('div', {
  7126. "style": {
  7127. "position": "relative",
  7128. "width": "100%",
  7129. "height": "100%",
  7130. },
  7131. })
  7132. _box.appendChild(_loading)
  7133. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7134. switch (str) {
  7135. case "whiteboard":
  7136. aTool = 1;
  7137. _iframe = $$("iframe", {
  7138. "frameborder": "no",
  7139. "border": "0",
  7140. "scrolling ": "no",
  7141. "style": {
  7142. "cssText": "border:0;width:100%;height:100%"
  7143. },
  7144. "src": "https://iwb.cocorobo.cn/"
  7145. })
  7146. _box.appendChild(_iframe);
  7147. _box.appendChild(_jie);
  7148. _formdiv = new U.UF.UI.form(
  7149. "电子白板",
  7150. _box, {
  7151. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7152. "style": {
  7153. "width": "90%",
  7154. "height": "90%",
  7155. "overflow": 'hidden'
  7156. },
  7157. "onresize": function () { }
  7158. }, {
  7159. closecallback: function () { }
  7160. }, {
  7161. "style": {
  7162. "height": "36px"
  7163. }
  7164. }).form; //创建窗体
  7165. _taskbar = {
  7166. "id": str + _formdiv.id,
  7167. "style": {
  7168. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7169. },
  7170. "name": "电子白板",
  7171. "forms": _formdiv,
  7172. "click": function () {
  7173. U.MD.D.I.openApplication(str, obj, info);
  7174. }
  7175. }
  7176. break;
  7177. case "mind":
  7178. aTool = 3;
  7179. _iframe = $$("iframe", {
  7180. "frameborder": "no",
  7181. "border": "0",
  7182. "scrolling ": "no",
  7183. "style": {
  7184. "cssText": "border:0;width:100%;height:100%"
  7185. },
  7186. "src": "/kityminder-editor/dist/index.html"
  7187. });
  7188. _box.appendChild(_iframe);
  7189. _box.appendChild(_jie);
  7190. _formdiv = new U.UF.UI.form(
  7191. "思维导图",
  7192. _box, { //"/jsmind/example/demo.html"
  7193. "id": "minds_Yu" + cid + stage + task + tool,
  7194. "style": {
  7195. "width": "90%",
  7196. "height": "90%",
  7197. "overflow": 'hidden'
  7198. },
  7199. "onresize": function () { }
  7200. }, {
  7201. closecallback: function () { }
  7202. }, {
  7203. "style": {
  7204. "height": "36px"
  7205. }
  7206. }).form; //创建窗体
  7207. _taskbar = {
  7208. "id": str + _formdiv.id,
  7209. "style": {
  7210. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7211. },
  7212. "name": "思维导图",
  7213. "forms": _formdiv,
  7214. "click": function () {
  7215. U.MD.D.I.openApplication(str, obj, info);
  7216. }
  7217. }
  7218. break;
  7219. case "doc":
  7220. aTool = 6;
  7221. _iframe = $$("iframe", {
  7222. "frameborder": "no",
  7223. "border": "0",
  7224. "scrolling ": "no",
  7225. "style": {
  7226. "cssText": "border:0;width:100%;height:100%"
  7227. },
  7228. "src": "/Office/Word/WordEditArea.htm"
  7229. })
  7230. _box.appendChild(_iframe);
  7231. _box.appendChild(_jie);
  7232. _formdiv = new U.UF.UI.form(
  7233. "协同文档",
  7234. _box, {
  7235. "id": "docs_Yu" + cid + stage + task + tool,
  7236. "style": {
  7237. "width": "90%",
  7238. "height": "90%",
  7239. "overflow": 'hidden'
  7240. },
  7241. "onresize": function () { }
  7242. }, {
  7243. closecallback: function () { }
  7244. }, {
  7245. "style": {
  7246. "height": "36px"
  7247. }
  7248. }).form; //创建窗体
  7249. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7250. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7251. })
  7252. _taskbar = {
  7253. "id": str + _formdiv.id,
  7254. "style": {
  7255. "backgroundImage": "url(/img/icon/doc.png)"
  7256. },
  7257. "name": "协同文档",
  7258. "forms": _formdiv,
  7259. "click": function () {
  7260. U.MD.D.I.openApplication(str, obj, info);
  7261. }
  7262. }
  7263. break;
  7264. case "CocoPi":
  7265. aTool = 57;
  7266. _iframe = $$("iframe", {
  7267. "allowpaymentrequest": "allowpaymentrequest",
  7268. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7269. "webkitallowfullscreen": "",
  7270. "mozallowfullscreen": "",
  7271. "frameborder": "no",
  7272. "border": "0",
  7273. "scrolling ": "no",
  7274. "style": {
  7275. "cssText": "border:0;width:100%;height:100%"
  7276. },
  7277. "src": "https://pi.cocorobo.cn/"
  7278. })
  7279. _box.appendChild(_iframe);
  7280. _box.appendChild(_jie);
  7281. _formdiv = new U.UF.UI.form(
  7282. "CocoPi",
  7283. _box, {
  7284. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7285. "style": {
  7286. "width": "90%",
  7287. "height": "90%",
  7288. "overflow": 'hidden'
  7289. },
  7290. "onresize": function () { }
  7291. }, {
  7292. closecallback: function () { }
  7293. }, {
  7294. "style": {
  7295. "height": "36px"
  7296. }
  7297. }).form; //创建窗体
  7298. _taskbar = {
  7299. "id": str + _formdiv.id,
  7300. "style": {
  7301. "backgroundImage": "url(/img/icon/cocopi.png)"
  7302. },
  7303. "name": "CocoPi",
  7304. "forms": _formdiv,
  7305. "click": function () {
  7306. U.MD.D.I.openApplication(str, obj, info);
  7307. }
  7308. }
  7309. break;
  7310. }
  7311. if (_iframe) {
  7312. if (str == 'doc') {
  7313. _iframe = _formdiv.querySelector('iframe')
  7314. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7315. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7316. })
  7317. if (onloadListener) {
  7318. _iframe.contentDocument.location.reload()
  7319. } else {
  7320. _iframe.contentDocument.location.reload()
  7321. }
  7322. } else if (str == 'mind') {
  7323. _iframe = _formdiv.querySelector('iframe')
  7324. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7325. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7326. })
  7327. if (onloadListener) {
  7328. _iframe.contentDocument.location.reload()
  7329. } else {
  7330. _iframe.contentDocument.location.reload()
  7331. }
  7332. } else if (str == 'whiteboard') {
  7333. _iframe = _formdiv.querySelector('iframe')
  7334. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7335. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7336. })
  7337. if (onloadListener) {
  7338. _iframe.contentDocument.location.reload()
  7339. } else {
  7340. _iframe.contentDocument.location.reload()
  7341. }
  7342. } else if (str == 'CocoPi') {
  7343. _iframe = _formdiv.querySelector('iframe')
  7344. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7345. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7346. })
  7347. if (onloadListener) {
  7348. _iframe.contentDocument.location.reload()
  7349. } else {
  7350. _iframe.contentDocument.location.reload()
  7351. }
  7352. } else {
  7353. _iframe.onload = () => { };
  7354. }
  7355. _jie.onclick = async () => {
  7356. let text = ''
  7357. let type = '2'
  7358. if (aTool == 1) {
  7359. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7360. type = '3'
  7361. } else if (aTool == 6) {
  7362. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7363. type = '1'
  7364. } else if (aTool == 3) {
  7365. text = await U.MD.D.I.getEditorContent(_iframe);
  7366. type = '2'
  7367. } else if (aTool == 57) {
  7368. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7369. type = '4'
  7370. }
  7371. _loading.style.display = 'flex'
  7372. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7373. }
  7374. }
  7375. //U.MD.D.I.openClick(str);
  7376. //如果有任务栏信息
  7377. // if (_taskbar) {
  7378. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7379. // }
  7380. }
  7381. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7382. var xmlhttp;
  7383. var Mac, Sn, DeviceId
  7384. if (window.XMLHttpRequest) {
  7385. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7386. xmlhttp = new XMLHttpRequest();
  7387. } else {
  7388. // IE6, IE5 浏览器执行代码
  7389. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7390. }
  7391. xmlhttp.onreadystatechange = function () {
  7392. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7393. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7394. // resolve(res.value[0][0].text);
  7395. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7396. }
  7397. }
  7398. }
  7399. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7400. xmlhttp.send();
  7401. }
  7402. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7403. var xmlhttp;
  7404. var Mac, Sn, DeviceId
  7405. if (window.XMLHttpRequest) {
  7406. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7407. xmlhttp = new XMLHttpRequest();
  7408. } else {
  7409. // IE6, IE5 浏览器执行代码
  7410. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7411. }
  7412. xmlhttp.onreadystatechange = function () {
  7413. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7414. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7415. // resolve(res.value[0][0].text);
  7416. if (type == '2') {
  7417. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7418. } else if (type == '3') {
  7419. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7420. } else if (type == '4') {
  7421. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7422. }
  7423. } else {
  7424. if (type == '2') {
  7425. iframe.contentWindow.editor.minder.importData('json', '')
  7426. } else if (type == '3') {
  7427. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7428. } else if (type == '4') {
  7429. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7430. }
  7431. }
  7432. }
  7433. }
  7434. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7435. xmlhttp.send();
  7436. }
  7437. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7438. var xmlhttp;
  7439. var Mac, Sn, DeviceId
  7440. if (window.XMLHttpRequest) {
  7441. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7442. xmlhttp = new XMLHttpRequest();
  7443. } else {
  7444. // IE6, IE5 浏览器执行代码
  7445. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7446. }
  7447. xmlhttp.onreadystatechange = function () {
  7448. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7449. if (xmlhttp.response) {
  7450. // resolve(res.value[0][0].text);
  7451. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7452. // $(fileInput).val('');
  7453. // });
  7454. span.innerHTML = '上传成功'
  7455. setTimeout(() => {
  7456. loading.style.display = 'none'
  7457. }, 1000);
  7458. }
  7459. }
  7460. }
  7461. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7462. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7463. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7464. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7465. // 设置请求头,表示请求体的编码格式
  7466. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7467. // 设置请求体,使用url-encoded格式的数据
  7468. }
  7469. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7470. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7471. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7472. _userinfo = US.userInfo, //登录用户信息
  7473. _userid = US.userInfo.userid //登录用户id
  7474. let _iframe;
  7475. let _cid = cid,
  7476. _stage = stage,
  7477. _task = task,
  7478. _tool = tool;
  7479. var _jie = $$("div", {
  7480. "style": {
  7481. "position": "absolute",
  7482. "bottom": "50px",
  7483. "right": "50px",
  7484. "zIndex": "9999",
  7485. "backgroundColor": "#2268bc",
  7486. "color": "#fff",
  7487. "padding": "12px 20px",
  7488. "cursor": "pointer",
  7489. "borderRadius": "4px",
  7490. },
  7491. "innerHTML": "提交作业"
  7492. })
  7493. let aTool = ''
  7494. let _loading = document.createElement('div')
  7495. _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;"
  7496. // _loading.id = "";
  7497. let _lchild = document.createElement('div')
  7498. let _limg = document.createElement('img')
  7499. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7500. _limg.style = "width: 26px;margin-right: 10px;"
  7501. _lchild.appendChild(_limg)
  7502. let _lspan = document.createElement('span')
  7503. _lspan.innerHTML = "上传中..."
  7504. _lchild.appendChild(_lspan)
  7505. _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%);"
  7506. _loading.appendChild(_lchild)
  7507. var _box = $$('div', {
  7508. "style": {
  7509. "position": "relative",
  7510. "width": "100%",
  7511. "height": "100%",
  7512. },
  7513. })
  7514. _box.appendChild(_loading)
  7515. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7516. switch (str) {
  7517. case "CocoPi":
  7518. aTool = 57;
  7519. _iframe = $$("iframe", {
  7520. "allowpaymentrequest": "allowpaymentrequest",
  7521. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7522. "webkitallowfullscreen": "",
  7523. "mozallowfullscreen": "",
  7524. "frameborder": "no",
  7525. "border": "0",
  7526. "scrolling ": "no",
  7527. "style": {
  7528. "cssText": "border:0;width:100%;height:100%"
  7529. },
  7530. "src": "https://pi.cocorobo.cn/"
  7531. })
  7532. _box.appendChild(_iframe);
  7533. _box.appendChild(_jie);
  7534. _formdiv = new U.UF.UI.form(
  7535. "CocoPi",
  7536. _box, {
  7537. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7538. "style": {
  7539. "width": "90%",
  7540. "height": "90%",
  7541. "overflow": 'hidden'
  7542. },
  7543. "onresize": function () { }
  7544. }, {
  7545. closecallback: function () { }
  7546. }, {
  7547. "style": {
  7548. "height": "36px"
  7549. }
  7550. }).form; //创建窗体
  7551. _taskbar = {
  7552. "id": str + _formdiv.id,
  7553. "style": {
  7554. "backgroundImage": "url(/img/icon/cocopi.png)"
  7555. },
  7556. "name": "CocoPi",
  7557. "forms": _formdiv,
  7558. "click": function () {
  7559. U.MD.D.I.openApplication(str, obj, info);
  7560. }
  7561. }
  7562. break;
  7563. }
  7564. if (_iframe) {
  7565. if (str == 'CocoPi') {
  7566. _iframe = _formdiv.querySelector('iframe')
  7567. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7568. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7569. })
  7570. if (onloadListener) {
  7571. _iframe.contentDocument.location.reload()
  7572. } else {
  7573. _iframe.contentDocument.location.reload()
  7574. }
  7575. }
  7576. _jie.onclick = async () => {
  7577. let text = ''
  7578. if (aTool == 57) {
  7579. text = _iframe.contentWindow.getLoadXmlStr()
  7580. }
  7581. _loading.style.display = 'flex'
  7582. console.log(_loading);
  7583. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7584. _loading.style.display = 'none'
  7585. let _div = document.createElement('div')
  7586. _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;"
  7587. let _inner = document.createElement('div')
  7588. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7589. _inner.innerHTML = "上传成功"
  7590. _div.appendChild(_inner)
  7591. _iframe.contentWindow.window.document.body.appendChild(_div)
  7592. _div.onclick = () => {
  7593. _iframe.contentWindow.window.document.body.removeChild(_div)
  7594. }
  7595. setTimeout(() => {
  7596. _iframe.contentWindow.window.document.body.removeChild(_div)
  7597. }, 1000);
  7598. }, [], { "type": "POST", "withCredentials": true });
  7599. }
  7600. }
  7601. }
  7602. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7603. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7604. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7605. _userid = student.userid, //登录用户id
  7606. _username = student.student //用户名字
  7607. let _iframe;
  7608. let _cid = cid,
  7609. _stage = stage,
  7610. _task = task,
  7611. _tool = tool;
  7612. var _jie = $$("div", {
  7613. "style": {
  7614. "position": "absolute",
  7615. "bottom": "50px",
  7616. "right": "50px",
  7617. "zIndex": "9999",
  7618. "backgroundColor": "#2268bc",
  7619. "color": "#fff",
  7620. "padding": "12px 20px",
  7621. "cursor": "pointer",
  7622. "borderRadius": "4px",
  7623. },
  7624. "innerHTML": "提交作业"
  7625. })
  7626. let aTool = ''
  7627. let _loading = document.createElement('div')
  7628. _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;"
  7629. // _loading.id = "";
  7630. let _lchild = document.createElement('div')
  7631. let _limg = document.createElement('img')
  7632. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7633. _limg.style = "width: 26px;margin-right: 10px;"
  7634. _lchild.appendChild(_limg)
  7635. let _lspan = document.createElement('span')
  7636. _lspan.innerHTML = "上传中..."
  7637. _lchild.appendChild(_lspan)
  7638. _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%);"
  7639. _loading.appendChild(_lchild)
  7640. var _box = $$('div', {
  7641. "style": {
  7642. "position": "relative",
  7643. "width": "100%",
  7644. "height": "100%",
  7645. },
  7646. })
  7647. _box.appendChild(_loading)
  7648. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7649. switch (str) {
  7650. case "CocoPi":
  7651. aTool = 57;
  7652. _iframe = $$("iframe", {
  7653. "allowpaymentrequest": "allowpaymentrequest",
  7654. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7655. "webkitallowfullscreen": "",
  7656. "mozallowfullscreen": "",
  7657. "frameborder": "no",
  7658. "border": "0",
  7659. "scrolling ": "no",
  7660. "style": {
  7661. "cssText": "border:0;width:100%;height:100%"
  7662. },
  7663. "src": "https://pi.cocorobo.cn/"
  7664. })
  7665. _box.appendChild(_iframe);
  7666. _box.appendChild(_jie);
  7667. _formdiv = new U.UF.UI.form(
  7668. "CocoPi-" + _username,
  7669. _box, {
  7670. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7671. "style": {
  7672. "width": "90%",
  7673. "height": "90%",
  7674. "overflow": 'hidden'
  7675. },
  7676. "onresize": function () { }
  7677. }, {
  7678. closecallback: function () { }
  7679. }, {
  7680. "style": {
  7681. "height": "36px"
  7682. }
  7683. }).form; //创建窗体
  7684. _taskbar = {
  7685. "id": str + _formdiv.id,
  7686. "style": {
  7687. "backgroundImage": "url(/img/icon/cocopi.png)"
  7688. },
  7689. "name": "CocoPi",
  7690. "forms": _formdiv,
  7691. "click": function () {
  7692. U.MD.D.I.openApplication(str, obj, info);
  7693. }
  7694. }
  7695. break;
  7696. }
  7697. if (_iframe) {
  7698. if (str == 'CocoPi') {
  7699. _iframe = _formdiv.querySelector('iframe')
  7700. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7701. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7702. })
  7703. if (onloadListener) {
  7704. _iframe.contentDocument.location.reload()
  7705. } else {
  7706. _iframe.contentDocument.location.reload()
  7707. }
  7708. }
  7709. _jie.onclick = async () => {
  7710. let text = ''
  7711. if (aTool == 57) {
  7712. text = _iframe.contentWindow.getLoadXmlStr()
  7713. }
  7714. _loading.style.display = 'flex'
  7715. console.log(_loading);
  7716. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7717. _loading.style.display = 'none'
  7718. let _div = document.createElement('div')
  7719. _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;"
  7720. let _inner = document.createElement('div')
  7721. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7722. _inner.innerHTML = "上传成功"
  7723. _div.appendChild(_inner)
  7724. _iframe.contentWindow.window.document.body.appendChild(_div)
  7725. _div.onclick = () => {
  7726. _iframe.contentWindow.window.document.body.removeChild(_div)
  7727. }
  7728. setTimeout(() => {
  7729. _iframe.contentWindow.window.document.body.removeChild(_div)
  7730. }, 1000);
  7731. }, [], { "type": "POST", "withCredentials": true });
  7732. }
  7733. }
  7734. }
  7735. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7736. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7737. if (res.value[0].length > 0) {
  7738. if (atool == 57) {
  7739. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7740. }
  7741. } else {
  7742. if (atool == 57) {
  7743. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7744. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7745. }
  7746. }
  7747. }, [], { "type": "POST", "withCredentials": true });
  7748. }