DeskTop.js 465 KB

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