DeskTop.js 473 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054
  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": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  971. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  972. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  973. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  974. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  975. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  976. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  977. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  978. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  979. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  980. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  981. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  982. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  983. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  984. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  985. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  986. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  987. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  988. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  989. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  990. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  991. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  992. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  993. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  994. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  995. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  996. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  997. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  998. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  999. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1000. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1001. ];
  1002. //jccssyl
  1003. U.MD.D.I.jccssylStudentDeskIcon = [
  1004. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1005. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1006. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1007. ];
  1008. //#region 桌面初始化a
  1009. /**
  1010. * 初始化桌面的起始函数
  1011. *
  1012. */
  1013. U.MD.D.I.init = function () {
  1014. if ($("#U_MD_D_K")[0]) {
  1015. //初始化桌面图标
  1016. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1017. // var clickUrl = ':12588/requestIp.php';
  1018. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1019. // U.MD.D.I.Ip = data;
  1020. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1021. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1022. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1023. // })
  1024. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1025. // })
  1026. }
  1027. }
  1028. /**
  1029. * 模式切换
  1030. *
  1031. */
  1032. U.MD.D.I.ModeCheck = function (type) {
  1033. if (US.Config.type == type) {
  1034. return
  1035. }
  1036. US.Config.type = type
  1037. $('.U_PBL_Check .active')[0].className = ''
  1038. if (type == 1) {
  1039. $('.U_PBL_Check div')[0].className = 'active'
  1040. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1041. } else {
  1042. $('.U_PBL_Check div')[1].className = 'active'
  1043. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1044. }
  1045. //初始化桌面图标
  1046. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1047. if (type == 2) {
  1048. U.MD.D.I.openApplication("project")
  1049. }
  1050. }
  1051. /**
  1052. * 隐藏任务栏
  1053. *
  1054. * @param {element} 桌面元素
  1055. */
  1056. U.MD.D.I.hiddenTaskbar = function (el) {
  1057. //任务栏位置变小
  1058. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1059. //桌面的位置变大
  1060. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1061. }
  1062. /**
  1063. * 隐藏任务栏
  1064. *
  1065. * @param {element} 桌面元素
  1066. */
  1067. U.MD.D.I.hiddenTaskbarout = function (el) {
  1068. //任务栏位置变小
  1069. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1070. //任务栏位置变化
  1071. U.selectEl(el).css({ "bottom": "-60px" });
  1072. //桌面的位置变大
  1073. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1074. }
  1075. }
  1076. /**
  1077. * 初始化打印桌面图标
  1078. *
  1079. * @param {element} 桌面元素
  1080. */
  1081. U.MD.D.I.initDesktopIcons = function (el, type) {
  1082. var i, //用于循环
  1083. _content, //桌面图标元素
  1084. _iconcontent, //桌面图标元素
  1085. _frag = $$("frag"), //定义一个碎片元素
  1086. _type = US.userInfo.type,
  1087. _org = US.userInfo.org,
  1088. _oid = US.userInfo.organizeid,
  1089. _role = US.userInfo.role,
  1090. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1091. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1092. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1093. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1094. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1095. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1096. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1097. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1098. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1099. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1100. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1101. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1102. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1103. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1104. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1105. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1106. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1107. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1108. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1109. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1110. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1111. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1112. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1113. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1114. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1115. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1116. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1117. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1118. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1119. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1120. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1121. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1122. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1123. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1124. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1125. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1126. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1127. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1128. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1129. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1130. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1131. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1132. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1133. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1134. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1135. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1136. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1137. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1138. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1139. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1140. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1141. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1142. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1143. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1144. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1145. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1146. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1147. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1148. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1149. 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'];
  1150. 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'];
  1151. //清楚桌面图标
  1152. el.innerHTML = "";
  1153. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1154. _teacherDesktopIconInfo.push(
  1155. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1156. { "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)" } },
  1157. )
  1158. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1159. }
  1160. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1161. _teacherDesktopIconInfo.push(
  1162. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1163. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1164. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1165. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1166. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1167. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1168. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1169. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1170. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1171. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1172. )
  1173. }
  1174. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1175. _teacherDesktopIconInfo.push(
  1176. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1177. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1178. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1179. )
  1180. }
  1181. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1182. _teacherDesktopIconInfo.push(
  1183. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1184. )
  1185. }
  1186. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1187. _teacherDesktopIconInfo.push(
  1188. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1189. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1190. )
  1191. _studentDesktopIconInfo.push(
  1192. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1193. )
  1194. }
  1195. //麒麟二中 和 民新小学
  1196. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1197. _teacherDesktopIconInfo.push(
  1198. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1199. )
  1200. }
  1201. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1202. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1203. _teacherDesktopIconInfo.push(
  1204. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1205. )
  1206. }
  1207. //麒麟二中
  1208. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1209. _studentDesktopIconInfo.push(
  1210. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1211. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1212. )
  1213. }
  1214. //万科双语
  1215. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1216. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1217. if (el.Name == '项目管理') {
  1218. el.Name = 'PBL项目'
  1219. }
  1220. return el
  1221. })
  1222. _studentDesktopIconInfo3.push(
  1223. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1224. )
  1225. }
  1226. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1227. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1228. return el.Name != '魔盒识字' && el.Name != '24点'
  1229. })
  1230. }
  1231. 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) {
  1232. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },)
  1233. }
  1234. //循环创建桌面图标
  1235. if (type == 1) {
  1236. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1237. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1238. _content = $$("div", {
  1239. className: "U_MD_D_KO",
  1240. "onmousedown": U.UF.C.closure(function (obj) {
  1241. //防止拖动图标即打开了桌面应用
  1242. U.MD.D.click(this, obj);
  1243. }, [_studentDesktopIconInfo[i]]),
  1244. "onclick": U.UF.C.closure(function (obj) {
  1245. //防止拖动图标即打开了桌面应用
  1246. U.MD.D.click(this, obj);
  1247. }, [_studentDesktopIconInfo[i]])
  1248. }, _frag); //
  1249. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1250. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1251. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1252. }
  1253. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1254. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1255. _content = $$("div", {
  1256. className: "U_MD_D_KO",
  1257. "onmousedown": U.UF.C.closure(function (obj) {
  1258. //防止拖动图标即打开了桌面应用
  1259. U.MD.D.click(this, obj);
  1260. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1261. "onclick": U.UF.C.closure(function (obj) {
  1262. //防止拖动图标即打开了桌面应用
  1263. U.MD.D.click(this, obj);
  1264. }, [_hkZJLSStudentDeskIconInfo[i]])
  1265. }, _frag); //
  1266. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1267. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1268. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1269. } //
  1270. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1271. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1272. _content = $$("div", {
  1273. className: "U_MD_D_KO",
  1274. "onmousedown": U.UF.C.closure(function (obj) {
  1275. //防止拖动图标即打开了桌面应用
  1276. U.MD.D.click(this, obj);
  1277. }, [_jccssylStudentDeskIconInfo[i]]),
  1278. "onclick": U.UF.C.closure(function (obj) {
  1279. //防止拖动图标即打开了桌面应用
  1280. U.MD.D.click(this, obj);
  1281. }, [_jccssylStudentDeskIconInfo[i]])
  1282. }, _frag); //
  1283. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1284. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1285. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1286. }
  1287. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1288. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1289. _content = $$("div", {
  1290. className: "U_MD_D_KO",
  1291. "onmousedown": U.UF.C.closure(function (obj) {
  1292. //防止拖动图标即打开了桌面应用
  1293. U.MD.D.click(this, obj);
  1294. }, [_thuioeStudentDeskIconInfo[i]]),
  1295. "onclick": U.UF.C.closure(function (obj) {
  1296. //防止拖动图标即打开了桌面应用
  1297. U.MD.D.click(this, obj);
  1298. }, [_thuioeStudentDeskIconInfo[i]])
  1299. }, _frag); //
  1300. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1301. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1302. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1303. }
  1304. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1305. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1306. _content = $$("div", {
  1307. className: "U_MD_D_KO",
  1308. "onmousedown": U.UF.C.closure(function (obj) {
  1309. //防止拖动图标即打开了桌面应用
  1310. U.MD.D.click(this, obj);
  1311. }, [_tpcStudentDeskIconInfo[i]]),
  1312. "onclick": U.UF.C.closure(function (obj) {
  1313. //防止拖动图标即打开了桌面应用
  1314. U.MD.D.click(this, obj);
  1315. }, [_tpcStudentDeskIconInfo[i]])
  1316. }, _frag); //
  1317. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1318. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1319. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1320. } //
  1321. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1322. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1323. _content = $$("div", {
  1324. className: "U_MD_D_KO",
  1325. "onmousedown": U.UF.C.closure(function (obj) {
  1326. //防止拖动图标即打开了桌面应用
  1327. U.MD.D.click(this, obj);
  1328. }, [_chjyjStudentDeskIconInfo[i]]),
  1329. "onclick": U.UF.C.closure(function (obj) {
  1330. //防止拖动图标即打开了桌面应用
  1331. U.MD.D.click(this, obj);
  1332. }, [_chjyjStudentDeskIconInfo[i]])
  1333. }, _frag); //
  1334. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1335. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1336. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1337. }
  1338. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1339. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1340. _content = $$("div", {
  1341. className: "U_MD_D_KO",
  1342. "onmousedown": U.UF.C.closure(function (obj) {
  1343. //防止拖动图标即打开了桌面应用
  1344. U.MD.D.click(this, obj);
  1345. }, [_szjkyStudentDeskIconInfo[i]]),
  1346. "onclick": U.UF.C.closure(function (obj) {
  1347. //防止拖动图标即打开了桌面应用
  1348. U.MD.D.click(this, obj);
  1349. }, [_szjkyStudentDeskIconInfo[i]])
  1350. }, _frag); //
  1351. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1352. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1353. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1354. }
  1355. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1356. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1357. _content = $$("div", {
  1358. className: "U_MD_D_KO",
  1359. "onmousedown": U.UF.C.closure(function (obj) {
  1360. //防止拖动图标即打开了桌面应用
  1361. U.MD.D.click(this, obj);
  1362. }, [_dseiStudentDeskIconInfo[i]]),
  1363. "onclick": U.UF.C.closure(function (obj) {
  1364. //防止拖动图标即打开了桌面应用
  1365. U.MD.D.click(this, obj);
  1366. }, [_dseiStudentDeskIconInfo[i]])
  1367. }, _frag); //
  1368. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1369. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1370. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1371. }
  1372. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1373. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1374. _content = $$("div", {
  1375. className: "U_MD_D_KO",
  1376. "onmousedown": U.UF.C.closure(function (obj) {
  1377. //防止拖动图标即打开了桌面应用
  1378. U.MD.D.click(this, obj);
  1379. }, [_siesStudentDeskIconInfo[i]]),
  1380. "onclick": U.UF.C.closure(function (obj) {
  1381. //防止拖动图标即打开了桌面应用
  1382. U.MD.D.click(this, obj);
  1383. }, [_siesStudentDeskIconInfo[i]])
  1384. }, _frag); //
  1385. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1386. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1387. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1388. }
  1389. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1390. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1391. _content = $$("div", {
  1392. className: "U_MD_D_KO",
  1393. "onmousedown": U.UF.C.closure(function (obj) {
  1394. //防止拖动图标即打开了桌面应用
  1395. U.MD.D.click(this, obj);
  1396. }, [_hkStudentDeskIconInfo[i]]),
  1397. "onclick": U.UF.C.closure(function (obj) {
  1398. //防止拖动图标即打开了桌面应用
  1399. U.MD.D.click(this, obj);
  1400. }, [_hkStudentDeskIconInfo[i]])
  1401. }, _frag); //
  1402. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1403. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1404. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1405. }
  1406. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1407. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1408. _content = $$("div", {
  1409. className: "U_MD_D_KO",
  1410. "onmousedown": U.UF.C.closure(function (obj) {
  1411. //防止拖动图标即打开了桌面应用
  1412. U.MD.D.click(this, obj);
  1413. }, [_studentDesktopIconInfo[i]]),
  1414. "onclick": U.UF.C.closure(function (obj) {
  1415. //防止拖动图标即打开了桌面应用
  1416. U.MD.D.click(this, obj);
  1417. }, [_studentDesktopIconInfo[i]])
  1418. }, _frag); //
  1419. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1420. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1421. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1422. }
  1423. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1424. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1425. _content = $$("div", {
  1426. className: "U_MD_D_KO",
  1427. "onmousedown": U.UF.C.closure(function (obj) {
  1428. //防止拖动图标即打开了桌面应用
  1429. U.MD.D.click(this, obj);
  1430. }, [_tcStudentDeskIconInfo[i]]),
  1431. "onclick": U.UF.C.closure(function (obj) {
  1432. //防止拖动图标即打开了桌面应用
  1433. U.MD.D.click(this, obj);
  1434. }, [_tcStudentDeskIconInfo[i]])
  1435. }, _frag); //
  1436. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1437. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1438. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1439. }
  1440. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1441. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1442. _content = $$("div", {
  1443. className: "U_MD_D_KO",
  1444. "onmousedown": U.UF.C.closure(function (obj) {
  1445. //防止拖动图标即打开了桌面应用
  1446. U.MD.D.click(this, obj);
  1447. }, [_szscStudentDeskIconInfo[i]]),
  1448. "onclick": U.UF.C.closure(function (obj) {
  1449. //防止拖动图标即打开了桌面应用
  1450. U.MD.D.click(this, obj);
  1451. }, [_szscStudentDeskIconInfo[i]])
  1452. }, _frag); //
  1453. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1454. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1455. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1456. }
  1457. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1458. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1459. _content = $$("div", {
  1460. className: "U_MD_D_KO",
  1461. "onmousedown": U.UF.C.closure(function (obj) {
  1462. //防止拖动图标即打开了桌面应用
  1463. U.MD.D.click(this, obj);
  1464. }, [_studentDesktopIconInfo3[i]]),
  1465. "onclick": U.UF.C.closure(function (obj) {
  1466. //防止拖动图标即打开了桌面应用
  1467. U.MD.D.click(this, obj);
  1468. }, [_studentDesktopIconInfo3[i]])
  1469. }, _frag); //
  1470. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1471. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1472. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1473. }
  1474. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1475. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1476. _content = $$("div", {
  1477. className: "U_MD_D_KO",
  1478. "onmousedown": U.UF.C.closure(function (obj) {
  1479. //防止拖动图标即打开了桌面应用
  1480. U.MD.D.click(this, obj);
  1481. }, [_studentDesktopIconInfo2[i]]),
  1482. "onclick": U.UF.C.closure(function (obj) {
  1483. //防止拖动图标即打开了桌面应用
  1484. U.MD.D.click(this, obj);
  1485. }, [_studentDesktopIconInfo2[i]])
  1486. }, _frag); //
  1487. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1488. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1489. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1490. }
  1491. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1492. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1493. _content = $$("div", {
  1494. className: "U_MD_D_KO",
  1495. "onmousedown": U.UF.C.closure(function (obj) {
  1496. //防止拖动图标即打开了桌面应用
  1497. U.MD.D.click(this, obj);
  1498. }, [_wanketeacherDesktopIconInfo[i]]),
  1499. "onclick": U.UF.C.closure(function (obj) {
  1500. //防止拖动图标即打开了桌面应用
  1501. U.MD.D.click(this, obj);
  1502. }, [_wanketeacherDesktopIconInfo[i]])
  1503. }, _frag); //
  1504. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1505. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1506. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1507. }
  1508. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1509. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1510. _content = $$("div", {
  1511. className: "U_MD_D_KO",
  1512. "onmousedown": U.UF.C.closure(function (obj) {
  1513. //防止拖动图标即打开了桌面应用
  1514. U.MD.D.click(this, obj);
  1515. }, [_wankeAdminDesktopIconInfo[i]]),
  1516. "onclick": U.UF.C.closure(function (obj) {
  1517. //防止拖动图标即打开了桌面应用
  1518. U.MD.D.click(this, obj);
  1519. }, [_wankeAdminDesktopIconInfo[i]])
  1520. }, _frag); //
  1521. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1522. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1523. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1524. }
  1525. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1526. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1527. _content = $$("div", {
  1528. className: "U_MD_D_KO",
  1529. "onmousedown": U.UF.C.closure(function (obj) {
  1530. //防止拖动图标即打开了桌面应用
  1531. U.MD.D.click(this, obj);
  1532. }, [_jccssylTeacherDeskIconInfo[i]]),
  1533. "onclick": U.UF.C.closure(function (obj) {
  1534. //防止拖动图标即打开了桌面应用
  1535. U.MD.D.click(this, obj);
  1536. }, [_jccssylTeacherDeskIconInfo[i]])
  1537. }, _frag); //
  1538. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1539. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1540. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1541. }
  1542. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1543. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1544. _content = $$("div", {
  1545. className: "U_MD_D_KO",
  1546. "onmousedown": U.UF.C.closure(function (obj) {
  1547. //防止拖动图标即打开了桌面应用
  1548. U.MD.D.click(this, obj);
  1549. }, [_tpcOrganizerDeskIconInfo[i]]),
  1550. "onclick": U.UF.C.closure(function (obj) {
  1551. //防止拖动图标即打开了桌面应用
  1552. U.MD.D.click(this, obj);
  1553. }, [_tpcOrganizerDeskIconInfo[i]])
  1554. }, _frag); //
  1555. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1556. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1557. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1558. }
  1559. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1560. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1561. _content = $$("div", {
  1562. className: "U_MD_D_KO",
  1563. "onmousedown": U.UF.C.closure(function (obj) {
  1564. //防止拖动图标即打开了桌面应用
  1565. U.MD.D.click(this, obj);
  1566. }, [_tpcTeacherDeskIconInfo[i]]),
  1567. "onclick": U.UF.C.closure(function (obj) {
  1568. //防止拖动图标即打开了桌面应用
  1569. U.MD.D.click(this, obj);
  1570. }, [_tpcTeacherDeskIconInfo[i]])
  1571. }, _frag); //
  1572. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1573. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1574. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1575. }
  1576. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1577. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1578. _content = $$("div", {
  1579. className: "U_MD_D_KO",
  1580. "onmousedown": U.UF.C.closure(function (obj) {
  1581. //防止拖动图标即打开了桌面应用
  1582. U.MD.D.click(this, obj);
  1583. }, [_teacherDesktopIconInfo2[i]]),
  1584. "onclick": U.UF.C.closure(function (obj) {
  1585. //防止拖动图标即打开了桌面应用
  1586. U.MD.D.click(this, obj);
  1587. }, [_teacherDesktopIconInfo2[i]])
  1588. }, _frag); //
  1589. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1590. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1591. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1592. }
  1593. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1594. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1595. _content = $$("div", {
  1596. className: "U_MD_D_KO",
  1597. "onmousedown": U.UF.C.closure(function (obj) {
  1598. //防止拖动图标即打开了桌面应用
  1599. U.MD.D.click(this, obj);
  1600. }, [_thuioeTeacherDeskIconInfo[i]]),
  1601. "onclick": U.UF.C.closure(function (obj) {
  1602. //防止拖动图标即打开了桌面应用
  1603. U.MD.D.click(this, obj);
  1604. }, [_thuioeTeacherDeskIconInfo[i]])
  1605. }, _frag); //
  1606. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1607. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1608. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1609. }
  1610. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1611. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1612. _content = $$("div", {
  1613. className: "U_MD_D_KO",
  1614. "onmousedown": U.UF.C.closure(function (obj) {
  1615. //防止拖动图标即打开了桌面应用
  1616. U.MD.D.click(this, obj);
  1617. }, [_lotechTeacherDeskIconInfo[i]]),
  1618. "onclick": U.UF.C.closure(function (obj) {
  1619. //防止拖动图标即打开了桌面应用
  1620. U.MD.D.click(this, obj);
  1621. }, [_lotechTeacherDeskIconInfo[i]])
  1622. }, _frag); //
  1623. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1624. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1625. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1626. }//
  1627. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1628. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1629. _content = $$("div", {
  1630. className: "U_MD_D_KO",
  1631. "onmousedown": U.UF.C.closure(function (obj) {
  1632. //防止拖动图标即打开了桌面应用
  1633. U.MD.D.click(this, obj);
  1634. }, [_siesTeacherDeskIconInfo[i]]),
  1635. "onclick": U.UF.C.closure(function (obj) {
  1636. //防止拖动图标即打开了桌面应用
  1637. U.MD.D.click(this, obj);
  1638. }, [_siesTeacherDeskIconInfo[i]])
  1639. }, _frag); //
  1640. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1641. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1642. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1643. }
  1644. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1645. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1646. _content = $$("div", {
  1647. className: "U_MD_D_KO",
  1648. "onmousedown": U.UF.C.closure(function (obj) {
  1649. //防止拖动图标即打开了桌面应用
  1650. U.MD.D.click(this, obj);
  1651. }, [_longhuaTeacherDeskIconInfo[i]]),
  1652. "onclick": U.UF.C.closure(function (obj) {
  1653. //防止拖动图标即打开了桌面应用
  1654. U.MD.D.click(this, obj);
  1655. }, [_longhuaTeacherDeskIconInfo[i]])
  1656. }, _frag); //
  1657. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1658. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1659. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1660. }
  1661. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1662. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1663. _content = $$("div", {
  1664. className: "U_MD_D_KO",
  1665. "onmousedown": U.UF.C.closure(function (obj) {
  1666. //防止拖动图标即打开了桌面应用
  1667. U.MD.D.click(this, obj);
  1668. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1669. "onclick": U.UF.C.closure(function (obj) {
  1670. //防止拖动图标即打开了桌面应用
  1671. U.MD.D.click(this, obj);
  1672. }, [_yunhaiTeacherDeskIconInfo[i]])
  1673. }, _frag); //
  1674. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1675. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1676. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1677. } //_hkStudentDeskIconInfo
  1678. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1679. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1680. _content = $$("div", {
  1681. className: "U_MD_D_KO",
  1682. "onmousedown": U.UF.C.closure(function (obj) {
  1683. //防止拖动图标即打开了桌面应用
  1684. U.MD.D.click(this, obj);
  1685. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1686. "onclick": U.UF.C.closure(function (obj) {
  1687. //防止拖动图标即打开了桌面应用
  1688. U.MD.D.click(this, obj);
  1689. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1690. }, _frag); //
  1691. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1692. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1693. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1694. }
  1695. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1696. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1697. _content = $$("div", {
  1698. className: "U_MD_D_KO",
  1699. "onmousedown": U.UF.C.closure(function (obj) {
  1700. //防止拖动图标即打开了桌面应用
  1701. U.MD.D.click(this, obj);
  1702. }, [_hkTeacherDeskIconInfo[i]]),
  1703. "onclick": U.UF.C.closure(function (obj) {
  1704. //防止拖动图标即打开了桌面应用
  1705. U.MD.D.click(this, obj);
  1706. }, [_hkTeacherDeskIconInfo[i]])
  1707. }, _frag); //
  1708. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1709. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1710. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1711. }
  1712. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1713. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1714. _content = $$("div", {
  1715. className: "U_MD_D_KO",
  1716. "onmousedown": U.UF.C.closure(function (obj) {
  1717. //防止拖动图标即打开了桌面应用
  1718. U.MD.D.click(this, obj);
  1719. }, [_gdjgAdminDeskIconInfo[i]]),
  1720. "onclick": U.UF.C.closure(function (obj) {
  1721. //防止拖动图标即打开了桌面应用
  1722. U.MD.D.click(this, obj);
  1723. }, [_gdjgAdminDeskIconInfo[i]])
  1724. }, _frag); //
  1725. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1726. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1727. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1728. }
  1729. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1730. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1731. _content = $$("div", {
  1732. className: "U_MD_D_KO",
  1733. "onmousedown": U.UF.C.closure(function (obj) {
  1734. //防止拖动图标即打开了桌面应用
  1735. U.MD.D.click(this, obj);
  1736. }, [_gdjgTeacherDeskIconInfo[i]]),
  1737. "onclick": U.UF.C.closure(function (obj) {
  1738. //防止拖动图标即打开了桌面应用
  1739. U.MD.D.click(this, obj);
  1740. }, [_gdjgTeacherDeskIconInfo[i]])
  1741. }, _frag); //
  1742. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1743. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1744. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1745. }
  1746. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1747. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1748. _content = $$("div", {
  1749. className: "U_MD_D_KO",
  1750. "onmousedown": U.UF.C.closure(function (obj) {
  1751. //防止拖动图标即打开了桌面应用
  1752. U.MD.D.click(this, obj);
  1753. }, [_szherTeacherDeskIconInfo[i]]),
  1754. "onclick": U.UF.C.closure(function (obj) {
  1755. //防止拖动图标即打开了桌面应用
  1756. U.MD.D.click(this, obj);
  1757. }, [_szherTeacherDeskIconInfo[i]])
  1758. }, _frag); //
  1759. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1760. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1761. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1762. }
  1763. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1764. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1765. _content = $$("div", {
  1766. className: "U_MD_D_KO",
  1767. "onmousedown": U.UF.C.closure(function (obj) {
  1768. //防止拖动图标即打开了桌面应用
  1769. U.MD.D.click(this, obj);
  1770. }, [_heyuannAdminDeskIconInfo[i]]),
  1771. "onclick": U.UF.C.closure(function (obj) {
  1772. //防止拖动图标即打开了桌面应用
  1773. U.MD.D.click(this, obj);
  1774. }, [_heyuannAdminDeskIconInfo[i]])
  1775. }, _frag); //
  1776. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1777. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1778. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1779. }
  1780. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1781. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1782. _content = $$("div", {
  1783. className: "U_MD_D_KO",
  1784. "onmousedown": U.UF.C.closure(function (obj) {
  1785. //防止拖动图标即打开了桌面应用
  1786. U.MD.D.click(this, obj);
  1787. }, [_heyuanTeacherDeskIconInfo[i]]),
  1788. "onclick": U.UF.C.closure(function (obj) {
  1789. //防止拖动图标即打开了桌面应用
  1790. U.MD.D.click(this, obj);
  1791. }, [_heyuanTeacherDeskIconInfo[i]])
  1792. }, _frag); //
  1793. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1794. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1795. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1796. } //
  1797. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1798. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1799. _content = $$("div", {
  1800. className: "U_MD_D_KO",
  1801. "onmousedown": U.UF.C.closure(function (obj) {
  1802. //防止拖动图标即打开了桌面应用
  1803. U.MD.D.click(this, obj);
  1804. }, [_dseiAdminDeskIconInfo[i]]),
  1805. "onclick": U.UF.C.closure(function (obj) {
  1806. //防止拖动图标即打开了桌面应用
  1807. U.MD.D.click(this, obj);
  1808. }, [_dseiAdminDeskIconInfo[i]])
  1809. }, _frag); //
  1810. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1811. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1812. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1813. }
  1814. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1815. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1816. _content = $$("div", {
  1817. className: "U_MD_D_KO",
  1818. "onmousedown": U.UF.C.closure(function (obj) {
  1819. //防止拖动图标即打开了桌面应用
  1820. U.MD.D.click(this, obj);
  1821. }, [_dseiTeacherDeskIconInfo[i]]),
  1822. "onclick": U.UF.C.closure(function (obj) {
  1823. //防止拖动图标即打开了桌面应用
  1824. U.MD.D.click(this, obj);
  1825. }, [_dseiTeacherDeskIconInfo[i]])
  1826. }, _frag); //
  1827. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1828. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1829. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1830. } //
  1831. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1832. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1833. _content = $$("div", {
  1834. className: "U_MD_D_KO",
  1835. "onmousedown": U.UF.C.closure(function (obj) {
  1836. //防止拖动图标即打开了桌面应用
  1837. U.MD.D.click(this, obj);
  1838. }, [_chjyjAdminDeskIconInfo[i]]),
  1839. "onclick": U.UF.C.closure(function (obj) {
  1840. //防止拖动图标即打开了桌面应用
  1841. U.MD.D.click(this, obj);
  1842. }, [_chjyjAdminDeskIconInfo[i]])
  1843. }, _frag); //
  1844. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1845. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1846. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1847. }//
  1848. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1849. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1850. _content = $$("div", {
  1851. className: "U_MD_D_KO",
  1852. "onmousedown": U.UF.C.closure(function (obj) {
  1853. //防止拖动图标即打开了桌面应用
  1854. U.MD.D.click(this, obj);
  1855. }, [_chjyjTeacherDeskIconInfo[i]]),
  1856. "onclick": U.UF.C.closure(function (obj) {
  1857. //防止拖动图标即打开了桌面应用
  1858. U.MD.D.click(this, obj);
  1859. }, [_chjyjTeacherDeskIconInfo[i]])
  1860. }, _frag); //
  1861. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1862. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1863. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1864. }
  1865. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1866. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1867. _content = $$("div", {
  1868. className: "U_MD_D_KO",
  1869. "onmousedown": U.UF.C.closure(function (obj) {
  1870. //防止拖动图标即打开了桌面应用
  1871. U.MD.D.click(this, obj);
  1872. }, [_szjkyAdminDeskIconInfo[i]]),
  1873. "onclick": U.UF.C.closure(function (obj) {
  1874. //防止拖动图标即打开了桌面应用
  1875. U.MD.D.click(this, obj);
  1876. }, [_szjkyAdminDeskIconInfo[i]])
  1877. }, _frag); //
  1878. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1879. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1880. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1881. }//
  1882. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1883. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1884. _content = $$("div", {
  1885. className: "U_MD_D_KO",
  1886. "onmousedown": U.UF.C.closure(function (obj) {
  1887. //防止拖动图标即打开了桌面应用
  1888. U.MD.D.click(this, obj);
  1889. }, [_szjkyTeacherDeskIconInfo[i]]),
  1890. "onclick": U.UF.C.closure(function (obj) {
  1891. //防止拖动图标即打开了桌面应用
  1892. U.MD.D.click(this, obj);
  1893. }, [_szjkyTeacherDeskIconInfo[i]])
  1894. }, _frag); //
  1895. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1896. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1897. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1898. }
  1899. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1900. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1901. _content = $$("div", {
  1902. className: "U_MD_D_KO",
  1903. "onmousedown": U.UF.C.closure(function (obj) {
  1904. //防止拖动图标即打开了桌面应用
  1905. U.MD.D.click(this, obj);
  1906. }, [_futianAdminDeskIconInfo[i]]),
  1907. "onclick": U.UF.C.closure(function (obj) {
  1908. //防止拖动图标即打开了桌面应用
  1909. U.MD.D.click(this, obj);
  1910. }, [_futianAdminDeskIconInfo[i]])
  1911. }, _frag); //
  1912. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1913. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1914. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1915. }
  1916. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1917. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1918. _content = $$("div", {
  1919. className: "U_MD_D_KO",
  1920. "onmousedown": U.UF.C.closure(function (obj) {
  1921. //防止拖动图标即打开了桌面应用
  1922. U.MD.D.click(this, obj);
  1923. }, [_futianTeacherDeskIconInfo[i]]),
  1924. "onclick": U.UF.C.closure(function (obj) {
  1925. //防止拖动图标即打开了桌面应用
  1926. U.MD.D.click(this, obj);
  1927. }, [_futianTeacherDeskIconInfo[i]])
  1928. }, _frag); //
  1929. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1930. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1931. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1932. }
  1933. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1934. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1935. _content = $$("div", {
  1936. className: "U_MD_D_KO",
  1937. "onmousedown": U.UF.C.closure(function (obj) {
  1938. //防止拖动图标即打开了桌面应用
  1939. U.MD.D.click(this, obj);
  1940. }, [_MingdeTeacherDeskIcon[i]]),
  1941. "onclick": U.UF.C.closure(function (obj) {
  1942. //防止拖动图标即打开了桌面应用
  1943. U.MD.D.click(this, obj);
  1944. }, [_MingdeTeacherDeskIcon[i]])
  1945. }, _frag); //
  1946. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1947. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1948. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1949. }
  1950. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1951. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1952. _content = $$("div", {
  1953. className: "U_MD_D_KO",
  1954. "onmousedown": U.UF.C.closure(function (obj) {
  1955. //防止拖动图标即打开了桌面应用
  1956. U.MD.D.click(this, obj);
  1957. }, [_lhsAdminDesktopIconInfo[i]]),
  1958. "onclick": U.UF.C.closure(function (obj) {
  1959. //防止拖动图标即打开了桌面应用
  1960. U.MD.D.click(this, obj);
  1961. }, [_lhsAdminDesktopIconInfo[i]])
  1962. }, _frag); //
  1963. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1964. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1965. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1966. }
  1967. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1968. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1969. _content = $$("div", {
  1970. className: "U_MD_D_KO",
  1971. "onmousedown": U.UF.C.closure(function (obj) {
  1972. //防止拖动图标即打开了桌面应用
  1973. U.MD.D.click(this, obj);
  1974. }, [_lhsteacherDesktopIconInfo[i]]),
  1975. "onclick": U.UF.C.closure(function (obj) {
  1976. //防止拖动图标即打开了桌面应用
  1977. U.MD.D.click(this, obj);
  1978. }, [_lhsteacherDesktopIconInfo[i]])
  1979. }, _frag); //
  1980. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1981. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1982. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1983. }
  1984. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1985. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1986. _content = $$("div", {
  1987. className: "U_MD_D_KO",
  1988. "onmousedown": U.UF.C.closure(function (obj) {
  1989. //防止拖动图标即打开了桌面应用
  1990. U.MD.D.click(this, obj);
  1991. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1992. "onclick": U.UF.C.closure(function (obj) {
  1993. //防止拖动图标即打开了桌面应用
  1994. U.MD.D.click(this, obj);
  1995. }, [_zhoujiateacherDesktopIconInfo[i]])
  1996. }, _frag); //
  1997. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1998. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1999. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2000. }
  2001. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2002. for (i = 0; i < _hanDeskIcon.length; i++) {
  2003. _content = $$("div", {
  2004. className: "U_MD_D_KO",
  2005. "onmousedown": U.UF.C.closure(function (obj) {
  2006. //防止拖动图标即打开了桌面应用
  2007. U.MD.D.click(this, obj);
  2008. }, [_hanDeskIcon[i]]),
  2009. "onclick": U.UF.C.closure(function (obj) {
  2010. //防止拖动图标即打开了桌面应用
  2011. U.MD.D.click(this, obj);
  2012. }, [_hanDeskIcon[i]])
  2013. }, _frag); //
  2014. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2015. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2016. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2017. }
  2018. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2019. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2020. _content = $$("div", {
  2021. className: "U_MD_D_KO",
  2022. "onmousedown": U.UF.C.closure(function (obj) {
  2023. //防止拖动图标即打开了桌面应用
  2024. U.MD.D.click(this, obj);
  2025. }, [_orgStemDeskIcon[i]]),
  2026. "onclick": U.UF.C.closure(function (obj) {
  2027. //防止拖动图标即打开了桌面应用
  2028. U.MD.D.click(this, obj);
  2029. }, [_orgStemDeskIcon[i]])
  2030. }, _frag); //
  2031. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2032. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2033. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2034. }
  2035. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2036. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2037. _content = $$("div", {
  2038. className: "U_MD_D_KO",
  2039. "onmousedown": U.UF.C.closure(function (obj) {
  2040. //防止拖动图标即打开了桌面应用
  2041. U.MD.D.click(this, obj);
  2042. }, [_szulsDeskIcon[i]]),
  2043. "onclick": U.UF.C.closure(function (obj) {
  2044. //防止拖动图标即打开了桌面应用
  2045. U.MD.D.click(this, obj);
  2046. }, [_szulsDeskIcon[i]])
  2047. }, _frag); //
  2048. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2049. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2050. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2051. }
  2052. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2053. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2054. _content = $$("div", {
  2055. className: "U_MD_D_KO",
  2056. "onmousedown": U.UF.C.closure(function (obj) {
  2057. //防止拖动图标即打开了桌面应用
  2058. U.MD.D.click(this, obj);
  2059. }, [_orgDesktopIconInfo[i]]),
  2060. "onclick": U.UF.C.closure(function (obj) {
  2061. //防止拖动图标即打开了桌面应用
  2062. U.MD.D.click(this, obj);
  2063. }, [_orgDesktopIconInfo[i]])
  2064. }, _frag); //
  2065. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2066. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2067. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2068. }
  2069. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2070. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2071. _content = $$("div", {
  2072. className: "U_MD_D_KO",
  2073. "onmousedown": U.UF.C.closure(function (obj) {
  2074. //防止拖动图标即打开了桌面应用
  2075. U.MD.D.click(this, obj);
  2076. }, [_schoolDesktopIconInfo[i]]),
  2077. "onclick": U.UF.C.closure(function (obj) {
  2078. //防止拖动图标即打开了桌面应用
  2079. U.MD.D.click(this, obj);
  2080. }, [_schoolDesktopIconInfo[i]])
  2081. }, _frag); //
  2082. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2083. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2084. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2085. }
  2086. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2087. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2088. _content = $$("div", {
  2089. className: "U_MD_D_KO",
  2090. "onmousedown": U.UF.C.closure(function (obj) {
  2091. //防止拖动图标即打开了桌面应用
  2092. U.MD.D.click(this, obj);
  2093. }, [_GMteacherDesktopIconInfo[i]]),
  2094. "onclick": U.UF.C.closure(function (obj) {
  2095. //防止拖动图标即打开了桌面应用
  2096. U.MD.D.click(this, obj);
  2097. }, [_GMteacherDesktopIconInfo[i]])
  2098. }, _frag); //
  2099. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2100. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2101. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2102. }
  2103. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2104. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2105. _content = $$("div", {
  2106. className: "U_MD_D_KO",
  2107. "onmousedown": U.UF.C.closure(function (obj) {
  2108. //防止拖动图标即打开了桌面应用
  2109. U.MD.D.click(this, obj);
  2110. }, [_SONGteacherDesktopIconInfo[i]]),
  2111. "onclick": U.UF.C.closure(function (obj) {
  2112. //防止拖动图标即打开了桌面应用
  2113. U.MD.D.click(this, obj);
  2114. }, [_SONGteacherDesktopIconInfo[i]])
  2115. }, _frag); //
  2116. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2117. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2118. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2119. }
  2120. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2121. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2122. _content = $$("div", {
  2123. className: "U_MD_D_KO",
  2124. "onmousedown": U.UF.C.closure(function (obj) {
  2125. //防止拖动图标即打开了桌面应用
  2126. U.MD.D.click(this, obj);
  2127. }, [_GMstudentDesktopIconInfo[i]]),
  2128. "onclick": U.UF.C.closure(function (obj) {
  2129. //防止拖动图标即打开了桌面应用
  2130. U.MD.D.click(this, obj);
  2131. }, [_GMstudentDesktopIconInfo[i]])
  2132. }, _frag); //
  2133. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2134. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2135. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2136. }
  2137. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2138. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2139. _content = $$("div", {
  2140. className: "U_MD_D_KO",
  2141. "onmousedown": U.UF.C.closure(function (obj) {
  2142. //防止拖动图标即打开了桌面应用
  2143. U.MD.D.click(this, obj);
  2144. }, [_tcTeacherDeskIconInfo[i]]),
  2145. "onclick": U.UF.C.closure(function (obj) {
  2146. //防止拖动图标即打开了桌面应用
  2147. U.MD.D.click(this, obj);
  2148. }, [_tcTeacherDeskIconInfo[i]])
  2149. }, _frag); //
  2150. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2151. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2152. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2153. }
  2154. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2155. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2156. _content = $$("div", {
  2157. className: "U_MD_D_KO",
  2158. "onmousedown": U.UF.C.closure(function (obj) {
  2159. //防止拖动图标即打开了桌面应用
  2160. U.MD.D.click(this, obj);
  2161. }, [_tcOrganizerDeskIconInfo[i]]),
  2162. "onclick": U.UF.C.closure(function (obj) {
  2163. //防止拖动图标即打开了桌面应用
  2164. U.MD.D.click(this, obj);
  2165. }, [_tcOrganizerDeskIconInfo[i]])
  2166. }, _frag); //
  2167. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2168. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2169. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2170. }
  2171. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2172. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2173. _content = $$("div", {
  2174. className: "U_MD_D_KO",
  2175. "onmousedown": U.UF.C.closure(function (obj) {
  2176. //防止拖动图标即打开了桌面应用
  2177. U.MD.D.click(this, obj);
  2178. }, [_szscTeacherDeskIconInfo[i]]),
  2179. "onclick": U.UF.C.closure(function (obj) {
  2180. //防止拖动图标即打开了桌面应用
  2181. U.MD.D.click(this, obj);
  2182. }, [_szscTeacherDeskIconInfo[i]])
  2183. }, _frag); //
  2184. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2185. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2186. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2187. }
  2188. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2189. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2190. _content = $$("div", {
  2191. className: "U_MD_D_KO",
  2192. "onmousedown": U.UF.C.closure(function (obj) {
  2193. //防止拖动图标即打开了桌面应用
  2194. U.MD.D.click(this, obj);
  2195. }, [_szscOrganizerDeskIconInfo[i]]),
  2196. "onclick": U.UF.C.closure(function (obj) {
  2197. //防止拖动图标即打开了桌面应用
  2198. U.MD.D.click(this, obj);
  2199. }, [_szscOrganizerDeskIconInfo[i]])
  2200. }, _frag); //
  2201. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2202. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2203. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2204. }
  2205. } else {
  2206. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2207. _content = $$("div", {
  2208. className: "U_MD_D_KO",
  2209. "onmousedown": U.UF.C.closure(function (obj) {
  2210. //防止拖动图标即打开了桌面应用
  2211. U.MD.D.click(this, obj);
  2212. }, [_teacherDesktopIconInfo[i]]),
  2213. "onclick": U.UF.C.closure(function (obj) {
  2214. //防止拖动图标即打开了桌面应用
  2215. U.MD.D.click(this, obj);
  2216. }, [_teacherDesktopIconInfo[i]])
  2217. }, _frag); //
  2218. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2219. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2220. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2221. }
  2222. }
  2223. } else {
  2224. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2225. _content = $$("div", {
  2226. className: "U_MD_D_KO",
  2227. style: { 'width': '124px', 'height': '145px' },
  2228. "onmousedown": U.UF.C.closure(function (obj) {
  2229. //防止拖动图标即打开了桌面应用
  2230. U.MD.D.click(this, obj);
  2231. }, [_easyDesktopIconInfo[i]]),
  2232. "onclick": U.UF.C.closure(function (obj) {
  2233. //防止拖动图标即打开了桌面应用
  2234. U.MD.D.click(this, obj);
  2235. }, [_easyDesktopIconInfo[i]])
  2236. }, _frag); //
  2237. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2238. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2239. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2240. }
  2241. }
  2242. if (type == 1) {
  2243. //加载好后给图标定位
  2244. U.MD.D.iconPostion($(_frag).Child());
  2245. } else {
  2246. //加载好后给图标定位
  2247. U.MD.D.iconPostion2($(_frag).Child());
  2248. }
  2249. //把图标加载到页面
  2250. el.appendChild(_frag);
  2251. }
  2252. /**
  2253. * 显示任务栏
  2254. *
  2255. * @param {element} 桌面元素
  2256. */
  2257. U.MD.D.I.displayTaskbar = function (el) {
  2258. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2259. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2260. //任务栏位置变化
  2261. U.selectEl(el).css({ "bottom": "0px" });
  2262. //桌面位置变话
  2263. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2264. }
  2265. }
  2266. //#region 桌面图标拖动逻辑
  2267. /**
  2268. * 桌面排列图标
  2269. *
  2270. * @param {element} 桌面元素
  2271. * @param {object} 上下相距的距离
  2272. * @param {object} 左右相距的距离
  2273. * @return {object} 命名空间
  2274. */
  2275. U.MD.D.iconPostion = function (childs, top, left) {
  2276. var i; //用于循环处理
  2277. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2278. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2279. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2280. for (i = 0; i < childs.length; i++) {
  2281. //如果竖排top超过了范围处理
  2282. if (top + 95 > US.height - 10) {
  2283. //left超过了页面范围处理,则向上重叠打印处理
  2284. if ((left + 180) > US.width) {
  2285. top -= 110;
  2286. left -= 90;
  2287. }
  2288. //没有超过范围,那么left+90添加到下一个竖排打印
  2289. else {
  2290. left += 90;
  2291. top = 15;
  2292. };
  2293. }
  2294. //给图标的位置赋值
  2295. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2296. if (i < childs.length - 1) {
  2297. //页面图标每次向下加95
  2298. top += 95;
  2299. }
  2300. }
  2301. //返回最后调用的图标的位置
  2302. return [top, left];
  2303. }
  2304. /**
  2305. * 桌面排列图标
  2306. *
  2307. * @param {element} 桌面元素
  2308. * @param {object} 上下相距的距离
  2309. * @param {object} 左右相距的距离
  2310. * @return {object} 命名空间
  2311. */
  2312. U.MD.D.iconPostion2 = function (childs, top, left) {
  2313. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2314. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2315. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2316. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2317. for (i = 0; i < childs.length; i++) {
  2318. //如果竖排top超过了范围处理
  2319. if (left + 150 > US.width - 10) {
  2320. //left超过了页面范围处理,则向上重叠打印处理
  2321. if ((top + 180) > US.Height) {
  2322. top -= 150;
  2323. left -= 150;
  2324. }
  2325. //没有超过范围,那么left+90添加到下一个竖排打印
  2326. else {
  2327. top += 150;
  2328. left = ol;
  2329. };
  2330. }
  2331. //给图标的位置赋值
  2332. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2333. if (i < childs.length - 1) {
  2334. //页面图标每次向下加95
  2335. left += 150;
  2336. }
  2337. }
  2338. //返回最后调用的图标的位置
  2339. return [top, left];
  2340. }
  2341. /**
  2342. * 桌面点击事件逻辑
  2343. *
  2344. * @param {element} 桌面元素
  2345. * @param {object} 上下相距的距离
  2346. * @param {object} 左右相距的距离
  2347. * @return {object} 命名空间
  2348. */
  2349. U.MD.D.click = function (el, obj) {
  2350. var _buttonnumber = event.button; //点击的按钮的事件值
  2351. var _userinfo = US.userInfo;
  2352. U.UF.EV.stopBubble(); //阻止向上冒泡
  2353. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2354. if (_buttonnumber < 2) {
  2355. //如果是click事件的处理
  2356. if (event.type == "click") {
  2357. //如果元素在mousemove事件中没有移动则出发click事件
  2358. if (!U.MD.D.I.IsDrag) {
  2359. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2360. U.alert("请先登录您的账号!");
  2361. setTimeout(() => {
  2362. U.MD.U.L.login();
  2363. }, 2000);
  2364. } else {
  2365. //打开应用处理
  2366. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2367. }
  2368. }
  2369. }
  2370. //如果是mouse事件的处理
  2371. else {
  2372. if (US.Config.type == '1') {
  2373. //拖动处理,添加拖动和拖动结束事件
  2374. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2375. }
  2376. }
  2377. U.MD.D.I.IsDrag = false;
  2378. }
  2379. }
  2380. /**
  2381. * 拖动的处理
  2382. *
  2383. */
  2384. U.MD.D.iconMove = function () {
  2385. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2386. U.MD.D.I.IsDrag = true;
  2387. }
  2388. /**
  2389. * 拖动结束后,这里是定位处理,以网状的形式定位
  2390. *
  2391. * @param {element} 拖动的元素
  2392. * @return {object} 命名空间
  2393. */
  2394. U.MD.D.iconUp = function (el) {
  2395. var _top = 15,
  2396. _left = 20,
  2397. _margin,
  2398. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2399. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2400. if (_positioninfo["OT"] > 15) {
  2401. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2402. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2403. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2404. }
  2405. if (_positioninfo["OL"] > 20) {
  2406. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2407. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2408. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2409. }
  2410. //while循环判断么一个重叠的元素
  2411. do {
  2412. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2413. _top = _positioninfo[0] + 95; //得到定位后的top
  2414. _left = _positioninfo[1]; //得到定位后的left
  2415. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2416. }
  2417. /**
  2418. * 判断拖动后图标是否重叠
  2419. *
  2420. * @param {element} 拖动的元素
  2421. * @param {element} 桌面所有的元素
  2422. * @param {array} 拖动元素的位置
  2423. ----------[0] 上 top
  2424. ----------[1] 左 left
  2425. * @return {object} 命名空间
  2426. */
  2427. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2428. //循环所有的图标
  2429. for (var i = 0; i < childs.length; i++) {
  2430. //判断有没有和该图标诶子重叠的元素
  2431. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2432. return childs[i]; //如果有返回
  2433. }
  2434. }
  2435. }
  2436. //#endregion
  2437. //#endregion
  2438. //#region 桌面应用
  2439. /**
  2440. * 打开应用
  2441. *
  2442. * @param {string} 类型
  2443. -----------------Disk 网盘系统
  2444. -----------------PDisk 学习系统网盘
  2445. -----------------Poto 图片
  2446. -----------------Video 视频
  2447. -----------------Music 音乐
  2448. -----------------Word word
  2449. -----------------Excel excel
  2450. -----------------Txt 记事本
  2451. -----------------PB 学习系统
  2452. -----------------Blog 朋友圈系统
  2453. -----------------FTP ftp系统
  2454. -----------------Group 好友群
  2455. -----------------SY 首页系统
  2456. -----------------Set 个人设置
  2457. -----------------XSet 系统设置
  2458. -----------------App 我们所有的app
  2459. -----------------BC c.1473.cn 平台
  2460. -----------------CWeb d.1473.cn 变成平台
  2461. -----------------其他的外联系统 我们统一用iframe打开
  2462. * @param {array} 类型
  2463. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2464. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2465. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2466. 如果第一个参数为其他,则无第二个参数
  2467. * @returns {array}
  2468. */
  2469. window.addEventListener('message', function (e) { // 监听 message 事件
  2470. // alert(e.data.type);
  2471. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2472. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2473. //3是展示全部阶段 2学生 1老师 4专家
  2474. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2475. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2476. //3是展示全部阶段 2学生 1老师 4专家
  2477. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2478. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2479. //3是展示全部阶段 2学生 1老师 4专家
  2480. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2481. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2482. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2483. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2484. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2485. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2486. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2487. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2488. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2489. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2490. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2491. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2492. //3是展示全部阶段 2学生 1老师 4专家
  2493. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2494. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2495. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2496. U.MD.D.I.selectUser();
  2497. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2498. var _formel = document.getElementById("study");
  2499. U.UF.F.windowZooming(_formel);
  2500. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2501. var _formel = document.getElementById("studyDetail");
  2502. U.UF.F.windowZooming(_formel);
  2503. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2504. var _formel = document.getElementById("studyDetail");
  2505. U.UF.F.windowZooming(_formel);
  2506. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2507. var _formel = document.getElementById("studentStudy");
  2508. U.UF.F.windowZooming(_formel);
  2509. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2510. // var _formel = document.getElementById("study");
  2511. //如果最大化了,那么就把他缩小
  2512. // if (_formel.ismaximize) {
  2513. // return;
  2514. // }
  2515. // U.UF.F.windowZooming(_formel);
  2516. // U.UF.F.topWindow(_formel);
  2517. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2518. // var _formel = document.getElementById("studyDetail");
  2519. //如果最大化了,那么就把他缩小
  2520. // if (_formel.ismaximize) {
  2521. // return;
  2522. // }
  2523. // U.UF.F.windowZooming(_formel);
  2524. // U.UF.F.topWindow(_formel);
  2525. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2526. // var _formel = document.getElementById("studentStudy");
  2527. // if (_formel.ismaximize) {
  2528. // return;
  2529. // }
  2530. // U.UF.F.windowZooming(_formel);
  2531. // U.UF.F.topWindow(_formel);
  2532. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2533. var _formel = document.getElementById("study");
  2534. // if (_formel.ismaximize) {
  2535. // return;
  2536. // }
  2537. // U.UF.F.windowZooming(_formel);
  2538. U.UF.F.topWindow(_formel);
  2539. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2540. var _formel = document.getElementById("studentIndex");
  2541. U.UF.F.windowZooming(_formel);
  2542. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2543. var _formel = document.getElementById("studyDetailS");
  2544. U.UF.F.windowZooming(_formel);
  2545. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2546. var _formel = document.getElementById("studioIndex");
  2547. U.UF.F.windowZooming(_formel);
  2548. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2549. var _formel = document.getElementById("studyDetailStudio");
  2550. U.UF.F.windowZooming(_formel);
  2551. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2552. var _formel = document.getElementById("studyDetailStudio");
  2553. U.UF.F.windowZooming(_formel);
  2554. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2555. var _formel = document.getElementById("studyDetailNT");
  2556. U.UF.F.windowZooming(_formel);
  2557. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2558. var _formel = document.getElementById("studyDetailS");
  2559. U.UF.F.windowZooming(_formel);
  2560. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2561. var _formel = document.getElementById("studyDetailS");
  2562. U.UF.F.topWindow(_formel);
  2563. } else if (e.data.tools && e.data.tools == "1") {
  2564. // U.MD.D.I.openApplication("whiteboard")
  2565. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2566. } else if (e.data.tools && e.data.tools == "2") {
  2567. U.MD.D.I.openApplication("note")
  2568. } else if (e.data.tools && e.data.tools == "3") {
  2569. // U.MD.D.I.openApplication("mind")
  2570. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2571. } else if (e.data.tools && e.data.tools == "4") {
  2572. U.MD.D.I.openApplication("investigation")
  2573. } else if (e.data.tools && e.data.tools == "6") {
  2574. // U.MD.D.I.openApplication("doc")
  2575. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2576. } else if (e.data.tools && e.data.tools == "7") {
  2577. // U.MD.D.I.openApplication("mindNetwork")
  2578. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2579. } else if (e.data.tools && e.data.tools == "8") {
  2580. U.MD.D.I.openApplication("library")
  2581. } else if (e.data.tools && e.data.tools == "17") {
  2582. U.MD.D.I.openApplication("stuLibrary")
  2583. } else if (e.data.tools && e.data.tools == "18") {
  2584. U.MD.D.I.openApplication("train")
  2585. } else if (e.data.tools && e.data.tools == "21") {
  2586. U.MD.D.I.openApplication("program")
  2587. } else if (e.data.tools && e.data.tools == "22") {
  2588. U.MD.D.I.openApplication("AIprogram2")
  2589. } else if (e.data.tools && e.data.tools == "23") {
  2590. U.MD.D.I.openApplication("Pythonprogram")
  2591. } else if (e.data.tools && e.data.tools == "24") {
  2592. U.MD.D.I.openApplication("AIprogram")
  2593. } else if (e.data.tools && e.data.tools == "25") {
  2594. U.MD.D.I.openApplication("sys")
  2595. } else if (e.data.tools && e.data.tools == "26") {
  2596. // U.MD.D.I.openApplication("courseDesign")
  2597. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2598. } else if (e.data.tools && e.data.tools == "31") {
  2599. U.MD.D.I.openApplication("netWorkPanel")
  2600. } else if (e.data.tools && e.data.tools == "32") {
  2601. U.MD.D.I.openApplication("codeEdit")
  2602. } else if (e.data.tools && e.data.tools == "57") {
  2603. U.MD.D.I.openApplication("CocoPi")
  2604. } else if (e.data.tools && e.data.tools == "63") {
  2605. U.MD.D.I.openApplication("Wood")
  2606. } else if (e.data.tools && e.data.tools == "58") {
  2607. U.MD.D.I.openApplication("car")
  2608. } else if (e.data.tools && e.data.tools == "59") {
  2609. U.MD.D.I.openApplication("lineSearch")
  2610. } else if (e.data.tools && e.data.tools == "60") {
  2611. U.MD.D.I.openApplication("deepLearning")
  2612. } else if (e.data.tools && e.data.tools == "61") {
  2613. U.MD.D.I.openApplication("allHistory")
  2614. } else if (e.data.tools && e.data.tools == "28") {
  2615. U.MD.D.I.openApplication("translation")
  2616. } else if (e.data.tools && e.data.tools == "37") {
  2617. U.MD.D.I.openApplication("mohe")
  2618. } else if (e.data.tools && e.data.tools == "38") {
  2619. U.MD.D.I.openApplication("24game")
  2620. } else if (e.data.tools && e.data.tools == "39") {
  2621. U.MD.D.I.openApplication("GeoGebra")
  2622. } else if (e.data.tools && e.data.tools == "43") {
  2623. U.MD.D.I.openApplication("studentEvaluate")
  2624. } else if (e.data.tools && e.data.tools == "44") {
  2625. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2626. } else if (e.data.tools && e.data.tools == "46") {
  2627. U.MD.D.I.openApplication("project")
  2628. } else if (e.data.tools && e.data.tools == "1s") {
  2629. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2630. } else if (e.data.tools && e.data.tools == "3s") {
  2631. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2632. } else if (e.data.tools && e.data.tools == "6s") {
  2633. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2634. } else if (e.data.tools && e.data.tools == "1studio") {
  2635. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2636. } else if (e.data.tools && e.data.tools == "3studio") {
  2637. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2638. } else if (e.data.tools && e.data.tools == "6studio") {
  2639. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2640. } else if (e.data.tools && e.data.tools == "3y") {
  2641. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2642. } else if (e.data.tools && e.data.tools == "1y") {
  2643. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2644. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2645. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2646. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2647. U.MD.D.I.openApplication("AIAnalyse")
  2648. } else if (e.data.tools && e.data.tools == "1teacher") {
  2649. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2650. } else if (e.data.tools && e.data.tools == "3teacher") {
  2651. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2652. } else if (e.data.tools && e.data.tools == "7teacher") {
  2653. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2654. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2655. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2656. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2657. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2658. } else if (e.data.tools && e.data.tools == "1E") {
  2659. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2660. } else if (e.data.tools && e.data.tools == "3E") {
  2661. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2662. } else if (e.data.tools && e.data.tools == "57y") {
  2663. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2664. } else if (e.data.tools && e.data.tools == "57u") {
  2665. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2666. } else if (e.data.tools && e.data.tools == "57teacher") {
  2667. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2668. } else if (e.data.tools && e.data.tools == "64") {
  2669. U.MD.D.I.openApplication("AIChat")
  2670. } else if (e.data.tools && e.data.tools == "66") {
  2671. U.MD.D.I.openApplication("formulaEdi")
  2672. } else if (e.data.tools && e.data.tools == "67") {
  2673. U.MD.D.I.openApplication("molStr")
  2674. } else if (e.data.tools && e.data.tools == "68") {
  2675. U.MD.D.I.openApplication("timeAxis")
  2676. } else if (e.data.tools && e.data.tools == "openCourse") {
  2677. let _data = {
  2678. typea: e.data.typea || '',
  2679. typeb: e.data.typeb || '',
  2680. typed: e.data.typed || '',
  2681. }
  2682. U.MD.D.I.openInApplication("index", _data)
  2683. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2684. let _data = {
  2685. classid: e.data.classid || '',
  2686. }
  2687. U.MD.D.I.openInApplication("dataClass", _data)
  2688. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2689. let _data = {
  2690. cid: e.data.cid || '',
  2691. gid: e.data.gid || '',
  2692. }
  2693. U.MD.D.I.openInApplication("opencCscl", _data)
  2694. }
  2695. });
  2696. U.MD.D.I.selectUser = function () {
  2697. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2698. if (res.value[0].length > 0) {
  2699. US.userInfo = res.value[0][0];
  2700. $(".userName")[0].innerHTML = US.userInfo.username;
  2701. }
  2702. }, [], { "type": "GET", "withCredentials": true });
  2703. }
  2704. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2705. var _userinfo = US.userInfo, //登录用户信息
  2706. _userid = US.userInfo.userid, //登录用户id
  2707. _oid = _userinfo.organizeid,
  2708. _type = US.userInfo.type,
  2709. _org = US.userInfo.org,
  2710. _role = US.userInfo.role,
  2711. _classId = US.userInfo.classid;
  2712. if (_type == 4) {
  2713. tType = 4
  2714. }
  2715. switch (str) {
  2716. case "studyDetailNT": //无终端模式
  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/#/courseDetailNT?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2725. "id": "studyDetailNT",
  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 "studyDetail":
  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/#/courseDetail?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2743. "id": "studyDetail",
  2744. "style": { "width": "100%", "height": "100%", "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/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2750. break;
  2751. }
  2752. case "studyDetailS":
  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/#/courseDetailS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2761. "id": "studyDetailS",
  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/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2768. break;
  2769. }
  2770. case "studyDetailStudio":
  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/#/courseDetailStudio?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2779. "id": "studyDetailStudio",
  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/studioCourse.png)" }, "name": "工作详情", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2786. break;
  2787. }
  2788. case "studyDetailS5":
  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/#/studyStudentS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2797. "id": "studyDetailS",
  2798. "style": { "width": "95%", "height": "95%", "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/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2804. break;
  2805. }
  2806. case "studyDetailGM":
  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": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2815. "id": "studyDetail",
  2816. "style": { "width": "100%", "height": "100%", "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/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2822. break;
  2823. }
  2824. case "hanUrl":
  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": "//school.hanzigon.cn/?appid=734714090237947#/material/video?grade_id=62&lesson_code=621&id=2432" }), {
  2833. "id": "hanUrl",
  2834. "style": { "width": "90%", "height": "90%", "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/hanClass.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2840. break;
  2841. }
  2842. case "index":
  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-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 }), {
  2851. "id": "study",
  2852. "style": { "width": "100%", "height": "100%", "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/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2858. break;
  2859. }
  2860. case "dataClass":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&cid=" + _classId + "&checkid=" + data.classid }), {
  2869. "id": "dataClass",
  2870. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2871. "onresize": function () { }
  2872. }, {
  2873. closecallback: function () { }
  2874. }, { "style": { "height": "36px" } }).form; //创建窗体
  2875. _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); } }
  2876. break;
  2877. }
  2878. case "opencCscl":
  2879. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2880. setTimeout(() => {
  2881. U.MD.U.L.login();
  2882. }, 2000);
  2883. } else {
  2884. _formdiv = new U.UF.UI.form(
  2885. "协同建构",
  2886. $$("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 }), {
  2887. "id": "futureClass",
  2888. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2889. "onresize": function () { }
  2890. }, {
  2891. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  2892. }, { "style": { "height": "36px" } }).form; //创建窗体
  2893. _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); } }
  2894. break;
  2895. }
  2896. }
  2897. }
  2898. U.MD.D.I.openApplication = function (str, obj, info) {
  2899. obj = obj || {};
  2900. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2901. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2902. _userinfo = US.userInfo, //登录用户信息
  2903. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2904. _oid = obj.organizeid || _userinfo.organizeid,
  2905. _type = US.userInfo.type,
  2906. _org = US.userInfo.org,
  2907. _role = US.userInfo.role,
  2908. _classId = US.userInfo.classid,
  2909. _TscreenType = 1
  2910. _screenType = 2,
  2911. _SscreenType = 3;
  2912. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2913. return;
  2914. }
  2915. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2916. switch (str) {
  2917. case "studnetProject": //好友打开
  2918. _formdiv = new U.UF.UI.form(
  2919. "我的项目",
  2920. $$("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 }), {
  2921. "id": "studnetProject",
  2922. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2923. "onresize": function () { }
  2924. }, {
  2925. closecallback: function () { }
  2926. }, { "style": { "height": "36px" } }).form; //创建窗体
  2927. _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); } }
  2928. break;
  2929. case "studentEvaluate": //好友打开
  2930. _formdiv = new U.UF.UI.form(
  2931. "我的评价",
  2932. $$("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 }), {
  2933. "id": "studentEvaluate",
  2934. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2935. "onresize": function () { }
  2936. }, {
  2937. closecallback: function () { }
  2938. }, { "style": { "height": "36px" } }).form; //创建窗体
  2939. _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); } }
  2940. break;
  2941. case "my":
  2942. _formdiv = new U.UF.UI.form(
  2943. "我的资料",
  2944. $$("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 }), {
  2945. "id": "my",
  2946. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2947. "onresize": function () { }
  2948. }, {
  2949. closecallback: function () { }
  2950. }, { "style": { "height": "36px" } }).form; //创建窗体
  2951. _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); } }
  2952. break;
  2953. case "program":
  2954. _formdiv = new U.UF.UI.form(
  2955. "编程平台",
  2956. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2957. "id": "program",
  2958. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2959. "onresize": function () { }
  2960. }, {
  2961. closecallback: function () { }
  2962. }, { "style": { "height": "36px" } }).form; //创建窗体
  2963. _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); } }
  2964. break;
  2965. case "library":
  2966. _formdiv = new U.UF.UI.form(
  2967. "素材库",
  2968. $$("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 }), {
  2969. "id": "library",
  2970. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2971. "onresize": function () { }
  2972. }, {
  2973. closecallback: function () { }
  2974. }, { "style": { "height": "36px" } }).form; //创建窗体
  2975. _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); } }
  2976. break;
  2977. case "whiteboard":
  2978. _formdiv = new U.UF.UI.form(
  2979. "电子白板",
  2980. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2981. "id": "whiteboard",
  2982. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2983. "onresize": function () { }
  2984. }, {
  2985. closecallback: function () { }
  2986. }, { "style": { "height": "36px" } }).form; //创建窗体
  2987. _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); } }
  2988. break;
  2989. case "investigation":
  2990. _formdiv = new U.UF.UI.form(
  2991. "问卷调查",
  2992. $$("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 }), {
  2993. "id": "investigation",
  2994. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2995. "onresize": function () { }
  2996. }, {
  2997. closecallback: function () { }
  2998. }, { "style": { "height": "36px" } }).form; //创建窗体
  2999. _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); } }
  3000. break;
  3001. case "note":
  3002. _formdiv = new U.UF.UI.form(
  3003. "便签分类",
  3004. $$("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 }), {
  3005. "id": "note",
  3006. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3007. "onresize": function () { }
  3008. }, {
  3009. closecallback: function () { }
  3010. }, { "style": { "height": "36px" } }).form; //创建窗体
  3011. _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); } }
  3012. break;
  3013. // case "score":
  3014. // _formdiv = new U.UF.UI.form(
  3015. // "量规评分",
  3016. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3017. // "id": "score",
  3018. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3019. // "onresize": function() {}
  3020. // }, {
  3021. // closecallback: function() {}
  3022. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3023. // _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); } }
  3024. // break;
  3025. case "mind":
  3026. _formdiv = new U.UF.UI.form(
  3027. "思维导图",
  3028. $$("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"
  3029. "id": "mind",
  3030. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3031. "onresize": function () { }
  3032. }, {
  3033. closecallback: function () { }
  3034. }, { "style": { "height": "36px" } }).form; //创建窗体
  3035. _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); } }
  3036. break;
  3037. case "doc":
  3038. // U.MD.D.I.isRoom();
  3039. _formdiv = new U.UF.UI.form(
  3040. "协同文档",
  3041. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3042. "id": "doc",
  3043. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3044. "onresize": function () { }
  3045. }, {
  3046. closecallback: function () { }
  3047. }, { "style": { "height": "36px" } }).form; //创建窗体
  3048. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3049. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3050. // })
  3051. _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); } }
  3052. break;
  3053. case "studentStudy":
  3054. _formdiv = new U.UF.UI.form(
  3055. "课程中心",
  3056. $$("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
  3057. "id": "studentStudy",
  3058. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3059. "onresize": function () { }
  3060. }, {
  3061. closecallback: function () { }
  3062. }, { "style": { "height": "36px" } }).form; //创建窗体
  3063. _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); } }
  3064. break;
  3065. case "train": //好友打开
  3066. _formdiv = new U.UF.UI.form(
  3067. "训练平台",
  3068. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3069. "id": "train",
  3070. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3071. "onresize": function () { }
  3072. }, {
  3073. closecallback: function () { }
  3074. }, { "style": { "height": "36px" } }).form; //创建窗体
  3075. _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); } }
  3076. break;
  3077. case "mindNetwork": //好友打开
  3078. _formdiv = new U.UF.UI.form(
  3079. "思维网格",
  3080. $$("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 }), {
  3081. "id": "mindNetwork",
  3082. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3083. "onresize": function () { }
  3084. }, {
  3085. closecallback: function () { }
  3086. }, { "style": { "height": "36px" } }).form; //创建窗体
  3087. _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); } }
  3088. break;
  3089. case "studentClassRoom": //好友打开
  3090. _formdiv = new U.UF.UI.form(
  3091. "实时课堂",
  3092. $$("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 }), {
  3093. "id": "studentClassRoom",
  3094. "style": { "width": "90%", "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/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3100. setTimeout(() => {
  3101. U.UF.F.windowZooming(_formdiv)
  3102. }, 0);
  3103. break;
  3104. }
  3105. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3106. switch (str) {
  3107. case "studnetProject": //好友打开
  3108. _formdiv = new U.UF.UI.form(
  3109. "我的项目",
  3110. $$("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 }), {
  3111. "id": "studnetProject",
  3112. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3113. "onresize": function () { }
  3114. }, {
  3115. closecallback: function () { }
  3116. }, { "style": { "height": "36px" } }).form; //创建窗体
  3117. _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); } }
  3118. break;
  3119. case "studentEvaluate": //好友打开
  3120. _formdiv = new U.UF.UI.form(
  3121. "我的评价",
  3122. $$("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 }), {
  3123. "id": "studentEvaluate",
  3124. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3125. "onresize": function () { }
  3126. }, {
  3127. closecallback: function () { }
  3128. }, { "style": { "height": "36px" } }).form; //创建窗体
  3129. _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); } }
  3130. break;
  3131. case "my":
  3132. _formdiv = new U.UF.UI.form(
  3133. "我的资料",
  3134. $$("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 }), {
  3135. "id": "my",
  3136. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3137. "onresize": function () { }
  3138. }, {
  3139. closecallback: function () { }
  3140. }, { "style": { "height": "36px" } }).form; //创建窗体
  3141. _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); } }
  3142. break;
  3143. case "program":
  3144. _formdiv = new U.UF.UI.form(
  3145. "编程平台",
  3146. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3147. "id": "program",
  3148. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3149. "onresize": function () { }
  3150. }, {
  3151. closecallback: function () { }
  3152. }, { "style": { "height": "36px" } }).form; //创建窗体
  3153. _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); } }
  3154. break;
  3155. case "library":
  3156. _formdiv = new U.UF.UI.form(
  3157. "素材库",
  3158. $$("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 }), {
  3159. "id": "library",
  3160. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3161. "onresize": function () { }
  3162. }, {
  3163. closecallback: function () { }
  3164. }, { "style": { "height": "36px" } }).form; //创建窗体
  3165. _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); } }
  3166. break;
  3167. case "whiteboard":
  3168. _formdiv = new U.UF.UI.form(
  3169. "电子白板",
  3170. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3171. "id": "whiteboard",
  3172. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3173. "onresize": function () { }
  3174. }, {
  3175. closecallback: function () { }
  3176. }, { "style": { "height": "36px" } }).form; //创建窗体
  3177. _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); } }
  3178. break;
  3179. case "investigation":
  3180. _formdiv = new U.UF.UI.form(
  3181. "问卷调查",
  3182. $$("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 }), {
  3183. "id": "investigation",
  3184. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3185. "onresize": function () { }
  3186. }, {
  3187. closecallback: function () { }
  3188. }, { "style": { "height": "36px" } }).form; //创建窗体
  3189. _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); } }
  3190. break;
  3191. case "note":
  3192. _formdiv = new U.UF.UI.form(
  3193. "便签分类",
  3194. $$("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 }), {
  3195. "id": "note",
  3196. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3197. "onresize": function () { }
  3198. }, {
  3199. closecallback: function () { }
  3200. }, { "style": { "height": "36px" } }).form; //创建窗体
  3201. _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); } }
  3202. break;
  3203. // case "score":
  3204. // _formdiv = new U.UF.UI.form(
  3205. // "量规评分",
  3206. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3207. // "id": "score",
  3208. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3209. // "onresize": function() {}
  3210. // }, {
  3211. // closecallback: function() {}
  3212. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3213. // _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); } }
  3214. // break;
  3215. case "mind":
  3216. _formdiv = new U.UF.UI.form(
  3217. "思维导图",
  3218. $$("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"
  3219. "id": "mind",
  3220. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3221. "onresize": function () { }
  3222. }, {
  3223. closecallback: function () { }
  3224. }, { "style": { "height": "36px" } }).form; //创建窗体
  3225. _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); } }
  3226. break;
  3227. case "doc":
  3228. // U.MD.D.I.isRoom();
  3229. _formdiv = new U.UF.UI.form(
  3230. "协同文档",
  3231. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3232. "id": "doc",
  3233. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3234. "onresize": function () { }
  3235. }, {
  3236. closecallback: function () { }
  3237. }, { "style": { "height": "36px" } }).form; //创建窗体
  3238. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3239. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3240. })
  3241. _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); } }
  3242. break;
  3243. case "train": //好友打开
  3244. _formdiv = new U.UF.UI.form(
  3245. "训练平台",
  3246. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3247. "id": "train",
  3248. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3249. "onresize": function () { }
  3250. }, {
  3251. closecallback: function () { }
  3252. }, { "style": { "height": "36px" } }).form; //创建窗体
  3253. _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); } }
  3254. break;
  3255. case "studentStudy":
  3256. _formdiv = new U.UF.UI.form(
  3257. "课程中心",
  3258. $$("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
  3259. "id": "studentStudy",
  3260. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3261. "onresize": function () { }
  3262. }, {
  3263. closecallback: function () { }
  3264. }, { "style": { "height": "36px" } }).form; //创建窗体
  3265. _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); } }
  3266. break;
  3267. case "mindNetwork": //好友打开
  3268. _formdiv = new U.UF.UI.form(
  3269. "思维网格",
  3270. $$("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 }), {
  3271. "id": "mindNetwork",
  3272. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3273. "onresize": function () { }
  3274. }, {
  3275. closecallback: function () { }
  3276. }, { "style": { "height": "36px" } }).form; //创建窗体
  3277. _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); } }
  3278. break;
  3279. case "studentClassRoom": //好友打开
  3280. _formdiv = new U.UF.UI.form(
  3281. "实时课堂",
  3282. $$("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 }), {
  3283. "id": "studentClassRoom",
  3284. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3285. "onresize": function () { }
  3286. }, {
  3287. closecallback: function () { }
  3288. }, { "style": { "height": "36px" } }).form; //创建窗体
  3289. _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); } }
  3290. setTimeout(() => {
  3291. U.UF.F.windowZooming(_formdiv)
  3292. }, 0);
  3293. break;
  3294. }
  3295. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3296. //选择应用处理
  3297. switch (str) {
  3298. case "project": //好友打开
  3299. _formdiv = new U.UF.UI.form(
  3300. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3301. $$("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 }), {
  3302. "id": "project",
  3303. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3304. "onresize": function () { }
  3305. }, {
  3306. closecallback: function () { }
  3307. }, { "style": { "height": "36px" } }).form; //创建窗体
  3308. _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); } }
  3309. break;
  3310. case "student":
  3311. _formdiv = new U.UF.UI.form(
  3312. "学生管理",
  3313. $$("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 }), {
  3314. "id": "student",
  3315. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3316. "onresize": function () { }
  3317. }, {
  3318. closecallback: function () { }
  3319. }, { "style": { "height": "36px" } }).form; //创建窗体
  3320. _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); } }
  3321. break;
  3322. case "evaluate":
  3323. _formdiv = new U.UF.UI.form(
  3324. "学生评价",
  3325. $$("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 }), {
  3326. "id": "evaluate",
  3327. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3328. "onresize": function () { }
  3329. }, {
  3330. closecallback: function () { }
  3331. }, { "style": { "height": "36px" } }).form; //创建窗体
  3332. _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); } }
  3333. break;
  3334. case "sys":
  3335. _formdiv = new U.UF.UI.form(
  3336. "目标管理",
  3337. $$("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 }), {
  3338. "id": "sys",
  3339. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3340. "onresize": function () { }
  3341. }, {
  3342. closecallback: function () { }
  3343. }, { "style": { "height": "36px" } }).form; //创建窗体
  3344. _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); } }
  3345. break;
  3346. case "courseDesign":
  3347. _formdiv = new U.UF.UI.form(
  3348. "项目设计",
  3349. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3350. "id": "courseDesign",
  3351. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3352. "onresize": function () { }
  3353. }, {
  3354. closecallback: function () { }
  3355. }, { "style": { "height": "36px" } }).form; //创建窗体
  3356. _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); } }
  3357. break;
  3358. case "program":
  3359. _formdiv = new U.UF.UI.form(
  3360. "编程平台",
  3361. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3362. "id": "program",
  3363. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3364. "onresize": function () { }
  3365. }, {
  3366. closecallback: function () { }
  3367. }, { "style": { "height": "36px" } }).form; //创建窗体
  3368. _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); } }
  3369. break;
  3370. case "class":
  3371. _formdiv = new U.UF.UI.form(
  3372. "班级管理",
  3373. $$("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 }), {
  3374. "id": "class",
  3375. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3376. "onresize": function () { }
  3377. }, {
  3378. closecallback: function () { }
  3379. }, { "style": { "height": "36px" } }).form; //创建窗体
  3380. _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); } }
  3381. break;
  3382. case "Grade":
  3383. _formdiv = new U.UF.UI.form(
  3384. "年级管理",
  3385. $$("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 }), {
  3386. "id": "Grade",
  3387. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3388. "onresize": function () { }
  3389. }, {
  3390. closecallback: function () { }
  3391. }, { "style": { "height": "36px" } }).form; //创建窗体
  3392. _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); } }
  3393. break;
  3394. case "teacherOffice":
  3395. _formdiv = new U.UF.UI.form(
  3396. "教研室",
  3397. $$("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 }), {
  3398. "id": "teacherOffice",
  3399. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3400. "onresize": function () { }
  3401. }, {
  3402. closecallback: function () { }
  3403. }, { "style": { "height": "36px" } }).form; //创建窗体
  3404. _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); } }
  3405. break;
  3406. case "my":
  3407. _formdiv = new U.UF.UI.form(
  3408. "我的资料",
  3409. $$("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 }), {
  3410. "id": "my",
  3411. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3412. "onresize": function () { }
  3413. }, {
  3414. closecallback: function () { }
  3415. }, { "style": { "height": "36px" } }).form; //创建窗体
  3416. _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); } }
  3417. break;
  3418. case "notice":
  3419. _formdiv = new U.UF.UI.form(
  3420. "通知公告",
  3421. $$("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 }), {
  3422. "id": "notice",
  3423. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3424. "onresize": function () { }
  3425. }, {
  3426. closecallback: function () { }
  3427. }, { "style": { "height": "36px" } }).form; //创建窗体
  3428. _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); } }
  3429. break;
  3430. case "library":
  3431. _formdiv = new U.UF.UI.form(
  3432. "素材库",
  3433. $$("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 }), {
  3434. "id": "library",
  3435. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3436. "onresize": function () { }
  3437. }, {
  3438. closecallback: function () { }
  3439. }, { "style": { "height": "36px" } }).form; //创建窗体
  3440. _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); } }
  3441. break;
  3442. case "whiteboard":
  3443. _formdiv = new U.UF.UI.form(
  3444. "电子白板",
  3445. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3446. "id": "whiteboard",
  3447. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3448. "onresize": function () { }
  3449. }, {
  3450. closecallback: function () { }
  3451. }, { "style": { "height": "36px" } }).form; //创建窗体
  3452. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3453. break;
  3454. case "investigation":
  3455. _formdiv = new U.UF.UI.form(
  3456. "问卷调查",
  3457. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3458. "id": "investigation",
  3459. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3460. "onresize": function () { }
  3461. }, {
  3462. closecallback: function () { }
  3463. }, { "style": { "height": "36px" } }).form; //创建窗体
  3464. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3465. break;
  3466. case "note":
  3467. _formdiv = new U.UF.UI.form(
  3468. "便签分类",
  3469. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3470. "id": "note",
  3471. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3472. "onresize": function () { }
  3473. }, {
  3474. closecallback: function () { }
  3475. }, { "style": { "height": "36px" } }).form; //创建窗体
  3476. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3477. break;
  3478. // case "score":
  3479. // _formdiv = new U.UF.UI.form(
  3480. // "量规评分",
  3481. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3482. // "id": "score",
  3483. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3484. // "onresize": function() {}
  3485. // }, {
  3486. // closecallback: function() {}
  3487. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3488. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3489. // break;
  3490. case "mind":
  3491. _formdiv = new U.UF.UI.form(
  3492. "思维导图",
  3493. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3494. "id": "mind",
  3495. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3496. "onresize": function () { }
  3497. }, {
  3498. closecallback: function () { }
  3499. }, { "style": { "height": "36px" } }).form; //创建窗体
  3500. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3501. break;
  3502. case "doc":
  3503. // U.MD.D.I.isRoom();
  3504. _formdiv = new U.UF.UI.form(
  3505. "协同文档",
  3506. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3507. "id": "doc",
  3508. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3509. "onresize": function () { }
  3510. }, {
  3511. closecallback: function () { }
  3512. }, { "style": { "height": "36px" } }).form; //创建窗体
  3513. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3514. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3515. })
  3516. _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); } }
  3517. break;
  3518. case "study":
  3519. _formdiv = new U.UF.UI.form(
  3520. "课程中心",
  3521. $$("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
  3522. "id": "study",
  3523. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3524. "onresize": function () { }
  3525. }, {
  3526. closecallback: function () { }
  3527. }, { "style": { "height": "36px" } }).form; //创建窗体
  3528. _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); } }
  3529. break;
  3530. case "mindNetwork": //好友打开
  3531. _formdiv = new U.UF.UI.form(
  3532. "思维网格",
  3533. $$("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 }), {
  3534. "id": "mindNetwork",
  3535. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3536. "onresize": function () { }
  3537. }, {
  3538. closecallback: function () { }
  3539. }, { "style": { "height": "36px" } }).form; //创建窗体
  3540. _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); } }
  3541. break;
  3542. case "train": //好友打开
  3543. _formdiv = new U.UF.UI.form(
  3544. "训练平台",
  3545. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3546. "id": "mindNetwork",
  3547. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3548. "onresize": function () { }
  3549. }, {
  3550. closecallback: function () { }
  3551. }, { "style": { "height": "36px" } }).form; //创建窗体
  3552. _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); } }
  3553. break;
  3554. case "teacherClassRoom": //好友打开
  3555. _formdiv = new U.UF.UI.form(
  3556. "实时课堂",
  3557. $$("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 }), {
  3558. "id": "teacherClassRoom",
  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/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3565. setTimeout(() => {
  3566. U.UF.F.windowZooming(_formdiv)
  3567. }, 0);
  3568. break;
  3569. }
  3570. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3571. switch (str) {
  3572. case "project": //好友打开
  3573. _formdiv = new U.UF.UI.form(
  3574. "课程管理",
  3575. $$("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 }), {
  3576. "id": "project",
  3577. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3578. "onresize": function () { }
  3579. }, {
  3580. closecallback: function () { }
  3581. }, { "style": { "height": "36px" } }).form; //创建窗体
  3582. _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); } }
  3583. break;
  3584. case "evaluate":
  3585. _formdiv = new U.UF.UI.form(
  3586. "学生评价",
  3587. $$("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 }), {
  3588. "id": "evaluate",
  3589. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3590. "onresize": function () { }
  3591. }, {
  3592. closecallback: function () { }
  3593. }, { "style": { "height": "36px" } }).form; //创建窗体
  3594. _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); } }
  3595. break;
  3596. case "notice":
  3597. _formdiv = new U.UF.UI.form(
  3598. "通知公告",
  3599. $$("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 }), {
  3600. "id": "notice",
  3601. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3602. "onresize": function () { }
  3603. }, {
  3604. closecallback: function () { }
  3605. }, { "style": { "height": "36px" } }).form; //创建窗体
  3606. _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); } }
  3607. break;
  3608. case "stuLibrary":
  3609. _formdiv = new U.UF.UI.form(
  3610. "学习资料",
  3611. $$("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 }), {
  3612. "id": "stuLibrary",
  3613. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3614. "onresize": function () { }
  3615. }, {
  3616. closecallback: function () { }
  3617. }, { "style": { "height": "36px" } }).form; //创建窗体
  3618. _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); } }
  3619. break;
  3620. case "program":
  3621. _formdiv = new U.UF.UI.form(
  3622. "编程平台",
  3623. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3624. "id": "program",
  3625. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3626. "onresize": function () { }
  3627. }, {
  3628. closecallback: function () { }
  3629. }, { "style": { "height": "36px" } }).form; //创建窗体
  3630. _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); } }
  3631. break;
  3632. case "whiteboard":
  3633. _formdiv = new U.UF.UI.form(
  3634. "电子白板",
  3635. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3636. "id": "whiteboard",
  3637. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3638. "onresize": function () { }
  3639. }, {
  3640. closecallback: function () { }
  3641. }, { "style": { "height": "36px" } }).form; //创建窗体
  3642. _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); } }
  3643. break;
  3644. case "investigation":
  3645. _formdiv = new U.UF.UI.form(
  3646. "问卷调查",
  3647. $$("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 }), {
  3648. "id": "investigation",
  3649. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3650. "onresize": function () { }
  3651. }, {
  3652. closecallback: function () { }
  3653. }, { "style": { "height": "36px" } }).form; //创建窗体
  3654. _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); } }
  3655. break;
  3656. case "mind":
  3657. _formdiv = new U.UF.UI.form(
  3658. "思维导图",
  3659. $$("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"
  3660. "id": "mind",
  3661. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3662. "onresize": function () { }
  3663. }, {
  3664. closecallback: function () { }
  3665. }, { "style": { "height": "36px" } }).form; //创建窗体
  3666. _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); } }
  3667. break;
  3668. case "doc":
  3669. // U.MD.D.I.isRoom();
  3670. _formdiv = new U.UF.UI.form(
  3671. "协同文档",
  3672. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3673. "id": "doc",
  3674. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3675. "onresize": function () { }
  3676. }, {
  3677. closecallback: function () { }
  3678. }, { "style": { "height": "36px" } }).form; //创建窗体
  3679. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3680. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3681. })
  3682. _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); } }
  3683. break;
  3684. case "study":
  3685. _formdiv = new U.UF.UI.form(
  3686. "课程中心",
  3687. $$("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
  3688. "id": "study",
  3689. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3690. "onresize": function () { }
  3691. }, {
  3692. closecallback: function () { }
  3693. }, { "style": { "height": "36px" } }).form; //创建窗体
  3694. _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); } }
  3695. break;
  3696. case "mindNetwork": //好友打开
  3697. _formdiv = new U.UF.UI.form(
  3698. "思维网格",
  3699. $$("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 }), {
  3700. "id": "mindNetwork",
  3701. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3702. "onresize": function () { }
  3703. }, {
  3704. closecallback: function () { }
  3705. }, { "style": { "height": "36px" } }).form; //创建窗体
  3706. _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); } }
  3707. break;
  3708. case "train": //好友打开
  3709. _formdiv = new U.UF.UI.form(
  3710. "训练平台",
  3711. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3712. "id": "train",
  3713. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3714. "onresize": function () { }
  3715. }, {
  3716. closecallback: function () { }
  3717. }, { "style": { "height": "36px" } }).form; //创建窗体
  3718. _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); } }
  3719. break;
  3720. case "sys":
  3721. _formdiv = new U.UF.UI.form(
  3722. "目标管理",
  3723. $$("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 }), {
  3724. "id": "sys",
  3725. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3726. "onresize": function () { }
  3727. }, {
  3728. closecallback: function () { }
  3729. }, { "style": { "height": "36px" } }).form; //创建窗体
  3730. _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); } }
  3731. break;
  3732. case "courseDesign":
  3733. _formdiv = new U.UF.UI.form(
  3734. "项目设计",
  3735. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3736. "id": "courseDesign",
  3737. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3738. "onresize": function () { }
  3739. }, {
  3740. closecallback: function () { }
  3741. }, { "style": { "height": "36px" } }).form; //创建窗体
  3742. _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); } }
  3743. break;
  3744. }
  3745. } else if (!_type) {
  3746. switch (str) {
  3747. case "my":
  3748. _formdiv = new U.UF.UI.form(
  3749. "我的资料",
  3750. $$("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 }), {
  3751. "id": "my",
  3752. "style": { "width": "42%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3758. break;
  3759. }
  3760. }
  3761. switch (str) {
  3762. // AIprogram2 AI体验 aihub.cocorobo.cn
  3763. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3764. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3765. case "formulaEdi": //公式编辑
  3766. _formdiv = new U.UF.UI.form(
  3767. "公式编辑",
  3768. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3769. "id": "formulaEdi",
  3770. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3771. "onresize": function () { }
  3772. }, {
  3773. closecallback: function () { }
  3774. }, { "style": { "height": "36px" } }).form; //创建窗体
  3775. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/formulaEdi.png)" }, "name": "公式编辑", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3776. break;
  3777. case "molStr": //分子结构
  3778. _formdiv = new U.UF.UI.form(
  3779. "分子结构",
  3780. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3781. "id": "molStr",
  3782. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3783. "onresize": function () { }
  3784. }, {
  3785. closecallback: function () { }
  3786. }, { "style": { "height": "36px" } }).form; //创建窗体
  3787. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3788. break;
  3789. case "timeAxis": //时间轴
  3790. _formdiv = new U.UF.UI.form(
  3791. "时间轴",
  3792. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3793. "id": "timeAxis",
  3794. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3795. "onresize": function () { }
  3796. }, {
  3797. closecallback: function () { }
  3798. }, { "style": { "height": "36px" } }).form; //创建窗体
  3799. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3800. break;
  3801. case "AIprogram2": //AI体验
  3802. _formdiv = new U.UF.UI.form(
  3803. "AI体验",
  3804. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3805. "id": "AIprogram2",
  3806. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3807. "onresize": function () { }
  3808. }, {
  3809. closecallback: function () { }
  3810. }, { "style": { "height": "36px" } }).form; //创建窗体
  3811. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI体验", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3812. break;
  3813. case "Pythonprogram": //python编程
  3814. _formdiv = new U.UF.UI.form(
  3815. "Python编程",
  3816. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3817. "id": "Pythonprogram",
  3818. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3819. "onresize": function () { }
  3820. }, {
  3821. closecallback: function () { }
  3822. }, { "style": { "height": "36px" } }).form; //创建窗体
  3823. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Pythonprogram.png)" }, "name": "Python编程", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3824. break;
  3825. case "AIprogram": //ai编程
  3826. _formdiv = new U.UF.UI.form(
  3827. "AI编程平台",
  3828. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3829. "id": "AIprogram",
  3830. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3831. "onresize": function () { }
  3832. }, {
  3833. closecallback: function () { }
  3834. }, { "style": { "height": "36px" } }).form; //创建窗体
  3835. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram.png)" }, "name": "AI编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3836. break;
  3837. case "CocoPi": //CocoPi
  3838. _formdiv = new U.UF.UI.form(
  3839. "CocoPi",
  3840. $$("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" }), {
  3841. "id": "CocoPi",
  3842. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3843. "onresize": function () { }
  3844. }, {
  3845. closecallback: function () { }
  3846. }, { "style": { "height": "36px" } }).form; //创建窗体
  3847. _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); } }
  3848. break;
  3849. case "Wood": //Wood
  3850. _formdiv = new U.UF.UI.form(
  3851. "海龟编程",
  3852. $$("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/" }), {
  3853. "id": "Wood",
  3854. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3855. "onresize": function () { }
  3856. }, {
  3857. closecallback: function () { }
  3858. }, { "style": { "height": "36px" } }).form; //创建窗体
  3859. _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); } }
  3860. break;
  3861. case "car": //模拟驾驶
  3862. _formdiv = new U.UF.UI.form(
  3863. "模拟驾驶",
  3864. $$("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/" }), {
  3865. "id": "car",
  3866. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3867. "onresize": function () { }
  3868. }, {
  3869. closecallback: function () { }
  3870. }, { "style": { "height": "36px" } }).form; //创建窗体
  3871. _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); } }
  3872. break;
  3873. case "lineSearch": //路径搜索
  3874. _formdiv = new U.UF.UI.form(
  3875. "路径搜索",
  3876. $$("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/" }), {
  3877. "id": "lineSearch",
  3878. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3879. "onresize": function () { }
  3880. }, {
  3881. closecallback: function () { }
  3882. }, { "style": { "height": "36px" } }).form; //创建窗体
  3883. _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); } }
  3884. break;
  3885. case "deepLearning": //深度学习
  3886. _formdiv = new U.UF.UI.form(
  3887. "深度学习",
  3888. $$("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/#" }), {
  3889. "id": "deepLearning",
  3890. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3891. "onresize": function () { }
  3892. }, {
  3893. closecallback: function () { }
  3894. }, { "style": { "height": "36px" } }).form; //创建窗体
  3895. _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); } }
  3896. break;
  3897. case "allHistory": //深度学习
  3898. _formdiv = new U.UF.UI.form(
  3899. "全历史",
  3900. $$("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/" }), {
  3901. "id": "allHistory",
  3902. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3903. "onresize": function () { }
  3904. }, {
  3905. closecallback: function () { }
  3906. }, { "style": { "height": "36px" } }).form; //创建窗体
  3907. _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); } }
  3908. break;
  3909. case "chatPDF": //ai编程
  3910. _formdiv = new U.UF.UI.form(
  3911. "chatPDF",
  3912. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3913. "id": "chatPDF",
  3914. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3915. "onresize": function () { }
  3916. }, {
  3917. closecallback: function () { }
  3918. }, { "style": { "height": "36px" } }).form; //创建窗体
  3919. _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); } }
  3920. break;
  3921. case "resources": //国家教育
  3922. _formdiv = new U.UF.UI.form(
  3923. "国家教育",
  3924. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3925. "id": "resources",
  3926. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3927. "onresize": function () { }
  3928. }, {
  3929. closecallback: function () { }
  3930. }, { "style": { "height": "36px" } }).form; //创建窗体
  3931. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/resources.png)" }, "name": "国家教育", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3932. break;
  3933. case "codeEdit": //源码编辑
  3934. _formdiv = new U.UF.UI.form(
  3935. "源码编辑",
  3936. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3937. "id": "codeEdit",
  3938. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3939. "onresize": function () { }
  3940. }, {
  3941. closecallback: function () { }
  3942. }, { "style": { "height": "36px" } }).form; //创建窗体
  3943. _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); } }
  3944. break; //
  3945. case "MindMap": //MindMap
  3946. _formdiv = new U.UF.UI.form(
  3947. "MindMap",
  3948. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3949. "id": "MindMap",
  3950. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3951. "onresize": function () { }
  3952. }, {
  3953. closecallback: function () { }
  3954. }, { "style": { "height": "36px" } }).form; //创建窗体
  3955. _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); } }
  3956. break;
  3957. case "netWorkPanel": //netWorkPanel
  3958. _formdiv = new U.UF.UI.form(
  3959. "netWorkPanel",
  3960. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3961. "id": "netWorkPanel",
  3962. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3963. "onresize": function () { }
  3964. }, {
  3965. closecallback: function () { }
  3966. }, { "style": { "height": "36px" } }).form; //创建窗体
  3967. _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); } }
  3968. break;
  3969. case "GeoGebra": //GeoGebra
  3970. _formdiv = new U.UF.UI.form(
  3971. "GeoGebra",
  3972. $$("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" }), {
  3973. "id": "GeoGebra",
  3974. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3975. "onresize": function () { }
  3976. }, {
  3977. closecallback: function () { }
  3978. }, { "style": { "height": "36px" } }).form; //创建窗体
  3979. _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); } }
  3980. break;
  3981. case "translation": //翻译
  3982. _formdiv = new U.UF.UI.form(
  3983. "翻译",
  3984. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3985. "id": "translation",
  3986. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3987. "onresize": function () { }
  3988. }, {
  3989. closecallback: function () { }
  3990. }, { "style": { "height": "36px" } }).form; //创建窗体
  3991. _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); } }
  3992. break;
  3993. case "mohe": //魔盒
  3994. _formdiv = new U.UF.UI.form(
  3995. "魔盒识字",
  3996. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3997. "id": "mohe",
  3998. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3999. "onresize": function () { }
  4000. }, {
  4001. closecallback: function () { }
  4002. }, { "style": { "height": "36px" } }).form; //创建窗体
  4003. _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); } }
  4004. break;
  4005. case "24game": //24点
  4006. _formdiv = new U.UF.UI.form(
  4007. "24点",
  4008. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4009. "id": "24game",
  4010. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4011. "onresize": function () { }
  4012. }, {
  4013. closecallback: function () { }
  4014. }, { "style": { "height": "36px" } }).form; //创建窗体
  4015. _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); } }
  4016. break;
  4017. case "case":
  4018. _formdiv = new U.UF.UI.form(
  4019. "课程进展",
  4020. $$("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 }), {
  4021. "id": "case",
  4022. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4023. "onresize": function () { }
  4024. }, {
  4025. closecallback: function () { }
  4026. }, { "style": { "height": "36px" } }).form; //创建窗体
  4027. _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); } }
  4028. break;
  4029. case "snf":
  4030. _formdiv = new U.UF.UI.form(
  4031. "赛诺梵",
  4032. $$("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" }), {
  4033. "id": "snf",
  4034. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4035. "onresize": function () { }
  4036. }, {
  4037. closecallback: function () { }
  4038. }, { "style": { "height": "36px" } }).form; //创建窗体
  4039. _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); } }
  4040. break;
  4041. case "hanFamily":
  4042. _formdiv = new U.UF.UI.form(
  4043. "汉字家族",
  4044. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4045. "id": "hanFamily",
  4046. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4047. "onresize": function () { }
  4048. }, {
  4049. closecallback: function () { }
  4050. }, { "style": { "height": "36px" } }).form; //创建窗体
  4051. _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); } }
  4052. break;
  4053. case "hanClassics":
  4054. _formdiv = new U.UF.UI.form(
  4055. "国学经典",
  4056. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4057. "id": "hanClassics",
  4058. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4059. "onresize": function () { }
  4060. }, {
  4061. closecallback: function () { }
  4062. }, { "style": { "height": "36px" } }).form; //创建窗体
  4063. _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); } }
  4064. break;
  4065. case "hanTraining":
  4066. _formdiv = new U.UF.UI.form(
  4067. "笔画训练",
  4068. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4069. "id": "hanTraining",
  4070. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4071. "onresize": function () { }
  4072. }, {
  4073. closecallback: function () { }
  4074. }, { "style": { "height": "36px" } }).form; //创建窗体
  4075. _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); } }
  4076. break;
  4077. case "hanClass":
  4078. _formdiv = new U.UF.UI.form(
  4079. "书法课堂",
  4080. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4081. "id": "hanClass",
  4082. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4083. "onresize": function () { }
  4084. }, {
  4085. closecallback: function () { }
  4086. }, { "style": { "height": "36px" } }).form; //创建窗体
  4087. _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); } }
  4088. break;
  4089. case "han":
  4090. _formdiv = new U.UF.UI.form(
  4091. "汉字宫",
  4092. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4093. "id": "han",
  4094. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4095. "onresize": function () { }
  4096. }, {
  4097. closecallback: function () { }
  4098. }, { "style": { "height": "36px" } }).form; //创建窗体
  4099. _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); } }
  4100. break;
  4101. case "projectGM": //课程管理
  4102. _formdiv = new U.UF.UI.form(
  4103. "课程管理",
  4104. $$("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 }), {
  4105. "id": "projectGM",
  4106. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4107. "onresize": function () { }
  4108. }, {
  4109. closecallback: function () { }
  4110. }, { "style": { "height": "36px" } }).form; //创建窗体
  4111. _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); } }
  4112. break;
  4113. case "studyGM": //课程中心
  4114. _formdiv = new U.UF.UI.form(
  4115. "课程中心",
  4116. $$("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
  4117. "id": "study",
  4118. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4119. "onresize": function () { }
  4120. }, {
  4121. closecallback: function () { }
  4122. }, { "style": { "height": "36px" } }).form; //创建窗体
  4123. _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); } }
  4124. break;
  4125. // studentGM
  4126. case "studentGM": //学生管理
  4127. _formdiv = new U.UF.UI.form(
  4128. "学生管理",
  4129. $$("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 }), {
  4130. "id": "studentGM",
  4131. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4132. "onresize": function () { }
  4133. }, {
  4134. closecallback: function () { }
  4135. }, { "style": { "height": "36px" } }).form; //创建窗体
  4136. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4137. break;
  4138. case "evaluateGM": //学生评价
  4139. _formdiv = new U.UF.UI.form(
  4140. "学生评价",
  4141. $$("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 }), {
  4142. "id": "evaluateGM",
  4143. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4144. "onresize": function () { }
  4145. }, {
  4146. closecallback: function () { }
  4147. }, { "style": { "height": "36px" } }).form; //创建窗体
  4148. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4149. break;
  4150. // classGM
  4151. case "classGM": //班级管理
  4152. _formdiv = new U.UF.UI.form(
  4153. "班级管理",
  4154. $$("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 }), {
  4155. "id": "classGM",
  4156. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4157. "onresize": function () { }
  4158. }, {
  4159. closecallback: function () { }
  4160. }, { "style": { "height": "36px" } }).form; //创建窗体
  4161. _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); } }
  4162. break;
  4163. // dataGM
  4164. case "dataGM":
  4165. _formdiv = new U.UF.UI.form(
  4166. "我的资料",
  4167. $$("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 }), {
  4168. "id": "dataGM",
  4169. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4170. "onresize": function () { }
  4171. }, {
  4172. closecallback: function () { }
  4173. }, { "style": { "height": "36px" } }).form; //创建窗体
  4174. _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); } }
  4175. break;
  4176. // caseGM
  4177. case "caseGM": //课程进展
  4178. _formdiv = new U.UF.UI.form(
  4179. "课程进展",
  4180. $$("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 }), {
  4181. "id": "caseGM",
  4182. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4183. "onresize": function () { }
  4184. }, {
  4185. closecallback: function () { }
  4186. }, { "style": { "height": "36px" } }).form; //创建窗体
  4187. _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); } }
  4188. break;
  4189. // meterialGM
  4190. case "meterialGM": //素材库
  4191. _formdiv = new U.UF.UI.form(
  4192. "素材库",
  4193. $$("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 }), {
  4194. "id": "meterialGM",
  4195. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4196. "onresize": function () { }
  4197. }, {
  4198. closecallback: function () { }
  4199. }, { "style": { "height": "36px" } }).form; //创建窗体
  4200. _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); } }
  4201. break;
  4202. // evaluateSGM
  4203. case "evaluateSGM": //我的评价
  4204. _formdiv = new U.UF.UI.form(
  4205. "我的评价",
  4206. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4207. "id": "evaluateSGM",
  4208. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4209. "onresize": function () { }
  4210. }, {
  4211. closecallback: function () { }
  4212. }, { "style": { "height": "36px" } }).form; //创建窗体
  4213. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4214. break;
  4215. case "jupyter": //jupyter
  4216. _formdiv = new U.UF.UI.form(
  4217. "jupyter",
  4218. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4219. "id": "jupyter",
  4220. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4221. "onresize": function () { }
  4222. }, {
  4223. closecallback: function () { }
  4224. }, { "style": { "height": "36px" } }).form; //创建窗体
  4225. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/jupyter.png)" }, "name": "jupyter", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4226. break;
  4227. case "number": //数字实验室
  4228. _formdiv = new U.UF.UI.form(
  4229. "数字实验室",
  4230. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4231. "id": "number",
  4232. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4233. "onresize": function () { }
  4234. }, {
  4235. closecallback: function () { }
  4236. }, { "style": { "height": "36px" } }).form; //创建窗体
  4237. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/number.png)" }, "name": "数字实验室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4238. break;
  4239. case "studentCourse": //项目管理 学生
  4240. _formdiv = new U.UF.UI.form(
  4241. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4242. $$("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 }), {
  4243. "id": "studentCourse",
  4244. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4245. "onresize": function () { }
  4246. }, {
  4247. closecallback: function () { }
  4248. }, { "style": { "height": "36px" } }).form; //创建窗体
  4249. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4250. break;
  4251. case "studentCourseS": //项目管理 老师
  4252. _formdiv = new U.UF.UI.form(
  4253. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4254. $$("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 }), {
  4255. "id": "studentCourseS",
  4256. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4257. "onresize": function () { }
  4258. }, {
  4259. closecallback: function () { }
  4260. }, { "style": { "height": "36px" } }).form; //创建窗体
  4261. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4262. break;
  4263. case "studentIndex": //项目中心
  4264. _formdiv = new U.UF.UI.form(
  4265. "项目中心",
  4266. $$("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 }), {
  4267. "id": "studentIndex",
  4268. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4269. "onresize": function () { }
  4270. }, {
  4271. closecallback: function () { }
  4272. }, { "style": { "height": "36px" } }).form; //创建窗体
  4273. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentIndex.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4274. break;
  4275. case "CaseDesignS":
  4276. _formdiv = new U.UF.UI.form(
  4277. "项目进展",
  4278. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4279. "id": "case",
  4280. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4281. "onresize": function () { }
  4282. }, {
  4283. closecallback: function () { }
  4284. }, { "style": { "height": "36px" } }).form; //创建窗体
  4285. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/CaseDesignS.png)" }, "name": "项目进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4286. break;
  4287. case "tcStudent": //腾讯学生管理
  4288. _formdiv = new U.UF.UI.form(
  4289. "学生管理",
  4290. $$("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 }), {
  4291. "id": "tcStudent",
  4292. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4293. "onresize": function () { }
  4294. }, {
  4295. closecallback: function () { }
  4296. }, { "style": { "height": "36px" } }).form; //创建窗体
  4297. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4298. break;
  4299. case "tcSchool": //腾讯学校管理
  4300. _formdiv = new U.UF.UI.form(
  4301. "学校管理",
  4302. $$("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 }), {
  4303. "id": "tcSchool",
  4304. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4305. "onresize": function () { }
  4306. }, {
  4307. closecallback: function () { }
  4308. }, { "style": { "height": "36px" } }).form; //创建窗体
  4309. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/school.png)" }, "name": "学校管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4310. break;
  4311. case "tcTeacher": //腾讯学校管理
  4312. _formdiv = new U.UF.UI.form(
  4313. "教师管理",
  4314. $$("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 }), {
  4315. "id": "tcTeacher",
  4316. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4317. "onresize": function () { }
  4318. }, {
  4319. closecallback: function () { }
  4320. }, { "style": { "height": "36px" } }).form; //创建窗体
  4321. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacher.png)" }, "name": "教师管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4322. break;
  4323. case "tcData": //腾讯我的资料
  4324. _formdiv = new U.UF.UI.form(
  4325. "我的资料",
  4326. $$("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 }), {
  4327. "id": "tcData",
  4328. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4329. "onresize": function () { }
  4330. }, {
  4331. closecallback: function () { }
  4332. }, { "style": { "height": "36px" } }).form; //创建窗体
  4333. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4334. break;
  4335. case "tcNotice": //腾讯消息通知
  4336. _formdiv = new U.UF.UI.form(
  4337. "消息通知",
  4338. $$("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 }), {
  4339. "id": "tcNotice",
  4340. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4341. "onresize": function () { }
  4342. }, {
  4343. closecallback: function () { }
  4344. }, { "style": { "height": "36px" } }).form; //创建窗体
  4345. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "消息通知", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4346. break;
  4347. case "myReport": //好友打开
  4348. _formdiv = new U.UF.UI.form(
  4349. "我的评价",
  4350. $$("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 }), {
  4351. "id": "myReport",
  4352. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4353. "onresize": function () { }
  4354. }, {
  4355. closecallback: function () { }
  4356. }, { "style": { "height": "36px" } }).form; //创建窗体
  4357. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4358. break;
  4359. case "learnAna": //好友打开
  4360. _formdiv = new U.UF.UI.form(
  4361. "学习分析",
  4362. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/learnAna?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4363. "id": "learnAna",
  4364. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4365. "onresize": function () { }
  4366. }, {
  4367. closecallback: function () { }
  4368. }, { "style": { "height": "36px" } }).form; //创建窗体
  4369. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/learnAna.png)" }, "name": "学习分析", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4370. break;
  4371. case "AIChat": //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/aichat/" }), {
  4375. "id": "AIChat",
  4376. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4377. "onresize": function () { }
  4378. }, {
  4379. istop: true,
  4380. closecallback: function () { $("#aichat_icon").remove(); },
  4381. narrowcallback: function () {
  4382. if (!$("#aichat_icon")[0]) {
  4383. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4384. }
  4385. },
  4386. }, { "style": { "height": "36px" } }).form; //创建窗体
  4387. _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); } }
  4388. break;
  4389. case "ainew": //AI共创
  4390. _formdiv = new U.UF.UI.form(
  4391. "AI协同",
  4392. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4393. "id": "ainew",
  4394. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4395. "onresize": function () { }
  4396. }, {
  4397. closecallback: function () { }
  4398. }, { "style": { "height": "36px" } }).form; //创建窗体
  4399. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI协同", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4400. break;
  4401. case "futureClass": //AI共创
  4402. _formdiv = new U.UF.UI.form(
  4403. "协同建构",
  4404. $$("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
  4405. "id": "synergyCourse",
  4406. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4407. "onresize": function () { }
  4408. }, {
  4409. closecallback: function () {
  4410. $("iframe", _formdiv)[0].contentWindow.loginout();
  4411. }
  4412. }, { "style": { "height": "36px" } }).form; //创建窗体
  4413. _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); } }
  4414. break;
  4415. case "aiagent": //ai agent
  4416. _formdiv = new U.UF.UI.form(
  4417. "AI Agent",
  4418. $$("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" }), {
  4419. "id": "AIAgent",
  4420. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4421. "onresize": function () { }
  4422. }, {
  4423. closecallback: function () { }
  4424. }, { "style": { "height": "36px" } }).form; //创建窗体
  4425. _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); } }
  4426. break;
  4427. case "dataBoard": //数据看板
  4428. _formdiv = new U.UF.UI.form(
  4429. "数据看板",
  4430. $$("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 }), {
  4431. "id": "dataBoard",
  4432. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4433. "onresize": function () { }
  4434. }, {
  4435. closecallback: function () { }
  4436. }, { "style": { "height": "36px" } }).form; //创建窗体
  4437. _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); } }
  4438. break;
  4439. case "dataBoardSies": //数据看板
  4440. _formdiv = new U.UF.UI.form(
  4441. "数据看板",
  4442. $$("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 }), {
  4443. "id": "dataBoardSies",
  4444. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4445. "onresize": function () { }
  4446. }, {
  4447. closecallback: function () { }
  4448. }, { "style": { "height": "36px" } }).form; //创建窗体
  4449. _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); } }
  4450. break;
  4451. case "AIAnalyse": //AI共创
  4452. _formdiv = new U.UF.UI.form(
  4453. "AI分析",
  4454. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4455. "id": "AIAnalyse",
  4456. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4457. "onresize": function () { }
  4458. }, {
  4459. closecallback: function () { }
  4460. }, { "style": { "height": "36px" } }).form; //创建窗体
  4461. _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); } }
  4462. break;
  4463. case "studioCourse": //AI共创
  4464. _formdiv = new U.UF.UI.form(
  4465. "工作管理",
  4466. $$("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 }), {
  4467. "id": "studioCourse",
  4468. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4469. "onresize": function () { }
  4470. }, {
  4471. closecallback: function () { }
  4472. }, { "style": { "height": "36px" } }).form; //创建窗体
  4473. _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); } }
  4474. break;
  4475. case "studioIndex": //AI共创
  4476. _formdiv = new U.UF.UI.form(
  4477. "工作中心",
  4478. $$("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 }), {
  4479. "id": "studioIndex",
  4480. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4481. "onresize": function () { }
  4482. }, {
  4483. closecallback: function () { }
  4484. }, { "style": { "height": "36px" } }).form; //创建窗体
  4485. _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); } }
  4486. break;
  4487. case "source":
  4488. _formdiv = new U.UF.UI.form(
  4489. "教学资源",
  4490. $$("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 }), {
  4491. "id": "source",
  4492. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4493. "onresize": function () { }
  4494. }, {
  4495. closecallback: function () { }
  4496. }, { "style": { "height": "36px" } }).form; //创建窗体
  4497. _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); } }
  4498. break;
  4499. case "testTeacher":
  4500. _formdiv = new U.UF.UI.form(
  4501. "评测管理",
  4502. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/test?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4503. "id": "testTeacher",
  4504. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4505. "onresize": function () { }
  4506. }, {
  4507. closecallback: function () { }
  4508. }, { "style": { "height": "36px" } }).form; //创建窗体
  4509. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testTeacher.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4510. break;
  4511. case "testStudent":
  4512. _formdiv = new U.UF.UI.form(
  4513. "评测中心",
  4514. $$("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 }), {
  4515. "id": "testStudent",
  4516. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4517. "onresize": function () { }
  4518. }, {
  4519. closecallback: function () { }
  4520. }, { "style": { "height": "36px" } }).form; //创建窗体
  4521. _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); } }
  4522. break;
  4523. }
  4524. //U.MD.D.I.openClick(str);
  4525. //如果有任务栏信息
  4526. if (_taskbar) {
  4527. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4528. }
  4529. }
  4530. // U.MD.D.I.openClick = function(str){
  4531. // var click = '';
  4532. // switch(str){
  4533. // case 'friend':
  4534. // click = '我的好友';
  4535. // break;
  4536. // case 'domain':
  4537. // click = '域名管理';
  4538. // break;
  4539. // case 'disk':
  4540. // click = '我的云盘';
  4541. // break;
  4542. // case 'word':
  4543. // click = 'Word';
  4544. // break;
  4545. // case 'excel':
  4546. // click = 'Execl';
  4547. // break;
  4548. // case 'txt':
  4549. // click = '文本文件';
  4550. // break;
  4551. // case 'lookupFriend':
  4552. // click = '查找好友';
  4553. // break;
  4554. // case 'ftp':
  4555. // click = 'FTP';
  4556. // break;
  4557. // case 'group':
  4558. // click = '群组';
  4559. // break;
  4560. // case 'set':
  4561. // click = '我的设置';
  4562. // break;
  4563. // case 'systemSet':
  4564. // click = '系统设置';
  4565. // break;
  4566. // case 'boomYun':
  4567. // click = '互联办公';
  4568. // break;
  4569. // case 'xz':
  4570. // click = '云端下载';
  4571. // break;
  4572. // case 'client':
  4573. // click = '有思浏览器';
  4574. // break;
  4575. // case 'backEndProgramming':
  4576. // click = '在线后台编程';
  4577. // break;
  4578. // case 'frontEndProgramming':
  4579. // click = '在线前端编程';
  4580. // break;
  4581. // default: break;
  4582. // }
  4583. // if(U.MD.D.I.Ip && click){
  4584. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4585. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4586. // })
  4587. // }
  4588. // }
  4589. /**
  4590. *函数作用:ajax简易函数,使用post格式
  4591. *@param url {data} 后台地址
  4592. *@param data {data} 参数json
  4593. *@param fn {data} 回调函数
  4594. *
  4595. */
  4596. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4597. // var xhr = new XMLHttpRequest();
  4598. // xhr.open("GET",url,true);
  4599. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4600. // xhr.onreadystatechange = function(){
  4601. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4602. // fn.call(this,xhr.responseText);
  4603. // }
  4604. // };
  4605. // xhr.send();
  4606. // }
  4607. /*判断是否是内网IP*/
  4608. // U.MD.D.I.isInnerIPFn = function(str){
  4609. // var curPageUrl = str;
  4610. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4611. // curPageUrl =curPageUrl.replace(reg1,'');
  4612. // // console.log('curPageUrl-1 '+curPageUrl);
  4613. // var reg2 = /\:+/g;//替换冒号为一点
  4614. // curPageUrl =curPageUrl.replace(reg2,'.');
  4615. // // console.log('curPageUrl-2 '+curPageUrl);
  4616. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4617. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4618. // if(curPageUrl[2] != '16'){
  4619. // return ipAddress;
  4620. // }else{
  4621. // return false;
  4622. // }
  4623. // }
  4624. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4625. // //compatibility for firefox and chrome
  4626. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4627. // var pc = new myPeerConnection({
  4628. // iceServers: []
  4629. // }),
  4630. // noop = function() {},
  4631. // localIPs = {},
  4632. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4633. // key;
  4634. // function iterateIP(ip) {
  4635. // if (!localIPs[ip]) onNewIP(ip);
  4636. // localIPs[ip] = true;
  4637. // }
  4638. // //create a bogus data channel
  4639. // pc.createDataChannel("");
  4640. // // create offer and set local description
  4641. // pc.createOffer().then(function(sdp) {
  4642. // sdp.sdp.split('\n').forEach(function(line) {
  4643. // if (line.indexOf('candidate') < 0) return;
  4644. // line.match(ipRegex).forEach(iterateIP);
  4645. // });
  4646. // pc.setLocalDescription(sdp, noop, noop);
  4647. // }).catch(function(reason) {
  4648. // // An error occurred, so handle the failure to connect
  4649. // });
  4650. // //sten for candidate events
  4651. // pc.onicecandidate = function(ice) {
  4652. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4653. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4654. // };
  4655. // }
  4656. // U.MD.D.I.getUserIpBool = function(callback){
  4657. // U.MD.D.I.getUserIP(function(ip){
  4658. // alert("Got IP! :" + ip);
  4659. // });
  4660. //}
  4661. //#endregion
  4662. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4663. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4664. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4665. _userinfo = US.userInfo, //登录用户信息
  4666. _userid = US.userInfo.userid //登录用户id
  4667. let _iframe;
  4668. let _cid = cid,
  4669. _stage = stage,
  4670. _task = task,
  4671. _tool = tool;
  4672. var _jie = $$("div", {
  4673. "style": {
  4674. "position": "absolute",
  4675. "bottom": "50px",
  4676. "right": "50px",
  4677. "zIndex": "9999",
  4678. "backgroundColor": "#2268bc",
  4679. "color": "#fff",
  4680. "padding": "12px 20px",
  4681. "cursor": "pointer",
  4682. "borderRadius": "4px",
  4683. },
  4684. "innerHTML": "提交作业"
  4685. })
  4686. let aTool = ''
  4687. let _loading = document.createElement('div')
  4688. _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;"
  4689. // _loading.id = "";
  4690. let _lchild = document.createElement('div')
  4691. let _limg = document.createElement('img')
  4692. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4693. _limg.style = "width: 26px;margin-right: 10px;"
  4694. _lchild.appendChild(_limg)
  4695. let _lspan = document.createElement('span')
  4696. _lspan.innerHTML = "上传中..."
  4697. _lchild.appendChild(_lspan)
  4698. _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%);"
  4699. _loading.appendChild(_lchild)
  4700. var _box = $$('div', {
  4701. "style": {
  4702. "position": "relative",
  4703. "width": "100%",
  4704. "height": "100%",
  4705. },
  4706. })
  4707. _box.appendChild(_loading)
  4708. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4709. switch (str) {
  4710. case "whiteboard":
  4711. aTool = 1;
  4712. _iframe = $$("iframe", {
  4713. "frameborder": "no",
  4714. "border": "0",
  4715. "scrolling ": "no",
  4716. "style": {
  4717. "cssText": "border:0;width:100%;height:100%"
  4718. },
  4719. "src": "https://iwb.cocorobo.cn/"
  4720. })
  4721. _box.appendChild(_iframe);
  4722. _box.appendChild(_jie);
  4723. _formdiv = new U.UF.UI.form(
  4724. "电子白板",
  4725. _box, {
  4726. "id": "whiteboard" + cid + stage + task + tool,
  4727. "style": {
  4728. "width": "90%",
  4729. "height": "90%",
  4730. "overflow": 'hidden'
  4731. },
  4732. "onresize": function () { }
  4733. }, {
  4734. closecallback: function () { }
  4735. }, {
  4736. "style": {
  4737. "height": "36px"
  4738. }
  4739. }).form; //创建窗体
  4740. _taskbar = {
  4741. "id": str + _formdiv.id,
  4742. "style": {
  4743. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4744. },
  4745. "name": "电子白板",
  4746. "forms": _formdiv,
  4747. "click": function () {
  4748. U.MD.D.I.openApplication(str, obj, info);
  4749. }
  4750. }
  4751. break;
  4752. case "mind":
  4753. aTool = 3;
  4754. _iframe = $$("iframe", {
  4755. "frameborder": "no",
  4756. "border": "0",
  4757. "scrolling ": "no",
  4758. "style": {
  4759. "cssText": "border:0;width:100%;height:100%"
  4760. },
  4761. "src": "/kityminder-editor/dist/index.html"
  4762. })
  4763. _box.appendChild(_iframe);
  4764. _box.appendChild(_jie);
  4765. _formdiv = new U.UF.UI.form(
  4766. "思维导图",
  4767. _box, { //"/jsmind/example/demo.html"
  4768. "id": "mind" + cid + stage + task + tool,
  4769. "style": {
  4770. "width": "90%",
  4771. "height": "90%",
  4772. "overflow": 'hidden'
  4773. },
  4774. "onresize": function () { }
  4775. }, {
  4776. closecallback: function () { }
  4777. }, {
  4778. "style": {
  4779. "height": "36px"
  4780. }
  4781. }).form; //创建窗体
  4782. _taskbar = {
  4783. "id": str + _formdiv.id,
  4784. "style": {
  4785. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4786. },
  4787. "name": "思维导图",
  4788. "forms": _formdiv,
  4789. "click": function () {
  4790. U.MD.D.I.openApplication(str, obj, info);
  4791. }
  4792. }
  4793. break;
  4794. case "MindMap":
  4795. aTool = 3;
  4796. _iframe = $$("iframe", {
  4797. "frameborder": "no",
  4798. "border": "0",
  4799. "scrolling ": "no",
  4800. "style": {
  4801. "cssText": "border:0;width:100%;height:100%"
  4802. },
  4803. "src": "//cloud.cocorobo.cn/mind/"
  4804. })
  4805. _box.appendChild(_iframe);
  4806. _box.appendChild(_jie);
  4807. _formdiv = new U.UF.UI.form(
  4808. "思维导图",
  4809. _box, { //"/jsmind/example/demo.html"
  4810. "id": "mind" + cid + stage + task + tool,
  4811. "style": {
  4812. "width": "90%",
  4813. "height": "90%",
  4814. "overflow": 'hidden'
  4815. },
  4816. "onresize": function () { }
  4817. }, {
  4818. closecallback: function () { }
  4819. }, {
  4820. "style": {
  4821. "height": "36px"
  4822. }
  4823. }).form; //创建窗体
  4824. _taskbar = {
  4825. "id": str + _formdiv.id,
  4826. "style": {
  4827. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4828. },
  4829. "name": "思维导图",
  4830. "forms": _formdiv,
  4831. "click": function () {
  4832. U.MD.D.I.openApplication(str, obj, info);
  4833. }
  4834. }
  4835. break;
  4836. case "doc":
  4837. aTool = 6;
  4838. _iframe = $$("iframe", {
  4839. "frameborder": "no",
  4840. "border": "0",
  4841. "scrolling ": "no",
  4842. "style": {
  4843. "cssText": "border:0;width:100%;height:100%"
  4844. },
  4845. "src": "/Office/Word/WordEditArea.htm"
  4846. })
  4847. _box.appendChild(_iframe);
  4848. _box.appendChild(_jie);
  4849. _formdiv = new U.UF.UI.form(
  4850. "协同文档",
  4851. _box, {
  4852. "id": "doc" + cid + stage + task + tool,
  4853. "style": {
  4854. "width": "90%",
  4855. "height": "90%",
  4856. "overflow": 'hidden'
  4857. },
  4858. "onresize": function () { }
  4859. }, {
  4860. closecallback: function () { }
  4861. }, {
  4862. "style": {
  4863. "height": "36px"
  4864. }
  4865. }).form; //创建窗体
  4866. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4867. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4868. })
  4869. _taskbar = {
  4870. "id": str + _formdiv.id,
  4871. "style": {
  4872. "backgroundImage": "url(/img/icon/doc.png)"
  4873. },
  4874. "name": "协同文档",
  4875. "forms": _formdiv,
  4876. "click": function () {
  4877. U.MD.D.I.openApplication(str, obj, info);
  4878. }
  4879. }
  4880. break;
  4881. case "mindNetwork": //好友打开
  4882. aTool = 7;
  4883. _iframe = $$("iframe", {
  4884. "webkitallowfullscreen": "",
  4885. "mozallowfullscreen": "",
  4886. "allowfullscreen": "",
  4887. "frameborder": "no",
  4888. "border": "0",
  4889. "scrolling ": "no",
  4890. "style": {
  4891. "cssText": "border:0; width:100%; height:100%;"
  4892. },
  4893. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4894. })
  4895. _box.appendChild(_iframe);
  4896. _box.appendChild(_jie);
  4897. _formdiv = new U.UF.UI.form(
  4898. "思维网格",
  4899. _box, {
  4900. "id": "mindNetwork" + cid + stage + task + tool,
  4901. "style": {
  4902. "width": "90%",
  4903. "height": "90%",
  4904. "overflow": 'hidden'
  4905. },
  4906. "onresize": function () { }
  4907. }, {
  4908. closecallback: function () { }
  4909. }, {
  4910. "style": {
  4911. "height": "36px"
  4912. }
  4913. }).form; //创建窗体
  4914. _taskbar = {
  4915. "id": str + _formdiv.id,
  4916. "style": {
  4917. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4918. },
  4919. "name": "思维网格",
  4920. "forms": _formdiv,
  4921. "click": function () {
  4922. U.MD.D.I.openApplication(str, obj, info);
  4923. }
  4924. }
  4925. break;
  4926. case "courseDesign":
  4927. _iframe = $$("iframe", {
  4928. "webkitallowfullscreen": "",
  4929. "mozallowfullscreen": "",
  4930. "allowfullscreen": "",
  4931. "frameborder": "no",
  4932. "border": "0",
  4933. "scrolling ": "no",
  4934. "style": {
  4935. "cssText": "border:0; width:100%; height:100%;"
  4936. },
  4937. "src": "/course-design-vue"
  4938. })
  4939. _box.appendChild(_iframe);
  4940. _box.appendChild(_jie);
  4941. _formdiv = new U.UF.UI.form(
  4942. "项目设计",
  4943. _box, {
  4944. "id": "courseDesign" + cid + stage + task + tool,
  4945. "style": {
  4946. "width": "90%",
  4947. "height": "90%",
  4948. "overflow": 'hidden'
  4949. },
  4950. "onresize": function () { }
  4951. }, {
  4952. closecallback: function () { }
  4953. }, {
  4954. "style": {
  4955. "height": "36px"
  4956. }
  4957. }).form; //创建窗体
  4958. _taskbar = {
  4959. "id": str + _formdiv.id,
  4960. "style": {
  4961. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4962. },
  4963. "name": "项目设计",
  4964. "forms": _formdiv,
  4965. "click": function () {
  4966. U.MD.D.I.openApplication(str, obj, info);
  4967. }
  4968. }
  4969. break;
  4970. }
  4971. const script1 = document.createElement("script");
  4972. script1.type = "text/javascript";
  4973. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4974. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4975. const script2 = document.createElement("script");
  4976. script2.type = "text/javascript";
  4977. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4978. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4979. const script3 = document.createElement("script");
  4980. script3.type = "text/javascript";
  4981. script3.charset = "UTF-8";
  4982. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4983. const script4 = document.createElement("script");
  4984. script4.type = "text/javascript";
  4985. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4986. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4987. if (_iframe) {
  4988. if (str == 'doc') {
  4989. _iframe = _formdiv.querySelector('iframe')
  4990. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4991. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4992. _iframe.contentWindow.document.body.appendChild(script1);
  4993. _iframe.contentWindow.document.body.appendChild(script2);
  4994. // _iframe.contentWindow.document.body.appendChild(script3);
  4995. _iframe.contentWindow.document.body.appendChild(script4);
  4996. })
  4997. if (onloadListener) {
  4998. _iframe.contentDocument.location.reload()
  4999. } else {
  5000. _iframe.contentDocument.location.reload()
  5001. }
  5002. } else if (str == 'courseDesign') {
  5003. U.UF.DL.iframeLoad(_iframe, function () {
  5004. // _iframe.contentWindow.U.MD.O.W.load();
  5005. // _iframe.contentWindow.document.body.appendChild(script1);
  5006. _iframe.contentWindow.document.body.appendChild(script2);
  5007. _iframe.contentWindow.document.body.appendChild(script4);
  5008. })
  5009. } else if (str == 'mind') {
  5010. _iframe = _formdiv.querySelector('iframe')
  5011. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5012. //
  5013. _iframe.contentWindow.document.body.appendChild(script1);
  5014. _iframe.contentWindow.document.body.appendChild(script2);
  5015. _iframe.contentWindow.document.body.appendChild(script4);
  5016. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5017. })
  5018. if (onloadListener) {
  5019. _iframe.contentDocument.location.reload()
  5020. } else {
  5021. _iframe.contentDocument.location.reload()
  5022. }
  5023. } else if (str == 'whiteboard') {
  5024. _iframe = _formdiv.querySelector('iframe')
  5025. let onloadListener = _iframe.onload = () => {
  5026. _iframe.contentWindow.document.body.appendChild(script1);
  5027. _iframe.contentWindow.document.body.appendChild(script2);
  5028. _iframe.contentWindow.document.body.appendChild(script4);
  5029. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5030. };
  5031. if (onloadListener) {
  5032. _iframe.contentDocument.location.reload()
  5033. } else {
  5034. _iframe.contentDocument.location.reload()
  5035. }
  5036. } else {
  5037. _iframe.onload = () => {
  5038. _iframe.contentWindow.document.body.appendChild(script1);
  5039. _iframe.contentWindow.document.body.appendChild(script2);
  5040. // _iframe.contentWindow.document.body.appendChild(script3);
  5041. _iframe.contentWindow.document.body.appendChild(script4);
  5042. };
  5043. }
  5044. _jie.onclick = async () => {
  5045. let text = ''
  5046. if (aTool == 1) {
  5047. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5048. } else if (aTool == 6) {
  5049. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5050. } else if (aTool == 3) {
  5051. text = await U.MD.D.I.getEditorContent(_iframe);
  5052. }
  5053. _loading.style.display = 'flex'
  5054. console.log(_loading);
  5055. var _ajs = _iframe.contentWindow.document.createElement("script");
  5056. _ajs.type = "text/javascript";
  5057. _ajs.innerHTML =
  5058. // 'console.log(' + _loading + ');\n' +
  5059. 'var _js = document.createElement("script");\n' +
  5060. '_js.type="text/javascript";\n' +
  5061. '_js.charset="UTF-8";\n' +
  5062. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5063. "_js.onload = function(){\n" +
  5064. ' var a = document.getElementsByTagName("img")\n' +
  5065. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5066. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5067. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5068. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5069. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5070. "beforeUpload_shishi(file," +
  5071. "'" +
  5072. _userid +
  5073. "'" +
  5074. ", " +
  5075. "'" +
  5076. _cid +
  5077. "'" +
  5078. ", " +
  5079. "'" +
  5080. _stage +
  5081. "'" +
  5082. ", " +
  5083. "'" +
  5084. _task +
  5085. "'" +
  5086. ", " +
  5087. "'" +
  5088. _tool +
  5089. "'" +
  5090. ", " +
  5091. "'" +
  5092. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5093. "'" +
  5094. ", " +
  5095. "'" +
  5096. aTool +
  5097. "'" +
  5098. ", " +
  5099. "`" +
  5100. text +
  5101. "`" +
  5102. ")\n" +
  5103. " });\n" +
  5104. "}\n" +
  5105. "document.head.appendChild(_js);\n";
  5106. _iframe.contentWindow.document.head.appendChild(_ajs);
  5107. }
  5108. }
  5109. //U.MD.D.I.openClick(str);
  5110. //如果有任务栏信息
  5111. // if (_taskbar) {
  5112. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5113. // }
  5114. }
  5115. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5116. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5117. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5118. _userinfo = US.userInfo, //登录用户信息
  5119. _userid = US.userInfo.userid //登录用户id
  5120. let _iframe;
  5121. let _cid = cid,
  5122. _stage = stage,
  5123. _task = task,
  5124. _tool = tool;
  5125. var _jie = $$("div", {
  5126. "style": {
  5127. "position": "absolute",
  5128. "bottom": "50px",
  5129. "right": "50px",
  5130. "zIndex": "9999",
  5131. "backgroundColor": "#2268bc",
  5132. "color": "#fff",
  5133. "padding": "12px 20px",
  5134. "cursor": "pointer",
  5135. "borderRadius": "4px",
  5136. },
  5137. "innerHTML": "提交作业"
  5138. })
  5139. let aTool = ''
  5140. let _loading = document.createElement('div')
  5141. _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;"
  5142. // _loading.id = "";
  5143. let _lchild = document.createElement('div')
  5144. let _limg = document.createElement('img')
  5145. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5146. _limg.style = "width: 26px;margin-right: 10px;"
  5147. _lchild.appendChild(_limg)
  5148. let _lspan = document.createElement('span')
  5149. _lspan.innerHTML = "上传中..."
  5150. _lchild.appendChild(_lspan)
  5151. _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%);"
  5152. _loading.appendChild(_lchild)
  5153. var _box = $$('div', {
  5154. "style": {
  5155. "position": "relative",
  5156. "width": "100%",
  5157. "height": "100%",
  5158. },
  5159. })
  5160. _box.appendChild(_loading)
  5161. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5162. switch (str) {
  5163. case "whiteboard":
  5164. aTool = 1;
  5165. _iframe = $$("iframe", {
  5166. "frameborder": "no",
  5167. "border": "0",
  5168. "scrolling ": "no",
  5169. "style": {
  5170. "cssText": "border:0;width:100%;height:100%"
  5171. },
  5172. "src": "https://iwb.cocorobo.cn/"
  5173. })
  5174. _box.appendChild(_iframe);
  5175. _box.appendChild(_jie);
  5176. _formdiv = new U.UF.UI.form(
  5177. "电子白板",
  5178. _box, {
  5179. "id": "whiteboard" + cid + stage + task + tool,
  5180. "style": {
  5181. "width": "90%",
  5182. "height": "90%",
  5183. "overflow": 'hidden'
  5184. },
  5185. "onresize": function () { }
  5186. }, {
  5187. closecallback: function () { }
  5188. }, {
  5189. "style": {
  5190. "height": "36px"
  5191. }
  5192. }).form; //创建窗体
  5193. _taskbar = {
  5194. "id": str + _formdiv.id,
  5195. "style": {
  5196. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5197. },
  5198. "name": "电子白板",
  5199. "forms": _formdiv,
  5200. "click": function () {
  5201. U.MD.D.I.openApplication(str, obj, info);
  5202. }
  5203. }
  5204. break;
  5205. case "mind":
  5206. aTool = 3;
  5207. _iframe = $$("iframe", {
  5208. "frameborder": "no",
  5209. "border": "0",
  5210. "scrolling ": "no",
  5211. "style": {
  5212. "cssText": "border:0;width:100%;height:100%"
  5213. },
  5214. "src": "/kityminder-editor/dist/index.html"
  5215. })
  5216. _box.appendChild(_iframe);
  5217. _box.appendChild(_jie);
  5218. _formdiv = new U.UF.UI.form(
  5219. "思维导图",
  5220. _box, { //"/jsmind/example/demo.html"
  5221. "id": "mind" + cid + stage + task + tool,
  5222. "style": {
  5223. "width": "90%",
  5224. "height": "90%",
  5225. "overflow": 'hidden'
  5226. },
  5227. "onresize": function () { }
  5228. }, {
  5229. closecallback: function () { }
  5230. }, {
  5231. "style": {
  5232. "height": "36px"
  5233. }
  5234. }).form; //创建窗体
  5235. _taskbar = {
  5236. "id": str + _formdiv.id,
  5237. "style": {
  5238. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5239. },
  5240. "name": "思维导图",
  5241. "forms": _formdiv,
  5242. "click": function () {
  5243. U.MD.D.I.openApplication(str, obj, info);
  5244. }
  5245. }
  5246. break;
  5247. case "MindMap":
  5248. aTool = 3;
  5249. _iframe = $$("iframe", {
  5250. "frameborder": "no",
  5251. "border": "0",
  5252. "scrolling ": "no",
  5253. "style": {
  5254. "cssText": "border:0;width:100%;height:100%"
  5255. },
  5256. "src": "//cloud.cocorobo.cn/mind/"
  5257. })
  5258. _box.appendChild(_iframe);
  5259. _box.appendChild(_jie);
  5260. _formdiv = new U.UF.UI.form(
  5261. "思维导图",
  5262. _box, { //"/jsmind/example/demo.html"
  5263. "id": "mind" + cid + stage + task + tool,
  5264. "style": {
  5265. "width": "90%",
  5266. "height": "90%",
  5267. "overflow": 'hidden'
  5268. },
  5269. "onresize": function () { }
  5270. }, {
  5271. closecallback: function () { }
  5272. }, {
  5273. "style": {
  5274. "height": "36px"
  5275. }
  5276. }).form; //创建窗体
  5277. _taskbar = {
  5278. "id": str + _formdiv.id,
  5279. "style": {
  5280. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5281. },
  5282. "name": "思维导图",
  5283. "forms": _formdiv,
  5284. "click": function () {
  5285. U.MD.D.I.openApplication(str, obj, info);
  5286. }
  5287. }
  5288. break;
  5289. case "doc":
  5290. aTool = 6;
  5291. _iframe = $$("iframe", {
  5292. "frameborder": "no",
  5293. "border": "0",
  5294. "scrolling ": "no",
  5295. "style": {
  5296. "cssText": "border:0;width:100%;height:100%"
  5297. },
  5298. "src": "/Office/Word/WordEditArea.htm"
  5299. })
  5300. _box.appendChild(_iframe);
  5301. _box.appendChild(_jie);
  5302. _formdiv = new U.UF.UI.form(
  5303. "协同文档",
  5304. _box, {
  5305. "id": "doc" + cid + stage + task + tool,
  5306. "style": {
  5307. "width": "90%",
  5308. "height": "90%",
  5309. "overflow": 'hidden'
  5310. },
  5311. "onresize": function () { }
  5312. }, {
  5313. closecallback: function () { }
  5314. }, {
  5315. "style": {
  5316. "height": "36px"
  5317. }
  5318. }).form; //创建窗体
  5319. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5320. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5321. })
  5322. _taskbar = {
  5323. "id": str + _formdiv.id,
  5324. "style": {
  5325. "backgroundImage": "url(/img/icon/doc.png)"
  5326. },
  5327. "name": "协同文档",
  5328. "forms": _formdiv,
  5329. "click": function () {
  5330. U.MD.D.I.openApplication(str, obj, info);
  5331. }
  5332. }
  5333. break;
  5334. case "mindNetwork": //好友打开
  5335. aTool = 7;
  5336. _iframe = $$("iframe", {
  5337. "webkitallowfullscreen": "",
  5338. "mozallowfullscreen": "",
  5339. "allowfullscreen": "",
  5340. "frameborder": "no",
  5341. "border": "0",
  5342. "scrolling ": "no",
  5343. "style": {
  5344. "cssText": "border:0; width:100%; height:100%;"
  5345. },
  5346. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5347. })
  5348. _box.appendChild(_iframe);
  5349. _box.appendChild(_jie);
  5350. _formdiv = new U.UF.UI.form(
  5351. "思维网格",
  5352. _box, {
  5353. "id": "mindNetwork" + cid + stage + task + tool,
  5354. "style": {
  5355. "width": "90%",
  5356. "height": "90%",
  5357. "overflow": 'hidden'
  5358. },
  5359. "onresize": function () { }
  5360. }, {
  5361. closecallback: function () { }
  5362. }, {
  5363. "style": {
  5364. "height": "36px"
  5365. }
  5366. }).form; //创建窗体
  5367. _taskbar = {
  5368. "id": str + _formdiv.id,
  5369. "style": {
  5370. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5371. },
  5372. "name": "思维网格",
  5373. "forms": _formdiv,
  5374. "click": function () {
  5375. U.MD.D.I.openApplication(str, obj, info);
  5376. }
  5377. }
  5378. break;
  5379. case "courseDesign":
  5380. _iframe = $$("iframe", {
  5381. "webkitallowfullscreen": "",
  5382. "mozallowfullscreen": "",
  5383. "allowfullscreen": "",
  5384. "frameborder": "no",
  5385. "border": "0",
  5386. "scrolling ": "no",
  5387. "style": {
  5388. "cssText": "border:0; width:100%; height:100%;"
  5389. },
  5390. "src": "/course-design-vue"
  5391. })
  5392. _box.appendChild(_iframe);
  5393. _box.appendChild(_jie);
  5394. _formdiv = new U.UF.UI.form(
  5395. "项目设计",
  5396. _box, {
  5397. "id": "courseDesign" + cid + stage + task + tool,
  5398. "style": {
  5399. "width": "90%",
  5400. "height": "90%",
  5401. "overflow": 'hidden'
  5402. },
  5403. "onresize": function () { }
  5404. }, {
  5405. closecallback: function () { }
  5406. }, {
  5407. "style": {
  5408. "height": "36px"
  5409. }
  5410. }).form; //创建窗体
  5411. _taskbar = {
  5412. "id": str + _formdiv.id,
  5413. "style": {
  5414. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5415. },
  5416. "name": "项目设计",
  5417. "forms": _formdiv,
  5418. "click": function () {
  5419. U.MD.D.I.openApplication(str, obj, info);
  5420. }
  5421. }
  5422. break;
  5423. }
  5424. const script1 = document.createElement("script");
  5425. script1.type = "text/javascript";
  5426. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5427. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5428. const script2 = document.createElement("script");
  5429. script2.type = "text/javascript";
  5430. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5431. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5432. const script3 = document.createElement("script");
  5433. script3.type = "text/javascript";
  5434. script3.charset = "UTF-8";
  5435. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5436. const script4 = document.createElement("script");
  5437. script4.type = "text/javascript";
  5438. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5439. script4.src = window.origin + "/js/Common/jietu2E.js";
  5440. if (_iframe) {
  5441. if (str == 'doc') {
  5442. _iframe = _formdiv.querySelector('iframe')
  5443. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5444. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5445. _iframe.contentWindow.document.body.appendChild(script1);
  5446. _iframe.contentWindow.document.body.appendChild(script2);
  5447. // _iframe.contentWindow.document.body.appendChild(script3);
  5448. _iframe.contentWindow.document.body.appendChild(script4);
  5449. })
  5450. if (onloadListener) {
  5451. _iframe.contentDocument.location.reload()
  5452. } else {
  5453. _iframe.contentDocument.location.reload()
  5454. }
  5455. } else if (str == 'courseDesign') {
  5456. U.UF.DL.iframeLoad(_iframe, function () {
  5457. // _iframe.contentWindow.U.MD.O.W.load();
  5458. // _iframe.contentWindow.document.body.appendChild(script1);
  5459. _iframe.contentWindow.document.body.appendChild(script2);
  5460. _iframe.contentWindow.document.body.appendChild(script4);
  5461. })
  5462. } else if (str == 'mind') {
  5463. _iframe = _formdiv.querySelector('iframe')
  5464. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5465. //
  5466. _iframe.contentWindow.document.body.appendChild(script1);
  5467. _iframe.contentWindow.document.body.appendChild(script2);
  5468. _iframe.contentWindow.document.body.appendChild(script4);
  5469. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5470. })
  5471. if (onloadListener) {
  5472. _iframe.contentDocument.location.reload()
  5473. } else {
  5474. _iframe.contentDocument.location.reload()
  5475. }
  5476. } else if (str == 'whiteboard') {
  5477. _iframe = _formdiv.querySelector('iframe')
  5478. let onloadListener = _iframe.onload = () => {
  5479. _iframe.contentWindow.document.body.appendChild(script1);
  5480. _iframe.contentWindow.document.body.appendChild(script2);
  5481. _iframe.contentWindow.document.body.appendChild(script4);
  5482. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5483. };
  5484. if (onloadListener) {
  5485. _iframe.contentDocument.location.reload()
  5486. } else {
  5487. _iframe.contentDocument.location.reload()
  5488. }
  5489. } else {
  5490. _iframe.onload = () => {
  5491. _iframe.contentWindow.document.body.appendChild(script1);
  5492. _iframe.contentWindow.document.body.appendChild(script2);
  5493. // _iframe.contentWindow.document.body.appendChild(script3);
  5494. _iframe.contentWindow.document.body.appendChild(script4);
  5495. };
  5496. }
  5497. _jie.onclick = async () => {
  5498. let text = ''
  5499. if (aTool == 1) {
  5500. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5501. } else if (aTool == 6) {
  5502. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5503. } else if (aTool == 3) {
  5504. text = await U.MD.D.I.getEditorContent(_iframe);
  5505. }
  5506. _loading.style.display = 'flex'
  5507. console.log(_loading);
  5508. var _ajs = _iframe.contentWindow.document.createElement("script");
  5509. _ajs.type = "text/javascript";
  5510. _ajs.innerHTML =
  5511. // 'console.log(' + _loading + ');\n' +
  5512. 'var _js = document.createElement("script");\n' +
  5513. '_js.type="text/javascript";\n' +
  5514. '_js.charset="UTF-8";\n' +
  5515. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5516. "_js.onload = function(){\n" +
  5517. ' var a = document.getElementsByTagName("img")\n' +
  5518. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5519. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5520. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5521. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5522. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5523. "beforeUpload_shishi(file," +
  5524. "'" +
  5525. _userid +
  5526. "'" +
  5527. ", " +
  5528. "'" +
  5529. _cid +
  5530. "'" +
  5531. ", " +
  5532. "'" +
  5533. _stage +
  5534. "'" +
  5535. ", " +
  5536. "'" +
  5537. _task +
  5538. "'" +
  5539. ", " +
  5540. "'" +
  5541. _tool +
  5542. "'" +
  5543. ", " +
  5544. "'" +
  5545. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5546. "'" +
  5547. ", " +
  5548. "'" +
  5549. aTool +
  5550. "'" +
  5551. ", " +
  5552. "`" +
  5553. text +
  5554. "`" +
  5555. ")\n" +
  5556. " });\n" +
  5557. "}\n" +
  5558. "document.head.appendChild(_js);\n";
  5559. _iframe.contentWindow.document.head.appendChild(_ajs);
  5560. }
  5561. }
  5562. //U.MD.D.I.openClick(str);
  5563. //如果有任务栏信息
  5564. // if (_taskbar) {
  5565. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5566. // }
  5567. }
  5568. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5569. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5570. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5571. _userid = student.userid, //登录用户id
  5572. _username = student.student //用户名字
  5573. let _iframe;
  5574. let _cid = cid,
  5575. _stage = stage,
  5576. _task = task,
  5577. _tool = tool;
  5578. var _jie = $$("div", {
  5579. "style": {
  5580. "position": "absolute",
  5581. "bottom": "50px",
  5582. "right": "50px",
  5583. "zIndex": "9999",
  5584. "backgroundColor": "#2268bc",
  5585. "color": "#fff",
  5586. "padding": "12px 20px",
  5587. "cursor": "pointer",
  5588. "borderRadius": "4px",
  5589. },
  5590. "innerHTML": "提交作业"
  5591. })
  5592. let aTool = ''
  5593. let _loading = document.createElement('div')
  5594. _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;"
  5595. // _loading.id = "";
  5596. let _lchild = document.createElement('div')
  5597. let _limg = document.createElement('img')
  5598. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5599. _limg.style = "width: 26px;margin-right: 10px;"
  5600. _lchild.appendChild(_limg)
  5601. let _lspan = document.createElement('span')
  5602. _lspan.innerHTML = "上传中..."
  5603. _lchild.appendChild(_lspan)
  5604. _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%);"
  5605. _loading.appendChild(_lchild)
  5606. var _box = $$('div', {
  5607. "style": {
  5608. "position": "relative",
  5609. "width": "100%",
  5610. "height": "100%",
  5611. },
  5612. })
  5613. _box.appendChild(_loading)
  5614. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5615. switch (str) {
  5616. case "whiteboard":
  5617. aTool = 1;
  5618. _iframe = $$("iframe", {
  5619. "frameborder": "no",
  5620. "border": "0",
  5621. "scrolling ": "no",
  5622. "style": {
  5623. "cssText": "border:0;width:100%;height:100%"
  5624. },
  5625. "src": "https://iwb.cocorobo.cn/"
  5626. })
  5627. _box.appendChild(_iframe);
  5628. _box.appendChild(_jie);
  5629. _formdiv = new U.UF.UI.form(
  5630. "电子白板-" + _username,
  5631. _box, {
  5632. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5633. "style": {
  5634. "width": "90%",
  5635. "height": "90%",
  5636. "overflow": 'hidden'
  5637. },
  5638. "onresize": function () { }
  5639. }, {
  5640. closecallback: function () { }
  5641. }, {
  5642. "style": {
  5643. "height": "36px"
  5644. }
  5645. }).form; //创建窗体
  5646. _taskbar = {
  5647. "id": str + _formdiv.id,
  5648. "style": {
  5649. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5650. },
  5651. "name": "电子白板",
  5652. "forms": _formdiv,
  5653. "click": function () {
  5654. U.MD.D.I.openApplication(str, obj, info);
  5655. }
  5656. }
  5657. break;
  5658. case "mind":
  5659. aTool = 3;
  5660. _iframe = $$("iframe", {
  5661. "frameborder": "no",
  5662. "border": "0",
  5663. "scrolling ": "no",
  5664. "style": {
  5665. "cssText": "border:0;width:100%;height:100%"
  5666. },
  5667. "src": "/kityminder-editor/dist/index.html"
  5668. })
  5669. _box.appendChild(_iframe);
  5670. _box.appendChild(_jie);
  5671. _formdiv = new U.UF.UI.form(
  5672. "思维导图-" + _username,
  5673. _box, { //"/jsmind/example/demo.html"
  5674. "id": "mind" + cid + stage + task + tool + _userid,
  5675. "style": {
  5676. "width": "90%",
  5677. "height": "90%",
  5678. "overflow": 'hidden'
  5679. },
  5680. "onresize": function () { }
  5681. }, {
  5682. closecallback: function () { }
  5683. }, {
  5684. "style": {
  5685. "height": "36px"
  5686. }
  5687. }).form; //创建窗体
  5688. _taskbar = {
  5689. "id": str + _formdiv.id,
  5690. "style": {
  5691. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5692. },
  5693. "name": "思维导图",
  5694. "forms": _formdiv,
  5695. "click": function () {
  5696. U.MD.D.I.openApplication(str, obj, info);
  5697. }
  5698. }
  5699. break;
  5700. case "MindMap":
  5701. aTool = 3;
  5702. _iframe = $$("iframe", {
  5703. "frameborder": "no",
  5704. "border": "0",
  5705. "scrolling ": "no",
  5706. "style": {
  5707. "cssText": "border:0;width:100%;height:100%"
  5708. },
  5709. "src": "//cloud.cocorobo.cn/mind/"
  5710. })
  5711. _box.appendChild(_iframe);
  5712. _box.appendChild(_jie);
  5713. _formdiv = new U.UF.UI.form(
  5714. "思维导图-" + _username,
  5715. _box, { //"/jsmind/example/demo.html"
  5716. "id": "mind" + cid + stage + task + tool + _userid,
  5717. "style": {
  5718. "width": "90%",
  5719. "height": "90%",
  5720. "overflow": 'hidden'
  5721. },
  5722. "onresize": function () { }
  5723. }, {
  5724. closecallback: function () { }
  5725. }, {
  5726. "style": {
  5727. "height": "36px"
  5728. }
  5729. }).form; //创建窗体
  5730. _taskbar = {
  5731. "id": str + _formdiv.id,
  5732. "style": {
  5733. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5734. },
  5735. "name": "思维导图",
  5736. "forms": _formdiv,
  5737. "click": function () {
  5738. U.MD.D.I.openApplication(str, obj, info);
  5739. }
  5740. }
  5741. break;
  5742. case "doc":
  5743. aTool = 6;
  5744. _iframe = $$("iframe", {
  5745. "frameborder": "no",
  5746. "border": "0",
  5747. "scrolling ": "no",
  5748. "style": {
  5749. "cssText": "border:0;width:100%;height:100%"
  5750. },
  5751. "src": "/Office/Word/WordEditArea.htm"
  5752. })
  5753. _box.appendChild(_iframe);
  5754. _box.appendChild(_jie);
  5755. _formdiv = new U.UF.UI.form(
  5756. "协同文档-" + _username,
  5757. _box, {
  5758. "id": "doc" + cid + stage + task + tool + _userid,
  5759. "style": {
  5760. "width": "90%",
  5761. "height": "90%",
  5762. "overflow": 'hidden'
  5763. },
  5764. "onresize": function () { }
  5765. }, {
  5766. closecallback: function () { }
  5767. }, {
  5768. "style": {
  5769. "height": "36px"
  5770. }
  5771. }).form; //创建窗体
  5772. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5773. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5774. })
  5775. _taskbar = {
  5776. "id": str + _formdiv.id,
  5777. "style": {
  5778. "backgroundImage": "url(/img/icon/doc.png)"
  5779. },
  5780. "name": "协同文档",
  5781. "forms": _formdiv,
  5782. "click": function () {
  5783. U.MD.D.I.openApplication(str, obj, info);
  5784. }
  5785. }
  5786. break;
  5787. case "mindNetwork": //好友打开
  5788. aTool = 7;
  5789. _iframe = $$("iframe", {
  5790. "webkitallowfullscreen": "",
  5791. "mozallowfullscreen": "",
  5792. "allowfullscreen": "",
  5793. "frameborder": "no",
  5794. "border": "0",
  5795. "scrolling ": "no",
  5796. "style": {
  5797. "cssText": "border:0; width:100%; height:100%;"
  5798. },
  5799. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5800. })
  5801. _box.appendChild(_iframe);
  5802. _box.appendChild(_jie);
  5803. _formdiv = new U.UF.UI.form(
  5804. "思维网格-" + _username,
  5805. _box, {
  5806. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5807. "style": {
  5808. "width": "90%",
  5809. "height": "90%",
  5810. "overflow": 'hidden'
  5811. },
  5812. "onresize": function () { }
  5813. }, {
  5814. closecallback: function () { }
  5815. }, {
  5816. "style": {
  5817. "height": "36px"
  5818. }
  5819. }).form; //创建窗体
  5820. _taskbar = {
  5821. "id": str + _formdiv.id,
  5822. "style": {
  5823. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5824. },
  5825. "name": "思维网格",
  5826. "forms": _formdiv,
  5827. "click": function () {
  5828. U.MD.D.I.openApplication(str, obj, info);
  5829. }
  5830. }
  5831. break;
  5832. case "courseDesign":
  5833. _iframe = $$("iframe", {
  5834. "webkitallowfullscreen": "",
  5835. "mozallowfullscreen": "",
  5836. "allowfullscreen": "",
  5837. "frameborder": "no",
  5838. "border": "0",
  5839. "scrolling ": "no",
  5840. "style": {
  5841. "cssText": "border:0; width:100%; height:100%;"
  5842. },
  5843. "src": "/course-design-vue"
  5844. })
  5845. _box.appendChild(_iframe);
  5846. _box.appendChild(_jie);
  5847. _formdiv = new U.UF.UI.form(
  5848. "项目设计-" + _username,
  5849. _box, {
  5850. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5851. "style": {
  5852. "width": "90%",
  5853. "height": "90%",
  5854. "overflow": 'hidden'
  5855. },
  5856. "onresize": function () { }
  5857. }, {
  5858. closecallback: function () { }
  5859. }, {
  5860. "style": {
  5861. "height": "36px"
  5862. }
  5863. }).form; //创建窗体
  5864. _taskbar = {
  5865. "id": str + _formdiv.id,
  5866. "style": {
  5867. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5868. },
  5869. "name": "项目设计",
  5870. "forms": _formdiv,
  5871. "click": function () {
  5872. U.MD.D.I.openApplication(str, obj, info);
  5873. }
  5874. }
  5875. break;
  5876. }
  5877. const script1 = document.createElement("script");
  5878. script1.type = "text/javascript";
  5879. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5880. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5881. const script2 = document.createElement("script");
  5882. script2.type = "text/javascript";
  5883. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5884. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5885. const script3 = document.createElement("script");
  5886. script3.type = "text/javascript";
  5887. script3.charset = "UTF-8";
  5888. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5889. const script4 = document.createElement("script");
  5890. script4.type = "text/javascript";
  5891. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5892. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5893. if (_iframe) {
  5894. if (str == 'doc') {
  5895. _iframe = _formdiv.querySelector('iframe')
  5896. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5897. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5898. _iframe.contentWindow.document.body.appendChild(script1);
  5899. _iframe.contentWindow.document.body.appendChild(script2);
  5900. // _iframe.contentWindow.document.body.appendChild(script3);
  5901. _iframe.contentWindow.document.body.appendChild(script4);
  5902. })
  5903. if (onloadListener) {
  5904. _iframe.contentDocument.location.reload()
  5905. } else {
  5906. _iframe.contentDocument.location.reload()
  5907. }
  5908. } else if (str == 'courseDesign') {
  5909. U.UF.DL.iframeLoad(_iframe, function () {
  5910. // _iframe.contentWindow.U.MD.O.W.load();
  5911. // _iframe.contentWindow.document.body.appendChild(script1);
  5912. _iframe.contentWindow.document.body.appendChild(script2);
  5913. _iframe.contentWindow.document.body.appendChild(script4);
  5914. })
  5915. } else if (str == 'mind') {
  5916. _iframe = _formdiv.querySelector('iframe')
  5917. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5918. //
  5919. _iframe.contentWindow.document.body.appendChild(script1);
  5920. _iframe.contentWindow.document.body.appendChild(script2);
  5921. _iframe.contentWindow.document.body.appendChild(script4);
  5922. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5923. })
  5924. if (onloadListener) {
  5925. _iframe.contentDocument.location.reload()
  5926. } else {
  5927. _iframe.contentDocument.location.reload()
  5928. }
  5929. } else if (str == 'whiteboard') {
  5930. _iframe = _formdiv.querySelector('iframe')
  5931. let onloadListener = _iframe.onload = () => {
  5932. _iframe.contentWindow.document.body.appendChild(script1);
  5933. _iframe.contentWindow.document.body.appendChild(script2);
  5934. _iframe.contentWindow.document.body.appendChild(script4);
  5935. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5936. };
  5937. if (onloadListener) {
  5938. _iframe.contentDocument.location.reload()
  5939. } else {
  5940. _iframe.contentDocument.location.reload()
  5941. }
  5942. } else {
  5943. _iframe.onload = () => {
  5944. _iframe.contentWindow.document.body.appendChild(script1);
  5945. _iframe.contentWindow.document.body.appendChild(script2);
  5946. // _iframe.contentWindow.document.body.appendChild(script3);
  5947. _iframe.contentWindow.document.body.appendChild(script4);
  5948. };
  5949. }
  5950. _jie.onclick = async () => {
  5951. let text = ''
  5952. if (aTool == 1) {
  5953. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5954. } else if (aTool == 6) {
  5955. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5956. } else if (aTool == 3) {
  5957. text = await U.MD.D.I.getEditorContent(_iframe);
  5958. }
  5959. _loading.style.display = 'flex'
  5960. console.log(_loading);
  5961. var _ajs = _iframe.contentWindow.document.createElement("script");
  5962. _ajs.type = "text/javascript";
  5963. _ajs.innerHTML =
  5964. // 'console.log(' + _loading + ');\n' +
  5965. 'var _js = document.createElement("script");\n' +
  5966. '_js.type="text/javascript";\n' +
  5967. '_js.charset="UTF-8";\n' +
  5968. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5969. "_js.onload = function(){\n" +
  5970. ' var a = document.getElementsByTagName("img")\n' +
  5971. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5972. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5973. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5974. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5975. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5976. "beforeUpload_shishi(file," +
  5977. "'" +
  5978. _userid +
  5979. "'" +
  5980. ", " +
  5981. "'" +
  5982. _cid +
  5983. "'" +
  5984. ", " +
  5985. "'" +
  5986. _stage +
  5987. "'" +
  5988. ", " +
  5989. "'" +
  5990. _task +
  5991. "'" +
  5992. ", " +
  5993. "'" +
  5994. _tool +
  5995. "'" +
  5996. ", " +
  5997. "'" +
  5998. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5999. "'" +
  6000. ", " +
  6001. "'" +
  6002. aTool +
  6003. "'" +
  6004. ", " +
  6005. "`" +
  6006. text +
  6007. "`" +
  6008. ")\n" +
  6009. " });\n" +
  6010. "}\n" +
  6011. "document.head.appendChild(_js);\n";
  6012. _iframe.contentWindow.document.head.appendChild(_ajs);
  6013. }
  6014. }
  6015. }
  6016. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6017. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6018. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6019. _userid = student.userid, //登录用户id
  6020. _username = student.student //用户名字
  6021. let _iframe;
  6022. let _cid = cid,
  6023. _stage = stage,
  6024. _task = task,
  6025. _tool = tool;
  6026. var _jie = $$("div", {
  6027. "style": {
  6028. "position": "absolute",
  6029. "bottom": "50px",
  6030. "right": "50px",
  6031. "zIndex": "9999",
  6032. "backgroundColor": "#2268bc",
  6033. "color": "#fff",
  6034. "padding": "12px 20px",
  6035. "cursor": "pointer",
  6036. "borderRadius": "4px",
  6037. },
  6038. "innerHTML": "提交作业"
  6039. })
  6040. let aTool = ''
  6041. let _loading = document.createElement('div')
  6042. _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;"
  6043. // _loading.id = "";
  6044. let _lchild = document.createElement('div')
  6045. let _limg = document.createElement('img')
  6046. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6047. _limg.style = "width: 26px;margin-right: 10px;"
  6048. _lchild.appendChild(_limg)
  6049. let _lspan = document.createElement('span')
  6050. _lspan.innerHTML = "上传中..."
  6051. _lchild.appendChild(_lspan)
  6052. _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%);"
  6053. _loading.appendChild(_lchild)
  6054. var _box = $$('div', {
  6055. "style": {
  6056. "position": "relative",
  6057. "width": "100%",
  6058. "height": "100%",
  6059. },
  6060. })
  6061. _box.appendChild(_loading)
  6062. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6063. switch (str) {
  6064. case "whiteboard":
  6065. aTool = 1;
  6066. _iframe = $$("iframe", {
  6067. "frameborder": "no",
  6068. "border": "0",
  6069. "scrolling ": "no",
  6070. "style": {
  6071. "cssText": "border:0;width:100%;height:100%"
  6072. },
  6073. "src": "https://iwb.cocorobo.cn/"
  6074. })
  6075. _box.appendChild(_iframe);
  6076. _box.appendChild(_jie);
  6077. _formdiv = new U.UF.UI.form(
  6078. "电子白板-" + _username,
  6079. _box, {
  6080. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6081. "style": {
  6082. "width": "90%",
  6083. "height": "90%",
  6084. "overflow": 'hidden'
  6085. },
  6086. "onresize": function () { }
  6087. }, {
  6088. closecallback: function () { }
  6089. }, {
  6090. "style": {
  6091. "height": "36px"
  6092. }
  6093. }).form; //创建窗体
  6094. _taskbar = {
  6095. "id": str + _formdiv.id,
  6096. "style": {
  6097. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6098. },
  6099. "name": "电子白板",
  6100. "forms": _formdiv,
  6101. "click": function () {
  6102. U.MD.D.I.openApplication(str, obj, info);
  6103. }
  6104. }
  6105. break;
  6106. case "mind":
  6107. aTool = 3;
  6108. _iframe = $$("iframe", {
  6109. "frameborder": "no",
  6110. "border": "0",
  6111. "scrolling ": "no",
  6112. "style": {
  6113. "cssText": "border:0;width:100%;height:100%"
  6114. },
  6115. "src": "/kityminder-editor/dist/index.html"
  6116. })
  6117. _box.appendChild(_iframe);
  6118. _box.appendChild(_jie);
  6119. _formdiv = new U.UF.UI.form(
  6120. "思维导图-" + _username,
  6121. _box, { //"/jsmind/example/demo.html"
  6122. "id": "mind" + cid + stage + task + tool + _userid,
  6123. "style": {
  6124. "width": "90%",
  6125. "height": "90%",
  6126. "overflow": 'hidden'
  6127. },
  6128. "onresize": function () { }
  6129. }, {
  6130. closecallback: function () { }
  6131. }, {
  6132. "style": {
  6133. "height": "36px"
  6134. }
  6135. }).form; //创建窗体
  6136. _taskbar = {
  6137. "id": str + _formdiv.id,
  6138. "style": {
  6139. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6140. },
  6141. "name": "思维导图",
  6142. "forms": _formdiv,
  6143. "click": function () {
  6144. U.MD.D.I.openApplication(str, obj, info);
  6145. }
  6146. }
  6147. break;
  6148. case "MindMap":
  6149. aTool = 3;
  6150. _iframe = $$("iframe", {
  6151. "frameborder": "no",
  6152. "border": "0",
  6153. "scrolling ": "no",
  6154. "style": {
  6155. "cssText": "border:0;width:100%;height:100%"
  6156. },
  6157. "src": "//cloud.cocorobo.cn/mind/"
  6158. })
  6159. _box.appendChild(_iframe);
  6160. _box.appendChild(_jie);
  6161. _formdiv = new U.UF.UI.form(
  6162. "思维导图-" + _username,
  6163. _box, { //"/jsmind/example/demo.html"
  6164. "id": "mind" + cid + stage + task + tool + _userid,
  6165. "style": {
  6166. "width": "90%",
  6167. "height": "90%",
  6168. "overflow": 'hidden'
  6169. },
  6170. "onresize": function () { }
  6171. }, {
  6172. closecallback: function () { }
  6173. }, {
  6174. "style": {
  6175. "height": "36px"
  6176. }
  6177. }).form; //创建窗体
  6178. _taskbar = {
  6179. "id": str + _formdiv.id,
  6180. "style": {
  6181. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6182. },
  6183. "name": "思维导图",
  6184. "forms": _formdiv,
  6185. "click": function () {
  6186. U.MD.D.I.openApplication(str, obj, info);
  6187. }
  6188. }
  6189. break;
  6190. case "doc":
  6191. aTool = 6;
  6192. _iframe = $$("iframe", {
  6193. "frameborder": "no",
  6194. "border": "0",
  6195. "scrolling ": "no",
  6196. "style": {
  6197. "cssText": "border:0;width:100%;height:100%"
  6198. },
  6199. "src": "/Office/Word/WordEditArea.htm"
  6200. })
  6201. _box.appendChild(_iframe);
  6202. _box.appendChild(_jie);
  6203. _formdiv = new U.UF.UI.form(
  6204. "协同文档-" + _username,
  6205. _box, {
  6206. "id": "doc" + cid + stage + task + tool + _userid,
  6207. "style": {
  6208. "width": "90%",
  6209. "height": "90%",
  6210. "overflow": 'hidden'
  6211. },
  6212. "onresize": function () { }
  6213. }, {
  6214. closecallback: function () { }
  6215. }, {
  6216. "style": {
  6217. "height": "36px"
  6218. }
  6219. }).form; //创建窗体
  6220. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6221. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6222. })
  6223. _taskbar = {
  6224. "id": str + _formdiv.id,
  6225. "style": {
  6226. "backgroundImage": "url(/img/icon/doc.png)"
  6227. },
  6228. "name": "协同文档",
  6229. "forms": _formdiv,
  6230. "click": function () {
  6231. U.MD.D.I.openApplication(str, obj, info);
  6232. }
  6233. }
  6234. break;
  6235. case "mindNetwork": //好友打开
  6236. aTool = 7;
  6237. _iframe = $$("iframe", {
  6238. "webkitallowfullscreen": "",
  6239. "mozallowfullscreen": "",
  6240. "allowfullscreen": "",
  6241. "frameborder": "no",
  6242. "border": "0",
  6243. "scrolling ": "no",
  6244. "style": {
  6245. "cssText": "border:0; width:100%; height:100%;"
  6246. },
  6247. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6248. })
  6249. _box.appendChild(_iframe);
  6250. _box.appendChild(_jie);
  6251. _formdiv = new U.UF.UI.form(
  6252. "思维网格-" + _username,
  6253. _box, {
  6254. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6255. "style": {
  6256. "width": "90%",
  6257. "height": "90%",
  6258. "overflow": 'hidden'
  6259. },
  6260. "onresize": function () { }
  6261. }, {
  6262. closecallback: function () { }
  6263. }, {
  6264. "style": {
  6265. "height": "36px"
  6266. }
  6267. }).form; //创建窗体
  6268. _taskbar = {
  6269. "id": str + _formdiv.id,
  6270. "style": {
  6271. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6272. },
  6273. "name": "思维网格",
  6274. "forms": _formdiv,
  6275. "click": function () {
  6276. U.MD.D.I.openApplication(str, obj, info);
  6277. }
  6278. }
  6279. break;
  6280. case "courseDesign":
  6281. _iframe = $$("iframe", {
  6282. "webkitallowfullscreen": "",
  6283. "mozallowfullscreen": "",
  6284. "allowfullscreen": "",
  6285. "frameborder": "no",
  6286. "border": "0",
  6287. "scrolling ": "no",
  6288. "style": {
  6289. "cssText": "border:0; width:100%; height:100%;"
  6290. },
  6291. "src": "/course-design-vue"
  6292. })
  6293. _box.appendChild(_iframe);
  6294. _box.appendChild(_jie);
  6295. _formdiv = new U.UF.UI.form(
  6296. "项目设计-" + _username,
  6297. _box, {
  6298. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6299. "style": {
  6300. "width": "90%",
  6301. "height": "90%",
  6302. "overflow": 'hidden'
  6303. },
  6304. "onresize": function () { }
  6305. }, {
  6306. closecallback: function () { }
  6307. }, {
  6308. "style": {
  6309. "height": "36px"
  6310. }
  6311. }).form; //创建窗体
  6312. _taskbar = {
  6313. "id": str + _formdiv.id,
  6314. "style": {
  6315. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6316. },
  6317. "name": "项目设计",
  6318. "forms": _formdiv,
  6319. "click": function () {
  6320. U.MD.D.I.openApplication(str, obj, info);
  6321. }
  6322. }
  6323. break;
  6324. }
  6325. const script1 = document.createElement("script");
  6326. script1.type = "text/javascript";
  6327. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6328. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6329. const script2 = document.createElement("script");
  6330. script2.type = "text/javascript";
  6331. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6332. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6333. const script3 = document.createElement("script");
  6334. script3.type = "text/javascript";
  6335. script3.charset = "UTF-8";
  6336. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6337. const script4 = document.createElement("script");
  6338. script4.type = "text/javascript";
  6339. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6340. script4.src = window.origin + "/js/Common/jietu2E.js";
  6341. if (_iframe) {
  6342. if (str == 'doc') {
  6343. _iframe = _formdiv.querySelector('iframe')
  6344. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6345. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6346. _iframe.contentWindow.document.body.appendChild(script1);
  6347. _iframe.contentWindow.document.body.appendChild(script2);
  6348. // _iframe.contentWindow.document.body.appendChild(script3);
  6349. _iframe.contentWindow.document.body.appendChild(script4);
  6350. })
  6351. if (onloadListener) {
  6352. _iframe.contentDocument.location.reload()
  6353. } else {
  6354. _iframe.contentDocument.location.reload()
  6355. }
  6356. } else if (str == 'courseDesign') {
  6357. U.UF.DL.iframeLoad(_iframe, function () {
  6358. // _iframe.contentWindow.U.MD.O.W.load();
  6359. // _iframe.contentWindow.document.body.appendChild(script1);
  6360. _iframe.contentWindow.document.body.appendChild(script2);
  6361. _iframe.contentWindow.document.body.appendChild(script4);
  6362. })
  6363. } else if (str == 'mind') {
  6364. _iframe = _formdiv.querySelector('iframe')
  6365. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6366. //
  6367. _iframe.contentWindow.document.body.appendChild(script1);
  6368. _iframe.contentWindow.document.body.appendChild(script2);
  6369. _iframe.contentWindow.document.body.appendChild(script4);
  6370. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6371. })
  6372. if (onloadListener) {
  6373. _iframe.contentDocument.location.reload()
  6374. } else {
  6375. _iframe.contentDocument.location.reload()
  6376. }
  6377. } else if (str == 'whiteboard') {
  6378. _iframe = _formdiv.querySelector('iframe')
  6379. let onloadListener = _iframe.onload = () => {
  6380. _iframe.contentWindow.document.body.appendChild(script1);
  6381. _iframe.contentWindow.document.body.appendChild(script2);
  6382. _iframe.contentWindow.document.body.appendChild(script4);
  6383. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6384. };
  6385. if (onloadListener) {
  6386. _iframe.contentDocument.location.reload()
  6387. } else {
  6388. _iframe.contentDocument.location.reload()
  6389. }
  6390. } else {
  6391. _iframe.onload = () => {
  6392. _iframe.contentWindow.document.body.appendChild(script1);
  6393. _iframe.contentWindow.document.body.appendChild(script2);
  6394. // _iframe.contentWindow.document.body.appendChild(script3);
  6395. _iframe.contentWindow.document.body.appendChild(script4);
  6396. };
  6397. }
  6398. _jie.onclick = async () => {
  6399. let text = ''
  6400. if (aTool == 1) {
  6401. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6402. } else if (aTool == 6) {
  6403. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6404. } else if (aTool == 3) {
  6405. text = await U.MD.D.I.getEditorContent(_iframe);
  6406. }
  6407. _loading.style.display = 'flex'
  6408. console.log(_loading);
  6409. var _ajs = _iframe.contentWindow.document.createElement("script");
  6410. _ajs.type = "text/javascript";
  6411. _ajs.innerHTML =
  6412. // 'console.log(' + _loading + ');\n' +
  6413. 'var _js = document.createElement("script");\n' +
  6414. '_js.type="text/javascript";\n' +
  6415. '_js.charset="UTF-8";\n' +
  6416. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6417. "_js.onload = function(){\n" +
  6418. ' var a = document.getElementsByTagName("img")\n' +
  6419. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6420. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6421. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6422. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6423. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6424. "beforeUpload_shishi(file," +
  6425. "'" +
  6426. _userid +
  6427. "'" +
  6428. ", " +
  6429. "'" +
  6430. _cid +
  6431. "'" +
  6432. ", " +
  6433. "'" +
  6434. _stage +
  6435. "'" +
  6436. ", " +
  6437. "'" +
  6438. _task +
  6439. "'" +
  6440. ", " +
  6441. "'" +
  6442. _tool +
  6443. "'" +
  6444. ", " +
  6445. "'" +
  6446. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6447. "'" +
  6448. ", " +
  6449. "'" +
  6450. aTool +
  6451. "'" +
  6452. ", " +
  6453. "`" +
  6454. text +
  6455. "`" +
  6456. ")\n" +
  6457. " });\n" +
  6458. "}\n" +
  6459. "document.head.appendChild(_js);\n";
  6460. _iframe.contentWindow.document.head.appendChild(_ajs);
  6461. }
  6462. }
  6463. }
  6464. U.MD.D.I.getEditorContent = function (iframe) {
  6465. return new Promise((resolve, reject) => {
  6466. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6467. console.log(content);
  6468. resolve(content)
  6469. });
  6470. });
  6471. }
  6472. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6473. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6474. // if (res.value[0].length > 0) {
  6475. // // resolve(res.value[0][0].text);
  6476. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6477. // $(fileInput).val('');
  6478. // });
  6479. // }
  6480. // }, [], { "type": "GET", "withCredentials": true });
  6481. var xmlhttp;
  6482. var Mac, Sn, DeviceId
  6483. if (window.XMLHttpRequest) {
  6484. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6485. xmlhttp = new XMLHttpRequest();
  6486. } else {
  6487. // IE6, IE5 浏览器执行代码
  6488. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6489. }
  6490. xmlhttp.onreadystatechange = function () {
  6491. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6492. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6493. // resolve(res.value[0][0].text);
  6494. if (type == '2') {
  6495. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6496. } else if (type == '3') {
  6497. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6498. }
  6499. } else {
  6500. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6501. }
  6502. }
  6503. }
  6504. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6505. xmlhttp.send();
  6506. }
  6507. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6508. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6509. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6510. _userinfo = US.userInfo, //登录用户信息
  6511. _userid = US.userInfo.userid //登录用户id
  6512. let _iframe;
  6513. let _cid = cid,
  6514. _stage = stage,
  6515. _task = task,
  6516. _tool = tool;
  6517. var _jie = $$("div", {
  6518. "style": {
  6519. "position": "absolute",
  6520. "bottom": "50px",
  6521. "right": "50px",
  6522. "zIndex": "9999",
  6523. "backgroundColor": "#2268bc",
  6524. "color": "#fff",
  6525. "padding": "12px 20px",
  6526. "cursor": "pointer",
  6527. "borderRadius": "4px",
  6528. },
  6529. "innerHTML": "确认并提交"
  6530. })
  6531. let aTool = ''
  6532. let _loading = document.createElement('div')
  6533. _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;"
  6534. // _loading.id = "";
  6535. let _lchild = document.createElement('div')
  6536. let _limg = document.createElement('img')
  6537. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6538. _limg.style = "width: 26px;margin-right: 10px;"
  6539. _lchild.appendChild(_limg)
  6540. let _lspan = document.createElement('span')
  6541. _lspan.innerHTML = "上传中..."
  6542. _lchild.appendChild(_lspan)
  6543. _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%);"
  6544. _loading.appendChild(_lchild)
  6545. var _box = $$('div', {
  6546. "style": {
  6547. "position": "relative",
  6548. "width": "100%",
  6549. "height": "100%",
  6550. },
  6551. })
  6552. _box.appendChild(_loading)
  6553. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6554. switch (str) {
  6555. case "whiteboard":
  6556. aTool = 1;
  6557. _iframe = $$("iframe", {
  6558. "frameborder": "no",
  6559. "border": "0",
  6560. "scrolling ": "no",
  6561. "style": {
  6562. "cssText": "border:0;width:100%;height:100%"
  6563. },
  6564. "src": "https://iwb.cocorobo.cn/"
  6565. })
  6566. _box.appendChild(_iframe);
  6567. _box.appendChild(_jie);
  6568. _formdiv = new U.UF.UI.form(
  6569. "电子白板",
  6570. _box, {
  6571. "id": "whiteboards" + cid + stage + task + tool,
  6572. "style": {
  6573. "width": "90%",
  6574. "height": "90%",
  6575. "overflow": 'hidden'
  6576. },
  6577. "onresize": function () { }
  6578. }, {
  6579. closecallback: function () { }
  6580. }, {
  6581. "style": {
  6582. "height": "36px"
  6583. }
  6584. }).form; //创建窗体
  6585. _taskbar = {
  6586. "id": str + _formdiv.id,
  6587. "style": {
  6588. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6589. },
  6590. "name": "电子白板",
  6591. "forms": _formdiv,
  6592. "click": function () {
  6593. U.MD.D.I.openApplication(str, obj, info);
  6594. }
  6595. }
  6596. break;
  6597. case "mind":
  6598. aTool = 3;
  6599. _iframe = $$("iframe", {
  6600. "frameborder": "no",
  6601. "border": "0",
  6602. "scrolling ": "no",
  6603. "style": {
  6604. "cssText": "border:0;width:100%;height:100%"
  6605. },
  6606. "src": "/kityminder-editor/dist/index.html"
  6607. });
  6608. _box.appendChild(_iframe);
  6609. _box.appendChild(_jie);
  6610. _formdiv = new U.UF.UI.form(
  6611. "思维导图",
  6612. _box, { //"/jsmind/example/demo.html"
  6613. "id": "minds" + cid + stage + task + tool,
  6614. "style": {
  6615. "width": "90%",
  6616. "height": "90%",
  6617. "overflow": 'hidden'
  6618. },
  6619. "onresize": function () { }
  6620. }, {
  6621. closecallback: function () { }
  6622. }, {
  6623. "style": {
  6624. "height": "36px"
  6625. }
  6626. }).form; //创建窗体
  6627. _taskbar = {
  6628. "id": str + _formdiv.id,
  6629. "style": {
  6630. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6631. },
  6632. "name": "思维导图",
  6633. "forms": _formdiv,
  6634. "click": function () {
  6635. U.MD.D.I.openApplication(str, obj, info);
  6636. }
  6637. }
  6638. break;
  6639. case "doc":
  6640. aTool = 6;
  6641. _iframe = $$("iframe", {
  6642. "frameborder": "no",
  6643. "border": "0",
  6644. "scrolling ": "no",
  6645. "style": {
  6646. "cssText": "border:0;width:100%;height:100%"
  6647. },
  6648. "src": "/Office/Word/WordEditArea.htm"
  6649. })
  6650. _box.appendChild(_iframe);
  6651. _box.appendChild(_jie);
  6652. _formdiv = new U.UF.UI.form(
  6653. "协同文档",
  6654. _box, {
  6655. "id": "docs" + cid + stage + task + tool,
  6656. "style": {
  6657. "width": "90%",
  6658. "height": "90%",
  6659. "overflow": 'hidden'
  6660. },
  6661. "onresize": function () { }
  6662. }, {
  6663. closecallback: function () { }
  6664. }, {
  6665. "style": {
  6666. "height": "36px"
  6667. }
  6668. }).form; //创建窗体
  6669. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6670. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6671. })
  6672. _taskbar = {
  6673. "id": str + _formdiv.id,
  6674. "style": {
  6675. "backgroundImage": "url(/img/icon/doc.png)"
  6676. },
  6677. "name": "协同文档",
  6678. "forms": _formdiv,
  6679. "click": function () {
  6680. U.MD.D.I.openApplication(str, obj, info);
  6681. }
  6682. }
  6683. break;
  6684. }
  6685. const script1 = document.createElement("script");
  6686. script1.type = "text/javascript";
  6687. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6688. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6689. const script2 = document.createElement("script");
  6690. script2.type = "text/javascript";
  6691. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6692. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6693. const script3 = document.createElement("script");
  6694. script3.type = "text/javascript";
  6695. script3.charset = "UTF-8";
  6696. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6697. const script4 = document.createElement("script");
  6698. script4.type = "text/javascript";
  6699. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6700. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6701. if (_iframe) {
  6702. if (str == 'doc') {
  6703. _iframe = _formdiv.querySelector('iframe')
  6704. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6705. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6706. _iframe.contentWindow.document.body.appendChild(script1);
  6707. _iframe.contentWindow.document.body.appendChild(script2);
  6708. // _iframe.contentWindow.document.body.appendChild(script3);
  6709. _iframe.contentWindow.document.body.appendChild(script4);
  6710. })
  6711. if (onloadListener) {
  6712. _iframe.contentDocument.location.reload()
  6713. } else {
  6714. _iframe.contentDocument.location.reload()
  6715. }
  6716. } else if (str == 'mind') {
  6717. _iframe = _formdiv.querySelector('iframe')
  6718. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6719. _iframe.contentWindow.document.body.appendChild(script1);
  6720. _iframe.contentWindow.document.body.appendChild(script2);
  6721. _iframe.contentWindow.document.body.appendChild(script4);
  6722. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6723. })
  6724. if (onloadListener) {
  6725. _iframe.contentDocument.location.reload()
  6726. } else {
  6727. _iframe.contentDocument.location.reload()
  6728. }
  6729. } else {
  6730. _iframe.onload = () => {
  6731. _iframe.contentWindow.document.body.appendChild(script1);
  6732. _iframe.contentWindow.document.body.appendChild(script2);
  6733. // _iframe.contentWindow.document.body.appendChild(script3);
  6734. _iframe.contentWindow.document.body.appendChild(script4);
  6735. };
  6736. }
  6737. _jie.onclick = async () => {
  6738. let text = ''
  6739. if (aTool == 6) {
  6740. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6741. } else if (aTool == 3) {
  6742. text = await U.MD.D.I.getEditorContent(_iframe);
  6743. }
  6744. _loading.style.display = 'flex'
  6745. console.log(_loading);
  6746. var _ajs = _iframe.contentWindow.document.createElement("script");
  6747. _ajs.type = "text/javascript";
  6748. _ajs.innerHTML =
  6749. // 'console.log(' + _loading + ');\n' +
  6750. 'var _js = document.createElement("script");\n' +
  6751. '_js.type="text/javascript";\n' +
  6752. '_js.charset="UTF-8";\n' +
  6753. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6754. "_js.onload = function(){\n" +
  6755. ' var a = document.getElementsByTagName("img")\n' +
  6756. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6757. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6758. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6759. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6760. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6761. "beforeUpload_shishi(file," +
  6762. "'" +
  6763. _userid +
  6764. "'" +
  6765. ", " +
  6766. "'" +
  6767. _cid +
  6768. "'" +
  6769. ", " +
  6770. "'" +
  6771. _stage +
  6772. "'" +
  6773. ", " +
  6774. "'" +
  6775. _task +
  6776. "'" +
  6777. ", " +
  6778. "'" +
  6779. _tool +
  6780. "'" +
  6781. ", " +
  6782. "'" +
  6783. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6784. "'" +
  6785. ", " +
  6786. "'" +
  6787. aTool +
  6788. "'" +
  6789. ", " +
  6790. "`" +
  6791. text +
  6792. "`" +
  6793. ")\n" +
  6794. " });\n" +
  6795. "}\n" +
  6796. "document.head.appendChild(_js);\n";
  6797. _iframe.contentWindow.document.head.appendChild(_ajs);
  6798. }
  6799. }
  6800. //U.MD.D.I.openClick(str);
  6801. //如果有任务栏信息
  6802. // if (_taskbar) {
  6803. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6804. // }
  6805. }
  6806. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  6807. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6808. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6809. _userinfo = US.userInfo, //登录用户信息
  6810. _userid = US.userInfo.userid //登录用户id
  6811. let _iframe;
  6812. let _cid = cid,
  6813. _stage = stage,
  6814. _task = task,
  6815. _tool = tool;
  6816. var _jie = $$("div", {
  6817. "style": {
  6818. "position": "absolute",
  6819. "bottom": "50px",
  6820. "right": "50px",
  6821. "zIndex": "9999",
  6822. "backgroundColor": "#2268bc",
  6823. "color": "#fff",
  6824. "padding": "12px 20px",
  6825. "cursor": "pointer",
  6826. "borderRadius": "4px",
  6827. },
  6828. "innerHTML": "确认并提交"
  6829. })
  6830. let aTool = ''
  6831. let _loading = document.createElement('div')
  6832. _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;"
  6833. // _loading.id = "";
  6834. let _lchild = document.createElement('div')
  6835. let _limg = document.createElement('img')
  6836. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6837. _limg.style = "width: 26px;margin-right: 10px;"
  6838. _lchild.appendChild(_limg)
  6839. let _lspan = document.createElement('span')
  6840. _lspan.innerHTML = "上传中..."
  6841. _lchild.appendChild(_lspan)
  6842. _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%);"
  6843. _loading.appendChild(_lchild)
  6844. var _box = $$('div', {
  6845. "style": {
  6846. "position": "relative",
  6847. "width": "100%",
  6848. "height": "100%",
  6849. },
  6850. })
  6851. _box.appendChild(_loading)
  6852. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6853. switch (str) {
  6854. case "whiteboard":
  6855. aTool = 1;
  6856. _iframe = $$("iframe", {
  6857. "frameborder": "no",
  6858. "border": "0",
  6859. "scrolling ": "no",
  6860. "style": {
  6861. "cssText": "border:0;width:100%;height:100%"
  6862. },
  6863. "src": "https://iwb.cocorobo.cn/"
  6864. })
  6865. _box.appendChild(_iframe);
  6866. _box.appendChild(_jie);
  6867. _formdiv = new U.UF.UI.form(
  6868. "电子白板",
  6869. _box, {
  6870. "id": "whiteboards" + cid + stage + task + tool,
  6871. "style": {
  6872. "width": "90%",
  6873. "height": "90%",
  6874. "overflow": 'hidden'
  6875. },
  6876. "onresize": function () { }
  6877. }, {
  6878. closecallback: function () { }
  6879. }, {
  6880. "style": {
  6881. "height": "36px"
  6882. }
  6883. }).form; //创建窗体
  6884. _taskbar = {
  6885. "id": str + _formdiv.id,
  6886. "style": {
  6887. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6888. },
  6889. "name": "电子白板",
  6890. "forms": _formdiv,
  6891. "click": function () {
  6892. U.MD.D.I.openApplication(str, obj, info);
  6893. }
  6894. }
  6895. break;
  6896. case "mind":
  6897. aTool = 3;
  6898. _iframe = $$("iframe", {
  6899. "frameborder": "no",
  6900. "border": "0",
  6901. "scrolling ": "no",
  6902. "style": {
  6903. "cssText": "border:0;width:100%;height:100%"
  6904. },
  6905. "src": "/kityminder-editor/dist/index.html"
  6906. });
  6907. _box.appendChild(_iframe);
  6908. _box.appendChild(_jie);
  6909. _formdiv = new U.UF.UI.form(
  6910. "思维导图",
  6911. _box, { //"/jsmind/example/demo.html"
  6912. "id": "minds" + cid + stage + task + tool,
  6913. "style": {
  6914. "width": "90%",
  6915. "height": "90%",
  6916. "overflow": 'hidden'
  6917. },
  6918. "onresize": function () { }
  6919. }, {
  6920. closecallback: function () { }
  6921. }, {
  6922. "style": {
  6923. "height": "36px"
  6924. }
  6925. }).form; //创建窗体
  6926. _taskbar = {
  6927. "id": str + _formdiv.id,
  6928. "style": {
  6929. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6930. },
  6931. "name": "思维导图",
  6932. "forms": _formdiv,
  6933. "click": function () {
  6934. U.MD.D.I.openApplication(str, obj, info);
  6935. }
  6936. }
  6937. break;
  6938. case "doc":
  6939. aTool = 6;
  6940. _iframe = $$("iframe", {
  6941. "frameborder": "no",
  6942. "border": "0",
  6943. "scrolling ": "no",
  6944. "style": {
  6945. "cssText": "border:0;width:100%;height:100%"
  6946. },
  6947. "src": "/Office/Word/WordEditArea.htm"
  6948. })
  6949. _box.appendChild(_iframe);
  6950. _box.appendChild(_jie);
  6951. _formdiv = new U.UF.UI.form(
  6952. "协同文档",
  6953. _box, {
  6954. "id": "docs" + cid + stage + task + tool,
  6955. "style": {
  6956. "width": "90%",
  6957. "height": "90%",
  6958. "overflow": 'hidden'
  6959. },
  6960. "onresize": function () { }
  6961. }, {
  6962. closecallback: function () { }
  6963. }, {
  6964. "style": {
  6965. "height": "36px"
  6966. }
  6967. }).form; //创建窗体
  6968. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6969. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6970. })
  6971. _taskbar = {
  6972. "id": str + _formdiv.id,
  6973. "style": {
  6974. "backgroundImage": "url(/img/icon/doc.png)"
  6975. },
  6976. "name": "协同文档",
  6977. "forms": _formdiv,
  6978. "click": function () {
  6979. U.MD.D.I.openApplication(str, obj, info);
  6980. }
  6981. }
  6982. break;
  6983. }
  6984. const script1 = document.createElement("script");
  6985. script1.type = "text/javascript";
  6986. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6987. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6988. const script2 = document.createElement("script");
  6989. script2.type = "text/javascript";
  6990. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6991. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6992. const script3 = document.createElement("script");
  6993. script3.type = "text/javascript";
  6994. script3.charset = "UTF-8";
  6995. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6996. const script4 = document.createElement("script");
  6997. script4.type = "text/javascript";
  6998. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6999. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7000. if (_iframe) {
  7001. if (str == 'doc') {
  7002. _iframe = _formdiv.querySelector('iframe')
  7003. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7004. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7005. _iframe.contentWindow.document.body.appendChild(script1);
  7006. _iframe.contentWindow.document.body.appendChild(script2);
  7007. // _iframe.contentWindow.document.body.appendChild(script3);
  7008. _iframe.contentWindow.document.body.appendChild(script4);
  7009. })
  7010. if (onloadListener) {
  7011. _iframe.contentDocument.location.reload()
  7012. } else {
  7013. _iframe.contentDocument.location.reload()
  7014. }
  7015. } else if (str == 'mind') {
  7016. _iframe = _formdiv.querySelector('iframe')
  7017. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7018. _iframe.contentWindow.document.body.appendChild(script1);
  7019. _iframe.contentWindow.document.body.appendChild(script2);
  7020. _iframe.contentWindow.document.body.appendChild(script4);
  7021. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7022. })
  7023. if (onloadListener) {
  7024. _iframe.contentDocument.location.reload()
  7025. } else {
  7026. _iframe.contentDocument.location.reload()
  7027. }
  7028. } else {
  7029. _iframe.onload = () => {
  7030. _iframe.contentWindow.document.body.appendChild(script1);
  7031. _iframe.contentWindow.document.body.appendChild(script2);
  7032. // _iframe.contentWindow.document.body.appendChild(script3);
  7033. _iframe.contentWindow.document.body.appendChild(script4);
  7034. };
  7035. }
  7036. _jie.onclick = async () => {
  7037. let text = ''
  7038. if (aTool == 6) {
  7039. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7040. } else if (aTool == 3) {
  7041. text = await U.MD.D.I.getEditorContent(_iframe);
  7042. }
  7043. _loading.style.display = 'flex'
  7044. console.log(_loading);
  7045. var _ajs = _iframe.contentWindow.document.createElement("script");
  7046. _ajs.type = "text/javascript";
  7047. _ajs.innerHTML =
  7048. // 'console.log(' + _loading + ');\n' +
  7049. 'var _js = document.createElement("script");\n' +
  7050. '_js.type="text/javascript";\n' +
  7051. '_js.charset="UTF-8";\n' +
  7052. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7053. "_js.onload = function(){\n" +
  7054. ' var a = document.getElementsByTagName("img")\n' +
  7055. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7056. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7057. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7058. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7059. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7060. "beforeUpload_shishi(file," +
  7061. "'" +
  7062. _userid +
  7063. "'" +
  7064. ", " +
  7065. "'" +
  7066. _cid +
  7067. "'" +
  7068. ", " +
  7069. "'" +
  7070. _stage +
  7071. "'" +
  7072. ", " +
  7073. "'" +
  7074. _task +
  7075. "'" +
  7076. ", " +
  7077. "'" +
  7078. _tool +
  7079. "'" +
  7080. ", " +
  7081. "'" +
  7082. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7083. "'" +
  7084. ", " +
  7085. "'" +
  7086. aTool +
  7087. "'" +
  7088. ", " +
  7089. "`" +
  7090. text +
  7091. "`" +
  7092. ")\n" +
  7093. " });\n" +
  7094. "}\n" +
  7095. "document.head.appendChild(_js);\n";
  7096. _iframe.contentWindow.document.head.appendChild(_ajs);
  7097. }
  7098. }
  7099. //U.MD.D.I.openClick(str);
  7100. //如果有任务栏信息
  7101. // if (_taskbar) {
  7102. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7103. // }
  7104. }
  7105. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7106. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7107. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7108. _userinfo = US.userInfo, //登录用户信息
  7109. _userid = US.userInfo.userid //登录用户id
  7110. let _iframe;
  7111. let _cid = cid,
  7112. _stage = stage,
  7113. _task = task,
  7114. _tool = tool;
  7115. var _jie = $$("div", {
  7116. "style": {
  7117. "position": "absolute",
  7118. "bottom": "50px",
  7119. "right": "50px",
  7120. "zIndex": "9999",
  7121. "backgroundColor": "#2268bc",
  7122. "color": "#fff",
  7123. "padding": "12px 20px",
  7124. "cursor": "pointer",
  7125. "borderRadius": "4px",
  7126. },
  7127. "innerHTML": "上传模板"
  7128. })
  7129. let aTool = ''
  7130. let _loading = document.createElement('div')
  7131. _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;"
  7132. // _loading.id = "";
  7133. let _lchild = document.createElement('div')
  7134. let _limg = document.createElement('img')
  7135. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7136. _limg.style = "width: 26px;margin-right: 10px;"
  7137. _lchild.appendChild(_limg)
  7138. let _lspan = document.createElement('span')
  7139. _lspan.innerHTML = "上传中..."
  7140. _lchild.appendChild(_lspan)
  7141. _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%);"
  7142. _loading.appendChild(_lchild)
  7143. var _box = $$('div', {
  7144. "style": {
  7145. "position": "relative",
  7146. "width": "100%",
  7147. "height": "100%",
  7148. },
  7149. })
  7150. _box.appendChild(_loading)
  7151. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7152. switch (str) {
  7153. case "whiteboard":
  7154. aTool = 1;
  7155. _iframe = $$("iframe", {
  7156. "frameborder": "no",
  7157. "border": "0",
  7158. "scrolling ": "no",
  7159. "style": {
  7160. "cssText": "border:0;width:100%;height:100%"
  7161. },
  7162. "src": "https://iwb.cocorobo.cn/"
  7163. })
  7164. _box.appendChild(_iframe);
  7165. _box.appendChild(_jie);
  7166. _formdiv = new U.UF.UI.form(
  7167. "电子白板",
  7168. _box, {
  7169. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7170. "style": {
  7171. "width": "90%",
  7172. "height": "90%",
  7173. "overflow": 'hidden'
  7174. },
  7175. "onresize": function () { }
  7176. }, {
  7177. closecallback: function () { }
  7178. }, {
  7179. "style": {
  7180. "height": "36px"
  7181. }
  7182. }).form; //创建窗体
  7183. _taskbar = {
  7184. "id": str + _formdiv.id,
  7185. "style": {
  7186. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7187. },
  7188. "name": "电子白板",
  7189. "forms": _formdiv,
  7190. "click": function () {
  7191. U.MD.D.I.openApplication(str, obj, info);
  7192. }
  7193. }
  7194. break;
  7195. case "mind":
  7196. aTool = 3;
  7197. _iframe = $$("iframe", {
  7198. "frameborder": "no",
  7199. "border": "0",
  7200. "scrolling ": "no",
  7201. "style": {
  7202. "cssText": "border:0;width:100%;height:100%"
  7203. },
  7204. "src": "/kityminder-editor/dist/index.html"
  7205. });
  7206. _box.appendChild(_iframe);
  7207. _box.appendChild(_jie);
  7208. _formdiv = new U.UF.UI.form(
  7209. "思维导图",
  7210. _box, { //"/jsmind/example/demo.html"
  7211. "id": "minds_Yu" + cid + stage + task + tool,
  7212. "style": {
  7213. "width": "90%",
  7214. "height": "90%",
  7215. "overflow": 'hidden'
  7216. },
  7217. "onresize": function () { }
  7218. }, {
  7219. closecallback: function () { }
  7220. }, {
  7221. "style": {
  7222. "height": "36px"
  7223. }
  7224. }).form; //创建窗体
  7225. _taskbar = {
  7226. "id": str + _formdiv.id,
  7227. "style": {
  7228. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7229. },
  7230. "name": "思维导图",
  7231. "forms": _formdiv,
  7232. "click": function () {
  7233. U.MD.D.I.openApplication(str, obj, info);
  7234. }
  7235. }
  7236. break;
  7237. case "doc":
  7238. aTool = 6;
  7239. _iframe = $$("iframe", {
  7240. "frameborder": "no",
  7241. "border": "0",
  7242. "scrolling ": "no",
  7243. "style": {
  7244. "cssText": "border:0;width:100%;height:100%"
  7245. },
  7246. "src": "/Office/Word/WordEditArea.htm"
  7247. })
  7248. _box.appendChild(_iframe);
  7249. _box.appendChild(_jie);
  7250. _formdiv = new U.UF.UI.form(
  7251. "协同文档",
  7252. _box, {
  7253. "id": "docs_Yu" + cid + stage + task + tool,
  7254. "style": {
  7255. "width": "90%",
  7256. "height": "90%",
  7257. "overflow": 'hidden'
  7258. },
  7259. "onresize": function () { }
  7260. }, {
  7261. closecallback: function () { }
  7262. }, {
  7263. "style": {
  7264. "height": "36px"
  7265. }
  7266. }).form; //创建窗体
  7267. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7268. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7269. })
  7270. _taskbar = {
  7271. "id": str + _formdiv.id,
  7272. "style": {
  7273. "backgroundImage": "url(/img/icon/doc.png)"
  7274. },
  7275. "name": "协同文档",
  7276. "forms": _formdiv,
  7277. "click": function () {
  7278. U.MD.D.I.openApplication(str, obj, info);
  7279. }
  7280. }
  7281. break;
  7282. case "CocoPi":
  7283. aTool = 57;
  7284. _iframe = $$("iframe", {
  7285. "allowpaymentrequest": "allowpaymentrequest",
  7286. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7287. "webkitallowfullscreen": "",
  7288. "mozallowfullscreen": "",
  7289. "frameborder": "no",
  7290. "border": "0",
  7291. "scrolling ": "no",
  7292. "style": {
  7293. "cssText": "border:0;width:100%;height:100%"
  7294. },
  7295. "src": "https://pi.cocorobo.cn/"
  7296. })
  7297. _box.appendChild(_iframe);
  7298. _box.appendChild(_jie);
  7299. _formdiv = new U.UF.UI.form(
  7300. "CocoPi",
  7301. _box, {
  7302. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7303. "style": {
  7304. "width": "90%",
  7305. "height": "90%",
  7306. "overflow": 'hidden'
  7307. },
  7308. "onresize": function () { }
  7309. }, {
  7310. closecallback: function () { }
  7311. }, {
  7312. "style": {
  7313. "height": "36px"
  7314. }
  7315. }).form; //创建窗体
  7316. _taskbar = {
  7317. "id": str + _formdiv.id,
  7318. "style": {
  7319. "backgroundImage": "url(/img/icon/cocopi.png)"
  7320. },
  7321. "name": "CocoPi",
  7322. "forms": _formdiv,
  7323. "click": function () {
  7324. U.MD.D.I.openApplication(str, obj, info);
  7325. }
  7326. }
  7327. break;
  7328. }
  7329. if (_iframe) {
  7330. if (str == 'doc') {
  7331. _iframe = _formdiv.querySelector('iframe')
  7332. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7333. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7334. })
  7335. if (onloadListener) {
  7336. _iframe.contentDocument.location.reload()
  7337. } else {
  7338. _iframe.contentDocument.location.reload()
  7339. }
  7340. } else if (str == 'mind') {
  7341. _iframe = _formdiv.querySelector('iframe')
  7342. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7343. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7344. })
  7345. if (onloadListener) {
  7346. _iframe.contentDocument.location.reload()
  7347. } else {
  7348. _iframe.contentDocument.location.reload()
  7349. }
  7350. } else if (str == 'whiteboard') {
  7351. _iframe = _formdiv.querySelector('iframe')
  7352. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7353. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7354. })
  7355. if (onloadListener) {
  7356. _iframe.contentDocument.location.reload()
  7357. } else {
  7358. _iframe.contentDocument.location.reload()
  7359. }
  7360. } else if (str == 'CocoPi') {
  7361. _iframe = _formdiv.querySelector('iframe')
  7362. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7363. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7364. })
  7365. if (onloadListener) {
  7366. _iframe.contentDocument.location.reload()
  7367. } else {
  7368. _iframe.contentDocument.location.reload()
  7369. }
  7370. } else {
  7371. _iframe.onload = () => { };
  7372. }
  7373. _jie.onclick = async () => {
  7374. let text = ''
  7375. let type = '2'
  7376. if (aTool == 1) {
  7377. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7378. type = '3'
  7379. } else if (aTool == 6) {
  7380. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7381. type = '1'
  7382. } else if (aTool == 3) {
  7383. text = await U.MD.D.I.getEditorContent(_iframe);
  7384. type = '2'
  7385. } else if (aTool == 57) {
  7386. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7387. type = '4'
  7388. }
  7389. _loading.style.display = 'flex'
  7390. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7391. }
  7392. }
  7393. //U.MD.D.I.openClick(str);
  7394. //如果有任务栏信息
  7395. // if (_taskbar) {
  7396. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7397. // }
  7398. }
  7399. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7400. var xmlhttp;
  7401. var Mac, Sn, DeviceId
  7402. if (window.XMLHttpRequest) {
  7403. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7404. xmlhttp = new XMLHttpRequest();
  7405. } else {
  7406. // IE6, IE5 浏览器执行代码
  7407. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7408. }
  7409. xmlhttp.onreadystatechange = function () {
  7410. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7411. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7412. // resolve(res.value[0][0].text);
  7413. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7414. }
  7415. }
  7416. }
  7417. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7418. xmlhttp.send();
  7419. }
  7420. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7421. var xmlhttp;
  7422. var Mac, Sn, DeviceId
  7423. if (window.XMLHttpRequest) {
  7424. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7425. xmlhttp = new XMLHttpRequest();
  7426. } else {
  7427. // IE6, IE5 浏览器执行代码
  7428. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7429. }
  7430. xmlhttp.onreadystatechange = function () {
  7431. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7432. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7433. // resolve(res.value[0][0].text);
  7434. if (type == '2') {
  7435. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7436. } else if (type == '3') {
  7437. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7438. } else if (type == '4') {
  7439. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7440. }
  7441. } else {
  7442. if (type == '2') {
  7443. iframe.contentWindow.editor.minder.importData('json', '')
  7444. } else if (type == '3') {
  7445. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7446. } else if (type == '4') {
  7447. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7448. }
  7449. }
  7450. }
  7451. }
  7452. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7453. xmlhttp.send();
  7454. }
  7455. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7456. var xmlhttp;
  7457. var Mac, Sn, DeviceId
  7458. if (window.XMLHttpRequest) {
  7459. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7460. xmlhttp = new XMLHttpRequest();
  7461. } else {
  7462. // IE6, IE5 浏览器执行代码
  7463. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7464. }
  7465. xmlhttp.onreadystatechange = function () {
  7466. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7467. if (xmlhttp.response) {
  7468. // resolve(res.value[0][0].text);
  7469. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7470. // $(fileInput).val('');
  7471. // });
  7472. span.innerHTML = '上传成功'
  7473. setTimeout(() => {
  7474. loading.style.display = 'none'
  7475. }, 1000);
  7476. }
  7477. }
  7478. }
  7479. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7480. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7481. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7482. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7483. // 设置请求头,表示请求体的编码格式
  7484. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7485. // 设置请求体,使用url-encoded格式的数据
  7486. }
  7487. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7488. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7489. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7490. _userinfo = US.userInfo, //登录用户信息
  7491. _userid = US.userInfo.userid //登录用户id
  7492. let _iframe;
  7493. let _cid = cid,
  7494. _stage = stage,
  7495. _task = task,
  7496. _tool = tool;
  7497. var _jie = $$("div", {
  7498. "style": {
  7499. "position": "absolute",
  7500. "bottom": "50px",
  7501. "right": "50px",
  7502. "zIndex": "9999",
  7503. "backgroundColor": "#2268bc",
  7504. "color": "#fff",
  7505. "padding": "12px 20px",
  7506. "cursor": "pointer",
  7507. "borderRadius": "4px",
  7508. },
  7509. "innerHTML": "提交作业"
  7510. })
  7511. let aTool = ''
  7512. let _loading = document.createElement('div')
  7513. _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;"
  7514. // _loading.id = "";
  7515. let _lchild = document.createElement('div')
  7516. let _limg = document.createElement('img')
  7517. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7518. _limg.style = "width: 26px;margin-right: 10px;"
  7519. _lchild.appendChild(_limg)
  7520. let _lspan = document.createElement('span')
  7521. _lspan.innerHTML = "上传中..."
  7522. _lchild.appendChild(_lspan)
  7523. _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%);"
  7524. _loading.appendChild(_lchild)
  7525. var _box = $$('div', {
  7526. "style": {
  7527. "position": "relative",
  7528. "width": "100%",
  7529. "height": "100%",
  7530. },
  7531. })
  7532. _box.appendChild(_loading)
  7533. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7534. switch (str) {
  7535. case "CocoPi":
  7536. aTool = 57;
  7537. _iframe = $$("iframe", {
  7538. "allowpaymentrequest": "allowpaymentrequest",
  7539. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7540. "webkitallowfullscreen": "",
  7541. "mozallowfullscreen": "",
  7542. "frameborder": "no",
  7543. "border": "0",
  7544. "scrolling ": "no",
  7545. "style": {
  7546. "cssText": "border:0;width:100%;height:100%"
  7547. },
  7548. "src": "https://pi.cocorobo.cn/"
  7549. })
  7550. _box.appendChild(_iframe);
  7551. _box.appendChild(_jie);
  7552. _formdiv = new U.UF.UI.form(
  7553. "CocoPi",
  7554. _box, {
  7555. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7556. "style": {
  7557. "width": "90%",
  7558. "height": "90%",
  7559. "overflow": 'hidden'
  7560. },
  7561. "onresize": function () { }
  7562. }, {
  7563. closecallback: function () { }
  7564. }, {
  7565. "style": {
  7566. "height": "36px"
  7567. }
  7568. }).form; //创建窗体
  7569. _taskbar = {
  7570. "id": str + _formdiv.id,
  7571. "style": {
  7572. "backgroundImage": "url(/img/icon/cocopi.png)"
  7573. },
  7574. "name": "CocoPi",
  7575. "forms": _formdiv,
  7576. "click": function () {
  7577. U.MD.D.I.openApplication(str, obj, info);
  7578. }
  7579. }
  7580. break;
  7581. }
  7582. if (_iframe) {
  7583. if (str == 'CocoPi') {
  7584. _iframe = _formdiv.querySelector('iframe')
  7585. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7586. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7587. })
  7588. if (onloadListener) {
  7589. _iframe.contentDocument.location.reload()
  7590. } else {
  7591. _iframe.contentDocument.location.reload()
  7592. }
  7593. }
  7594. _jie.onclick = async () => {
  7595. let text = ''
  7596. if (aTool == 57) {
  7597. text = _iframe.contentWindow.getLoadXmlStr()
  7598. }
  7599. _loading.style.display = 'flex'
  7600. console.log(_loading);
  7601. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7602. _loading.style.display = 'none'
  7603. let _div = document.createElement('div')
  7604. _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;"
  7605. let _inner = document.createElement('div')
  7606. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7607. _inner.innerHTML = "上传成功"
  7608. _div.appendChild(_inner)
  7609. _iframe.contentWindow.window.document.body.appendChild(_div)
  7610. _div.onclick = () => {
  7611. _iframe.contentWindow.window.document.body.removeChild(_div)
  7612. }
  7613. setTimeout(() => {
  7614. _iframe.contentWindow.window.document.body.removeChild(_div)
  7615. }, 1000);
  7616. }, [], { "type": "POST", "withCredentials": true });
  7617. }
  7618. }
  7619. }
  7620. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7621. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7622. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7623. _userid = student.userid, //登录用户id
  7624. _username = student.student //用户名字
  7625. let _iframe;
  7626. let _cid = cid,
  7627. _stage = stage,
  7628. _task = task,
  7629. _tool = tool;
  7630. var _jie = $$("div", {
  7631. "style": {
  7632. "position": "absolute",
  7633. "bottom": "50px",
  7634. "right": "50px",
  7635. "zIndex": "9999",
  7636. "backgroundColor": "#2268bc",
  7637. "color": "#fff",
  7638. "padding": "12px 20px",
  7639. "cursor": "pointer",
  7640. "borderRadius": "4px",
  7641. },
  7642. "innerHTML": "提交作业"
  7643. })
  7644. let aTool = ''
  7645. let _loading = document.createElement('div')
  7646. _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;"
  7647. // _loading.id = "";
  7648. let _lchild = document.createElement('div')
  7649. let _limg = document.createElement('img')
  7650. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7651. _limg.style = "width: 26px;margin-right: 10px;"
  7652. _lchild.appendChild(_limg)
  7653. let _lspan = document.createElement('span')
  7654. _lspan.innerHTML = "上传中..."
  7655. _lchild.appendChild(_lspan)
  7656. _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%);"
  7657. _loading.appendChild(_lchild)
  7658. var _box = $$('div', {
  7659. "style": {
  7660. "position": "relative",
  7661. "width": "100%",
  7662. "height": "100%",
  7663. },
  7664. })
  7665. _box.appendChild(_loading)
  7666. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7667. switch (str) {
  7668. case "CocoPi":
  7669. aTool = 57;
  7670. _iframe = $$("iframe", {
  7671. "allowpaymentrequest": "allowpaymentrequest",
  7672. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7673. "webkitallowfullscreen": "",
  7674. "mozallowfullscreen": "",
  7675. "frameborder": "no",
  7676. "border": "0",
  7677. "scrolling ": "no",
  7678. "style": {
  7679. "cssText": "border:0;width:100%;height:100%"
  7680. },
  7681. "src": "https://pi.cocorobo.cn/"
  7682. })
  7683. _box.appendChild(_iframe);
  7684. _box.appendChild(_jie);
  7685. _formdiv = new U.UF.UI.form(
  7686. "CocoPi-" + _username,
  7687. _box, {
  7688. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7689. "style": {
  7690. "width": "90%",
  7691. "height": "90%",
  7692. "overflow": 'hidden'
  7693. },
  7694. "onresize": function () { }
  7695. }, {
  7696. closecallback: function () { }
  7697. }, {
  7698. "style": {
  7699. "height": "36px"
  7700. }
  7701. }).form; //创建窗体
  7702. _taskbar = {
  7703. "id": str + _formdiv.id,
  7704. "style": {
  7705. "backgroundImage": "url(/img/icon/cocopi.png)"
  7706. },
  7707. "name": "CocoPi",
  7708. "forms": _formdiv,
  7709. "click": function () {
  7710. U.MD.D.I.openApplication(str, obj, info);
  7711. }
  7712. }
  7713. break;
  7714. }
  7715. if (_iframe) {
  7716. if (str == 'CocoPi') {
  7717. _iframe = _formdiv.querySelector('iframe')
  7718. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7719. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7720. })
  7721. if (onloadListener) {
  7722. _iframe.contentDocument.location.reload()
  7723. } else {
  7724. _iframe.contentDocument.location.reload()
  7725. }
  7726. }
  7727. _jie.onclick = async () => {
  7728. let text = ''
  7729. if (aTool == 57) {
  7730. text = _iframe.contentWindow.getLoadXmlStr()
  7731. }
  7732. _loading.style.display = 'flex'
  7733. console.log(_loading);
  7734. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7735. _loading.style.display = 'none'
  7736. let _div = document.createElement('div')
  7737. _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;"
  7738. let _inner = document.createElement('div')
  7739. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7740. _inner.innerHTML = "上传成功"
  7741. _div.appendChild(_inner)
  7742. _iframe.contentWindow.window.document.body.appendChild(_div)
  7743. _div.onclick = () => {
  7744. _iframe.contentWindow.window.document.body.removeChild(_div)
  7745. }
  7746. setTimeout(() => {
  7747. _iframe.contentWindow.window.document.body.removeChild(_div)
  7748. }, 1000);
  7749. }, [], { "type": "POST", "withCredentials": true });
  7750. }
  7751. }
  7752. }
  7753. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7754. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7755. if (res.value[0].length > 0) {
  7756. if (atool == 57) {
  7757. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7758. }
  7759. } else {
  7760. if (atool == 57) {
  7761. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7762. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7763. }
  7764. }
  7765. }, [], { "type": "POST", "withCredentials": true });
  7766. }