DeskTop.js 499 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  51. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  52. ];
  53. //极简模式
  54. U.MD.D.I.easyDeskIcon = [
  55. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  57. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  58. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  59. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  60. ];
  61. //教师桌面图标的全局变量
  62. U.MD.D.I.teacherDeskIcon2 = [
  63. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  64. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  65. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  66. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  67. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  68. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  69. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  70. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  71. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  72. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  73. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  74. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  75. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  76. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  77. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  78. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  79. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  80. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  81. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  82. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  83. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  84. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  85. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  86. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  87. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  88. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  89. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  90. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  91. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  92. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  93. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  94. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  95. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  96. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  97. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  98. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  99. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  100. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  101. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  102. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  103. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  104. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  105. ];
  106. U.MD.D.I.studentDeskIcon = [
  107. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  108. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  109. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  110. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  111. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  112. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  113. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  114. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  115. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  116. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  117. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  118. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  119. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  120. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  121. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  122. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  123. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  124. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  125. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  126. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  127. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  128. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  129. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  130. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  131. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  132. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  133. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  134. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  135. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  136. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  137. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  138. ];
  139. U.MD.D.I.studentDeskIcon2 = [
  140. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  141. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  142. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  143. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  144. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  145. ]
  146. U.MD.D.I.studentDeskIcon3 = [
  147. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  148. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  149. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  150. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  151. ]
  152. U.MD.D.I.schoolDeskIcon = [
  153. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  154. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  155. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  156. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  157. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  158. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  159. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  160. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  161. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  162. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  163. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  164. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  165. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  166. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  167. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  168. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  169. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  170. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  171. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  172. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  173. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  174. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  175. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  176. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  177. ];
  178. U.MD.D.I.orgDeskIcon = [
  179. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  180. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  181. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  182. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  183. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  184. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  185. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  186. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  187. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  188. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  189. { "Name": "案例征集", "Url": "ytpbl", "style": { "cssText": "background-image:url(/img/icon/gpbl2.png)" } },
  190. ];
  191. U.MD.D.I.orgStemDeskIcon = [
  192. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  193. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  194. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  195. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  196. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  197. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  198. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  199. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  200. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  201. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  202. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  203. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  204. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  205. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  206. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  207. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  208. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  209. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  210. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  211. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  212. ];
  213. U.MD.D.I.szulsDeskIcon = [
  214. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  215. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  216. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  217. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  218. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  219. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  220. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  221. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  222. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  223. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  224. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  225. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  226. ];
  227. U.MD.D.I.hanDeskIcon = [
  228. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  229. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  230. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  231. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  232. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  233. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  234. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  235. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  236. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  237. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  238. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  239. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  240. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  241. ];
  242. U.MD.D.I.GMteacherDeskIcon = [
  243. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  244. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  245. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  246. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  247. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  248. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  249. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  250. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  251. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  252. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  253. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  254. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  255. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  256. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  257. ];
  258. U.MD.D.I.GMstudentDeskIcon = [
  259. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  260. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  261. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  262. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  263. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  264. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  265. ];
  266. //北师大
  267. U.MD.D.I.BSDNSteacherDeskIcon = [
  268. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  269. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  270. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  271. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  272. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  273. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  274. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  275. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  276. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  277. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  278. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  279. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  280. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  281. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  282. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  283. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  284. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  285. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  286. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  287. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  288. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  289. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  290. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  291. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  292. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  293. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  294. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  295. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  296. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  297. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  298. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  299. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  300. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  301. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  302. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  303. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  304. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  305. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  306. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  307. ];
  308. //松山湖
  309. U.MD.D.I.SONGteacherDeskIcon = [
  310. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  311. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  312. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  313. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  314. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  315. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  316. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  317. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  318. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  319. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  320. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  321. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  322. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  323. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  324. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  325. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  326. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  327. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  328. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  329. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  330. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  331. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  332. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  333. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  334. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  335. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  336. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  337. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  338. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  339. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  340. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  341. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  342. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  343. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  344. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  345. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  346. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  347. ];
  348. U.MD.D.I.tcStudentDeskIcon = [
  349. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  350. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  351. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  352. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  353. ];
  354. U.MD.D.I.tcTeacherDeskIcon = [
  355. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  356. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  357. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  358. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  359. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  360. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  361. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  362. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  363. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  364. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  365. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  366. ];
  367. U.MD.D.I.tcOrganizerDeskIcon = [
  368. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  369. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  370. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  371. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  372. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  373. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  374. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  375. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  376. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  377. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  378. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  379. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  380. ];
  381. U.MD.D.I.szscStudentDeskIcon = [
  382. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  383. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  384. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  385. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  386. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  387. ];
  388. U.MD.D.I.szscTeacherDeskIcon = [
  389. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  390. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  391. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  392. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  393. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  394. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  395. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  396. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  397. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  398. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  399. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  400. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  401. ];
  402. U.MD.D.I.szscOrganizerDeskIcon = [
  403. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  404. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  405. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  406. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  407. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  408. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  409. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  410. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  411. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  412. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  413. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  414. ];
  415. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  416. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  417. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  418. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  419. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  420. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  421. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  422. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  423. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  424. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  425. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  426. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  427. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  428. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  429. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  430. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  431. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  432. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  433. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  434. ];
  435. U.MD.D.I.wankeAdminDeskIcon = [
  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": "PBL项目", "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": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  443. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  444. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  445. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  446. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  447. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  448. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  449. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  450. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  451. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  452. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  453. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  454. ];
  455. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  456. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  457. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  458. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  459. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  460. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  461. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  462. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  463. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  464. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  465. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  466. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  467. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  468. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  469. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  470. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  471. ];
  472. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  473. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  474. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  475. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  476. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  477. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  478. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  479. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  480. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  481. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  482. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  483. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  484. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  485. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  486. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  487. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  488. ];
  489. //明德教师桌面图标的全局变量
  490. U.MD.D.I.MingdeTeacherDeskIcon = [
  491. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  492. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  493. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  494. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  495. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  496. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  497. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  498. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  499. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  500. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  501. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  502. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  503. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  504. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  505. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  506. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  507. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  508. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  509. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  510. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  511. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  512. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  513. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  514. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  515. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  516. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  517. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  518. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  519. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  520. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  521. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  522. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  523. ];
  524. //97c4ee8b-d010-4042-986d-e9d3c217264f
  525. //教师桌面图标的全局变量
  526. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  527. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  528. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  529. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  530. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  531. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  532. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  533. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  534. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  535. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  536. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  537. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  538. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  539. ];
  540. //福田
  541. U.MD.D.I.futianTeacherDeskIcon = [
  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": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  545. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  546. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  547. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  548. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  549. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  550. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  551. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  552. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  553. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  554. ];
  555. //福田
  556. U.MD.D.I.futianAdminDeskIcon = [
  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": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  560. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  561. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  562. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  563. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  564. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  565. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  566. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  567. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  568. ];
  569. //lotech
  570. U.MD.D.I.lotechTeacherDeskIcon = [
  571. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  572. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  573. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  574. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  575. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  576. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  577. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  578. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  579. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  580. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  581. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  582. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  583. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  584. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  585. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  586. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  587. ];
  588. //龙华中心小学教师桌面图标的全局变量
  589. U.MD.D.I.longhuateacherDeskIcon = [
  590. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  591. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  592. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  593. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  594. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  595. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  596. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  597. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  598. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  599. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  600. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  601. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  602. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  603. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  604. ];
  605. //教科院实小教师桌面图标的全局变量
  606. U.MD.D.I.siesteacherDeskIcon = [
  607. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  608. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  609. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  610. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  611. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  612. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  613. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  614. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  615. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  616. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  617. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  618. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  619. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  620. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  621. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  622. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  623. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  624. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  625. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  626. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  627. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  628. { "Name": "评测看板", "Url": "dataBoardTest", "style": { "cssText": "background-image:url(/img/icon/databoardTest.png)" } },
  629. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  630. { "Name": "教师管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  631. { "Name": "教师中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  632. ];
  633. //教科院实小教师桌面图标的全局变量
  634. U.MD.D.I.siesStudentDeskIcon = [
  635. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  636. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  637. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  638. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  639. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  640. ];
  641. //福田
  642. U.MD.D.I.gdjgTeacherDeskIcon = [
  643. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  644. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  645. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  646. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  647. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  648. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  649. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  650. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.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. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  654. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  655. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  656. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  657. ];
  658. //gdjg
  659. U.MD.D.I.gdjgAdminDeskIcon = [
  660. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  661. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  662. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  663. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  664. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  665. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  666. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  667. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  668. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  669. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  670. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  671. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  672. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  673. ];
  674. //hk
  675. U.MD.D.I.hkteacherDeskIcon = [
  676. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  677. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  678. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  679. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  680. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  681. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  682. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  683. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  684. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  685. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  686. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  687. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  688. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  689. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  690. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  691. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  692. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  693. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  694. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  695. ];
  696. //hk
  697. U.MD.D.I.hkStudentDeskIcon = [
  698. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  699. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  700. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  701. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  702. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  703. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  704. ];
  705. //hk
  706. U.MD.D.I.hkaceteacherDeskIcon = [
  707. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  708. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  709. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  710. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  711. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  712. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  713. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  714. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  715. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  716. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  717. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  718. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  719. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  720. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  721. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  722. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  723. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  724. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  725. ];
  726. //hk
  727. U.MD.D.I.hkaceStudentDeskIcon = [
  728. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  729. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  730. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  731. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  732. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  733. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  734. ];
  735. //香海正覺蓮社佛教正覺中學
  736. U.MD.D.I.hkZJLSteacherDeskIcon = [
  737. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  738. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  739. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  740. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  741. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  742. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  743. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  744. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  745. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  746. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  747. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  748. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  749. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  750. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  751. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  752. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  753. ];
  754. //香海正覺蓮社佛教正覺中學
  755. U.MD.D.I.hkZJLSStudentDeskIcon = [
  756. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  757. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  758. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  759. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  760. ];
  761. //云海
  762. U.MD.D.I.yunhaiTeacherDeskIcon = [
  763. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  764. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  765. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  766. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  767. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  768. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  769. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  770. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  771. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  772. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  773. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  774. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  775. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  776. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  777. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  778. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  779. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  780. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  781. ];
  782. //福田
  783. U.MD.D.I.heyuanTeacherDeskIcon = [
  784. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  785. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  786. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  787. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  788. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  789. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  790. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  791. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  792. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  793. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  794. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  795. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  796. ];
  797. //福田
  798. U.MD.D.I.heyuanAdminDeskIcon = [
  799. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  800. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  801. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  802. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  803. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  804. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  805. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  806. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  807. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  808. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  809. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  810. ];
  811. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  812. U.MD.D.I.szherTeacherDeskIcon = [
  813. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  814. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  815. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  816. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  817. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  818. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  819. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  820. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  821. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  822. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  823. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  824. ];
  825. //dsei
  826. U.MD.D.I.dseiTeacherDeskIcon = [
  827. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  828. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  829. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  830. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  831. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  832. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  833. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  834. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  835. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  836. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  837. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  838. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  839. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  840. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  841. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  842. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  843. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  844. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  845. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  846. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  847. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  848. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  849. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  850. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  851. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  852. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  853. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  854. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  855. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  856. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  857. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  858. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  859. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  860. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  861. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  862. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  863. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  864. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  865. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  866. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  867. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  868. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  869. ];
  870. //dsei
  871. U.MD.D.I.dseiAdminDeskIcon = [
  872. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  873. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  874. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  875. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  876. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  877. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  878. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  879. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  880. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  881. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  882. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  883. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  884. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  885. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  886. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  887. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  888. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  889. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  890. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  891. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  892. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  893. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  894. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  895. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  896. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  897. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  898. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  899. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  900. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  901. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  902. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  903. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  904. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  905. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  906. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  907. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  908. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  909. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  910. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  911. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  912. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  913. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  914. ];
  915. //dsei
  916. U.MD.D.I.dseiStudentDeskIcon = [
  917. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  918. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  919. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  920. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  921. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  922. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  923. ];
  924. //未来教育基地
  925. U.MD.D.I.szjkyTeacherDeskIcon = [
  926. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  927. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  928. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  929. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  930. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  931. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  932. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  933. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  934. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  935. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  936. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  937. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  938. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  939. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  940. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  941. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  942. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  943. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  944. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  945. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  946. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  947. ];
  948. //未来教育基地
  949. U.MD.D.I.szjkyAdminDeskIcon = [
  950. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  951. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  952. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  953. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  954. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  955. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  956. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  957. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  958. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  959. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  960. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  961. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  962. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  963. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  964. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  965. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  966. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  967. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  968. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  969. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  970. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  971. ];
  972. //未来教育基地
  973. U.MD.D.I.szjkyStudentDeskIcon = [
  974. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  975. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  976. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  977. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  978. ];
  979. //成华教育局
  980. U.MD.D.I.chjyjTeacherDeskIcon = [
  981. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  982. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  983. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  984. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  985. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  986. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  987. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  988. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  989. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  990. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  991. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  992. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  993. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  994. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  995. ];
  996. //成华教育局chjyj
  997. U.MD.D.I.chjyjAdminDeskIcon = [
  998. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  999. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1000. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1001. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1002. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1003. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1004. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1005. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1006. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1007. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1008. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1009. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1010. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1011. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1012. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1013. ];
  1014. //成华教育局chjyj
  1015. U.MD.D.I.chjyjStudentDeskIcon = [
  1016. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1017. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1018. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1019. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1020. ];
  1021. //tpc
  1022. U.MD.D.I.tpcStudentDeskIcon = [
  1023. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1024. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1025. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1026. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1027. ];
  1028. //tpc
  1029. U.MD.D.I.tpcTeacherDeskIcon = [
  1030. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1031. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1032. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1033. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1034. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1035. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1036. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1037. ];
  1038. //tpc
  1039. U.MD.D.I.tpcAdminDeskIcon = [
  1040. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1041. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1042. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1043. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1044. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1045. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1046. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1047. ];
  1048. //THU-IOE
  1049. U.MD.D.I.thuioeTeacherDeskIcon = [
  1050. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1051. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1052. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1053. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1054. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1055. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1056. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1057. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1058. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1059. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1060. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1061. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1062. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1063. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1064. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1065. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1066. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1067. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1068. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1069. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1070. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1071. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1072. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1073. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1074. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1075. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1076. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1077. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1078. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1079. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1080. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1081. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1082. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1083. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1084. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1085. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1086. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1087. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1088. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1089. ];
  1090. //THU-IOE
  1091. U.MD.D.I.thuioeStudentDeskIcon = [
  1092. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1093. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1094. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1095. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1096. ];
  1097. //jccssyl
  1098. U.MD.D.I.jccssylTeacherDeskIcon = [
  1099. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1100. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1101. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1102. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1103. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1104. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1105. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1106. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1107. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1108. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1109. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1110. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1111. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1112. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1113. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1114. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1115. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1116. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1117. ];
  1118. //jccssyl
  1119. U.MD.D.I.jccssylStudentDeskIcon = [
  1120. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1121. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1122. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1123. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1124. ];
  1125. //#region 桌面初始化a
  1126. /**
  1127. * 初始化桌面的起始函数
  1128. *
  1129. */
  1130. U.MD.D.I.init = function () {
  1131. if ($("#U_MD_D_K")[0]) {
  1132. //初始化桌面图标
  1133. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1134. // var clickUrl = ':12588/requestIp.php';
  1135. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1136. // U.MD.D.I.Ip = data;
  1137. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1138. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1139. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1140. // })
  1141. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1142. // })
  1143. }
  1144. }
  1145. /**
  1146. * 模式切换
  1147. *
  1148. */
  1149. U.MD.D.I.ModeCheck = function (type) {
  1150. if (US.Config.type == type) {
  1151. return
  1152. }
  1153. US.Config.type = type
  1154. $('.U_PBL_Check .active')[0].className = ''
  1155. if (type == 1) {
  1156. $('.U_PBL_Check div')[0].className = 'active'
  1157. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1158. } else {
  1159. $('.U_PBL_Check div')[1].className = 'active'
  1160. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1161. }
  1162. //初始化桌面图标
  1163. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1164. if (type == 2) {
  1165. U.MD.D.I.openApplication("project")
  1166. }
  1167. }
  1168. /**
  1169. * 隐藏任务栏
  1170. *
  1171. * @param {element} 桌面元素
  1172. */
  1173. U.MD.D.I.hiddenTaskbar = function (el) {
  1174. //任务栏位置变小
  1175. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1176. //桌面的位置变大
  1177. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1178. }
  1179. /**
  1180. * 隐藏任务栏
  1181. *
  1182. * @param {element} 桌面元素
  1183. */
  1184. U.MD.D.I.hiddenTaskbarout = function (el) {
  1185. //任务栏位置变小
  1186. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1187. //任务栏位置变化
  1188. U.selectEl(el).css({ "bottom": "-60px" });
  1189. //桌面的位置变大
  1190. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1191. }
  1192. }
  1193. /**
  1194. * 初始化打印桌面图标
  1195. *
  1196. * @param {element} 桌面元素
  1197. */
  1198. U.MD.D.I.initDesktopIcons = function (el, type) {
  1199. var i, //用于循环
  1200. _content, //桌面图标元素
  1201. _iconcontent, //桌面图标元素
  1202. _frag = $$("frag"), //定义一个碎片元素
  1203. _type = US.userInfo.type,
  1204. _org = US.userInfo.org,
  1205. _oid = US.userInfo.organizeid,
  1206. _role = US.userInfo.role,
  1207. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1208. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1209. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1210. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1211. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1212. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1213. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1214. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1215. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1216. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1217. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1218. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1219. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1220. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1221. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1222. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1223. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1224. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1225. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1226. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1227. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1228. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1229. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1230. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1231. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1232. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1233. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1234. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1235. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1236. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1237. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1238. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1239. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1240. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1241. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1242. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1243. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1244. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1245. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1246. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1247. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1248. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1249. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1250. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1251. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1252. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1253. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1254. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1255. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1256. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1257. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1258. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1259. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1260. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1261. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1262. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1263. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1264. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1265. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1266. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1267. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1268. 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'];
  1269. var _orgA = ["7ada499f-4ec7-11ed-8c78-005056b86db5", "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d", "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b", "150e3120-9195-11ed-b13d-005056b86db5", "ee40e8e3-e36c-4872-8105-cf395481012s", '97c4ee8b-d010-4042-986d-e9d3c217264f', 'ec0af97a-7c10-4259-a7eb-db9cc8174cdc', '4df1b570-f6ac-48fc-8d50-d0b157dae776', 'e632b86c-f89d-11ed-91d8-005056b86db5', 'b50cf65a-001c-11ee-91d8-005056b86db5', '578de748-05d2-11ee-91d8-005056b86db5', '54f09f1e-09f0-11ee-91d8-005056b86db5', '7b016f69-0f4f-11ee-91d8-005056b86db5', '1973f6c7-1561-11ee-91d8-005056b86db5', '2fa75e51-189a-11ee-91d8-005056b86db5', 'a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956','fbb00cc1-380b-4173-add4-59b3cf7682b5','63060b4a-89dc-4f0c-bf04-a1de22d479ff','777559d2-7239-11ee-b98c-005056b86db5'];
  1270. //清楚桌面图标
  1271. el.innerHTML = "";
  1272. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1273. _teacherDesktopIconInfo.push(
  1274. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1275. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } }, { "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)" } },
  1276. )
  1277. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1278. }
  1279. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1280. _teacherDesktopIconInfo.push(
  1281. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1282. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1283. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1284. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1285. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1286. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1287. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1288. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1289. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1290. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1291. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1292. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1293. )
  1294. }
  1295. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1296. // _teacherDesktopIconInfo.push(
  1297. // )
  1298. // }
  1299. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1300. _teacherDesktopIconInfo.push(
  1301. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1302. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1303. )
  1304. }
  1305. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1306. _teacherDesktopIconInfo.push(
  1307. )
  1308. }
  1309. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1310. _teacherDesktopIconInfo.push(
  1311. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1312. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1313. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1314. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1315. )
  1316. _studentDesktopIconInfo.push(
  1317. )
  1318. }
  1319. //麒麟二中 和 民新小学
  1320. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1321. _teacherDesktopIconInfo.push(
  1322. )
  1323. }
  1324. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1325. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1326. _teacherDesktopIconInfo.push(
  1327. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1328. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1329. )
  1330. }
  1331. //麒麟二中
  1332. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1333. _studentDesktopIconInfo.push(
  1334. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1335. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1336. )
  1337. }
  1338. //万科双语
  1339. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1340. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1341. if (el.Name == '项目管理') {
  1342. el.Name = 'PBL项目'
  1343. }
  1344. return el
  1345. })
  1346. _studentDesktopIconInfo3.push(
  1347. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1348. )
  1349. }
  1350. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1351. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1352. return el.Name != '魔盒识字' && el.Name != '24点'
  1353. })
  1354. }
  1355. 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) {
  1356. _studentDesktopIconInfo.push(
  1357. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1358. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1359. )
  1360. }
  1361. //循环创建桌面图标
  1362. if (type == 1) {
  1363. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1364. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1365. _content = $$("div", {
  1366. className: "U_MD_D_KO",
  1367. "onmousedown": U.UF.C.closure(function (obj) {
  1368. //防止拖动图标即打开了桌面应用
  1369. U.MD.D.click(this, obj);
  1370. }, [_studentDesktopIconInfo[i]]),
  1371. "onclick": U.UF.C.closure(function (obj) {
  1372. //防止拖动图标即打开了桌面应用
  1373. U.MD.D.click(this, obj);
  1374. }, [_studentDesktopIconInfo[i]])
  1375. }, _frag); //
  1376. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1377. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1378. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1379. }
  1380. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1381. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1382. _content = $$("div", {
  1383. className: "U_MD_D_KO",
  1384. "onmousedown": U.UF.C.closure(function (obj) {
  1385. //防止拖动图标即打开了桌面应用
  1386. U.MD.D.click(this, obj);
  1387. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1388. "onclick": U.UF.C.closure(function (obj) {
  1389. //防止拖动图标即打开了桌面应用
  1390. U.MD.D.click(this, obj);
  1391. }, [_hkZJLSStudentDeskIconInfo[i]])
  1392. }, _frag); //
  1393. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1394. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1395. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1396. } //
  1397. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1398. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1399. _content = $$("div", {
  1400. className: "U_MD_D_KO",
  1401. "onmousedown": U.UF.C.closure(function (obj) {
  1402. //防止拖动图标即打开了桌面应用
  1403. U.MD.D.click(this, obj);
  1404. }, [_jccssylStudentDeskIconInfo[i]]),
  1405. "onclick": U.UF.C.closure(function (obj) {
  1406. //防止拖动图标即打开了桌面应用
  1407. U.MD.D.click(this, obj);
  1408. }, [_jccssylStudentDeskIconInfo[i]])
  1409. }, _frag); //
  1410. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1411. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1412. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1413. }
  1414. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1415. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1416. _content = $$("div", {
  1417. className: "U_MD_D_KO",
  1418. "onmousedown": U.UF.C.closure(function (obj) {
  1419. //防止拖动图标即打开了桌面应用
  1420. U.MD.D.click(this, obj);
  1421. }, [_thuioeStudentDeskIconInfo[i]]),
  1422. "onclick": U.UF.C.closure(function (obj) {
  1423. //防止拖动图标即打开了桌面应用
  1424. U.MD.D.click(this, obj);
  1425. }, [_thuioeStudentDeskIconInfo[i]])
  1426. }, _frag); //
  1427. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1428. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1429. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1430. }
  1431. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1432. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1433. _content = $$("div", {
  1434. className: "U_MD_D_KO",
  1435. "onmousedown": U.UF.C.closure(function (obj) {
  1436. //防止拖动图标即打开了桌面应用
  1437. U.MD.D.click(this, obj);
  1438. }, [_tpcStudentDeskIconInfo[i]]),
  1439. "onclick": U.UF.C.closure(function (obj) {
  1440. //防止拖动图标即打开了桌面应用
  1441. U.MD.D.click(this, obj);
  1442. }, [_tpcStudentDeskIconInfo[i]])
  1443. }, _frag); //
  1444. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1445. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1446. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1447. } //
  1448. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1449. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1450. _content = $$("div", {
  1451. className: "U_MD_D_KO",
  1452. "onmousedown": U.UF.C.closure(function (obj) {
  1453. //防止拖动图标即打开了桌面应用
  1454. U.MD.D.click(this, obj);
  1455. }, [_chjyjStudentDeskIconInfo[i]]),
  1456. "onclick": U.UF.C.closure(function (obj) {
  1457. //防止拖动图标即打开了桌面应用
  1458. U.MD.D.click(this, obj);
  1459. }, [_chjyjStudentDeskIconInfo[i]])
  1460. }, _frag); //
  1461. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1462. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1463. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1464. }
  1465. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1466. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1467. _content = $$("div", {
  1468. className: "U_MD_D_KO",
  1469. "onmousedown": U.UF.C.closure(function (obj) {
  1470. //防止拖动图标即打开了桌面应用
  1471. U.MD.D.click(this, obj);
  1472. }, [_szjkyStudentDeskIconInfo[i]]),
  1473. "onclick": U.UF.C.closure(function (obj) {
  1474. //防止拖动图标即打开了桌面应用
  1475. U.MD.D.click(this, obj);
  1476. }, [_szjkyStudentDeskIconInfo[i]])
  1477. }, _frag); //
  1478. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1479. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1480. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1481. }
  1482. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1483. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1484. _content = $$("div", {
  1485. className: "U_MD_D_KO",
  1486. "onmousedown": U.UF.C.closure(function (obj) {
  1487. //防止拖动图标即打开了桌面应用
  1488. U.MD.D.click(this, obj);
  1489. }, [_dseiStudentDeskIconInfo[i]]),
  1490. "onclick": U.UF.C.closure(function (obj) {
  1491. //防止拖动图标即打开了桌面应用
  1492. U.MD.D.click(this, obj);
  1493. }, [_dseiStudentDeskIconInfo[i]])
  1494. }, _frag); //
  1495. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1496. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1497. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1498. }
  1499. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1500. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1501. _content = $$("div", {
  1502. className: "U_MD_D_KO",
  1503. "onmousedown": U.UF.C.closure(function (obj) {
  1504. //防止拖动图标即打开了桌面应用
  1505. U.MD.D.click(this, obj);
  1506. }, [_siesStudentDeskIconInfo[i]]),
  1507. "onclick": U.UF.C.closure(function (obj) {
  1508. //防止拖动图标即打开了桌面应用
  1509. U.MD.D.click(this, obj);
  1510. }, [_siesStudentDeskIconInfo[i]])
  1511. }, _frag); //
  1512. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1513. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1514. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1515. }
  1516. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1517. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1518. _content = $$("div", {
  1519. className: "U_MD_D_KO",
  1520. "onmousedown": U.UF.C.closure(function (obj) {
  1521. //防止拖动图标即打开了桌面应用
  1522. U.MD.D.click(this, obj);
  1523. }, [_hkStudentDeskIconInfo[i]]),
  1524. "onclick": U.UF.C.closure(function (obj) {
  1525. //防止拖动图标即打开了桌面应用
  1526. U.MD.D.click(this, obj);
  1527. }, [_hkStudentDeskIconInfo[i]])
  1528. }, _frag); //
  1529. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1530. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1531. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1532. }
  1533. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1534. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1535. _content = $$("div", {
  1536. className: "U_MD_D_KO",
  1537. "onmousedown": U.UF.C.closure(function (obj) {
  1538. //防止拖动图标即打开了桌面应用
  1539. U.MD.D.click(this, obj);
  1540. }, [_hkaceStudentDeskIconInfo[i]]),
  1541. "onclick": U.UF.C.closure(function (obj) {
  1542. //防止拖动图标即打开了桌面应用
  1543. U.MD.D.click(this, obj);
  1544. }, [_hkaceStudentDeskIconInfo[i]])
  1545. }, _frag); //
  1546. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1547. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1548. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1549. }
  1550. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1551. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1552. _content = $$("div", {
  1553. className: "U_MD_D_KO",
  1554. "onmousedown": U.UF.C.closure(function (obj) {
  1555. //防止拖动图标即打开了桌面应用
  1556. U.MD.D.click(this, obj);
  1557. }, [_studentDesktopIconInfo[i]]),
  1558. "onclick": U.UF.C.closure(function (obj) {
  1559. //防止拖动图标即打开了桌面应用
  1560. U.MD.D.click(this, obj);
  1561. }, [_studentDesktopIconInfo[i]])
  1562. }, _frag); //
  1563. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1564. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1565. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1566. }
  1567. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1568. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1569. _content = $$("div", {
  1570. className: "U_MD_D_KO",
  1571. "onmousedown": U.UF.C.closure(function (obj) {
  1572. //防止拖动图标即打开了桌面应用
  1573. U.MD.D.click(this, obj);
  1574. }, [_tcStudentDeskIconInfo[i]]),
  1575. "onclick": U.UF.C.closure(function (obj) {
  1576. //防止拖动图标即打开了桌面应用
  1577. U.MD.D.click(this, obj);
  1578. }, [_tcStudentDeskIconInfo[i]])
  1579. }, _frag); //
  1580. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1581. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1582. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1583. }
  1584. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1585. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1586. _content = $$("div", {
  1587. className: "U_MD_D_KO",
  1588. "onmousedown": U.UF.C.closure(function (obj) {
  1589. //防止拖动图标即打开了桌面应用
  1590. U.MD.D.click(this, obj);
  1591. }, [_szscStudentDeskIconInfo[i]]),
  1592. "onclick": U.UF.C.closure(function (obj) {
  1593. //防止拖动图标即打开了桌面应用
  1594. U.MD.D.click(this, obj);
  1595. }, [_szscStudentDeskIconInfo[i]])
  1596. }, _frag); //
  1597. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1598. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1599. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1600. }
  1601. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1602. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1603. _content = $$("div", {
  1604. className: "U_MD_D_KO",
  1605. "onmousedown": U.UF.C.closure(function (obj) {
  1606. //防止拖动图标即打开了桌面应用
  1607. U.MD.D.click(this, obj);
  1608. }, [_studentDesktopIconInfo3[i]]),
  1609. "onclick": U.UF.C.closure(function (obj) {
  1610. //防止拖动图标即打开了桌面应用
  1611. U.MD.D.click(this, obj);
  1612. }, [_studentDesktopIconInfo3[i]])
  1613. }, _frag); //
  1614. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1615. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1616. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1617. }
  1618. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1619. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1620. _content = $$("div", {
  1621. className: "U_MD_D_KO",
  1622. "onmousedown": U.UF.C.closure(function (obj) {
  1623. //防止拖动图标即打开了桌面应用
  1624. U.MD.D.click(this, obj);
  1625. }, [_studentDesktopIconInfo2[i]]),
  1626. "onclick": U.UF.C.closure(function (obj) {
  1627. //防止拖动图标即打开了桌面应用
  1628. U.MD.D.click(this, obj);
  1629. }, [_studentDesktopIconInfo2[i]])
  1630. }, _frag); //
  1631. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1632. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1633. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1634. }
  1635. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1636. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1637. _content = $$("div", {
  1638. className: "U_MD_D_KO",
  1639. "onmousedown": U.UF.C.closure(function (obj) {
  1640. //防止拖动图标即打开了桌面应用
  1641. U.MD.D.click(this, obj);
  1642. }, [_wanketeacherDesktopIconInfo[i]]),
  1643. "onclick": U.UF.C.closure(function (obj) {
  1644. //防止拖动图标即打开了桌面应用
  1645. U.MD.D.click(this, obj);
  1646. }, [_wanketeacherDesktopIconInfo[i]])
  1647. }, _frag); //
  1648. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1649. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1650. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1651. }
  1652. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1653. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1654. _content = $$("div", {
  1655. className: "U_MD_D_KO",
  1656. "onmousedown": U.UF.C.closure(function (obj) {
  1657. //防止拖动图标即打开了桌面应用
  1658. U.MD.D.click(this, obj);
  1659. }, [_wankeAdminDesktopIconInfo[i]]),
  1660. "onclick": U.UF.C.closure(function (obj) {
  1661. //防止拖动图标即打开了桌面应用
  1662. U.MD.D.click(this, obj);
  1663. }, [_wankeAdminDesktopIconInfo[i]])
  1664. }, _frag); //
  1665. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1666. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1667. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1668. }
  1669. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1670. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1671. _content = $$("div", {
  1672. className: "U_MD_D_KO",
  1673. "onmousedown": U.UF.C.closure(function (obj) {
  1674. //防止拖动图标即打开了桌面应用
  1675. U.MD.D.click(this, obj);
  1676. }, [_jccssylTeacherDeskIconInfo[i]]),
  1677. "onclick": U.UF.C.closure(function (obj) {
  1678. //防止拖动图标即打开了桌面应用
  1679. U.MD.D.click(this, obj);
  1680. }, [_jccssylTeacherDeskIconInfo[i]])
  1681. }, _frag); //
  1682. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1683. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1684. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1685. }
  1686. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1687. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1688. _content = $$("div", {
  1689. className: "U_MD_D_KO",
  1690. "onmousedown": U.UF.C.closure(function (obj) {
  1691. //防止拖动图标即打开了桌面应用
  1692. U.MD.D.click(this, obj);
  1693. }, [_tpcOrganizerDeskIconInfo[i]]),
  1694. "onclick": U.UF.C.closure(function (obj) {
  1695. //防止拖动图标即打开了桌面应用
  1696. U.MD.D.click(this, obj);
  1697. }, [_tpcOrganizerDeskIconInfo[i]])
  1698. }, _frag); //
  1699. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1700. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1701. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1702. }
  1703. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1704. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1705. _content = $$("div", {
  1706. className: "U_MD_D_KO",
  1707. "onmousedown": U.UF.C.closure(function (obj) {
  1708. //防止拖动图标即打开了桌面应用
  1709. U.MD.D.click(this, obj);
  1710. }, [_tpcTeacherDeskIconInfo[i]]),
  1711. "onclick": U.UF.C.closure(function (obj) {
  1712. //防止拖动图标即打开了桌面应用
  1713. U.MD.D.click(this, obj);
  1714. }, [_tpcTeacherDeskIconInfo[i]])
  1715. }, _frag); //
  1716. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1717. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1718. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1719. }
  1720. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1721. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1722. _content = $$("div", {
  1723. className: "U_MD_D_KO",
  1724. "onmousedown": U.UF.C.closure(function (obj) {
  1725. //防止拖动图标即打开了桌面应用
  1726. U.MD.D.click(this, obj);
  1727. }, [_teacherDesktopIconInfo2[i]]),
  1728. "onclick": U.UF.C.closure(function (obj) {
  1729. //防止拖动图标即打开了桌面应用
  1730. U.MD.D.click(this, obj);
  1731. }, [_teacherDesktopIconInfo2[i]])
  1732. }, _frag); //
  1733. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1734. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1735. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1736. }
  1737. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1738. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1739. _content = $$("div", {
  1740. className: "U_MD_D_KO",
  1741. "onmousedown": U.UF.C.closure(function (obj) {
  1742. //防止拖动图标即打开了桌面应用
  1743. U.MD.D.click(this, obj);
  1744. }, [_thuioeTeacherDeskIconInfo[i]]),
  1745. "onclick": U.UF.C.closure(function (obj) {
  1746. //防止拖动图标即打开了桌面应用
  1747. U.MD.D.click(this, obj);
  1748. }, [_thuioeTeacherDeskIconInfo[i]])
  1749. }, _frag); //
  1750. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1751. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1752. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1753. }
  1754. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1755. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1756. _content = $$("div", {
  1757. className: "U_MD_D_KO",
  1758. "onmousedown": U.UF.C.closure(function (obj) {
  1759. //防止拖动图标即打开了桌面应用
  1760. U.MD.D.click(this, obj);
  1761. }, [_lotechTeacherDeskIconInfo[i]]),
  1762. "onclick": U.UF.C.closure(function (obj) {
  1763. //防止拖动图标即打开了桌面应用
  1764. U.MD.D.click(this, obj);
  1765. }, [_lotechTeacherDeskIconInfo[i]])
  1766. }, _frag); //
  1767. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1768. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1769. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1770. }//
  1771. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1772. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1773. _content = $$("div", {
  1774. className: "U_MD_D_KO",
  1775. "onmousedown": U.UF.C.closure(function (obj) {
  1776. //防止拖动图标即打开了桌面应用
  1777. U.MD.D.click(this, obj);
  1778. }, [_siesTeacherDeskIconInfo[i]]),
  1779. "onclick": U.UF.C.closure(function (obj) {
  1780. //防止拖动图标即打开了桌面应用
  1781. U.MD.D.click(this, obj);
  1782. }, [_siesTeacherDeskIconInfo[i]])
  1783. }, _frag); //
  1784. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1785. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1786. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1787. }
  1788. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1789. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1790. _content = $$("div", {
  1791. className: "U_MD_D_KO",
  1792. "onmousedown": U.UF.C.closure(function (obj) {
  1793. //防止拖动图标即打开了桌面应用
  1794. U.MD.D.click(this, obj);
  1795. }, [_longhuaTeacherDeskIconInfo[i]]),
  1796. "onclick": U.UF.C.closure(function (obj) {
  1797. //防止拖动图标即打开了桌面应用
  1798. U.MD.D.click(this, obj);
  1799. }, [_longhuaTeacherDeskIconInfo[i]])
  1800. }, _frag); //
  1801. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1802. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1803. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1804. }
  1805. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1806. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1807. _content = $$("div", {
  1808. className: "U_MD_D_KO",
  1809. "onmousedown": U.UF.C.closure(function (obj) {
  1810. //防止拖动图标即打开了桌面应用
  1811. U.MD.D.click(this, obj);
  1812. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1813. "onclick": U.UF.C.closure(function (obj) {
  1814. //防止拖动图标即打开了桌面应用
  1815. U.MD.D.click(this, obj);
  1816. }, [_yunhaiTeacherDeskIconInfo[i]])
  1817. }, _frag); //
  1818. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1819. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1820. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1821. } //_hkStudentDeskIconInfo
  1822. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1823. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1824. _content = $$("div", {
  1825. className: "U_MD_D_KO",
  1826. "onmousedown": U.UF.C.closure(function (obj) {
  1827. //防止拖动图标即打开了桌面应用
  1828. U.MD.D.click(this, obj);
  1829. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1830. "onclick": U.UF.C.closure(function (obj) {
  1831. //防止拖动图标即打开了桌面应用
  1832. U.MD.D.click(this, obj);
  1833. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1834. }, _frag); //
  1835. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1836. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1837. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1838. }
  1839. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1840. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1841. _content = $$("div", {
  1842. className: "U_MD_D_KO",
  1843. "onmousedown": U.UF.C.closure(function (obj) {
  1844. //防止拖动图标即打开了桌面应用
  1845. U.MD.D.click(this, obj);
  1846. }, [_hkTeacherDeskIconInfo[i]]),
  1847. "onclick": U.UF.C.closure(function (obj) {
  1848. //防止拖动图标即打开了桌面应用
  1849. U.MD.D.click(this, obj);
  1850. }, [_hkTeacherDeskIconInfo[i]])
  1851. }, _frag); //
  1852. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1853. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1854. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1855. }
  1856. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1857. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  1858. _content = $$("div", {
  1859. className: "U_MD_D_KO",
  1860. "onmousedown": U.UF.C.closure(function (obj) {
  1861. //防止拖动图标即打开了桌面应用
  1862. U.MD.D.click(this, obj);
  1863. }, [_hkaceTeacherDeskIconInfo[i]]),
  1864. "onclick": U.UF.C.closure(function (obj) {
  1865. //防止拖动图标即打开了桌面应用
  1866. U.MD.D.click(this, obj);
  1867. }, [_hkaceTeacherDeskIconInfo[i]])
  1868. }, _frag); //
  1869. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1870. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  1871. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  1872. }
  1873. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1874. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1875. _content = $$("div", {
  1876. className: "U_MD_D_KO",
  1877. "onmousedown": U.UF.C.closure(function (obj) {
  1878. //防止拖动图标即打开了桌面应用
  1879. U.MD.D.click(this, obj);
  1880. }, [_gdjgAdminDeskIconInfo[i]]),
  1881. "onclick": U.UF.C.closure(function (obj) {
  1882. //防止拖动图标即打开了桌面应用
  1883. U.MD.D.click(this, obj);
  1884. }, [_gdjgAdminDeskIconInfo[i]])
  1885. }, _frag); //
  1886. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1887. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1888. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1889. }
  1890. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1891. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1892. _content = $$("div", {
  1893. className: "U_MD_D_KO",
  1894. "onmousedown": U.UF.C.closure(function (obj) {
  1895. //防止拖动图标即打开了桌面应用
  1896. U.MD.D.click(this, obj);
  1897. }, [_gdjgTeacherDeskIconInfo[i]]),
  1898. "onclick": U.UF.C.closure(function (obj) {
  1899. //防止拖动图标即打开了桌面应用
  1900. U.MD.D.click(this, obj);
  1901. }, [_gdjgTeacherDeskIconInfo[i]])
  1902. }, _frag); //
  1903. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1904. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1905. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1906. }
  1907. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1908. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1909. _content = $$("div", {
  1910. className: "U_MD_D_KO",
  1911. "onmousedown": U.UF.C.closure(function (obj) {
  1912. //防止拖动图标即打开了桌面应用
  1913. U.MD.D.click(this, obj);
  1914. }, [_szherTeacherDeskIconInfo[i]]),
  1915. "onclick": U.UF.C.closure(function (obj) {
  1916. //防止拖动图标即打开了桌面应用
  1917. U.MD.D.click(this, obj);
  1918. }, [_szherTeacherDeskIconInfo[i]])
  1919. }, _frag); //
  1920. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1921. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1922. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1923. }
  1924. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1925. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1926. _content = $$("div", {
  1927. className: "U_MD_D_KO",
  1928. "onmousedown": U.UF.C.closure(function (obj) {
  1929. //防止拖动图标即打开了桌面应用
  1930. U.MD.D.click(this, obj);
  1931. }, [_heyuannAdminDeskIconInfo[i]]),
  1932. "onclick": U.UF.C.closure(function (obj) {
  1933. //防止拖动图标即打开了桌面应用
  1934. U.MD.D.click(this, obj);
  1935. }, [_heyuannAdminDeskIconInfo[i]])
  1936. }, _frag); //
  1937. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1938. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1939. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1940. }
  1941. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1942. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1943. _content = $$("div", {
  1944. className: "U_MD_D_KO",
  1945. "onmousedown": U.UF.C.closure(function (obj) {
  1946. //防止拖动图标即打开了桌面应用
  1947. U.MD.D.click(this, obj);
  1948. }, [_heyuanTeacherDeskIconInfo[i]]),
  1949. "onclick": U.UF.C.closure(function (obj) {
  1950. //防止拖动图标即打开了桌面应用
  1951. U.MD.D.click(this, obj);
  1952. }, [_heyuanTeacherDeskIconInfo[i]])
  1953. }, _frag); //
  1954. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1955. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1956. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1957. } //
  1958. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1959. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1960. _content = $$("div", {
  1961. className: "U_MD_D_KO",
  1962. "onmousedown": U.UF.C.closure(function (obj) {
  1963. //防止拖动图标即打开了桌面应用
  1964. U.MD.D.click(this, obj);
  1965. }, [_dseiAdminDeskIconInfo[i]]),
  1966. "onclick": U.UF.C.closure(function (obj) {
  1967. //防止拖动图标即打开了桌面应用
  1968. U.MD.D.click(this, obj);
  1969. }, [_dseiAdminDeskIconInfo[i]])
  1970. }, _frag); //
  1971. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1972. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1973. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1974. }
  1975. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1976. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1977. _content = $$("div", {
  1978. className: "U_MD_D_KO",
  1979. "onmousedown": U.UF.C.closure(function (obj) {
  1980. //防止拖动图标即打开了桌面应用
  1981. U.MD.D.click(this, obj);
  1982. }, [_dseiTeacherDeskIconInfo[i]]),
  1983. "onclick": U.UF.C.closure(function (obj) {
  1984. //防止拖动图标即打开了桌面应用
  1985. U.MD.D.click(this, obj);
  1986. }, [_dseiTeacherDeskIconInfo[i]])
  1987. }, _frag); //
  1988. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1989. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1990. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1991. } //
  1992. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1993. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1994. _content = $$("div", {
  1995. className: "U_MD_D_KO",
  1996. "onmousedown": U.UF.C.closure(function (obj) {
  1997. //防止拖动图标即打开了桌面应用
  1998. U.MD.D.click(this, obj);
  1999. }, [_chjyjAdminDeskIconInfo[i]]),
  2000. "onclick": U.UF.C.closure(function (obj) {
  2001. //防止拖动图标即打开了桌面应用
  2002. U.MD.D.click(this, obj);
  2003. }, [_chjyjAdminDeskIconInfo[i]])
  2004. }, _frag); //
  2005. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2006. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  2007. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  2008. }//
  2009. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  2010. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  2011. _content = $$("div", {
  2012. className: "U_MD_D_KO",
  2013. "onmousedown": U.UF.C.closure(function (obj) {
  2014. //防止拖动图标即打开了桌面应用
  2015. U.MD.D.click(this, obj);
  2016. }, [_chjyjTeacherDeskIconInfo[i]]),
  2017. "onclick": U.UF.C.closure(function (obj) {
  2018. //防止拖动图标即打开了桌面应用
  2019. U.MD.D.click(this, obj);
  2020. }, [_chjyjTeacherDeskIconInfo[i]])
  2021. }, _frag); //
  2022. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2023. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2024. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2025. }
  2026. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2027. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2028. _content = $$("div", {
  2029. className: "U_MD_D_KO",
  2030. "onmousedown": U.UF.C.closure(function (obj) {
  2031. //防止拖动图标即打开了桌面应用
  2032. U.MD.D.click(this, obj);
  2033. }, [_szjkyAdminDeskIconInfo[i]]),
  2034. "onclick": U.UF.C.closure(function (obj) {
  2035. //防止拖动图标即打开了桌面应用
  2036. U.MD.D.click(this, obj);
  2037. }, [_szjkyAdminDeskIconInfo[i]])
  2038. }, _frag); //
  2039. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2040. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2041. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2042. }//
  2043. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2044. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2045. _content = $$("div", {
  2046. className: "U_MD_D_KO",
  2047. "onmousedown": U.UF.C.closure(function (obj) {
  2048. //防止拖动图标即打开了桌面应用
  2049. U.MD.D.click(this, obj);
  2050. }, [_szjkyTeacherDeskIconInfo[i]]),
  2051. "onclick": U.UF.C.closure(function (obj) {
  2052. //防止拖动图标即打开了桌面应用
  2053. U.MD.D.click(this, obj);
  2054. }, [_szjkyTeacherDeskIconInfo[i]])
  2055. }, _frag); //
  2056. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2057. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2058. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2059. }
  2060. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2061. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2062. _content = $$("div", {
  2063. className: "U_MD_D_KO",
  2064. "onmousedown": U.UF.C.closure(function (obj) {
  2065. //防止拖动图标即打开了桌面应用
  2066. U.MD.D.click(this, obj);
  2067. }, [_futianAdminDeskIconInfo[i]]),
  2068. "onclick": U.UF.C.closure(function (obj) {
  2069. //防止拖动图标即打开了桌面应用
  2070. U.MD.D.click(this, obj);
  2071. }, [_futianAdminDeskIconInfo[i]])
  2072. }, _frag); //
  2073. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2074. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2075. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2076. }
  2077. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2078. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2079. _content = $$("div", {
  2080. className: "U_MD_D_KO",
  2081. "onmousedown": U.UF.C.closure(function (obj) {
  2082. //防止拖动图标即打开了桌面应用
  2083. U.MD.D.click(this, obj);
  2084. }, [_futianTeacherDeskIconInfo[i]]),
  2085. "onclick": U.UF.C.closure(function (obj) {
  2086. //防止拖动图标即打开了桌面应用
  2087. U.MD.D.click(this, obj);
  2088. }, [_futianTeacherDeskIconInfo[i]])
  2089. }, _frag); //
  2090. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2091. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2092. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2093. }
  2094. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2095. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2096. _content = $$("div", {
  2097. className: "U_MD_D_KO",
  2098. "onmousedown": U.UF.C.closure(function (obj) {
  2099. //防止拖动图标即打开了桌面应用
  2100. U.MD.D.click(this, obj);
  2101. }, [_MingdeTeacherDeskIcon[i]]),
  2102. "onclick": U.UF.C.closure(function (obj) {
  2103. //防止拖动图标即打开了桌面应用
  2104. U.MD.D.click(this, obj);
  2105. }, [_MingdeTeacherDeskIcon[i]])
  2106. }, _frag); //
  2107. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2108. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2109. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2110. }
  2111. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2112. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2113. _content = $$("div", {
  2114. className: "U_MD_D_KO",
  2115. "onmousedown": U.UF.C.closure(function (obj) {
  2116. //防止拖动图标即打开了桌面应用
  2117. U.MD.D.click(this, obj);
  2118. }, [_lhsAdminDesktopIconInfo[i]]),
  2119. "onclick": U.UF.C.closure(function (obj) {
  2120. //防止拖动图标即打开了桌面应用
  2121. U.MD.D.click(this, obj);
  2122. }, [_lhsAdminDesktopIconInfo[i]])
  2123. }, _frag); //
  2124. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2125. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2126. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2127. }
  2128. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2129. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2130. _content = $$("div", {
  2131. className: "U_MD_D_KO",
  2132. "onmousedown": U.UF.C.closure(function (obj) {
  2133. //防止拖动图标即打开了桌面应用
  2134. U.MD.D.click(this, obj);
  2135. }, [_lhsteacherDesktopIconInfo[i]]),
  2136. "onclick": U.UF.C.closure(function (obj) {
  2137. //防止拖动图标即打开了桌面应用
  2138. U.MD.D.click(this, obj);
  2139. }, [_lhsteacherDesktopIconInfo[i]])
  2140. }, _frag); //
  2141. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2142. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2143. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2144. }
  2145. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2146. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2147. _content = $$("div", {
  2148. className: "U_MD_D_KO",
  2149. "onmousedown": U.UF.C.closure(function (obj) {
  2150. //防止拖动图标即打开了桌面应用
  2151. U.MD.D.click(this, obj);
  2152. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2153. "onclick": U.UF.C.closure(function (obj) {
  2154. //防止拖动图标即打开了桌面应用
  2155. U.MD.D.click(this, obj);
  2156. }, [_zhoujiateacherDesktopIconInfo[i]])
  2157. }, _frag); //
  2158. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2159. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2160. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2161. }
  2162. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2163. for (i = 0; i < _hanDeskIcon.length; i++) {
  2164. _content = $$("div", {
  2165. className: "U_MD_D_KO",
  2166. "onmousedown": U.UF.C.closure(function (obj) {
  2167. //防止拖动图标即打开了桌面应用
  2168. U.MD.D.click(this, obj);
  2169. }, [_hanDeskIcon[i]]),
  2170. "onclick": U.UF.C.closure(function (obj) {
  2171. //防止拖动图标即打开了桌面应用
  2172. U.MD.D.click(this, obj);
  2173. }, [_hanDeskIcon[i]])
  2174. }, _frag); //
  2175. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2176. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2177. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2178. }
  2179. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2180. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2181. _content = $$("div", {
  2182. className: "U_MD_D_KO",
  2183. "onmousedown": U.UF.C.closure(function (obj) {
  2184. //防止拖动图标即打开了桌面应用
  2185. U.MD.D.click(this, obj);
  2186. }, [_orgStemDeskIcon[i]]),
  2187. "onclick": U.UF.C.closure(function (obj) {
  2188. //防止拖动图标即打开了桌面应用
  2189. U.MD.D.click(this, obj);
  2190. }, [_orgStemDeskIcon[i]])
  2191. }, _frag); //
  2192. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2193. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2194. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2195. }
  2196. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2197. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2198. _content = $$("div", {
  2199. className: "U_MD_D_KO",
  2200. "onmousedown": U.UF.C.closure(function (obj) {
  2201. //防止拖动图标即打开了桌面应用
  2202. U.MD.D.click(this, obj);
  2203. }, [_szulsDeskIcon[i]]),
  2204. "onclick": U.UF.C.closure(function (obj) {
  2205. //防止拖动图标即打开了桌面应用
  2206. U.MD.D.click(this, obj);
  2207. }, [_szulsDeskIcon[i]])
  2208. }, _frag); //
  2209. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2210. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2211. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2212. }
  2213. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2214. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2215. _content = $$("div", {
  2216. className: "U_MD_D_KO",
  2217. "onmousedown": U.UF.C.closure(function (obj) {
  2218. //防止拖动图标即打开了桌面应用
  2219. U.MD.D.click(this, obj);
  2220. }, [_orgDesktopIconInfo[i]]),
  2221. "onclick": U.UF.C.closure(function (obj) {
  2222. //防止拖动图标即打开了桌面应用
  2223. U.MD.D.click(this, obj);
  2224. }, [_orgDesktopIconInfo[i]])
  2225. }, _frag); //
  2226. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2227. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2228. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2229. }
  2230. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2231. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2232. _content = $$("div", {
  2233. className: "U_MD_D_KO",
  2234. "onmousedown": U.UF.C.closure(function (obj) {
  2235. //防止拖动图标即打开了桌面应用
  2236. U.MD.D.click(this, obj);
  2237. }, [_schoolDesktopIconInfo[i]]),
  2238. "onclick": U.UF.C.closure(function (obj) {
  2239. //防止拖动图标即打开了桌面应用
  2240. U.MD.D.click(this, obj);
  2241. }, [_schoolDesktopIconInfo[i]])
  2242. }, _frag); //
  2243. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2244. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2245. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2246. }
  2247. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2248. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2249. _content = $$("div", {
  2250. className: "U_MD_D_KO",
  2251. "onmousedown": U.UF.C.closure(function (obj) {
  2252. //防止拖动图标即打开了桌面应用
  2253. U.MD.D.click(this, obj);
  2254. }, [_GMteacherDesktopIconInfo[i]]),
  2255. "onclick": U.UF.C.closure(function (obj) {
  2256. //防止拖动图标即打开了桌面应用
  2257. U.MD.D.click(this, obj);
  2258. }, [_GMteacherDesktopIconInfo[i]])
  2259. }, _frag); //
  2260. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2261. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2262. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2263. }
  2264. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2265. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2266. _content = $$("div", {
  2267. className: "U_MD_D_KO",
  2268. "onmousedown": U.UF.C.closure(function (obj) {
  2269. //防止拖动图标即打开了桌面应用
  2270. U.MD.D.click(this, obj);
  2271. }, [_SONGteacherDesktopIconInfo[i]]),
  2272. "onclick": U.UF.C.closure(function (obj) {
  2273. //防止拖动图标即打开了桌面应用
  2274. U.MD.D.click(this, obj);
  2275. }, [_SONGteacherDesktopIconInfo[i]])
  2276. }, _frag); //
  2277. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2278. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2279. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2280. }
  2281. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2282. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2283. _content = $$("div", {
  2284. className: "U_MD_D_KO",
  2285. "onmousedown": U.UF.C.closure(function (obj) {
  2286. //防止拖动图标即打开了桌面应用
  2287. U.MD.D.click(this, obj);
  2288. }, [_GMstudentDesktopIconInfo[i]]),
  2289. "onclick": U.UF.C.closure(function (obj) {
  2290. //防止拖动图标即打开了桌面应用
  2291. U.MD.D.click(this, obj);
  2292. }, [_GMstudentDesktopIconInfo[i]])
  2293. }, _frag); //
  2294. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2295. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2296. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2297. }
  2298. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2299. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2300. _content = $$("div", {
  2301. className: "U_MD_D_KO",
  2302. "onmousedown": U.UF.C.closure(function (obj) {
  2303. //防止拖动图标即打开了桌面应用
  2304. U.MD.D.click(this, obj);
  2305. }, [_tcTeacherDeskIconInfo[i]]),
  2306. "onclick": U.UF.C.closure(function (obj) {
  2307. //防止拖动图标即打开了桌面应用
  2308. U.MD.D.click(this, obj);
  2309. }, [_tcTeacherDeskIconInfo[i]])
  2310. }, _frag); //
  2311. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2312. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2313. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2314. }
  2315. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2316. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2317. _content = $$("div", {
  2318. className: "U_MD_D_KO",
  2319. "onmousedown": U.UF.C.closure(function (obj) {
  2320. //防止拖动图标即打开了桌面应用
  2321. U.MD.D.click(this, obj);
  2322. }, [_tcOrganizerDeskIconInfo[i]]),
  2323. "onclick": U.UF.C.closure(function (obj) {
  2324. //防止拖动图标即打开了桌面应用
  2325. U.MD.D.click(this, obj);
  2326. }, [_tcOrganizerDeskIconInfo[i]])
  2327. }, _frag); //
  2328. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2329. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2330. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2331. }
  2332. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2333. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2334. _content = $$("div", {
  2335. className: "U_MD_D_KO",
  2336. "onmousedown": U.UF.C.closure(function (obj) {
  2337. //防止拖动图标即打开了桌面应用
  2338. U.MD.D.click(this, obj);
  2339. }, [_szscTeacherDeskIconInfo[i]]),
  2340. "onclick": U.UF.C.closure(function (obj) {
  2341. //防止拖动图标即打开了桌面应用
  2342. U.MD.D.click(this, obj);
  2343. }, [_szscTeacherDeskIconInfo[i]])
  2344. }, _frag); //
  2345. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2346. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2347. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2348. }
  2349. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2350. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2351. _content = $$("div", {
  2352. className: "U_MD_D_KO",
  2353. "onmousedown": U.UF.C.closure(function (obj) {
  2354. //防止拖动图标即打开了桌面应用
  2355. U.MD.D.click(this, obj);
  2356. }, [_szscOrganizerDeskIconInfo[i]]),
  2357. "onclick": U.UF.C.closure(function (obj) {
  2358. //防止拖动图标即打开了桌面应用
  2359. U.MD.D.click(this, obj);
  2360. }, [_szscOrganizerDeskIconInfo[i]])
  2361. }, _frag); //
  2362. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2363. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2364. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2365. }
  2366. } else {
  2367. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2368. _content = $$("div", {
  2369. className: "U_MD_D_KO",
  2370. "onmousedown": U.UF.C.closure(function (obj) {
  2371. //防止拖动图标即打开了桌面应用
  2372. U.MD.D.click(this, obj);
  2373. }, [_teacherDesktopIconInfo[i]]),
  2374. "onclick": U.UF.C.closure(function (obj) {
  2375. //防止拖动图标即打开了桌面应用
  2376. U.MD.D.click(this, obj);
  2377. }, [_teacherDesktopIconInfo[i]])
  2378. }, _frag); //
  2379. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2380. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2381. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2382. }
  2383. }
  2384. } else {
  2385. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2386. _content = $$("div", {
  2387. className: "U_MD_D_KO",
  2388. style: { 'width': '124px', 'height': '145px' },
  2389. "onmousedown": U.UF.C.closure(function (obj) {
  2390. //防止拖动图标即打开了桌面应用
  2391. U.MD.D.click(this, obj);
  2392. }, [_easyDesktopIconInfo[i]]),
  2393. "onclick": U.UF.C.closure(function (obj) {
  2394. //防止拖动图标即打开了桌面应用
  2395. U.MD.D.click(this, obj);
  2396. }, [_easyDesktopIconInfo[i]])
  2397. }, _frag); //
  2398. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2399. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2400. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2401. }
  2402. }
  2403. if (type == 1) {
  2404. //加载好后给图标定位
  2405. U.MD.D.iconPostion($(_frag).Child());
  2406. } else {
  2407. //加载好后给图标定位
  2408. U.MD.D.iconPostion2($(_frag).Child());
  2409. }
  2410. //把图标加载到页面
  2411. el.appendChild(_frag);
  2412. }
  2413. /**
  2414. * 显示任务栏
  2415. *
  2416. * @param {element} 桌面元素
  2417. */
  2418. U.MD.D.I.displayTaskbar = function (el) {
  2419. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2420. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2421. //任务栏位置变化
  2422. U.selectEl(el).css({ "bottom": "0px" });
  2423. //桌面位置变话
  2424. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2425. }
  2426. }
  2427. //#region 桌面图标拖动逻辑
  2428. /**
  2429. * 桌面排列图标
  2430. *
  2431. * @param {element} 桌面元素
  2432. * @param {object} 上下相距的距离
  2433. * @param {object} 左右相距的距离
  2434. * @return {object} 命名空间
  2435. */
  2436. U.MD.D.iconPostion = function (childs, top, left) {
  2437. var i; //用于循环处理
  2438. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2439. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2440. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2441. for (i = 0; i < childs.length; i++) {
  2442. //如果竖排top超过了范围处理
  2443. if (top + 95 > US.height - 10) {
  2444. //left超过了页面范围处理,则向上重叠打印处理
  2445. if ((left + 180) > US.width) {
  2446. top -= 110;
  2447. left -= 90;
  2448. }
  2449. //没有超过范围,那么left+90添加到下一个竖排打印
  2450. else {
  2451. left += 90;
  2452. top = 15;
  2453. };
  2454. }
  2455. //给图标的位置赋值
  2456. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2457. if (i < childs.length - 1) {
  2458. //页面图标每次向下加95
  2459. top += 95;
  2460. }
  2461. }
  2462. //返回最后调用的图标的位置
  2463. return [top, left];
  2464. }
  2465. /**
  2466. * 桌面排列图标
  2467. *
  2468. * @param {element} 桌面元素
  2469. * @param {object} 上下相距的距离
  2470. * @param {object} 左右相距的距离
  2471. * @return {object} 命名空间
  2472. */
  2473. U.MD.D.iconPostion2 = function (childs, top, left) {
  2474. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2475. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2476. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2477. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2478. for (i = 0; i < childs.length; i++) {
  2479. //如果竖排top超过了范围处理
  2480. if (left + 150 > US.width - 10) {
  2481. //left超过了页面范围处理,则向上重叠打印处理
  2482. if ((top + 180) > US.Height) {
  2483. top -= 150;
  2484. left -= 150;
  2485. }
  2486. //没有超过范围,那么left+90添加到下一个竖排打印
  2487. else {
  2488. top += 150;
  2489. left = ol;
  2490. };
  2491. }
  2492. //给图标的位置赋值
  2493. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2494. if (i < childs.length - 1) {
  2495. //页面图标每次向下加95
  2496. left += 150;
  2497. }
  2498. }
  2499. //返回最后调用的图标的位置
  2500. return [top, left];
  2501. }
  2502. /**
  2503. * 桌面点击事件逻辑
  2504. *
  2505. * @param {element} 桌面元素
  2506. * @param {object} 上下相距的距离
  2507. * @param {object} 左右相距的距离
  2508. * @return {object} 命名空间
  2509. */
  2510. U.MD.D.click = function (el, obj) {
  2511. var _buttonnumber = event.button; //点击的按钮的事件值
  2512. var _userinfo = US.userInfo;
  2513. U.UF.EV.stopBubble(); //阻止向上冒泡
  2514. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2515. if (_buttonnumber < 2) {
  2516. //如果是click事件的处理
  2517. if (event.type == "click") {
  2518. //如果元素在mousemove事件中没有移动则出发click事件
  2519. if (!U.MD.D.I.IsDrag) {
  2520. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2521. U.alert("请先登录您的账号!");
  2522. setTimeout(() => {
  2523. U.MD.U.L.login();
  2524. }, 2000);
  2525. } else {
  2526. //打开应用处理
  2527. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2528. }
  2529. }
  2530. }
  2531. //如果是mouse事件的处理
  2532. else {
  2533. if (US.Config.type == '1') {
  2534. //拖动处理,添加拖动和拖动结束事件
  2535. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2536. }
  2537. }
  2538. U.MD.D.I.IsDrag = false;
  2539. }
  2540. }
  2541. /**
  2542. * 拖动的处理
  2543. *
  2544. */
  2545. U.MD.D.iconMove = function () {
  2546. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2547. U.MD.D.I.IsDrag = true;
  2548. }
  2549. /**
  2550. * 拖动结束后,这里是定位处理,以网状的形式定位
  2551. *
  2552. * @param {element} 拖动的元素
  2553. * @return {object} 命名空间
  2554. */
  2555. U.MD.D.iconUp = function (el) {
  2556. var _top = 15,
  2557. _left = 20,
  2558. _margin,
  2559. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2560. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2561. if (_positioninfo["OT"] > 15) {
  2562. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2563. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2564. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2565. }
  2566. if (_positioninfo["OL"] > 20) {
  2567. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2568. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2569. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2570. }
  2571. //while循环判断么一个重叠的元素
  2572. do {
  2573. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2574. _top = _positioninfo[0] + 95; //得到定位后的top
  2575. _left = _positioninfo[1]; //得到定位后的left
  2576. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2577. }
  2578. /**
  2579. * 判断拖动后图标是否重叠
  2580. *
  2581. * @param {element} 拖动的元素
  2582. * @param {element} 桌面所有的元素
  2583. * @param {array} 拖动元素的位置
  2584. ----------[0] 上 top
  2585. ----------[1] 左 left
  2586. * @return {object} 命名空间
  2587. */
  2588. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2589. //循环所有的图标
  2590. for (var i = 0; i < childs.length; i++) {
  2591. //判断有没有和该图标诶子重叠的元素
  2592. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2593. return childs[i]; //如果有返回
  2594. }
  2595. }
  2596. }
  2597. //#endregion
  2598. //#endregion
  2599. //#region 桌面应用
  2600. /**
  2601. * 打开应用
  2602. *
  2603. * @param {string} 类型
  2604. -----------------Disk 网盘系统
  2605. -----------------PDisk 学习系统网盘
  2606. -----------------Poto 图片
  2607. -----------------Video 视频
  2608. -----------------Music 音乐
  2609. -----------------Word word
  2610. -----------------Excel excel
  2611. -----------------Txt 记事本
  2612. -----------------PB 学习系统
  2613. -----------------Blog 朋友圈系统
  2614. -----------------FTP ftp系统
  2615. -----------------Group 好友群
  2616. -----------------SY 首页系统
  2617. -----------------Set 个人设置
  2618. -----------------XSet 系统设置
  2619. -----------------App 我们所有的app
  2620. -----------------BC c.1473.cn 平台
  2621. -----------------CWeb d.1473.cn 变成平台
  2622. -----------------其他的外联系统 我们统一用iframe打开
  2623. * @param {array} 类型
  2624. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2625. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2626. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2627. 如果第一个参数为其他,则无第二个参数
  2628. * @returns {array}
  2629. */
  2630. window.addEventListener('message', function (e) { // 监听 message 事件
  2631. // alert(e.data.type);
  2632. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2633. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2634. //3是展示全部阶段 2学生 1老师 4专家
  2635. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2636. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2637. //3是展示全部阶段 2学生 1老师 4专家
  2638. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2639. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2640. //3是展示全部阶段 2学生 1老师 4专家
  2641. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2642. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2643. } else if (e.data.screenType && e.data.screenType == "3train") { //培训管理传入
  2644. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  2645. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2646. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2647. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2648. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2649. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2650. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2651. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2652. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2653. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2654. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2655. //3是展示全部阶段 2学生 1老师 4专家
  2656. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2657. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2658. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2659. U.MD.D.I.selectUser();
  2660. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2661. var _formel = document.getElementById("study");
  2662. U.UF.F.windowZooming(_formel);
  2663. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2664. var _formel = document.getElementById("studyDetail");
  2665. U.UF.F.windowZooming(_formel);
  2666. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2667. var _formel = document.getElementById("studyDetail");
  2668. U.UF.F.windowZooming(_formel);
  2669. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2670. var _formel = document.getElementById("studentStudy");
  2671. U.UF.F.windowZooming(_formel);
  2672. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2673. // var _formel = document.getElementById("study");
  2674. //如果最大化了,那么就把他缩小
  2675. // if (_formel.ismaximize) {
  2676. // return;
  2677. // }
  2678. // U.UF.F.windowZooming(_formel);
  2679. // U.UF.F.topWindow(_formel);
  2680. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2681. // var _formel = document.getElementById("studyDetail");
  2682. //如果最大化了,那么就把他缩小
  2683. // if (_formel.ismaximize) {
  2684. // return;
  2685. // }
  2686. // U.UF.F.windowZooming(_formel);
  2687. // U.UF.F.topWindow(_formel);
  2688. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2689. // var _formel = document.getElementById("studentStudy");
  2690. // if (_formel.ismaximize) {
  2691. // return;
  2692. // }
  2693. // U.UF.F.windowZooming(_formel);
  2694. // U.UF.F.topWindow(_formel);
  2695. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2696. var _formel = document.getElementById("study");
  2697. // if (_formel.ismaximize) {
  2698. // return;
  2699. // }
  2700. // U.UF.F.windowZooming(_formel);
  2701. U.UF.F.topWindow(_formel);
  2702. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2703. var _formel = document.getElementById("studentIndex");
  2704. U.UF.F.windowZooming(_formel);
  2705. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2706. var _formel = document.getElementById("studyDetailS");
  2707. U.UF.F.windowZooming(_formel);
  2708. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2709. var _formel = document.getElementById("studioIndex");
  2710. U.UF.F.windowZooming(_formel);
  2711. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2712. var _formel = document.getElementById("studyDetailStudio");
  2713. U.UF.F.windowZooming(_formel);
  2714. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2715. var _formel = document.getElementById("studyDetailStudio");
  2716. U.UF.F.windowZooming(_formel);
  2717. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2718. var _formel = document.getElementById("studyDetailNT");
  2719. U.UF.F.windowZooming(_formel);
  2720. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2721. var _formel = document.getElementById("studyDetailS");
  2722. U.UF.F.windowZooming(_formel);
  2723. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2724. var _formel = document.getElementById("studyDetailS");
  2725. U.UF.F.topWindow(_formel);
  2726. } else if (e.data.tools && e.data.tools == "1") {
  2727. // U.MD.D.I.openApplication("whiteboard")
  2728. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2729. } else if (e.data.tools && e.data.tools == "2") {
  2730. U.MD.D.I.openApplication("note")
  2731. } else if (e.data.tools && e.data.tools == "3") {
  2732. // U.MD.D.I.openApplication("mind")
  2733. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2734. } else if (e.data.tools && e.data.tools == "4") {
  2735. U.MD.D.I.openApplication("investigation")
  2736. } else if (e.data.tools && e.data.tools == "6") {
  2737. // U.MD.D.I.openApplication("doc")
  2738. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2739. } else if (e.data.tools && e.data.tools == "7") {
  2740. // U.MD.D.I.openApplication("mindNetwork")
  2741. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2742. } else if (e.data.tools && e.data.tools == "8") {
  2743. U.MD.D.I.openApplication("library")
  2744. } else if (e.data.tools && e.data.tools == "17") {
  2745. U.MD.D.I.openApplication("stuLibrary")
  2746. } else if (e.data.tools && e.data.tools == "18") {
  2747. U.MD.D.I.openApplication("train")
  2748. } else if (e.data.tools && e.data.tools == "21") {
  2749. U.MD.D.I.openApplication("program")
  2750. } else if (e.data.tools && e.data.tools == "22") {
  2751. U.MD.D.I.openApplication("AIprogram2")
  2752. } else if (e.data.tools && e.data.tools == "23") {
  2753. U.MD.D.I.openApplication("Pythonprogram")
  2754. } else if (e.data.tools && e.data.tools == "24") {
  2755. U.MD.D.I.openApplication("AIprogram")
  2756. } else if (e.data.tools && e.data.tools == "25") {
  2757. U.MD.D.I.openApplication("sys")
  2758. } else if (e.data.tools && e.data.tools == "26") {
  2759. // U.MD.D.I.openApplication("courseDesign")
  2760. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2761. } else if (e.data.tools && e.data.tools == "31") {
  2762. U.MD.D.I.openApplication("netWorkPanel")
  2763. } else if (e.data.tools && e.data.tools == "32") {
  2764. U.MD.D.I.openApplication("codeEdit")
  2765. } else if (e.data.tools && e.data.tools == "57") {
  2766. U.MD.D.I.openApplication("CocoPi")
  2767. } else if (e.data.tools && e.data.tools == "63") {
  2768. U.MD.D.I.openApplication("Wood")
  2769. } else if (e.data.tools && e.data.tools == "58") {
  2770. U.MD.D.I.openApplication("car")
  2771. } else if (e.data.tools && e.data.tools == "59") {
  2772. U.MD.D.I.openApplication("lineSearch")
  2773. } else if (e.data.tools && e.data.tools == "60") {
  2774. U.MD.D.I.openApplication("deepLearning")
  2775. } else if (e.data.tools && e.data.tools == "61") {
  2776. U.MD.D.I.openApplication("allHistory")
  2777. } else if (e.data.tools && e.data.tools == "28") {
  2778. U.MD.D.I.openApplication("translation")
  2779. } else if (e.data.tools && e.data.tools == "37") {
  2780. U.MD.D.I.openApplication("mohe")
  2781. } else if (e.data.tools && e.data.tools == "38") {
  2782. U.MD.D.I.openApplication("24game")
  2783. } else if (e.data.tools && e.data.tools == "39") {
  2784. U.MD.D.I.openApplication("GeoGebra")
  2785. } else if (e.data.tools && e.data.tools == "43") {
  2786. U.MD.D.I.openApplication("studentEvaluate")
  2787. } else if (e.data.tools && e.data.tools == "44") {
  2788. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2789. } else if (e.data.tools && e.data.tools == "46") {
  2790. U.MD.D.I.openApplication("project")
  2791. } else if (e.data.tools && e.data.tools == "1s") {
  2792. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2793. } else if (e.data.tools && e.data.tools == "3s") {
  2794. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2795. } else if (e.data.tools && e.data.tools == "6s") {
  2796. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2797. } else if (e.data.tools && e.data.tools == "1studio") {
  2798. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2799. } else if (e.data.tools && e.data.tools == "3studio") {
  2800. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2801. } else if (e.data.tools && e.data.tools == "6studio") {
  2802. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2803. } else if (e.data.tools && e.data.tools == "3y") {
  2804. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2805. } else if (e.data.tools && e.data.tools == "1y") {
  2806. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2807. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2808. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2809. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2810. U.MD.D.I.openApplication("AIAnalyse")
  2811. } else if (e.data.tools && e.data.tools == "1teacher") {
  2812. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2813. } else if (e.data.tools && e.data.tools == "3teacher") {
  2814. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2815. } else if (e.data.tools && e.data.tools == "7teacher") {
  2816. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2817. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2818. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2819. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2820. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2821. } else if (e.data.tools && e.data.tools == "1E") {
  2822. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2823. } else if (e.data.tools && e.data.tools == "3E") {
  2824. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2825. } else if (e.data.tools && e.data.tools == "57y") {
  2826. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2827. } else if (e.data.tools && e.data.tools == "57u") {
  2828. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2829. } else if (e.data.tools && e.data.tools == "57teacher") {
  2830. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2831. } else if (e.data.tools && e.data.tools == "64") {
  2832. U.MD.D.I.openApplication("AIChat")
  2833. } else if (e.data.tools && e.data.tools == "66") {
  2834. U.MD.D.I.openApplication("formulaEdi")
  2835. } else if (e.data.tools && e.data.tools == "67") {
  2836. U.MD.D.I.openApplication("molStr")
  2837. } else if (e.data.tools && e.data.tools == "68") {
  2838. U.MD.D.I.openApplication("timeAxis")
  2839. } else if (e.data.tools && e.data.tools == "openCourse") {
  2840. let _data = {
  2841. typea: e.data.typea || '',
  2842. typeb: e.data.typeb || '',
  2843. typed: e.data.typed || '',
  2844. }
  2845. U.MD.D.I.openInApplication("index", _data)
  2846. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2847. let _data = {
  2848. classid: e.data.classid || '',
  2849. }
  2850. U.MD.D.I.openInApplication("dataClass", _data)
  2851. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2852. let _data = {
  2853. cid: e.data.cid || '',
  2854. gid: e.data.gid || '',
  2855. }
  2856. U.MD.D.I.openInApplication("opencCscl", _data)
  2857. } else if (e.data.tools && e.data.tools == "dataBoardTest") {
  2858. U.MD.D.I.openApplication("dataBoardTest")
  2859. }
  2860. });
  2861. U.MD.D.I.selectUser = function () {
  2862. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2863. if (res.value[0].length > 0) {
  2864. US.userInfo = res.value[0][0];
  2865. $(".userName")[0].innerHTML = US.userInfo.username;
  2866. }
  2867. }, [], { "type": "GET", "withCredentials": true });
  2868. }
  2869. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2870. var _userinfo = US.userInfo, //登录用户信息
  2871. _userid = US.userInfo.userid, //登录用户id
  2872. _oid = _userinfo.organizeid,
  2873. _type = US.userInfo.type,
  2874. _org = US.userInfo.org,
  2875. _role = US.userInfo.role,
  2876. _classId = US.userInfo.classid;
  2877. if (_type == 4) {
  2878. tType = 4
  2879. }
  2880. switch (str) {
  2881. case "studyDetailNT": //无终端模式
  2882. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2883. setTimeout(() => {
  2884. U.MD.U.L.login();
  2885. }, 2000);
  2886. } else {
  2887. _formdiv = new U.UF.UI.form(
  2888. "课程详情",
  2889. $$("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 }), {
  2890. "id": "studyDetailNT",
  2891. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2892. "onresize": function () { }
  2893. }, {
  2894. closecallback: function () { }
  2895. }, { "style": { "height": "36px" } }).form; //创建窗体
  2896. _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); } }
  2897. break;
  2898. }
  2899. case "studyDetail":
  2900. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2901. setTimeout(() => {
  2902. U.MD.U.L.login();
  2903. }, 2000);
  2904. } else {
  2905. _formdiv = new U.UF.UI.form(
  2906. "课程详情",
  2907. $$("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 }), {
  2908. "id": "studyDetail",
  2909. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2910. "onresize": function () { }
  2911. }, {
  2912. closecallback: function () { }
  2913. }, { "style": { "height": "36px" } }).form; //创建窗体
  2914. _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); } }
  2915. break;
  2916. }
  2917. case "studyDetailTrain":
  2918. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2919. setTimeout(() => {
  2920. U.MD.U.L.login();
  2921. }, 2000);
  2922. } else {
  2923. _formdiv = new U.UF.UI.form(
  2924. "培训详情",
  2925. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailTrain?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2926. "id": "studyDetailTrain",
  2927. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2928. "onresize": function () { }
  2929. }, {
  2930. closecallback: function () { }
  2931. }, { "style": { "height": "36px" } }).form; //创建窗体
  2932. _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); } }
  2933. break;
  2934. }
  2935. case "studyDetailS":
  2936. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2937. setTimeout(() => {
  2938. U.MD.U.L.login();
  2939. }, 2000);
  2940. } else {
  2941. _formdiv = new U.UF.UI.form(
  2942. "项目详情",
  2943. $$("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 }), {
  2944. "id": "studyDetailS",
  2945. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2946. "onresize": function () { }
  2947. }, {
  2948. closecallback: function () { }
  2949. }, { "style": { "height": "36px" } }).form; //创建窗体
  2950. _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); } }
  2951. break;
  2952. }
  2953. case "studyDetailStudio":
  2954. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2955. setTimeout(() => {
  2956. U.MD.U.L.login();
  2957. }, 2000);
  2958. } else {
  2959. _formdiv = new U.UF.UI.form(
  2960. "工作详情",
  2961. $$("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 }), {
  2962. "id": "studyDetailStudio",
  2963. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2964. "onresize": function () { }
  2965. }, {
  2966. closecallback: function () { }
  2967. }, { "style": { "height": "36px" } }).form; //创建窗体
  2968. _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); } }
  2969. break;
  2970. }
  2971. case "studyDetailS5":
  2972. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2973. setTimeout(() => {
  2974. U.MD.U.L.login();
  2975. }, 2000);
  2976. } else {
  2977. _formdiv = new U.UF.UI.form(
  2978. "项目详情",
  2979. $$("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 }), {
  2980. "id": "studyDetailS",
  2981. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2982. "onresize": function () { }
  2983. }, {
  2984. closecallback: function () { }
  2985. }, { "style": { "height": "36px" } }).form; //创建窗体
  2986. _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); } }
  2987. break;
  2988. }
  2989. case "studyDetailGM":
  2990. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2991. setTimeout(() => {
  2992. U.MD.U.L.login();
  2993. }, 2000);
  2994. } else {
  2995. _formdiv = new U.UF.UI.form(
  2996. "课程详情",
  2997. $$("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 }), {
  2998. "id": "studyDetail",
  2999. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3000. "onresize": function () { }
  3001. }, {
  3002. closecallback: function () { }
  3003. }, { "style": { "height": "36px" } }).form; //创建窗体
  3004. _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); } }
  3005. break;
  3006. }
  3007. case "hanUrl":
  3008. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3009. setTimeout(() => {
  3010. U.MD.U.L.login();
  3011. }, 2000);
  3012. } else {
  3013. _formdiv = new U.UF.UI.form(
  3014. "汉字宫",
  3015. $$("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" }), {
  3016. "id": "hanUrl",
  3017. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3018. "onresize": function () { }
  3019. }, {
  3020. closecallback: function () { }
  3021. }, { "style": { "height": "36px" } }).form; //创建窗体
  3022. _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); } }
  3023. break;
  3024. }
  3025. case "index":
  3026. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3027. setTimeout(() => {
  3028. U.MD.U.L.login();
  3029. }, 2000);
  3030. } else {
  3031. _formdiv = new U.UF.UI.form(
  3032. "课程中心",
  3033. $$("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 }), {
  3034. "id": "study",
  3035. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3036. "onresize": function () { }
  3037. }, {
  3038. closecallback: function () { }
  3039. }, { "style": { "height": "36px" } }).form; //创建窗体
  3040. _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); } }
  3041. break;
  3042. }
  3043. case "dataClass":
  3044. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3045. setTimeout(() => {
  3046. U.MD.U.L.login();
  3047. }, 2000);
  3048. } else {
  3049. _formdiv = new U.UF.UI.form(
  3050. "数据报告",
  3051. $$("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 }), {
  3052. "id": "dataClass",
  3053. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3054. "onresize": function () { }
  3055. }, {
  3056. closecallback: function () { }
  3057. }, { "style": { "height": "36px" } }).form; //创建窗体
  3058. _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); } }
  3059. break;
  3060. }
  3061. case "opencCscl":
  3062. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3063. setTimeout(() => {
  3064. U.MD.U.L.login();
  3065. }, 2000);
  3066. } else {
  3067. _formdiv = new U.UF.UI.form(
  3068. "协同建构",
  3069. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  3070. "id": "futureClass",
  3071. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3072. "onresize": function () { }
  3073. }, {
  3074. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3075. }, { "style": { "height": "36px" } }).form; //创建窗体
  3076. _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); } }
  3077. break;
  3078. }
  3079. }
  3080. }
  3081. U.MD.D.I.openApplication = function (str, obj, info) {
  3082. obj = obj || {};
  3083. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3084. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3085. _userinfo = US.userInfo, //登录用户信息
  3086. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3087. _oid = obj.organizeid || _userinfo.organizeid,
  3088. _type = US.userInfo.type,
  3089. _org = US.userInfo.org,
  3090. _role = US.userInfo.role,
  3091. _classId = US.userInfo.classid,
  3092. _TscreenType = 1
  3093. _screenType = 2,
  3094. _SscreenType = 3;
  3095. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3096. return;
  3097. }
  3098. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3099. switch (str) {
  3100. case "studnetProject": //好友打开
  3101. _formdiv = new U.UF.UI.form(
  3102. "我的项目",
  3103. $$("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 }), {
  3104. "id": "studnetProject",
  3105. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3106. "onresize": function () { }
  3107. }, {
  3108. closecallback: function () { }
  3109. }, { "style": { "height": "36px" } }).form; //创建窗体
  3110. _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); } }
  3111. break;
  3112. case "studentEvaluate": //好友打开
  3113. _formdiv = new U.UF.UI.form(
  3114. "我的评价",
  3115. $$("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 }), {
  3116. "id": "studentEvaluate",
  3117. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3118. "onresize": function () { }
  3119. }, {
  3120. closecallback: function () { }
  3121. }, { "style": { "height": "36px" } }).form; //创建窗体
  3122. _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); } }
  3123. break;
  3124. case "my":
  3125. _formdiv = new U.UF.UI.form(
  3126. "我的资料",
  3127. $$("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 }), {
  3128. "id": "my",
  3129. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3130. "onresize": function () { }
  3131. }, {
  3132. closecallback: function () { }
  3133. }, { "style": { "height": "36px" } }).form; //创建窗体
  3134. _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); } }
  3135. break;
  3136. case "program":
  3137. _formdiv = new U.UF.UI.form(
  3138. "编程平台",
  3139. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3140. "id": "program",
  3141. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3142. "onresize": function () { }
  3143. }, {
  3144. closecallback: function () { }
  3145. }, { "style": { "height": "36px" } }).form; //创建窗体
  3146. _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); } }
  3147. break;
  3148. case "library":
  3149. _formdiv = new U.UF.UI.form(
  3150. "素材库",
  3151. $$("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 }), {
  3152. "id": "library",
  3153. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3154. "onresize": function () { }
  3155. }, {
  3156. closecallback: function () { }
  3157. }, { "style": { "height": "36px" } }).form; //创建窗体
  3158. _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); } }
  3159. break;
  3160. case "whiteboard":
  3161. _formdiv = new U.UF.UI.form(
  3162. "电子白板",
  3163. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3164. "id": "whiteboard",
  3165. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3166. "onresize": function () { }
  3167. }, {
  3168. closecallback: function () { }
  3169. }, { "style": { "height": "36px" } }).form; //创建窗体
  3170. _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); } }
  3171. break;
  3172. case "investigation":
  3173. _formdiv = new U.UF.UI.form(
  3174. "问卷调查",
  3175. $$("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 }), {
  3176. "id": "investigation",
  3177. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3178. "onresize": function () { }
  3179. }, {
  3180. closecallback: function () { }
  3181. }, { "style": { "height": "36px" } }).form; //创建窗体
  3182. _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); } }
  3183. break;
  3184. case "note":
  3185. _formdiv = new U.UF.UI.form(
  3186. "便签分类",
  3187. $$("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 }), {
  3188. "id": "note",
  3189. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3190. "onresize": function () { }
  3191. }, {
  3192. closecallback: function () { }
  3193. }, { "style": { "height": "36px" } }).form; //创建窗体
  3194. _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); } }
  3195. break;
  3196. // case "score":
  3197. // _formdiv = new U.UF.UI.form(
  3198. // "量规评分",
  3199. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3200. // "id": "score",
  3201. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3202. // "onresize": function() {}
  3203. // }, {
  3204. // closecallback: function() {}
  3205. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3206. // _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); } }
  3207. // break;
  3208. case "mind":
  3209. _formdiv = new U.UF.UI.form(
  3210. "思维导图",
  3211. $$("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"
  3212. "id": "mind",
  3213. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3214. "onresize": function () { }
  3215. }, {
  3216. closecallback: function () { }
  3217. }, { "style": { "height": "36px" } }).form; //创建窗体
  3218. _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); } }
  3219. break;
  3220. case "doc":
  3221. // U.MD.D.I.isRoom();
  3222. _formdiv = new U.UF.UI.form(
  3223. "协同文档",
  3224. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3225. "id": "doc",
  3226. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3227. "onresize": function () { }
  3228. }, {
  3229. closecallback: function () { }
  3230. }, { "style": { "height": "36px" } }).form; //创建窗体
  3231. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3232. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3233. // })
  3234. _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); } }
  3235. break;
  3236. case "studentStudy":
  3237. _formdiv = new U.UF.UI.form(
  3238. "课程中心",
  3239. $$("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
  3240. "id": "studentStudy",
  3241. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3242. "onresize": function () { }
  3243. }, {
  3244. closecallback: function () { }
  3245. }, { "style": { "height": "36px" } }).form; //创建窗体
  3246. _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); } }
  3247. break;
  3248. case "train": //好友打开
  3249. _formdiv = new U.UF.UI.form(
  3250. "训练平台",
  3251. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3252. "id": "train",
  3253. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3254. "onresize": function () { }
  3255. }, {
  3256. closecallback: function () { }
  3257. }, { "style": { "height": "36px" } }).form; //创建窗体
  3258. _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); } }
  3259. break;
  3260. case "mindNetwork": //好友打开
  3261. _formdiv = new U.UF.UI.form(
  3262. "思维网格",
  3263. $$("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 }), {
  3264. "id": "mindNetwork",
  3265. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3266. "onresize": function () { }
  3267. }, {
  3268. closecallback: function () { }
  3269. }, { "style": { "height": "36px" } }).form; //创建窗体
  3270. _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); } }
  3271. break;
  3272. case "studentClassRoom": //好友打开
  3273. _formdiv = new U.UF.UI.form(
  3274. "实时课堂",
  3275. $$("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 }), {
  3276. "id": "studentClassRoom",
  3277. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3278. "onresize": function () { }
  3279. }, {
  3280. closecallback: function () { }
  3281. }, { "style": { "height": "36px" } }).form; //创建窗体
  3282. _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); } }
  3283. setTimeout(() => {
  3284. U.UF.F.windowZooming(_formdiv)
  3285. }, 0);
  3286. break;
  3287. }
  3288. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3289. switch (str) {
  3290. case "studnetProject": //好友打开
  3291. _formdiv = new U.UF.UI.form(
  3292. "我的项目",
  3293. $$("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 }), {
  3294. "id": "studnetProject",
  3295. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3296. "onresize": function () { }
  3297. }, {
  3298. closecallback: function () { }
  3299. }, { "style": { "height": "36px" } }).form; //创建窗体
  3300. _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); } }
  3301. break;
  3302. case "studentEvaluate": //好友打开
  3303. _formdiv = new U.UF.UI.form(
  3304. "我的评价",
  3305. $$("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 }), {
  3306. "id": "studentEvaluate",
  3307. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3308. "onresize": function () { }
  3309. }, {
  3310. closecallback: function () { }
  3311. }, { "style": { "height": "36px" } }).form; //创建窗体
  3312. _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); } }
  3313. break;
  3314. case "my":
  3315. _formdiv = new U.UF.UI.form(
  3316. "我的资料",
  3317. $$("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 }), {
  3318. "id": "my",
  3319. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3320. "onresize": function () { }
  3321. }, {
  3322. closecallback: function () { }
  3323. }, { "style": { "height": "36px" } }).form; //创建窗体
  3324. _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); } }
  3325. break;
  3326. case "program":
  3327. _formdiv = new U.UF.UI.form(
  3328. "编程平台",
  3329. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3330. "id": "program",
  3331. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3332. "onresize": function () { }
  3333. }, {
  3334. closecallback: function () { }
  3335. }, { "style": { "height": "36px" } }).form; //创建窗体
  3336. _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); } }
  3337. break;
  3338. case "library":
  3339. _formdiv = new U.UF.UI.form(
  3340. "素材库",
  3341. $$("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 }), {
  3342. "id": "library",
  3343. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3344. "onresize": function () { }
  3345. }, {
  3346. closecallback: function () { }
  3347. }, { "style": { "height": "36px" } }).form; //创建窗体
  3348. _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); } }
  3349. break;
  3350. case "whiteboard":
  3351. _formdiv = new U.UF.UI.form(
  3352. "电子白板",
  3353. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3354. "id": "whiteboard",
  3355. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3356. "onresize": function () { }
  3357. }, {
  3358. closecallback: function () { }
  3359. }, { "style": { "height": "36px" } }).form; //创建窗体
  3360. _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); } }
  3361. break;
  3362. case "investigation":
  3363. _formdiv = new U.UF.UI.form(
  3364. "问卷调查",
  3365. $$("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 }), {
  3366. "id": "investigation",
  3367. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3368. "onresize": function () { }
  3369. }, {
  3370. closecallback: function () { }
  3371. }, { "style": { "height": "36px" } }).form; //创建窗体
  3372. _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); } }
  3373. break;
  3374. case "note":
  3375. _formdiv = new U.UF.UI.form(
  3376. "便签分类",
  3377. $$("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 }), {
  3378. "id": "note",
  3379. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3380. "onresize": function () { }
  3381. }, {
  3382. closecallback: function () { }
  3383. }, { "style": { "height": "36px" } }).form; //创建窗体
  3384. _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); } }
  3385. break;
  3386. // case "score":
  3387. // _formdiv = new U.UF.UI.form(
  3388. // "量规评分",
  3389. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3390. // "id": "score",
  3391. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3392. // "onresize": function() {}
  3393. // }, {
  3394. // closecallback: function() {}
  3395. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3396. // _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); } }
  3397. // break;
  3398. case "mind":
  3399. _formdiv = new U.UF.UI.form(
  3400. "思维导图",
  3401. $$("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"
  3402. "id": "mind",
  3403. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3404. "onresize": function () { }
  3405. }, {
  3406. closecallback: function () { }
  3407. }, { "style": { "height": "36px" } }).form; //创建窗体
  3408. _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); } }
  3409. break;
  3410. case "doc":
  3411. // U.MD.D.I.isRoom();
  3412. _formdiv = new U.UF.UI.form(
  3413. "协同文档",
  3414. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3415. "id": "doc",
  3416. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3417. "onresize": function () { }
  3418. }, {
  3419. closecallback: function () { }
  3420. }, { "style": { "height": "36px" } }).form; //创建窗体
  3421. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3422. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3423. })
  3424. _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); } }
  3425. break;
  3426. case "train": //好友打开
  3427. _formdiv = new U.UF.UI.form(
  3428. "训练平台",
  3429. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3430. "id": "train",
  3431. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3432. "onresize": function () { }
  3433. }, {
  3434. closecallback: function () { }
  3435. }, { "style": { "height": "36px" } }).form; //创建窗体
  3436. _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); } }
  3437. break;
  3438. case "studentStudy":
  3439. _formdiv = new U.UF.UI.form(
  3440. "课程中心",
  3441. $$("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
  3442. "id": "studentStudy",
  3443. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3444. "onresize": function () { }
  3445. }, {
  3446. closecallback: function () { }
  3447. }, { "style": { "height": "36px" } }).form; //创建窗体
  3448. _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); } }
  3449. break;
  3450. case "mindNetwork": //好友打开
  3451. _formdiv = new U.UF.UI.form(
  3452. "思维网格",
  3453. $$("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 }), {
  3454. "id": "mindNetwork",
  3455. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3456. "onresize": function () { }
  3457. }, {
  3458. closecallback: function () { }
  3459. }, { "style": { "height": "36px" } }).form; //创建窗体
  3460. _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); } }
  3461. break;
  3462. case "studentClassRoom": //好友打开
  3463. _formdiv = new U.UF.UI.form(
  3464. "实时课堂",
  3465. $$("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 }), {
  3466. "id": "studentClassRoom",
  3467. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3468. "onresize": function () { }
  3469. }, {
  3470. closecallback: function () { }
  3471. }, { "style": { "height": "36px" } }).form; //创建窗体
  3472. _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); } }
  3473. setTimeout(() => {
  3474. U.UF.F.windowZooming(_formdiv)
  3475. }, 0);
  3476. break;
  3477. }
  3478. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3479. //选择应用处理
  3480. switch (str) {
  3481. case "project": //好友打开
  3482. _formdiv = new U.UF.UI.form(
  3483. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3484. $$("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 }), {
  3485. "id": "project",
  3486. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3487. "onresize": function () { }
  3488. }, {
  3489. closecallback: function () { }
  3490. }, { "style": { "height": "36px" } }).form; //创建窗体
  3491. _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); } }
  3492. break;
  3493. case "student":
  3494. _formdiv = new U.UF.UI.form(
  3495. "学生管理",
  3496. $$("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 }), {
  3497. "id": "student",
  3498. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3499. "onresize": function () { }
  3500. }, {
  3501. closecallback: function () { }
  3502. }, { "style": { "height": "36px" } }).form; //创建窗体
  3503. _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); } }
  3504. break;
  3505. case "evaluate":
  3506. _formdiv = new U.UF.UI.form(
  3507. "学生评价",
  3508. $$("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 }), {
  3509. "id": "evaluate",
  3510. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3511. "onresize": function () { }
  3512. }, {
  3513. closecallback: function () { }
  3514. }, { "style": { "height": "36px" } }).form; //创建窗体
  3515. _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); } }
  3516. break;
  3517. case "sys":
  3518. _formdiv = new U.UF.UI.form(
  3519. "目标管理",
  3520. $$("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 }), {
  3521. "id": "sys",
  3522. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3523. "onresize": function () { }
  3524. }, {
  3525. closecallback: function () { }
  3526. }, { "style": { "height": "36px" } }).form; //创建窗体
  3527. _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); } }
  3528. break;
  3529. case "courseDesign":
  3530. _formdiv = new U.UF.UI.form(
  3531. "项目设计",
  3532. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3533. "id": "courseDesign",
  3534. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3535. "onresize": function () { }
  3536. }, {
  3537. closecallback: function () { }
  3538. }, { "style": { "height": "36px" } }).form; //创建窗体
  3539. _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); } }
  3540. break;
  3541. case "program":
  3542. _formdiv = new U.UF.UI.form(
  3543. "编程平台",
  3544. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3545. "id": "program",
  3546. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3547. "onresize": function () { }
  3548. }, {
  3549. closecallback: function () { }
  3550. }, { "style": { "height": "36px" } }).form; //创建窗体
  3551. _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); } }
  3552. break;
  3553. case "class":
  3554. _formdiv = new U.UF.UI.form(
  3555. "班级管理",
  3556. $$("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 }), {
  3557. "id": "class",
  3558. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3559. "onresize": function () { }
  3560. }, {
  3561. closecallback: function () { }
  3562. }, { "style": { "height": "36px" } }).form; //创建窗体
  3563. _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); } }
  3564. break;
  3565. case "Grade":
  3566. _formdiv = new U.UF.UI.form(
  3567. "年级管理",
  3568. $$("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 }), {
  3569. "id": "Grade",
  3570. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3571. "onresize": function () { }
  3572. }, {
  3573. closecallback: function () { }
  3574. }, { "style": { "height": "36px" } }).form; //创建窗体
  3575. _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); } }
  3576. break;
  3577. case "teacherOffice":
  3578. _formdiv = new U.UF.UI.form(
  3579. "教研室",
  3580. $$("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 }), {
  3581. "id": "teacherOffice",
  3582. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3583. "onresize": function () { }
  3584. }, {
  3585. closecallback: function () { }
  3586. }, { "style": { "height": "36px" } }).form; //创建窗体
  3587. _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); } }
  3588. break;
  3589. case "my":
  3590. _formdiv = new U.UF.UI.form(
  3591. "我的资料",
  3592. $$("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 }), {
  3593. "id": "my",
  3594. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3595. "onresize": function () { }
  3596. }, {
  3597. closecallback: function () { }
  3598. }, { "style": { "height": "36px" } }).form; //创建窗体
  3599. _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); } }
  3600. break;
  3601. case "notice":
  3602. _formdiv = new U.UF.UI.form(
  3603. "通知公告",
  3604. $$("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 }), {
  3605. "id": "notice",
  3606. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3607. "onresize": function () { }
  3608. }, {
  3609. closecallback: function () { }
  3610. }, { "style": { "height": "36px" } }).form; //创建窗体
  3611. _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); } }
  3612. break;
  3613. case "library":
  3614. _formdiv = new U.UF.UI.form(
  3615. "素材库",
  3616. $$("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 }), {
  3617. "id": "library",
  3618. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3619. "onresize": function () { }
  3620. }, {
  3621. closecallback: function () { }
  3622. }, { "style": { "height": "36px" } }).form; //创建窗体
  3623. _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); } }
  3624. break;
  3625. case "whiteboard":
  3626. _formdiv = new U.UF.UI.form(
  3627. "电子白板",
  3628. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3629. "id": "whiteboard",
  3630. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3631. "onresize": function () { }
  3632. }, {
  3633. closecallback: function () { }
  3634. }, { "style": { "height": "36px" } }).form; //创建窗体
  3635. _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); } }
  3636. break;
  3637. case "investigation":
  3638. _formdiv = new U.UF.UI.form(
  3639. "问卷调查",
  3640. $$("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 }), {
  3641. "id": "investigation",
  3642. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3643. "onresize": function () { }
  3644. }, {
  3645. closecallback: function () { }
  3646. }, { "style": { "height": "36px" } }).form; //创建窗体
  3647. _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); } }
  3648. break;
  3649. case "note":
  3650. _formdiv = new U.UF.UI.form(
  3651. "便签分类",
  3652. $$("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 }), {
  3653. "id": "note",
  3654. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3655. "onresize": function () { }
  3656. }, {
  3657. closecallback: function () { }
  3658. }, { "style": { "height": "36px" } }).form; //创建窗体
  3659. _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); } }
  3660. break;
  3661. // case "score":
  3662. // _formdiv = new U.UF.UI.form(
  3663. // "量规评分",
  3664. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3665. // "id": "score",
  3666. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3667. // "onresize": function() {}
  3668. // }, {
  3669. // closecallback: function() {}
  3670. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3671. // _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); } }
  3672. // break;
  3673. case "mind":
  3674. _formdiv = new U.UF.UI.form(
  3675. "思维导图",
  3676. $$("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"
  3677. "id": "mind",
  3678. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3679. "onresize": function () { }
  3680. }, {
  3681. closecallback: function () { }
  3682. }, { "style": { "height": "36px" } }).form; //创建窗体
  3683. _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); } }
  3684. break;
  3685. case "doc":
  3686. // U.MD.D.I.isRoom();
  3687. _formdiv = new U.UF.UI.form(
  3688. "协同文档",
  3689. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3690. "id": "doc",
  3691. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3692. "onresize": function () { }
  3693. }, {
  3694. closecallback: function () { }
  3695. }, { "style": { "height": "36px" } }).form; //创建窗体
  3696. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3697. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3698. })
  3699. _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); } }
  3700. break;
  3701. case "study":
  3702. _formdiv = new U.UF.UI.form(
  3703. "课程中心",
  3704. $$("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
  3705. "id": "study",
  3706. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3707. "onresize": function () { }
  3708. }, {
  3709. closecallback: function () { }
  3710. }, { "style": { "height": "36px" } }).form; //创建窗体
  3711. _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); } }
  3712. break;
  3713. case "mindNetwork": //好友打开
  3714. _formdiv = new U.UF.UI.form(
  3715. "思维网格",
  3716. $$("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 }), {
  3717. "id": "mindNetwork",
  3718. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3719. "onresize": function () { }
  3720. }, {
  3721. closecallback: function () { }
  3722. }, { "style": { "height": "36px" } }).form; //创建窗体
  3723. _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); } }
  3724. break;
  3725. case "train": //好友打开
  3726. _formdiv = new U.UF.UI.form(
  3727. "训练平台",
  3728. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3729. "id": "mindNetwork",
  3730. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3731. "onresize": function () { }
  3732. }, {
  3733. closecallback: function () { }
  3734. }, { "style": { "height": "36px" } }).form; //创建窗体
  3735. _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); } }
  3736. break;
  3737. case "teacherClassRoom": //好友打开
  3738. _formdiv = new U.UF.UI.form(
  3739. "实时课堂",
  3740. $$("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 }), {
  3741. "id": "teacherClassRoom",
  3742. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3743. "onresize": function () { }
  3744. }, {
  3745. closecallback: function () { }
  3746. }, { "style": { "height": "36px" } }).form; //创建窗体
  3747. _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); } }
  3748. setTimeout(() => {
  3749. U.UF.F.windowZooming(_formdiv)
  3750. }, 0);
  3751. break;
  3752. }
  3753. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3754. switch (str) {
  3755. case "project": //好友打开
  3756. _formdiv = new U.UF.UI.form(
  3757. "课程管理",
  3758. $$("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 }), {
  3759. "id": "project",
  3760. "style": { "width": "90%", "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/project.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3766. break;
  3767. case "evaluate":
  3768. _formdiv = new U.UF.UI.form(
  3769. "学生评价",
  3770. $$("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 }), {
  3771. "id": "evaluate",
  3772. "style": { "width": "90%", "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/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3778. break;
  3779. case "notice":
  3780. _formdiv = new U.UF.UI.form(
  3781. "通知公告",
  3782. $$("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 }), {
  3783. "id": "notice",
  3784. "style": { "width": "90%", "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/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3790. break;
  3791. case "stuLibrary":
  3792. _formdiv = new U.UF.UI.form(
  3793. "学习资料",
  3794. $$("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 }), {
  3795. "id": "stuLibrary",
  3796. "style": { "width": "90%", "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/stuLibrary.png)" }, "name": "学习资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3802. break;
  3803. case "program":
  3804. _formdiv = new U.UF.UI.form(
  3805. "编程平台",
  3806. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3807. "id": "program",
  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/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3814. break;
  3815. case "whiteboard":
  3816. _formdiv = new U.UF.UI.form(
  3817. "电子白板",
  3818. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3819. "id": "whiteboard",
  3820. "style": { "width": "90%", "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/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3826. break;
  3827. case "investigation":
  3828. _formdiv = new U.UF.UI.form(
  3829. "问卷调查",
  3830. $$("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 }), {
  3831. "id": "investigation",
  3832. "style": { "width": "90%", "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/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3838. break;
  3839. case "mind":
  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": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3843. "id": "mind",
  3844. "style": { "width": "90%", "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/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3850. break;
  3851. case "doc":
  3852. // U.MD.D.I.isRoom();
  3853. _formdiv = new U.UF.UI.form(
  3854. "协同文档",
  3855. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3856. "id": "doc",
  3857. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3858. "onresize": function () { }
  3859. }, {
  3860. closecallback: function () { }
  3861. }, { "style": { "height": "36px" } }).form; //创建窗体
  3862. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3863. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3864. })
  3865. _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); } }
  3866. break;
  3867. case "study":
  3868. _formdiv = new U.UF.UI.form(
  3869. "课程中心",
  3870. $$("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
  3871. "id": "study",
  3872. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3873. "onresize": function () { }
  3874. }, {
  3875. closecallback: function () { }
  3876. }, { "style": { "height": "36px" } }).form; //创建窗体
  3877. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3878. break;
  3879. case "mindNetwork": //好友打开
  3880. _formdiv = new U.UF.UI.form(
  3881. "思维网格",
  3882. $$("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 }), {
  3883. "id": "mindNetwork",
  3884. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3885. "onresize": function () { }
  3886. }, {
  3887. closecallback: function () { }
  3888. }, { "style": { "height": "36px" } }).form; //创建窗体
  3889. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3890. break;
  3891. case "train": //好友打开
  3892. _formdiv = new U.UF.UI.form(
  3893. "训练平台",
  3894. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3895. "id": "train",
  3896. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3897. "onresize": function () { }
  3898. }, {
  3899. closecallback: function () { }
  3900. }, { "style": { "height": "36px" } }).form; //创建窗体
  3901. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3902. break;
  3903. case "sys":
  3904. _formdiv = new U.UF.UI.form(
  3905. "目标管理",
  3906. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3907. "id": "sys",
  3908. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3909. "onresize": function () { }
  3910. }, {
  3911. closecallback: function () { }
  3912. }, { "style": { "height": "36px" } }).form; //创建窗体
  3913. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3914. break;
  3915. case "courseDesign":
  3916. _formdiv = new U.UF.UI.form(
  3917. "项目设计",
  3918. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3919. "id": "courseDesign",
  3920. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3921. "onresize": function () { }
  3922. }, {
  3923. closecallback: function () { }
  3924. }, { "style": { "height": "36px" } }).form; //创建窗体
  3925. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3926. break;
  3927. }
  3928. } else if (!_type) {
  3929. switch (str) {
  3930. case "my":
  3931. _formdiv = new U.UF.UI.form(
  3932. "我的资料",
  3933. $$("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 }), {
  3934. "id": "my",
  3935. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3936. "onresize": function () { }
  3937. }, {
  3938. closecallback: function () { }
  3939. }, { "style": { "height": "36px" } }).form; //创建窗体
  3940. _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); } }
  3941. break;
  3942. }
  3943. }
  3944. switch (str) {
  3945. // AIprogram2 AI体验 aihub.cocorobo.cn
  3946. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3947. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3948. case "formulaEdi": //公式编辑
  3949. _formdiv = new U.UF.UI.form(
  3950. "公式编辑",
  3951. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3952. "id": "formulaEdi",
  3953. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3954. "onresize": function () { }
  3955. }, {
  3956. closecallback: function () { }
  3957. }, { "style": { "height": "36px" } }).form; //创建窗体
  3958. _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); } }
  3959. break;
  3960. case "molStr": //分子结构
  3961. _formdiv = new U.UF.UI.form(
  3962. "分子结构",
  3963. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3964. "id": "molStr",
  3965. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3966. "onresize": function () { }
  3967. }, {
  3968. closecallback: function () { }
  3969. }, { "style": { "height": "36px" } }).form; //创建窗体
  3970. _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); } }
  3971. break;
  3972. case "timeAxis": //时间轴
  3973. _formdiv = new U.UF.UI.form(
  3974. "时间轴",
  3975. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3976. "id": "timeAxis",
  3977. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3978. "onresize": function () { }
  3979. }, {
  3980. closecallback: function () { }
  3981. }, { "style": { "height": "36px" } }).form; //创建窗体
  3982. _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); } }
  3983. break;
  3984. case "AIprogram2": //AI体验
  3985. _formdiv = new U.UF.UI.form(
  3986. "AI体验",
  3987. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3988. "id": "AIprogram2",
  3989. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3990. "onresize": function () { }
  3991. }, {
  3992. closecallback: function () { }
  3993. }, { "style": { "height": "36px" } }).form; //创建窗体
  3994. _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); } }
  3995. break;
  3996. case "Pythonprogram": //python编程
  3997. _formdiv = new U.UF.UI.form(
  3998. "Python编程",
  3999. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  4000. "id": "Pythonprogram",
  4001. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4002. "onresize": function () { }
  4003. }, {
  4004. closecallback: function () { }
  4005. }, { "style": { "height": "36px" } }).form; //创建窗体
  4006. _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); } }
  4007. break;
  4008. case "AIprogram": //ai编程
  4009. _formdiv = new U.UF.UI.form(
  4010. "AI编程平台",
  4011. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4012. "id": "AIprogram",
  4013. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4014. "onresize": function () { }
  4015. }, {
  4016. closecallback: function () { }
  4017. }, { "style": { "height": "36px" } }).form; //创建窗体
  4018. _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); } }
  4019. break;
  4020. case "CocoPi": //CocoPi
  4021. _formdiv = new U.UF.UI.form(
  4022. "CocoPi",
  4023. $$("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" }), {
  4024. "id": "CocoPi",
  4025. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4026. "onresize": function () { }
  4027. }, {
  4028. closecallback: function () { }
  4029. }, { "style": { "height": "36px" } }).form; //创建窗体
  4030. _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); } }
  4031. break;
  4032. case "Wood": //Wood
  4033. _formdiv = new U.UF.UI.form(
  4034. "海龟编程",
  4035. $$("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/" }), {
  4036. "id": "Wood",
  4037. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4038. "onresize": function () { }
  4039. }, {
  4040. closecallback: function () { }
  4041. }, { "style": { "height": "36px" } }).form; //创建窗体
  4042. _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); } }
  4043. break;
  4044. case "car": //模拟驾驶
  4045. _formdiv = new U.UF.UI.form(
  4046. "模拟驾驶",
  4047. $$("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/" }), {
  4048. "id": "car",
  4049. "style": { "width": "70%", "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/car.png)" }, "name": "模拟驾驶", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4055. break;
  4056. case "lineSearch": //路径搜索
  4057. _formdiv = new U.UF.UI.form(
  4058. "路径搜索",
  4059. $$("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/" }), {
  4060. "id": "lineSearch",
  4061. "style": { "width": "70%", "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/lineSearch.png)" }, "name": "路径搜索", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4067. break;
  4068. case "deepLearning": //深度学习
  4069. _formdiv = new U.UF.UI.form(
  4070. "深度学习",
  4071. $$("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/#" }), {
  4072. "id": "deepLearning",
  4073. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4074. "onresize": function () { }
  4075. }, {
  4076. closecallback: function () { }
  4077. }, { "style": { "height": "36px" } }).form; //创建窗体
  4078. _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); } }
  4079. break;
  4080. case "allHistory": //深度学习
  4081. _formdiv = new U.UF.UI.form(
  4082. "全历史",
  4083. $$("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/" }), {
  4084. "id": "allHistory",
  4085. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4086. "onresize": function () { }
  4087. }, {
  4088. closecallback: function () { }
  4089. }, { "style": { "height": "36px" } }).form; //创建窗体
  4090. _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); } }
  4091. break;
  4092. case "chatPDF": //ai编程
  4093. _formdiv = new U.UF.UI.form(
  4094. "chatPDF",
  4095. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4096. "id": "chatPDF",
  4097. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4098. "onresize": function () { }
  4099. }, {
  4100. closecallback: function () { }
  4101. }, { "style": { "height": "36px" } }).form; //创建窗体
  4102. _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); } }
  4103. break;
  4104. case "resources": //国家教育
  4105. _formdiv = new U.UF.UI.form(
  4106. "国家教育",
  4107. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4108. "id": "resources",
  4109. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4110. "onresize": function () { }
  4111. }, {
  4112. closecallback: function () { }
  4113. }, { "style": { "height": "36px" } }).form; //创建窗体
  4114. _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); } }
  4115. break;
  4116. case "codeEdit": //源码编辑
  4117. _formdiv = new U.UF.UI.form(
  4118. "源码编辑",
  4119. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4120. "id": "codeEdit",
  4121. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4122. "onresize": function () { }
  4123. }, {
  4124. closecallback: function () { }
  4125. }, { "style": { "height": "36px" } }).form; //创建窗体
  4126. _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); } }
  4127. break; //
  4128. case "MindMap": //MindMap
  4129. _formdiv = new U.UF.UI.form(
  4130. "MindMap",
  4131. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4132. "id": "MindMap",
  4133. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4134. "onresize": function () { }
  4135. }, {
  4136. closecallback: function () { }
  4137. }, { "style": { "height": "36px" } }).form; //创建窗体
  4138. _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); } }
  4139. break;
  4140. case "netWorkPanel": //netWorkPanel
  4141. _formdiv = new U.UF.UI.form(
  4142. "netWorkPanel",
  4143. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4144. "id": "netWorkPanel",
  4145. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4146. "onresize": function () { }
  4147. }, {
  4148. closecallback: function () { }
  4149. }, { "style": { "height": "36px" } }).form; //创建窗体
  4150. _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); } }
  4151. break;
  4152. case "GeoGebra": //GeoGebra
  4153. _formdiv = new U.UF.UI.form(
  4154. "GeoGebra",
  4155. $$("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" }), {
  4156. "id": "GeoGebra",
  4157. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4158. "onresize": function () { }
  4159. }, {
  4160. closecallback: function () { }
  4161. }, { "style": { "height": "36px" } }).form; //创建窗体
  4162. _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); } }
  4163. break;
  4164. case "translation": //翻译
  4165. _formdiv = new U.UF.UI.form(
  4166. "翻译",
  4167. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4168. "id": "translation",
  4169. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4170. "onresize": function () { }
  4171. }, {
  4172. closecallback: function () { }
  4173. }, { "style": { "height": "36px" } }).form; //创建窗体
  4174. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/translation.png)" }, "name": "翻译", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4175. break;
  4176. case "mohe": //魔盒
  4177. _formdiv = new U.UF.UI.form(
  4178. "魔盒识字",
  4179. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4180. "id": "mohe",
  4181. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4182. "onresize": function () { }
  4183. }, {
  4184. closecallback: function () { }
  4185. }, { "style": { "height": "36px" } }).form; //创建窗体
  4186. _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); } }
  4187. break;
  4188. case "24game": //24点
  4189. _formdiv = new U.UF.UI.form(
  4190. "24点",
  4191. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4192. "id": "24game",
  4193. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4194. "onresize": function () { }
  4195. }, {
  4196. closecallback: function () { }
  4197. }, { "style": { "height": "36px" } }).form; //创建窗体
  4198. _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); } }
  4199. break;
  4200. case "case":
  4201. _formdiv = new U.UF.UI.form(
  4202. "课程进展",
  4203. $$("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 }), {
  4204. "id": "case",
  4205. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4206. "onresize": function () { }
  4207. }, {
  4208. closecallback: function () { }
  4209. }, { "style": { "height": "36px" } }).form; //创建窗体
  4210. _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); } }
  4211. break;
  4212. case "snf":
  4213. _formdiv = new U.UF.UI.form(
  4214. "赛诺梵",
  4215. $$("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" }), {
  4216. "id": "snf",
  4217. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4218. "onresize": function () { }
  4219. }, {
  4220. closecallback: function () { }
  4221. }, { "style": { "height": "36px" } }).form; //创建窗体
  4222. _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); } }
  4223. break;
  4224. case "hanFamily":
  4225. _formdiv = new U.UF.UI.form(
  4226. "汉字家族",
  4227. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4228. "id": "hanFamily",
  4229. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4230. "onresize": function () { }
  4231. }, {
  4232. closecallback: function () { }
  4233. }, { "style": { "height": "36px" } }).form; //创建窗体
  4234. _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); } }
  4235. break;
  4236. case "hanClassics":
  4237. _formdiv = new U.UF.UI.form(
  4238. "国学经典",
  4239. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4240. "id": "hanClassics",
  4241. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4242. "onresize": function () { }
  4243. }, {
  4244. closecallback: function () { }
  4245. }, { "style": { "height": "36px" } }).form; //创建窗体
  4246. _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); } }
  4247. break;
  4248. case "hanTraining":
  4249. _formdiv = new U.UF.UI.form(
  4250. "笔画训练",
  4251. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4252. "id": "hanTraining",
  4253. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4254. "onresize": function () { }
  4255. }, {
  4256. closecallback: function () { }
  4257. }, { "style": { "height": "36px" } }).form; //创建窗体
  4258. _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); } }
  4259. break;
  4260. case "hanClass":
  4261. _formdiv = new U.UF.UI.form(
  4262. "书法课堂",
  4263. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4264. "id": "hanClass",
  4265. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4266. "onresize": function () { }
  4267. }, {
  4268. closecallback: function () { }
  4269. }, { "style": { "height": "36px" } }).form; //创建窗体
  4270. _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); } }
  4271. break;
  4272. case "han":
  4273. _formdiv = new U.UF.UI.form(
  4274. "汉字宫",
  4275. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4276. "id": "han",
  4277. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4278. "onresize": function () { }
  4279. }, {
  4280. closecallback: function () { }
  4281. }, { "style": { "height": "36px" } }).form; //创建窗体
  4282. _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); } }
  4283. break;
  4284. case "projectGM": //课程管理
  4285. _formdiv = new U.UF.UI.form(
  4286. "课程管理",
  4287. $$("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 }), {
  4288. "id": "projectGM",
  4289. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4290. "onresize": function () { }
  4291. }, {
  4292. closecallback: function () { }
  4293. }, { "style": { "height": "36px" } }).form; //创建窗体
  4294. _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); } }
  4295. break;
  4296. case "studyGM": //课程中心
  4297. _formdiv = new U.UF.UI.form(
  4298. "课程中心",
  4299. $$("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
  4300. "id": "study",
  4301. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4302. "onresize": function () { }
  4303. }, {
  4304. closecallback: function () { }
  4305. }, { "style": { "height": "36px" } }).form; //创建窗体
  4306. _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); } }
  4307. break;
  4308. // studentGM
  4309. case "studentGM": //学生管理
  4310. _formdiv = new U.UF.UI.form(
  4311. "学生管理",
  4312. $$("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 }), {
  4313. "id": "studentGM",
  4314. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4315. "onresize": function () { }
  4316. }, {
  4317. closecallback: function () { }
  4318. }, { "style": { "height": "36px" } }).form; //创建窗体
  4319. _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); } }
  4320. break;
  4321. case "evaluateGM": //学生评价
  4322. _formdiv = new U.UF.UI.form(
  4323. "学生评价",
  4324. $$("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 }), {
  4325. "id": "evaluateGM",
  4326. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4327. "onresize": function () { }
  4328. }, {
  4329. closecallback: function () { }
  4330. }, { "style": { "height": "36px" } }).form; //创建窗体
  4331. _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); } }
  4332. break;
  4333. // classGM
  4334. case "classGM": //班级管理
  4335. _formdiv = new U.UF.UI.form(
  4336. "班级管理",
  4337. $$("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 }), {
  4338. "id": "classGM",
  4339. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4340. "onresize": function () { }
  4341. }, {
  4342. closecallback: function () { }
  4343. }, { "style": { "height": "36px" } }).form; //创建窗体
  4344. _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); } }
  4345. break;
  4346. // dataGM
  4347. case "dataGM":
  4348. _formdiv = new U.UF.UI.form(
  4349. "我的资料",
  4350. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataGM?userid=" + _userid + "&org=" + _org }), {
  4351. "id": "dataGM",
  4352. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4353. "onresize": function () { }
  4354. }, {
  4355. closecallback: function () { }
  4356. }, { "style": { "height": "36px" } }).form; //创建窗体
  4357. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/data.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4358. break;
  4359. // caseGM
  4360. case "caseGM": //课程进展
  4361. _formdiv = new U.UF.UI.form(
  4362. "课程进展",
  4363. $$("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 }), {
  4364. "id": "caseGM",
  4365. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4366. "onresize": function () { }
  4367. }, {
  4368. closecallback: function () { }
  4369. }, { "style": { "height": "36px" } }).form; //创建窗体
  4370. _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); } }
  4371. break;
  4372. // meterialGM
  4373. case "meterialGM": //素材库
  4374. _formdiv = new U.UF.UI.form(
  4375. "素材库",
  4376. $$("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 }), {
  4377. "id": "meterialGM",
  4378. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4379. "onresize": function () { }
  4380. }, {
  4381. closecallback: function () { }
  4382. }, { "style": { "height": "36px" } }).form; //创建窗体
  4383. _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); } }
  4384. break;
  4385. // evaluateSGM
  4386. case "evaluateSGM": //我的评价
  4387. _formdiv = new U.UF.UI.form(
  4388. "我的评价",
  4389. $$("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 }), {
  4390. "id": "evaluateSGM",
  4391. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4392. "onresize": function () { }
  4393. }, {
  4394. closecallback: function () { }
  4395. }, { "style": { "height": "36px" } }).form; //创建窗体
  4396. _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); } }
  4397. break;
  4398. case "jupyter": //jupyter
  4399. _formdiv = new U.UF.UI.form(
  4400. "jupyter",
  4401. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4402. "id": "jupyter",
  4403. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4404. "onresize": function () { }
  4405. }, {
  4406. closecallback: function () { }
  4407. }, { "style": { "height": "36px" } }).form; //创建窗体
  4408. _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); } }
  4409. break;
  4410. case "number": //数字实验室
  4411. _formdiv = new U.UF.UI.form(
  4412. "数字实验室",
  4413. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4414. "id": "number",
  4415. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4416. "onresize": function () { }
  4417. }, {
  4418. closecallback: function () { }
  4419. }, { "style": { "height": "36px" } }).form; //创建窗体
  4420. _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); } }
  4421. break;
  4422. case "studentCourse": //项目管理 学生
  4423. _formdiv = new U.UF.UI.form(
  4424. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4425. $$("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 }), {
  4426. "id": "studentCourse",
  4427. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4428. "onresize": function () { }
  4429. }, {
  4430. closecallback: function () { }
  4431. }, { "style": { "height": "36px" } }).form; //创建窗体
  4432. _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); } }
  4433. break;
  4434. case "studentCourseS": //项目管理 老师
  4435. _formdiv = new U.UF.UI.form(
  4436. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4437. $$("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 }), {
  4438. "id": "studentCourseS",
  4439. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4440. "onresize": function () { }
  4441. }, {
  4442. closecallback: function () { }
  4443. }, { "style": { "height": "36px" } }).form; //创建窗体
  4444. _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); } }
  4445. break;
  4446. case "studentIndex": //项目中心
  4447. _formdiv = new U.UF.UI.form(
  4448. "项目中心",
  4449. $$("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 }), {
  4450. "id": "studentIndex",
  4451. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4452. "onresize": function () { }
  4453. }, {
  4454. closecallback: function () { }
  4455. }, { "style": { "height": "36px" } }).form; //创建窗体
  4456. _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); } }
  4457. break;
  4458. case "CaseDesignS":
  4459. _formdiv = new U.UF.UI.form(
  4460. "项目进展",
  4461. $$("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 }), {
  4462. "id": "case",
  4463. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4464. "onresize": function () { }
  4465. }, {
  4466. closecallback: function () { }
  4467. }, { "style": { "height": "36px" } }).form; //创建窗体
  4468. _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); } }
  4469. break;
  4470. case "tcStudent": //腾讯学生管理
  4471. _formdiv = new U.UF.UI.form(
  4472. "学生管理",
  4473. $$("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 }), {
  4474. "id": "tcStudent",
  4475. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4476. "onresize": function () { }
  4477. }, {
  4478. closecallback: function () { }
  4479. }, { "style": { "height": "36px" } }).form; //创建窗体
  4480. _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); } }
  4481. break;
  4482. case "tcSchool": //腾讯学校管理
  4483. _formdiv = new U.UF.UI.form(
  4484. "学校管理",
  4485. $$("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 }), {
  4486. "id": "tcSchool",
  4487. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4488. "onresize": function () { }
  4489. }, {
  4490. closecallback: function () { }
  4491. }, { "style": { "height": "36px" } }).form; //创建窗体
  4492. _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); } }
  4493. break;
  4494. case "tcTeacher": //腾讯学校管理
  4495. _formdiv = new U.UF.UI.form(
  4496. "教师管理",
  4497. $$("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 }), {
  4498. "id": "tcTeacher",
  4499. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4500. "onresize": function () { }
  4501. }, {
  4502. closecallback: function () { }
  4503. }, { "style": { "height": "36px" } }).form; //创建窗体
  4504. _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); } }
  4505. break;
  4506. case "tcData": //腾讯我的资料
  4507. _formdiv = new U.UF.UI.form(
  4508. "我的资料",
  4509. $$("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 }), {
  4510. "id": "tcData",
  4511. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4512. "onresize": function () { }
  4513. }, {
  4514. closecallback: function () { }
  4515. }, { "style": { "height": "36px" } }).form; //创建窗体
  4516. _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); } }
  4517. break;
  4518. case "tcNotice": //腾讯消息通知
  4519. _formdiv = new U.UF.UI.form(
  4520. "消息通知",
  4521. $$("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 }), {
  4522. "id": "tcNotice",
  4523. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4524. "onresize": function () { }
  4525. }, {
  4526. closecallback: function () { }
  4527. }, { "style": { "height": "36px" } }).form; //创建窗体
  4528. _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); } }
  4529. break;
  4530. case "myReport": //好友打开
  4531. _formdiv = new U.UF.UI.form(
  4532. "我的评价",
  4533. $$("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 }), {
  4534. "id": "myReport",
  4535. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4536. "onresize": function () { }
  4537. }, {
  4538. closecallback: function () { }
  4539. }, { "style": { "height": "36px" } }).form; //创建窗体
  4540. _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); } }
  4541. break;
  4542. case "learnAna": //好友打开
  4543. _formdiv = new U.UF.UI.form(
  4544. "学习分析",
  4545. $$("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 }), {
  4546. "id": "learnAna",
  4547. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4548. "onresize": function () { }
  4549. }, {
  4550. closecallback: function () { }
  4551. }, { "style": { "height": "36px" } }).form; //创建窗体
  4552. _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); } }
  4553. break;
  4554. case "AIChat": //AI共创
  4555. _formdiv = new U.UF.UI.form(
  4556. "AI共创",
  4557. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4558. "id": "AIChat",
  4559. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4560. "onresize": function () { }
  4561. }, {
  4562. istop: true,
  4563. closecallback: function () { $("#aichat_icon").remove(); },
  4564. narrowcallback: function () {
  4565. if (!$("#aichat_icon")[0]) {
  4566. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4567. }
  4568. },
  4569. }, { "style": { "height": "36px" } }).form; //创建窗体
  4570. _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); } }
  4571. break;
  4572. case "ainew": //AI共创
  4573. _formdiv = new U.UF.UI.form(
  4574. "AI协同",
  4575. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4576. "id": "ainew",
  4577. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4578. "onresize": function () { }
  4579. }, {
  4580. closecallback: function () { }
  4581. }, { "style": { "height": "36px" } }).form; //创建窗体
  4582. _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); } }
  4583. break;
  4584. case "gpt4": //gpt4
  4585. _formdiv = new U.UF.UI.form(
  4586. "AI助手",
  4587. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/gpt4/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4588. "id": "gpt4",
  4589. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4590. "onresize": function () { }
  4591. }, {
  4592. closecallback: function () { }
  4593. }, { "style": { "height": "36px" } }).form; //创建窗体
  4594. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gpt4.png)" }, "name": "AI助手", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4595. break;
  4596. case "aigpt": //gpt4
  4597. _formdiv = new U.UF.UI.form(
  4598. "AI助手+",
  4599. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aigpt/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4600. "id": "aigpt",
  4601. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4602. "onresize": function () { }
  4603. }, {
  4604. closecallback: function () { }
  4605. }, { "style": { "height": "36px" } }).form; //创建窗体
  4606. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aigpt.png)" }, "name": "AI助手+", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4607. break;
  4608. case "futureClass": //AI共创
  4609. _formdiv = new U.UF.UI.form(
  4610. "协同建构",
  4611. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {//https://beta.cscl.cocorobo.cn
  4612. "id": "synergyCourse",
  4613. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4614. "onresize": function () { }
  4615. }, {
  4616. closecallback: function () {
  4617. $("iframe", _formdiv)[0].contentWindow.loginout();
  4618. }
  4619. }, { "style": { "height": "36px" } }).form; //创建窗体
  4620. _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); } }
  4621. break;
  4622. case "aiagent": //ai agent
  4623. _formdiv = new U.UF.UI.form(
  4624. "AI Agent",
  4625. $$("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" }), {
  4626. "id": "AIAgent",
  4627. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4628. "onresize": function () { }
  4629. }, {
  4630. closecallback: function () { }
  4631. }, { "style": { "height": "36px" } }).form; //创建窗体
  4632. _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); } }
  4633. break;
  4634. case "dataBoard": //数据看板
  4635. _formdiv = new U.UF.UI.form(
  4636. "数据看板",
  4637. $$("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 }), {
  4638. "id": "dataBoard",
  4639. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4640. "onresize": function () { }
  4641. }, {
  4642. closecallback: function () { }
  4643. }, { "style": { "height": "36px" } }).form; //创建窗体
  4644. _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); } }
  4645. break;
  4646. case "dataBoardSies": //数据融合
  4647. _formdiv = new U.UF.UI.form(
  4648. "数据融合",
  4649. $$("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 }), {
  4650. "id": "dataBoardSies",
  4651. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4652. "onresize": function () { }
  4653. }, {
  4654. closecallback: function () { }
  4655. }, { "style": { "height": "36px" } }).form; //创建窗体
  4656. _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); } }
  4657. break;
  4658. case "dataBoardNew": //数据看板
  4659. _formdiv = new U.UF.UI.form(
  4660. "综合看板",
  4661. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoardNew?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4662. "id": "dataBoardNew",
  4663. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4664. "onresize": function () { }
  4665. }, {
  4666. closecallback: function () { }
  4667. }, { "style": { "height": "36px" } }).form; //创建窗体
  4668. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardNew.png)" }, "name": "综合看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4669. break;
  4670. case "dataBoardTest": //数据看板
  4671. _formdiv = new U.UF.UI.form(
  4672. "评测看板",
  4673. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoardTest?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4674. "id": "dataBoardTest",
  4675. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4676. "onresize": function () { }
  4677. }, {
  4678. closecallback: function () { }
  4679. }, { "style": { "height": "36px" } }).form; //创建窗体
  4680. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardTest.png)" }, "name": "评测看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4681. break;
  4682. case "AIAnalyse": //AI共创
  4683. _formdiv = new U.UF.UI.form(
  4684. "AI分析",
  4685. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4686. "id": "AIAnalyse",
  4687. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4688. "onresize": function () { }
  4689. }, {
  4690. closecallback: function () { }
  4691. }, { "style": { "height": "36px" } }).form; //创建窗体
  4692. _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); } }
  4693. break;
  4694. case "studioCourse": //AI共创
  4695. _formdiv = new U.UF.UI.form(
  4696. "工作管理",
  4697. $$("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 }), {
  4698. "id": "studioCourse",
  4699. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4700. "onresize": function () { }
  4701. }, {
  4702. closecallback: function () { }
  4703. }, { "style": { "height": "36px" } }).form; //创建窗体
  4704. _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); } }
  4705. break;
  4706. case "studioIndex": //AI共创
  4707. _formdiv = new U.UF.UI.form(
  4708. "工作中心",
  4709. $$("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 }), {
  4710. "id": "studioIndex",
  4711. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4712. "onresize": function () { }
  4713. }, {
  4714. closecallback: function () { }
  4715. }, { "style": { "height": "36px" } }).form; //创建窗体
  4716. _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); } }
  4717. break;
  4718. case "source":
  4719. _formdiv = new U.UF.UI.form(
  4720. "教学资源",
  4721. $$("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 }), {
  4722. "id": "source",
  4723. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4724. "onresize": function () { }
  4725. }, {
  4726. closecallback: function () { }
  4727. }, { "style": { "height": "36px" } }).form; //创建窗体
  4728. _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); } }
  4729. break;
  4730. case "testTeacher":
  4731. _formdiv = new U.UF.UI.form(
  4732. "评测管理",
  4733. $$("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 }), {
  4734. "id": "testTeacher",
  4735. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4736. "onresize": function () { }
  4737. }, {
  4738. closecallback: function () { }
  4739. }, { "style": { "height": "36px" } }).form; //创建窗体
  4740. _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); } }
  4741. break;
  4742. case "testStudent":
  4743. _formdiv = new U.UF.UI.form(
  4744. "评测中心",
  4745. $$("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 }), {
  4746. "id": "testStudent",
  4747. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4748. "onresize": function () { }
  4749. }, {
  4750. closecallback: function () { }
  4751. }, { "style": { "height": "36px" } }).form; //创建窗体
  4752. _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); } }
  4753. break;
  4754. case "testTeacherSies":
  4755. _formdiv = new U.UF.UI.form(
  4756. "教师管理",
  4757. $$("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 }), {
  4758. "id": "testTeacherSies",
  4759. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4760. "onresize": function () { }
  4761. }, {
  4762. closecallback: function () { }
  4763. }, { "style": { "height": "36px" } }).form; //创建窗体
  4764. _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); } }
  4765. break;
  4766. case "testStudentSies":
  4767. _formdiv = new U.UF.UI.form(
  4768. "教师中心",
  4769. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/testPerson?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId + "&role=" + _role }), {
  4770. "id": "testStudentSies",
  4771. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4772. "onresize": function () { }
  4773. }, {
  4774. closecallback: function () { }
  4775. }, { "style": { "height": "36px" } }).form; //创建窗体
  4776. _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); } }
  4777. break;
  4778. case "ytpbl": //消息通知
  4779. _formdiv = new U.UF.UI.form(
  4780. "案例征集",
  4781. $$("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://pblyt.cocorobo.cn/#/login?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4782. "id": "ytpbl",
  4783. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4784. "onresize": function () { }
  4785. }, {
  4786. closecallback: function () { }
  4787. }, { "style": { "height": "36px" } }).form; //创建窗体
  4788. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gpbl2.png)" }, "name": "案例征集", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4789. // window.open("https://gdpbl.cocorobo.cn/#/login", "案例征集", "height=" + US.height + ", width=" + US.width + ", top=100, left=100, toolbar=no, menubar=0, resizable=0, location=0, status=no");
  4790. break;
  4791. }
  4792. //U.MD.D.I.openClick(str);
  4793. //如果有任务栏信息
  4794. if (_taskbar) {
  4795. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4796. }
  4797. }
  4798. // U.MD.D.I.openClick = function(str){
  4799. // var click = '';
  4800. // switch(str){
  4801. // case 'friend':
  4802. // click = '我的好友';
  4803. // break;
  4804. // case 'domain':
  4805. // click = '域名管理';
  4806. // break;
  4807. // case 'disk':
  4808. // click = '我的云盘';
  4809. // break;
  4810. // case 'word':
  4811. // click = 'Word';
  4812. // break;
  4813. // case 'excel':
  4814. // click = 'Execl';
  4815. // break;
  4816. // case 'txt':
  4817. // click = '文本文件';
  4818. // break;
  4819. // case 'lookupFriend':
  4820. // click = '查找好友';
  4821. // break;
  4822. // case 'ftp':
  4823. // click = 'FTP';
  4824. // break;
  4825. // case 'group':
  4826. // click = '群组';
  4827. // break;
  4828. // case 'set':
  4829. // click = '我的设置';
  4830. // break;
  4831. // case 'systemSet':
  4832. // click = '系统设置';
  4833. // break;
  4834. // case 'boomYun':
  4835. // click = '互联办公';
  4836. // break;
  4837. // case 'xz':
  4838. // click = '云端下载';
  4839. // break;
  4840. // case 'client':
  4841. // click = '有思浏览器';
  4842. // break;
  4843. // case 'backEndProgramming':
  4844. // click = '在线后台编程';
  4845. // break;
  4846. // case 'frontEndProgramming':
  4847. // click = '在线前端编程';
  4848. // break;
  4849. // default: break;
  4850. // }
  4851. // if(U.MD.D.I.Ip && click){
  4852. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4853. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4854. // })
  4855. // }
  4856. // }
  4857. /**
  4858. *函数作用:ajax简易函数,使用post格式
  4859. *@param url {data} 后台地址
  4860. *@param data {data} 参数json
  4861. *@param fn {data} 回调函数
  4862. *
  4863. */
  4864. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4865. // var xhr = new XMLHttpRequest();
  4866. // xhr.open("GET",url,true);
  4867. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4868. // xhr.onreadystatechange = function(){
  4869. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4870. // fn.call(this,xhr.responseText);
  4871. // }
  4872. // };
  4873. // xhr.send();
  4874. // }
  4875. /*判断是否是内网IP*/
  4876. // U.MD.D.I.isInnerIPFn = function(str){
  4877. // var curPageUrl = str;
  4878. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4879. // curPageUrl =curPageUrl.replace(reg1,'');
  4880. // // console.log('curPageUrl-1 '+curPageUrl);
  4881. // var reg2 = /\:+/g;//替换冒号为一点
  4882. // curPageUrl =curPageUrl.replace(reg2,'.');
  4883. // // console.log('curPageUrl-2 '+curPageUrl);
  4884. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4885. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4886. // if(curPageUrl[2] != '16'){
  4887. // return ipAddress;
  4888. // }else{
  4889. // return false;
  4890. // }
  4891. // }
  4892. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4893. // //compatibility for firefox and chrome
  4894. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4895. // var pc = new myPeerConnection({
  4896. // iceServers: []
  4897. // }),
  4898. // noop = function() {},
  4899. // localIPs = {},
  4900. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4901. // key;
  4902. // function iterateIP(ip) {
  4903. // if (!localIPs[ip]) onNewIP(ip);
  4904. // localIPs[ip] = true;
  4905. // }
  4906. // //create a bogus data channel
  4907. // pc.createDataChannel("");
  4908. // // create offer and set local description
  4909. // pc.createOffer().then(function(sdp) {
  4910. // sdp.sdp.split('\n').forEach(function(line) {
  4911. // if (line.indexOf('candidate') < 0) return;
  4912. // line.match(ipRegex).forEach(iterateIP);
  4913. // });
  4914. // pc.setLocalDescription(sdp, noop, noop);
  4915. // }).catch(function(reason) {
  4916. // // An error occurred, so handle the failure to connect
  4917. // });
  4918. // //sten for candidate events
  4919. // pc.onicecandidate = function(ice) {
  4920. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4921. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4922. // };
  4923. // }
  4924. // U.MD.D.I.getUserIpBool = function(callback){
  4925. // U.MD.D.I.getUserIP(function(ip){
  4926. // alert("Got IP! :" + ip);
  4927. // });
  4928. //}
  4929. //#endregion
  4930. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4931. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4932. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4933. _userinfo = US.userInfo, //登录用户信息
  4934. _userid = US.userInfo.userid //登录用户id
  4935. let _iframe;
  4936. let _cid = cid,
  4937. _stage = stage,
  4938. _task = task,
  4939. _tool = tool;
  4940. var _jie = $$("div", {
  4941. "style": {
  4942. "position": "absolute",
  4943. "bottom": "50px",
  4944. "right": "50px",
  4945. "zIndex": "9999",
  4946. "backgroundColor": "#2268bc",
  4947. "color": "#fff",
  4948. "padding": "12px 20px",
  4949. "cursor": "pointer",
  4950. "borderRadius": "4px",
  4951. },
  4952. "innerHTML": "提交作业"
  4953. })
  4954. let aTool = ''
  4955. let _loading = document.createElement('div')
  4956. _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;"
  4957. // _loading.id = "";
  4958. let _lchild = document.createElement('div')
  4959. let _limg = document.createElement('img')
  4960. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4961. _limg.style = "width: 26px;margin-right: 10px;"
  4962. _lchild.appendChild(_limg)
  4963. let _lspan = document.createElement('span')
  4964. _lspan.innerHTML = "上传中..."
  4965. _lchild.appendChild(_lspan)
  4966. _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%);"
  4967. _loading.appendChild(_lchild)
  4968. var _box = $$('div', {
  4969. "style": {
  4970. "position": "relative",
  4971. "width": "100%",
  4972. "height": "100%",
  4973. },
  4974. })
  4975. _box.appendChild(_loading)
  4976. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4977. switch (str) {
  4978. case "whiteboard":
  4979. aTool = 1;
  4980. _iframe = $$("iframe", {
  4981. "frameborder": "no",
  4982. "border": "0",
  4983. "scrolling ": "no",
  4984. "style": {
  4985. "cssText": "border:0;width:100%;height:100%"
  4986. },
  4987. "src": "https://iwb.cocorobo.cn/"
  4988. })
  4989. _box.appendChild(_iframe);
  4990. _box.appendChild(_jie);
  4991. _formdiv = new U.UF.UI.form(
  4992. "电子白板",
  4993. _box, {
  4994. "id": "whiteboard" + cid + stage + task + tool,
  4995. "style": {
  4996. "width": "90%",
  4997. "height": "90%",
  4998. "overflow": 'hidden'
  4999. },
  5000. "onresize": function () { }
  5001. }, {
  5002. closecallback: function () { }
  5003. }, {
  5004. "style": {
  5005. "height": "36px"
  5006. }
  5007. }).form; //创建窗体
  5008. _taskbar = {
  5009. "id": str + _formdiv.id,
  5010. "style": {
  5011. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5012. },
  5013. "name": "电子白板",
  5014. "forms": _formdiv,
  5015. "click": function () {
  5016. U.MD.D.I.openApplication(str, obj, info);
  5017. }
  5018. }
  5019. break;
  5020. case "mind":
  5021. aTool = 3;
  5022. _iframe = $$("iframe", {
  5023. "frameborder": "no",
  5024. "border": "0",
  5025. "scrolling ": "no",
  5026. "style": {
  5027. "cssText": "border:0;width:100%;height:100%"
  5028. },
  5029. "src": "/kityminder-editor/dist/index.html"
  5030. })
  5031. _box.appendChild(_iframe);
  5032. _box.appendChild(_jie);
  5033. _formdiv = new U.UF.UI.form(
  5034. "思维导图",
  5035. _box, { //"/jsmind/example/demo.html"
  5036. "id": "mind" + cid + stage + task + tool,
  5037. "style": {
  5038. "width": "90%",
  5039. "height": "90%",
  5040. "overflow": 'hidden'
  5041. },
  5042. "onresize": function () { }
  5043. }, {
  5044. closecallback: function () { }
  5045. }, {
  5046. "style": {
  5047. "height": "36px"
  5048. }
  5049. }).form; //创建窗体
  5050. _taskbar = {
  5051. "id": str + _formdiv.id,
  5052. "style": {
  5053. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5054. },
  5055. "name": "思维导图",
  5056. "forms": _formdiv,
  5057. "click": function () {
  5058. U.MD.D.I.openApplication(str, obj, info);
  5059. }
  5060. }
  5061. break;
  5062. case "MindMap":
  5063. aTool = 3;
  5064. _iframe = $$("iframe", {
  5065. "frameborder": "no",
  5066. "border": "0",
  5067. "scrolling ": "no",
  5068. "style": {
  5069. "cssText": "border:0;width:100%;height:100%"
  5070. },
  5071. "src": "//cloud.cocorobo.cn/mind/"
  5072. })
  5073. _box.appendChild(_iframe);
  5074. _box.appendChild(_jie);
  5075. _formdiv = new U.UF.UI.form(
  5076. "思维导图",
  5077. _box, { //"/jsmind/example/demo.html"
  5078. "id": "mind" + cid + stage + task + tool,
  5079. "style": {
  5080. "width": "90%",
  5081. "height": "90%",
  5082. "overflow": 'hidden'
  5083. },
  5084. "onresize": function () { }
  5085. }, {
  5086. closecallback: function () { }
  5087. }, {
  5088. "style": {
  5089. "height": "36px"
  5090. }
  5091. }).form; //创建窗体
  5092. _taskbar = {
  5093. "id": str + _formdiv.id,
  5094. "style": {
  5095. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5096. },
  5097. "name": "思维导图",
  5098. "forms": _formdiv,
  5099. "click": function () {
  5100. U.MD.D.I.openApplication(str, obj, info);
  5101. }
  5102. }
  5103. break;
  5104. case "doc":
  5105. aTool = 6;
  5106. _iframe = $$("iframe", {
  5107. "frameborder": "no",
  5108. "border": "0",
  5109. "scrolling ": "no",
  5110. "style": {
  5111. "cssText": "border:0;width:100%;height:100%"
  5112. },
  5113. "src": "/Office/Word/WordEditArea.htm"
  5114. })
  5115. _box.appendChild(_iframe);
  5116. _box.appendChild(_jie);
  5117. _formdiv = new U.UF.UI.form(
  5118. "协同文档",
  5119. _box, {
  5120. "id": "doc" + cid + stage + task + tool,
  5121. "style": {
  5122. "width": "90%",
  5123. "height": "90%",
  5124. "overflow": 'hidden'
  5125. },
  5126. "onresize": function () { }
  5127. }, {
  5128. closecallback: function () { }
  5129. }, {
  5130. "style": {
  5131. "height": "36px"
  5132. }
  5133. }).form; //创建窗体
  5134. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5135. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5136. })
  5137. _taskbar = {
  5138. "id": str + _formdiv.id,
  5139. "style": {
  5140. "backgroundImage": "url(/img/icon/doc.png)"
  5141. },
  5142. "name": "协同文档",
  5143. "forms": _formdiv,
  5144. "click": function () {
  5145. U.MD.D.I.openApplication(str, obj, info);
  5146. }
  5147. }
  5148. break;
  5149. case "mindNetwork": //好友打开
  5150. aTool = 7;
  5151. _iframe = $$("iframe", {
  5152. "webkitallowfullscreen": "",
  5153. "mozallowfullscreen": "",
  5154. "allowfullscreen": "",
  5155. "frameborder": "no",
  5156. "border": "0",
  5157. "scrolling ": "no",
  5158. "style": {
  5159. "cssText": "border:0; width:100%; height:100%;"
  5160. },
  5161. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5162. })
  5163. _box.appendChild(_iframe);
  5164. _box.appendChild(_jie);
  5165. _formdiv = new U.UF.UI.form(
  5166. "思维网格",
  5167. _box, {
  5168. "id": "mindNetwork" + cid + stage + task + tool,
  5169. "style": {
  5170. "width": "90%",
  5171. "height": "90%",
  5172. "overflow": 'hidden'
  5173. },
  5174. "onresize": function () { }
  5175. }, {
  5176. closecallback: function () { }
  5177. }, {
  5178. "style": {
  5179. "height": "36px"
  5180. }
  5181. }).form; //创建窗体
  5182. _taskbar = {
  5183. "id": str + _formdiv.id,
  5184. "style": {
  5185. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5186. },
  5187. "name": "思维网格",
  5188. "forms": _formdiv,
  5189. "click": function () {
  5190. U.MD.D.I.openApplication(str, obj, info);
  5191. }
  5192. }
  5193. break;
  5194. case "courseDesign":
  5195. _iframe = $$("iframe", {
  5196. "webkitallowfullscreen": "",
  5197. "mozallowfullscreen": "",
  5198. "allowfullscreen": "",
  5199. "frameborder": "no",
  5200. "border": "0",
  5201. "scrolling ": "no",
  5202. "style": {
  5203. "cssText": "border:0; width:100%; height:100%;"
  5204. },
  5205. "src": "/course-design-vue"
  5206. })
  5207. _box.appendChild(_iframe);
  5208. _box.appendChild(_jie);
  5209. _formdiv = new U.UF.UI.form(
  5210. "项目设计",
  5211. _box, {
  5212. "id": "courseDesign" + cid + stage + task + tool,
  5213. "style": {
  5214. "width": "90%",
  5215. "height": "90%",
  5216. "overflow": 'hidden'
  5217. },
  5218. "onresize": function () { }
  5219. }, {
  5220. closecallback: function () { }
  5221. }, {
  5222. "style": {
  5223. "height": "36px"
  5224. }
  5225. }).form; //创建窗体
  5226. _taskbar = {
  5227. "id": str + _formdiv.id,
  5228. "style": {
  5229. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5230. },
  5231. "name": "项目设计",
  5232. "forms": _formdiv,
  5233. "click": function () {
  5234. U.MD.D.I.openApplication(str, obj, info);
  5235. }
  5236. }
  5237. break;
  5238. }
  5239. const script1 = document.createElement("script");
  5240. script1.type = "text/javascript";
  5241. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5242. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5243. const script2 = document.createElement("script");
  5244. script2.type = "text/javascript";
  5245. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5246. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5247. const script3 = document.createElement("script");
  5248. script3.type = "text/javascript";
  5249. script3.charset = "UTF-8";
  5250. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5251. const script4 = document.createElement("script");
  5252. script4.type = "text/javascript";
  5253. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5254. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5255. if (_iframe) {
  5256. if (str == 'doc') {
  5257. _iframe = _formdiv.querySelector('iframe')
  5258. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5259. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5260. _iframe.contentWindow.document.body.appendChild(script1);
  5261. _iframe.contentWindow.document.body.appendChild(script2);
  5262. // _iframe.contentWindow.document.body.appendChild(script3);
  5263. _iframe.contentWindow.document.body.appendChild(script4);
  5264. })
  5265. if (onloadListener) {
  5266. _iframe.contentDocument.location.reload()
  5267. } else {
  5268. _iframe.contentDocument.location.reload()
  5269. }
  5270. } else if (str == 'courseDesign') {
  5271. U.UF.DL.iframeLoad(_iframe, function () {
  5272. // _iframe.contentWindow.U.MD.O.W.load();
  5273. // _iframe.contentWindow.document.body.appendChild(script1);
  5274. _iframe.contentWindow.document.body.appendChild(script2);
  5275. _iframe.contentWindow.document.body.appendChild(script4);
  5276. })
  5277. } else if (str == 'mind') {
  5278. _iframe = _formdiv.querySelector('iframe')
  5279. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5280. //
  5281. _iframe.contentWindow.document.body.appendChild(script1);
  5282. _iframe.contentWindow.document.body.appendChild(script2);
  5283. _iframe.contentWindow.document.body.appendChild(script4);
  5284. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5285. })
  5286. if (onloadListener) {
  5287. _iframe.contentDocument.location.reload()
  5288. } else {
  5289. _iframe.contentDocument.location.reload()
  5290. }
  5291. } else if (str == 'whiteboard') {
  5292. _iframe = _formdiv.querySelector('iframe')
  5293. let onloadListener = _iframe.onload = () => {
  5294. _iframe.contentWindow.document.body.appendChild(script1);
  5295. _iframe.contentWindow.document.body.appendChild(script2);
  5296. _iframe.contentWindow.document.body.appendChild(script4);
  5297. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5298. };
  5299. if (onloadListener) {
  5300. _iframe.contentDocument.location.reload()
  5301. } else {
  5302. _iframe.contentDocument.location.reload()
  5303. }
  5304. } else {
  5305. _iframe.onload = () => {
  5306. _iframe.contentWindow.document.body.appendChild(script1);
  5307. _iframe.contentWindow.document.body.appendChild(script2);
  5308. // _iframe.contentWindow.document.body.appendChild(script3);
  5309. _iframe.contentWindow.document.body.appendChild(script4);
  5310. };
  5311. }
  5312. _jie.onclick = async () => {
  5313. let text = ''
  5314. if (aTool == 1) {
  5315. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5316. } else if (aTool == 6) {
  5317. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5318. } else if (aTool == 3) {
  5319. text = await U.MD.D.I.getEditorContent(_iframe);
  5320. }
  5321. _loading.style.display = 'flex'
  5322. console.log(_loading);
  5323. var _ajs = _iframe.contentWindow.document.createElement("script");
  5324. _ajs.type = "text/javascript";
  5325. _ajs.innerHTML =
  5326. // 'console.log(' + _loading + ');\n' +
  5327. 'var _js = document.createElement("script");\n' +
  5328. '_js.type="text/javascript";\n' +
  5329. '_js.charset="UTF-8";\n' +
  5330. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5331. "_js.onload = function(){\n" +
  5332. ' var a = document.getElementsByTagName("img")\n' +
  5333. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5334. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5335. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5336. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5337. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5338. "beforeUpload_shishi(file," +
  5339. "'" +
  5340. _userid +
  5341. "'" +
  5342. ", " +
  5343. "'" +
  5344. _cid +
  5345. "'" +
  5346. ", " +
  5347. "'" +
  5348. _stage +
  5349. "'" +
  5350. ", " +
  5351. "'" +
  5352. _task +
  5353. "'" +
  5354. ", " +
  5355. "'" +
  5356. _tool +
  5357. "'" +
  5358. ", " +
  5359. "'" +
  5360. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5361. "'" +
  5362. ", " +
  5363. "'" +
  5364. aTool +
  5365. "'" +
  5366. ", " +
  5367. "`" +
  5368. text +
  5369. "`" +
  5370. ")\n" +
  5371. " });\n" +
  5372. "}\n" +
  5373. "document.head.appendChild(_js);\n";
  5374. _iframe.contentWindow.document.head.appendChild(_ajs);
  5375. }
  5376. }
  5377. //U.MD.D.I.openClick(str);
  5378. //如果有任务栏信息
  5379. // if (_taskbar) {
  5380. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5381. // }
  5382. }
  5383. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5384. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5385. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5386. _userinfo = US.userInfo, //登录用户信息
  5387. _userid = US.userInfo.userid //登录用户id
  5388. let _iframe;
  5389. let _cid = cid,
  5390. _stage = stage,
  5391. _task = task,
  5392. _tool = tool;
  5393. var _jie = $$("div", {
  5394. "style": {
  5395. "position": "absolute",
  5396. "bottom": "50px",
  5397. "right": "50px",
  5398. "zIndex": "9999",
  5399. "backgroundColor": "#2268bc",
  5400. "color": "#fff",
  5401. "padding": "12px 20px",
  5402. "cursor": "pointer",
  5403. "borderRadius": "4px",
  5404. },
  5405. "innerHTML": "提交作业"
  5406. })
  5407. let aTool = ''
  5408. let _loading = document.createElement('div')
  5409. _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;"
  5410. // _loading.id = "";
  5411. let _lchild = document.createElement('div')
  5412. let _limg = document.createElement('img')
  5413. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5414. _limg.style = "width: 26px;margin-right: 10px;"
  5415. _lchild.appendChild(_limg)
  5416. let _lspan = document.createElement('span')
  5417. _lspan.innerHTML = "上传中..."
  5418. _lchild.appendChild(_lspan)
  5419. _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%);"
  5420. _loading.appendChild(_lchild)
  5421. var _box = $$('div', {
  5422. "style": {
  5423. "position": "relative",
  5424. "width": "100%",
  5425. "height": "100%",
  5426. },
  5427. })
  5428. _box.appendChild(_loading)
  5429. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5430. switch (str) {
  5431. case "whiteboard":
  5432. aTool = 1;
  5433. _iframe = $$("iframe", {
  5434. "frameborder": "no",
  5435. "border": "0",
  5436. "scrolling ": "no",
  5437. "style": {
  5438. "cssText": "border:0;width:100%;height:100%"
  5439. },
  5440. "src": "https://iwb.cocorobo.cn/"
  5441. })
  5442. _box.appendChild(_iframe);
  5443. _box.appendChild(_jie);
  5444. _formdiv = new U.UF.UI.form(
  5445. "电子白板",
  5446. _box, {
  5447. "id": "whiteboard" + cid + stage + task + tool,
  5448. "style": {
  5449. "width": "90%",
  5450. "height": "90%",
  5451. "overflow": 'hidden'
  5452. },
  5453. "onresize": function () { }
  5454. }, {
  5455. closecallback: function () { }
  5456. }, {
  5457. "style": {
  5458. "height": "36px"
  5459. }
  5460. }).form; //创建窗体
  5461. _taskbar = {
  5462. "id": str + _formdiv.id,
  5463. "style": {
  5464. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5465. },
  5466. "name": "电子白板",
  5467. "forms": _formdiv,
  5468. "click": function () {
  5469. U.MD.D.I.openApplication(str, obj, info);
  5470. }
  5471. }
  5472. break;
  5473. case "mind":
  5474. aTool = 3;
  5475. _iframe = $$("iframe", {
  5476. "frameborder": "no",
  5477. "border": "0",
  5478. "scrolling ": "no",
  5479. "style": {
  5480. "cssText": "border:0;width:100%;height:100%"
  5481. },
  5482. "src": "/kityminder-editor/dist/index.html"
  5483. })
  5484. _box.appendChild(_iframe);
  5485. _box.appendChild(_jie);
  5486. _formdiv = new U.UF.UI.form(
  5487. "思维导图",
  5488. _box, { //"/jsmind/example/demo.html"
  5489. "id": "mind" + cid + stage + task + tool,
  5490. "style": {
  5491. "width": "90%",
  5492. "height": "90%",
  5493. "overflow": 'hidden'
  5494. },
  5495. "onresize": function () { }
  5496. }, {
  5497. closecallback: function () { }
  5498. }, {
  5499. "style": {
  5500. "height": "36px"
  5501. }
  5502. }).form; //创建窗体
  5503. _taskbar = {
  5504. "id": str + _formdiv.id,
  5505. "style": {
  5506. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5507. },
  5508. "name": "思维导图",
  5509. "forms": _formdiv,
  5510. "click": function () {
  5511. U.MD.D.I.openApplication(str, obj, info);
  5512. }
  5513. }
  5514. break;
  5515. case "MindMap":
  5516. aTool = 3;
  5517. _iframe = $$("iframe", {
  5518. "frameborder": "no",
  5519. "border": "0",
  5520. "scrolling ": "no",
  5521. "style": {
  5522. "cssText": "border:0;width:100%;height:100%"
  5523. },
  5524. "src": "//cloud.cocorobo.cn/mind/"
  5525. })
  5526. _box.appendChild(_iframe);
  5527. _box.appendChild(_jie);
  5528. _formdiv = new U.UF.UI.form(
  5529. "思维导图",
  5530. _box, { //"/jsmind/example/demo.html"
  5531. "id": "mind" + cid + stage + task + tool,
  5532. "style": {
  5533. "width": "90%",
  5534. "height": "90%",
  5535. "overflow": 'hidden'
  5536. },
  5537. "onresize": function () { }
  5538. }, {
  5539. closecallback: function () { }
  5540. }, {
  5541. "style": {
  5542. "height": "36px"
  5543. }
  5544. }).form; //创建窗体
  5545. _taskbar = {
  5546. "id": str + _formdiv.id,
  5547. "style": {
  5548. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5549. },
  5550. "name": "思维导图",
  5551. "forms": _formdiv,
  5552. "click": function () {
  5553. U.MD.D.I.openApplication(str, obj, info);
  5554. }
  5555. }
  5556. break;
  5557. case "doc":
  5558. aTool = 6;
  5559. _iframe = $$("iframe", {
  5560. "frameborder": "no",
  5561. "border": "0",
  5562. "scrolling ": "no",
  5563. "style": {
  5564. "cssText": "border:0;width:100%;height:100%"
  5565. },
  5566. "src": "/Office/Word/WordEditArea.htm"
  5567. })
  5568. _box.appendChild(_iframe);
  5569. _box.appendChild(_jie);
  5570. _formdiv = new U.UF.UI.form(
  5571. "协同文档",
  5572. _box, {
  5573. "id": "doc" + cid + stage + task + tool,
  5574. "style": {
  5575. "width": "90%",
  5576. "height": "90%",
  5577. "overflow": 'hidden'
  5578. },
  5579. "onresize": function () { }
  5580. }, {
  5581. closecallback: function () { }
  5582. }, {
  5583. "style": {
  5584. "height": "36px"
  5585. }
  5586. }).form; //创建窗体
  5587. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5588. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5589. })
  5590. _taskbar = {
  5591. "id": str + _formdiv.id,
  5592. "style": {
  5593. "backgroundImage": "url(/img/icon/doc.png)"
  5594. },
  5595. "name": "协同文档",
  5596. "forms": _formdiv,
  5597. "click": function () {
  5598. U.MD.D.I.openApplication(str, obj, info);
  5599. }
  5600. }
  5601. break;
  5602. case "mindNetwork": //好友打开
  5603. aTool = 7;
  5604. _iframe = $$("iframe", {
  5605. "webkitallowfullscreen": "",
  5606. "mozallowfullscreen": "",
  5607. "allowfullscreen": "",
  5608. "frameborder": "no",
  5609. "border": "0",
  5610. "scrolling ": "no",
  5611. "style": {
  5612. "cssText": "border:0; width:100%; height:100%;"
  5613. },
  5614. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5615. })
  5616. _box.appendChild(_iframe);
  5617. _box.appendChild(_jie);
  5618. _formdiv = new U.UF.UI.form(
  5619. "思维网格",
  5620. _box, {
  5621. "id": "mindNetwork" + cid + stage + task + tool,
  5622. "style": {
  5623. "width": "90%",
  5624. "height": "90%",
  5625. "overflow": 'hidden'
  5626. },
  5627. "onresize": function () { }
  5628. }, {
  5629. closecallback: function () { }
  5630. }, {
  5631. "style": {
  5632. "height": "36px"
  5633. }
  5634. }).form; //创建窗体
  5635. _taskbar = {
  5636. "id": str + _formdiv.id,
  5637. "style": {
  5638. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5639. },
  5640. "name": "思维网格",
  5641. "forms": _formdiv,
  5642. "click": function () {
  5643. U.MD.D.I.openApplication(str, obj, info);
  5644. }
  5645. }
  5646. break;
  5647. case "courseDesign":
  5648. _iframe = $$("iframe", {
  5649. "webkitallowfullscreen": "",
  5650. "mozallowfullscreen": "",
  5651. "allowfullscreen": "",
  5652. "frameborder": "no",
  5653. "border": "0",
  5654. "scrolling ": "no",
  5655. "style": {
  5656. "cssText": "border:0; width:100%; height:100%;"
  5657. },
  5658. "src": "/course-design-vue"
  5659. })
  5660. _box.appendChild(_iframe);
  5661. _box.appendChild(_jie);
  5662. _formdiv = new U.UF.UI.form(
  5663. "项目设计",
  5664. _box, {
  5665. "id": "courseDesign" + cid + stage + task + tool,
  5666. "style": {
  5667. "width": "90%",
  5668. "height": "90%",
  5669. "overflow": 'hidden'
  5670. },
  5671. "onresize": function () { }
  5672. }, {
  5673. closecallback: function () { }
  5674. }, {
  5675. "style": {
  5676. "height": "36px"
  5677. }
  5678. }).form; //创建窗体
  5679. _taskbar = {
  5680. "id": str + _formdiv.id,
  5681. "style": {
  5682. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5683. },
  5684. "name": "项目设计",
  5685. "forms": _formdiv,
  5686. "click": function () {
  5687. U.MD.D.I.openApplication(str, obj, info);
  5688. }
  5689. }
  5690. break;
  5691. }
  5692. const script1 = document.createElement("script");
  5693. script1.type = "text/javascript";
  5694. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5695. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5696. const script2 = document.createElement("script");
  5697. script2.type = "text/javascript";
  5698. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5699. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5700. const script3 = document.createElement("script");
  5701. script3.type = "text/javascript";
  5702. script3.charset = "UTF-8";
  5703. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5704. const script4 = document.createElement("script");
  5705. script4.type = "text/javascript";
  5706. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5707. script4.src = window.origin + "/js/Common/jietu2E.js";
  5708. if (_iframe) {
  5709. if (str == 'doc') {
  5710. _iframe = _formdiv.querySelector('iframe')
  5711. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5712. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5713. _iframe.contentWindow.document.body.appendChild(script1);
  5714. _iframe.contentWindow.document.body.appendChild(script2);
  5715. // _iframe.contentWindow.document.body.appendChild(script3);
  5716. _iframe.contentWindow.document.body.appendChild(script4);
  5717. })
  5718. if (onloadListener) {
  5719. _iframe.contentDocument.location.reload()
  5720. } else {
  5721. _iframe.contentDocument.location.reload()
  5722. }
  5723. } else if (str == 'courseDesign') {
  5724. U.UF.DL.iframeLoad(_iframe, function () {
  5725. // _iframe.contentWindow.U.MD.O.W.load();
  5726. // _iframe.contentWindow.document.body.appendChild(script1);
  5727. _iframe.contentWindow.document.body.appendChild(script2);
  5728. _iframe.contentWindow.document.body.appendChild(script4);
  5729. })
  5730. } else if (str == 'mind') {
  5731. _iframe = _formdiv.querySelector('iframe')
  5732. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5733. //
  5734. _iframe.contentWindow.document.body.appendChild(script1);
  5735. _iframe.contentWindow.document.body.appendChild(script2);
  5736. _iframe.contentWindow.document.body.appendChild(script4);
  5737. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5738. })
  5739. if (onloadListener) {
  5740. _iframe.contentDocument.location.reload()
  5741. } else {
  5742. _iframe.contentDocument.location.reload()
  5743. }
  5744. } else if (str == 'whiteboard') {
  5745. _iframe = _formdiv.querySelector('iframe')
  5746. let onloadListener = _iframe.onload = () => {
  5747. _iframe.contentWindow.document.body.appendChild(script1);
  5748. _iframe.contentWindow.document.body.appendChild(script2);
  5749. _iframe.contentWindow.document.body.appendChild(script4);
  5750. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5751. };
  5752. if (onloadListener) {
  5753. _iframe.contentDocument.location.reload()
  5754. } else {
  5755. _iframe.contentDocument.location.reload()
  5756. }
  5757. } else {
  5758. _iframe.onload = () => {
  5759. _iframe.contentWindow.document.body.appendChild(script1);
  5760. _iframe.contentWindow.document.body.appendChild(script2);
  5761. // _iframe.contentWindow.document.body.appendChild(script3);
  5762. _iframe.contentWindow.document.body.appendChild(script4);
  5763. };
  5764. }
  5765. _jie.onclick = async () => {
  5766. let text = ''
  5767. if (aTool == 1) {
  5768. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5769. } else if (aTool == 6) {
  5770. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5771. } else if (aTool == 3) {
  5772. text = await U.MD.D.I.getEditorContent(_iframe);
  5773. }
  5774. _loading.style.display = 'flex'
  5775. console.log(_loading);
  5776. var _ajs = _iframe.contentWindow.document.createElement("script");
  5777. _ajs.type = "text/javascript";
  5778. _ajs.innerHTML =
  5779. // 'console.log(' + _loading + ');\n' +
  5780. 'var _js = document.createElement("script");\n' +
  5781. '_js.type="text/javascript";\n' +
  5782. '_js.charset="UTF-8";\n' +
  5783. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5784. "_js.onload = function(){\n" +
  5785. ' var a = document.getElementsByTagName("img")\n' +
  5786. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5787. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5788. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5789. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5790. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5791. "beforeUpload_shishi(file," +
  5792. "'" +
  5793. _userid +
  5794. "'" +
  5795. ", " +
  5796. "'" +
  5797. _cid +
  5798. "'" +
  5799. ", " +
  5800. "'" +
  5801. _stage +
  5802. "'" +
  5803. ", " +
  5804. "'" +
  5805. _task +
  5806. "'" +
  5807. ", " +
  5808. "'" +
  5809. _tool +
  5810. "'" +
  5811. ", " +
  5812. "'" +
  5813. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5814. "'" +
  5815. ", " +
  5816. "'" +
  5817. aTool +
  5818. "'" +
  5819. ", " +
  5820. "`" +
  5821. text +
  5822. "`" +
  5823. ")\n" +
  5824. " });\n" +
  5825. "}\n" +
  5826. "document.head.appendChild(_js);\n";
  5827. _iframe.contentWindow.document.head.appendChild(_ajs);
  5828. }
  5829. }
  5830. //U.MD.D.I.openClick(str);
  5831. //如果有任务栏信息
  5832. // if (_taskbar) {
  5833. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5834. // }
  5835. }
  5836. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5837. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5838. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5839. _userid = student.userid, //登录用户id
  5840. _username = student.student //用户名字
  5841. let _iframe;
  5842. let _cid = cid,
  5843. _stage = stage,
  5844. _task = task,
  5845. _tool = tool;
  5846. var _jie = $$("div", {
  5847. "style": {
  5848. "position": "absolute",
  5849. "bottom": "50px",
  5850. "right": "50px",
  5851. "zIndex": "9999",
  5852. "backgroundColor": "#2268bc",
  5853. "color": "#fff",
  5854. "padding": "12px 20px",
  5855. "cursor": "pointer",
  5856. "borderRadius": "4px",
  5857. },
  5858. "innerHTML": "提交作业"
  5859. })
  5860. let aTool = ''
  5861. let _loading = document.createElement('div')
  5862. _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;"
  5863. // _loading.id = "";
  5864. let _lchild = document.createElement('div')
  5865. let _limg = document.createElement('img')
  5866. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5867. _limg.style = "width: 26px;margin-right: 10px;"
  5868. _lchild.appendChild(_limg)
  5869. let _lspan = document.createElement('span')
  5870. _lspan.innerHTML = "上传中..."
  5871. _lchild.appendChild(_lspan)
  5872. _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%);"
  5873. _loading.appendChild(_lchild)
  5874. var _box = $$('div', {
  5875. "style": {
  5876. "position": "relative",
  5877. "width": "100%",
  5878. "height": "100%",
  5879. },
  5880. })
  5881. _box.appendChild(_loading)
  5882. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5883. switch (str) {
  5884. case "whiteboard":
  5885. aTool = 1;
  5886. _iframe = $$("iframe", {
  5887. "frameborder": "no",
  5888. "border": "0",
  5889. "scrolling ": "no",
  5890. "style": {
  5891. "cssText": "border:0;width:100%;height:100%"
  5892. },
  5893. "src": "https://iwb.cocorobo.cn/"
  5894. })
  5895. _box.appendChild(_iframe);
  5896. _box.appendChild(_jie);
  5897. _formdiv = new U.UF.UI.form(
  5898. "电子白板-" + _username,
  5899. _box, {
  5900. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5901. "style": {
  5902. "width": "90%",
  5903. "height": "90%",
  5904. "overflow": 'hidden'
  5905. },
  5906. "onresize": function () { }
  5907. }, {
  5908. closecallback: function () { }
  5909. }, {
  5910. "style": {
  5911. "height": "36px"
  5912. }
  5913. }).form; //创建窗体
  5914. _taskbar = {
  5915. "id": str + _formdiv.id,
  5916. "style": {
  5917. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5918. },
  5919. "name": "电子白板",
  5920. "forms": _formdiv,
  5921. "click": function () {
  5922. U.MD.D.I.openApplication(str, obj, info);
  5923. }
  5924. }
  5925. break;
  5926. case "mind":
  5927. aTool = 3;
  5928. _iframe = $$("iframe", {
  5929. "frameborder": "no",
  5930. "border": "0",
  5931. "scrolling ": "no",
  5932. "style": {
  5933. "cssText": "border:0;width:100%;height:100%"
  5934. },
  5935. "src": "/kityminder-editor/dist/index.html"
  5936. })
  5937. _box.appendChild(_iframe);
  5938. _box.appendChild(_jie);
  5939. _formdiv = new U.UF.UI.form(
  5940. "思维导图-" + _username,
  5941. _box, { //"/jsmind/example/demo.html"
  5942. "id": "mind" + cid + stage + task + tool + _userid,
  5943. "style": {
  5944. "width": "90%",
  5945. "height": "90%",
  5946. "overflow": 'hidden'
  5947. },
  5948. "onresize": function () { }
  5949. }, {
  5950. closecallback: function () { }
  5951. }, {
  5952. "style": {
  5953. "height": "36px"
  5954. }
  5955. }).form; //创建窗体
  5956. _taskbar = {
  5957. "id": str + _formdiv.id,
  5958. "style": {
  5959. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5960. },
  5961. "name": "思维导图",
  5962. "forms": _formdiv,
  5963. "click": function () {
  5964. U.MD.D.I.openApplication(str, obj, info);
  5965. }
  5966. }
  5967. break;
  5968. case "MindMap":
  5969. aTool = 3;
  5970. _iframe = $$("iframe", {
  5971. "frameborder": "no",
  5972. "border": "0",
  5973. "scrolling ": "no",
  5974. "style": {
  5975. "cssText": "border:0;width:100%;height:100%"
  5976. },
  5977. "src": "//cloud.cocorobo.cn/mind/"
  5978. })
  5979. _box.appendChild(_iframe);
  5980. _box.appendChild(_jie);
  5981. _formdiv = new U.UF.UI.form(
  5982. "思维导图-" + _username,
  5983. _box, { //"/jsmind/example/demo.html"
  5984. "id": "mind" + cid + stage + task + tool + _userid,
  5985. "style": {
  5986. "width": "90%",
  5987. "height": "90%",
  5988. "overflow": 'hidden'
  5989. },
  5990. "onresize": function () { }
  5991. }, {
  5992. closecallback: function () { }
  5993. }, {
  5994. "style": {
  5995. "height": "36px"
  5996. }
  5997. }).form; //创建窗体
  5998. _taskbar = {
  5999. "id": str + _formdiv.id,
  6000. "style": {
  6001. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6002. },
  6003. "name": "思维导图",
  6004. "forms": _formdiv,
  6005. "click": function () {
  6006. U.MD.D.I.openApplication(str, obj, info);
  6007. }
  6008. }
  6009. break;
  6010. case "doc":
  6011. aTool = 6;
  6012. _iframe = $$("iframe", {
  6013. "frameborder": "no",
  6014. "border": "0",
  6015. "scrolling ": "no",
  6016. "style": {
  6017. "cssText": "border:0;width:100%;height:100%"
  6018. },
  6019. "src": "/Office/Word/WordEditArea.htm"
  6020. })
  6021. _box.appendChild(_iframe);
  6022. _box.appendChild(_jie);
  6023. _formdiv = new U.UF.UI.form(
  6024. "协同文档-" + _username,
  6025. _box, {
  6026. "id": "doc" + cid + stage + task + tool + _userid,
  6027. "style": {
  6028. "width": "90%",
  6029. "height": "90%",
  6030. "overflow": 'hidden'
  6031. },
  6032. "onresize": function () { }
  6033. }, {
  6034. closecallback: function () { }
  6035. }, {
  6036. "style": {
  6037. "height": "36px"
  6038. }
  6039. }).form; //创建窗体
  6040. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6041. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6042. })
  6043. _taskbar = {
  6044. "id": str + _formdiv.id,
  6045. "style": {
  6046. "backgroundImage": "url(/img/icon/doc.png)"
  6047. },
  6048. "name": "协同文档",
  6049. "forms": _formdiv,
  6050. "click": function () {
  6051. U.MD.D.I.openApplication(str, obj, info);
  6052. }
  6053. }
  6054. break;
  6055. case "mindNetwork": //好友打开
  6056. aTool = 7;
  6057. _iframe = $$("iframe", {
  6058. "webkitallowfullscreen": "",
  6059. "mozallowfullscreen": "",
  6060. "allowfullscreen": "",
  6061. "frameborder": "no",
  6062. "border": "0",
  6063. "scrolling ": "no",
  6064. "style": {
  6065. "cssText": "border:0; width:100%; height:100%;"
  6066. },
  6067. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6068. })
  6069. _box.appendChild(_iframe);
  6070. _box.appendChild(_jie);
  6071. _formdiv = new U.UF.UI.form(
  6072. "思维网格-" + _username,
  6073. _box, {
  6074. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6075. "style": {
  6076. "width": "90%",
  6077. "height": "90%",
  6078. "overflow": 'hidden'
  6079. },
  6080. "onresize": function () { }
  6081. }, {
  6082. closecallback: function () { }
  6083. }, {
  6084. "style": {
  6085. "height": "36px"
  6086. }
  6087. }).form; //创建窗体
  6088. _taskbar = {
  6089. "id": str + _formdiv.id,
  6090. "style": {
  6091. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6092. },
  6093. "name": "思维网格",
  6094. "forms": _formdiv,
  6095. "click": function () {
  6096. U.MD.D.I.openApplication(str, obj, info);
  6097. }
  6098. }
  6099. break;
  6100. case "courseDesign":
  6101. _iframe = $$("iframe", {
  6102. "webkitallowfullscreen": "",
  6103. "mozallowfullscreen": "",
  6104. "allowfullscreen": "",
  6105. "frameborder": "no",
  6106. "border": "0",
  6107. "scrolling ": "no",
  6108. "style": {
  6109. "cssText": "border:0; width:100%; height:100%;"
  6110. },
  6111. "src": "/course-design-vue"
  6112. })
  6113. _box.appendChild(_iframe);
  6114. _box.appendChild(_jie);
  6115. _formdiv = new U.UF.UI.form(
  6116. "项目设计-" + _username,
  6117. _box, {
  6118. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6119. "style": {
  6120. "width": "90%",
  6121. "height": "90%",
  6122. "overflow": 'hidden'
  6123. },
  6124. "onresize": function () { }
  6125. }, {
  6126. closecallback: function () { }
  6127. }, {
  6128. "style": {
  6129. "height": "36px"
  6130. }
  6131. }).form; //创建窗体
  6132. _taskbar = {
  6133. "id": str + _formdiv.id,
  6134. "style": {
  6135. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6136. },
  6137. "name": "项目设计",
  6138. "forms": _formdiv,
  6139. "click": function () {
  6140. U.MD.D.I.openApplication(str, obj, info);
  6141. }
  6142. }
  6143. break;
  6144. }
  6145. const script1 = document.createElement("script");
  6146. script1.type = "text/javascript";
  6147. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6148. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6149. const script2 = document.createElement("script");
  6150. script2.type = "text/javascript";
  6151. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6152. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6153. const script3 = document.createElement("script");
  6154. script3.type = "text/javascript";
  6155. script3.charset = "UTF-8";
  6156. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6157. const script4 = document.createElement("script");
  6158. script4.type = "text/javascript";
  6159. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6160. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6161. if (_iframe) {
  6162. if (str == 'doc') {
  6163. _iframe = _formdiv.querySelector('iframe')
  6164. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6165. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6166. _iframe.contentWindow.document.body.appendChild(script1);
  6167. _iframe.contentWindow.document.body.appendChild(script2);
  6168. // _iframe.contentWindow.document.body.appendChild(script3);
  6169. _iframe.contentWindow.document.body.appendChild(script4);
  6170. })
  6171. if (onloadListener) {
  6172. _iframe.contentDocument.location.reload()
  6173. } else {
  6174. _iframe.contentDocument.location.reload()
  6175. }
  6176. } else if (str == 'courseDesign') {
  6177. U.UF.DL.iframeLoad(_iframe, function () {
  6178. // _iframe.contentWindow.U.MD.O.W.load();
  6179. // _iframe.contentWindow.document.body.appendChild(script1);
  6180. _iframe.contentWindow.document.body.appendChild(script2);
  6181. _iframe.contentWindow.document.body.appendChild(script4);
  6182. })
  6183. } else if (str == 'mind') {
  6184. _iframe = _formdiv.querySelector('iframe')
  6185. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6186. //
  6187. _iframe.contentWindow.document.body.appendChild(script1);
  6188. _iframe.contentWindow.document.body.appendChild(script2);
  6189. _iframe.contentWindow.document.body.appendChild(script4);
  6190. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6191. })
  6192. if (onloadListener) {
  6193. _iframe.contentDocument.location.reload()
  6194. } else {
  6195. _iframe.contentDocument.location.reload()
  6196. }
  6197. } else if (str == 'whiteboard') {
  6198. _iframe = _formdiv.querySelector('iframe')
  6199. let onloadListener = _iframe.onload = () => {
  6200. _iframe.contentWindow.document.body.appendChild(script1);
  6201. _iframe.contentWindow.document.body.appendChild(script2);
  6202. _iframe.contentWindow.document.body.appendChild(script4);
  6203. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6204. };
  6205. if (onloadListener) {
  6206. _iframe.contentDocument.location.reload()
  6207. } else {
  6208. _iframe.contentDocument.location.reload()
  6209. }
  6210. } else {
  6211. _iframe.onload = () => {
  6212. _iframe.contentWindow.document.body.appendChild(script1);
  6213. _iframe.contentWindow.document.body.appendChild(script2);
  6214. // _iframe.contentWindow.document.body.appendChild(script3);
  6215. _iframe.contentWindow.document.body.appendChild(script4);
  6216. };
  6217. }
  6218. _jie.onclick = async () => {
  6219. let text = ''
  6220. if (aTool == 1) {
  6221. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6222. } else if (aTool == 6) {
  6223. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6224. } else if (aTool == 3) {
  6225. text = await U.MD.D.I.getEditorContent(_iframe);
  6226. }
  6227. _loading.style.display = 'flex'
  6228. console.log(_loading);
  6229. var _ajs = _iframe.contentWindow.document.createElement("script");
  6230. _ajs.type = "text/javascript";
  6231. _ajs.innerHTML =
  6232. // 'console.log(' + _loading + ');\n' +
  6233. 'var _js = document.createElement("script");\n' +
  6234. '_js.type="text/javascript";\n' +
  6235. '_js.charset="UTF-8";\n' +
  6236. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6237. "_js.onload = function(){\n" +
  6238. ' var a = document.getElementsByTagName("img")\n' +
  6239. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6240. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6241. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6242. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6243. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6244. "beforeUpload_shishi(file," +
  6245. "'" +
  6246. _userid +
  6247. "'" +
  6248. ", " +
  6249. "'" +
  6250. _cid +
  6251. "'" +
  6252. ", " +
  6253. "'" +
  6254. _stage +
  6255. "'" +
  6256. ", " +
  6257. "'" +
  6258. _task +
  6259. "'" +
  6260. ", " +
  6261. "'" +
  6262. _tool +
  6263. "'" +
  6264. ", " +
  6265. "'" +
  6266. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6267. "'" +
  6268. ", " +
  6269. "'" +
  6270. aTool +
  6271. "'" +
  6272. ", " +
  6273. "`" +
  6274. text +
  6275. "`" +
  6276. ")\n" +
  6277. " });\n" +
  6278. "}\n" +
  6279. "document.head.appendChild(_js);\n";
  6280. _iframe.contentWindow.document.head.appendChild(_ajs);
  6281. }
  6282. }
  6283. }
  6284. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6285. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6286. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6287. _userid = student.userid, //登录用户id
  6288. _username = student.student //用户名字
  6289. let _iframe;
  6290. let _cid = cid,
  6291. _stage = stage,
  6292. _task = task,
  6293. _tool = tool;
  6294. var _jie = $$("div", {
  6295. "style": {
  6296. "position": "absolute",
  6297. "bottom": "50px",
  6298. "right": "50px",
  6299. "zIndex": "9999",
  6300. "backgroundColor": "#2268bc",
  6301. "color": "#fff",
  6302. "padding": "12px 20px",
  6303. "cursor": "pointer",
  6304. "borderRadius": "4px",
  6305. },
  6306. "innerHTML": "提交作业"
  6307. })
  6308. let aTool = ''
  6309. let _loading = document.createElement('div')
  6310. _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;"
  6311. // _loading.id = "";
  6312. let _lchild = document.createElement('div')
  6313. let _limg = document.createElement('img')
  6314. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6315. _limg.style = "width: 26px;margin-right: 10px;"
  6316. _lchild.appendChild(_limg)
  6317. let _lspan = document.createElement('span')
  6318. _lspan.innerHTML = "上传中..."
  6319. _lchild.appendChild(_lspan)
  6320. _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%);"
  6321. _loading.appendChild(_lchild)
  6322. var _box = $$('div', {
  6323. "style": {
  6324. "position": "relative",
  6325. "width": "100%",
  6326. "height": "100%",
  6327. },
  6328. })
  6329. _box.appendChild(_loading)
  6330. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6331. switch (str) {
  6332. case "whiteboard":
  6333. aTool = 1;
  6334. _iframe = $$("iframe", {
  6335. "frameborder": "no",
  6336. "border": "0",
  6337. "scrolling ": "no",
  6338. "style": {
  6339. "cssText": "border:0;width:100%;height:100%"
  6340. },
  6341. "src": "https://iwb.cocorobo.cn/"
  6342. })
  6343. _box.appendChild(_iframe);
  6344. _box.appendChild(_jie);
  6345. _formdiv = new U.UF.UI.form(
  6346. "电子白板-" + _username,
  6347. _box, {
  6348. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6349. "style": {
  6350. "width": "90%",
  6351. "height": "90%",
  6352. "overflow": 'hidden'
  6353. },
  6354. "onresize": function () { }
  6355. }, {
  6356. closecallback: function () { }
  6357. }, {
  6358. "style": {
  6359. "height": "36px"
  6360. }
  6361. }).form; //创建窗体
  6362. _taskbar = {
  6363. "id": str + _formdiv.id,
  6364. "style": {
  6365. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6366. },
  6367. "name": "电子白板",
  6368. "forms": _formdiv,
  6369. "click": function () {
  6370. U.MD.D.I.openApplication(str, obj, info);
  6371. }
  6372. }
  6373. break;
  6374. case "mind":
  6375. aTool = 3;
  6376. _iframe = $$("iframe", {
  6377. "frameborder": "no",
  6378. "border": "0",
  6379. "scrolling ": "no",
  6380. "style": {
  6381. "cssText": "border:0;width:100%;height:100%"
  6382. },
  6383. "src": "/kityminder-editor/dist/index.html"
  6384. })
  6385. _box.appendChild(_iframe);
  6386. _box.appendChild(_jie);
  6387. _formdiv = new U.UF.UI.form(
  6388. "思维导图-" + _username,
  6389. _box, { //"/jsmind/example/demo.html"
  6390. "id": "mind" + cid + stage + task + tool + _userid,
  6391. "style": {
  6392. "width": "90%",
  6393. "height": "90%",
  6394. "overflow": 'hidden'
  6395. },
  6396. "onresize": function () { }
  6397. }, {
  6398. closecallback: function () { }
  6399. }, {
  6400. "style": {
  6401. "height": "36px"
  6402. }
  6403. }).form; //创建窗体
  6404. _taskbar = {
  6405. "id": str + _formdiv.id,
  6406. "style": {
  6407. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6408. },
  6409. "name": "思维导图",
  6410. "forms": _formdiv,
  6411. "click": function () {
  6412. U.MD.D.I.openApplication(str, obj, info);
  6413. }
  6414. }
  6415. break;
  6416. case "MindMap":
  6417. aTool = 3;
  6418. _iframe = $$("iframe", {
  6419. "frameborder": "no",
  6420. "border": "0",
  6421. "scrolling ": "no",
  6422. "style": {
  6423. "cssText": "border:0;width:100%;height:100%"
  6424. },
  6425. "src": "//cloud.cocorobo.cn/mind/"
  6426. })
  6427. _box.appendChild(_iframe);
  6428. _box.appendChild(_jie);
  6429. _formdiv = new U.UF.UI.form(
  6430. "思维导图-" + _username,
  6431. _box, { //"/jsmind/example/demo.html"
  6432. "id": "mind" + cid + stage + task + tool + _userid,
  6433. "style": {
  6434. "width": "90%",
  6435. "height": "90%",
  6436. "overflow": 'hidden'
  6437. },
  6438. "onresize": function () { }
  6439. }, {
  6440. closecallback: function () { }
  6441. }, {
  6442. "style": {
  6443. "height": "36px"
  6444. }
  6445. }).form; //创建窗体
  6446. _taskbar = {
  6447. "id": str + _formdiv.id,
  6448. "style": {
  6449. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6450. },
  6451. "name": "思维导图",
  6452. "forms": _formdiv,
  6453. "click": function () {
  6454. U.MD.D.I.openApplication(str, obj, info);
  6455. }
  6456. }
  6457. break;
  6458. case "doc":
  6459. aTool = 6;
  6460. _iframe = $$("iframe", {
  6461. "frameborder": "no",
  6462. "border": "0",
  6463. "scrolling ": "no",
  6464. "style": {
  6465. "cssText": "border:0;width:100%;height:100%"
  6466. },
  6467. "src": "/Office/Word/WordEditArea.htm"
  6468. })
  6469. _box.appendChild(_iframe);
  6470. _box.appendChild(_jie);
  6471. _formdiv = new U.UF.UI.form(
  6472. "协同文档-" + _username,
  6473. _box, {
  6474. "id": "doc" + cid + stage + task + tool + _userid,
  6475. "style": {
  6476. "width": "90%",
  6477. "height": "90%",
  6478. "overflow": 'hidden'
  6479. },
  6480. "onresize": function () { }
  6481. }, {
  6482. closecallback: function () { }
  6483. }, {
  6484. "style": {
  6485. "height": "36px"
  6486. }
  6487. }).form; //创建窗体
  6488. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6489. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6490. })
  6491. _taskbar = {
  6492. "id": str + _formdiv.id,
  6493. "style": {
  6494. "backgroundImage": "url(/img/icon/doc.png)"
  6495. },
  6496. "name": "协同文档",
  6497. "forms": _formdiv,
  6498. "click": function () {
  6499. U.MD.D.I.openApplication(str, obj, info);
  6500. }
  6501. }
  6502. break;
  6503. case "mindNetwork": //好友打开
  6504. aTool = 7;
  6505. _iframe = $$("iframe", {
  6506. "webkitallowfullscreen": "",
  6507. "mozallowfullscreen": "",
  6508. "allowfullscreen": "",
  6509. "frameborder": "no",
  6510. "border": "0",
  6511. "scrolling ": "no",
  6512. "style": {
  6513. "cssText": "border:0; width:100%; height:100%;"
  6514. },
  6515. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6516. })
  6517. _box.appendChild(_iframe);
  6518. _box.appendChild(_jie);
  6519. _formdiv = new U.UF.UI.form(
  6520. "思维网格-" + _username,
  6521. _box, {
  6522. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6523. "style": {
  6524. "width": "90%",
  6525. "height": "90%",
  6526. "overflow": 'hidden'
  6527. },
  6528. "onresize": function () { }
  6529. }, {
  6530. closecallback: function () { }
  6531. }, {
  6532. "style": {
  6533. "height": "36px"
  6534. }
  6535. }).form; //创建窗体
  6536. _taskbar = {
  6537. "id": str + _formdiv.id,
  6538. "style": {
  6539. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6540. },
  6541. "name": "思维网格",
  6542. "forms": _formdiv,
  6543. "click": function () {
  6544. U.MD.D.I.openApplication(str, obj, info);
  6545. }
  6546. }
  6547. break;
  6548. case "courseDesign":
  6549. _iframe = $$("iframe", {
  6550. "webkitallowfullscreen": "",
  6551. "mozallowfullscreen": "",
  6552. "allowfullscreen": "",
  6553. "frameborder": "no",
  6554. "border": "0",
  6555. "scrolling ": "no",
  6556. "style": {
  6557. "cssText": "border:0; width:100%; height:100%;"
  6558. },
  6559. "src": "/course-design-vue"
  6560. })
  6561. _box.appendChild(_iframe);
  6562. _box.appendChild(_jie);
  6563. _formdiv = new U.UF.UI.form(
  6564. "项目设计-" + _username,
  6565. _box, {
  6566. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6567. "style": {
  6568. "width": "90%",
  6569. "height": "90%",
  6570. "overflow": 'hidden'
  6571. },
  6572. "onresize": function () { }
  6573. }, {
  6574. closecallback: function () { }
  6575. }, {
  6576. "style": {
  6577. "height": "36px"
  6578. }
  6579. }).form; //创建窗体
  6580. _taskbar = {
  6581. "id": str + _formdiv.id,
  6582. "style": {
  6583. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6584. },
  6585. "name": "项目设计",
  6586. "forms": _formdiv,
  6587. "click": function () {
  6588. U.MD.D.I.openApplication(str, obj, info);
  6589. }
  6590. }
  6591. break;
  6592. }
  6593. const script1 = document.createElement("script");
  6594. script1.type = "text/javascript";
  6595. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6596. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6597. const script2 = document.createElement("script");
  6598. script2.type = "text/javascript";
  6599. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6600. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6601. const script3 = document.createElement("script");
  6602. script3.type = "text/javascript";
  6603. script3.charset = "UTF-8";
  6604. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6605. const script4 = document.createElement("script");
  6606. script4.type = "text/javascript";
  6607. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6608. script4.src = window.origin + "/js/Common/jietu2E.js";
  6609. if (_iframe) {
  6610. if (str == 'doc') {
  6611. _iframe = _formdiv.querySelector('iframe')
  6612. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6613. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6614. _iframe.contentWindow.document.body.appendChild(script1);
  6615. _iframe.contentWindow.document.body.appendChild(script2);
  6616. // _iframe.contentWindow.document.body.appendChild(script3);
  6617. _iframe.contentWindow.document.body.appendChild(script4);
  6618. })
  6619. if (onloadListener) {
  6620. _iframe.contentDocument.location.reload()
  6621. } else {
  6622. _iframe.contentDocument.location.reload()
  6623. }
  6624. } else if (str == 'courseDesign') {
  6625. U.UF.DL.iframeLoad(_iframe, function () {
  6626. // _iframe.contentWindow.U.MD.O.W.load();
  6627. // _iframe.contentWindow.document.body.appendChild(script1);
  6628. _iframe.contentWindow.document.body.appendChild(script2);
  6629. _iframe.contentWindow.document.body.appendChild(script4);
  6630. })
  6631. } else if (str == 'mind') {
  6632. _iframe = _formdiv.querySelector('iframe')
  6633. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6634. //
  6635. _iframe.contentWindow.document.body.appendChild(script1);
  6636. _iframe.contentWindow.document.body.appendChild(script2);
  6637. _iframe.contentWindow.document.body.appendChild(script4);
  6638. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6639. })
  6640. if (onloadListener) {
  6641. _iframe.contentDocument.location.reload()
  6642. } else {
  6643. _iframe.contentDocument.location.reload()
  6644. }
  6645. } else if (str == 'whiteboard') {
  6646. _iframe = _formdiv.querySelector('iframe')
  6647. let onloadListener = _iframe.onload = () => {
  6648. _iframe.contentWindow.document.body.appendChild(script1);
  6649. _iframe.contentWindow.document.body.appendChild(script2);
  6650. _iframe.contentWindow.document.body.appendChild(script4);
  6651. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6652. };
  6653. if (onloadListener) {
  6654. _iframe.contentDocument.location.reload()
  6655. } else {
  6656. _iframe.contentDocument.location.reload()
  6657. }
  6658. } else {
  6659. _iframe.onload = () => {
  6660. _iframe.contentWindow.document.body.appendChild(script1);
  6661. _iframe.contentWindow.document.body.appendChild(script2);
  6662. // _iframe.contentWindow.document.body.appendChild(script3);
  6663. _iframe.contentWindow.document.body.appendChild(script4);
  6664. };
  6665. }
  6666. _jie.onclick = async () => {
  6667. let text = ''
  6668. if (aTool == 1) {
  6669. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6670. } else if (aTool == 6) {
  6671. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6672. } else if (aTool == 3) {
  6673. text = await U.MD.D.I.getEditorContent(_iframe);
  6674. }
  6675. _loading.style.display = 'flex'
  6676. console.log(_loading);
  6677. var _ajs = _iframe.contentWindow.document.createElement("script");
  6678. _ajs.type = "text/javascript";
  6679. _ajs.innerHTML =
  6680. // 'console.log(' + _loading + ');\n' +
  6681. 'var _js = document.createElement("script");\n' +
  6682. '_js.type="text/javascript";\n' +
  6683. '_js.charset="UTF-8";\n' +
  6684. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6685. "_js.onload = function(){\n" +
  6686. ' var a = document.getElementsByTagName("img")\n' +
  6687. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6688. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6689. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6690. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6691. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6692. "beforeUpload_shishi(file," +
  6693. "'" +
  6694. _userid +
  6695. "'" +
  6696. ", " +
  6697. "'" +
  6698. _cid +
  6699. "'" +
  6700. ", " +
  6701. "'" +
  6702. _stage +
  6703. "'" +
  6704. ", " +
  6705. "'" +
  6706. _task +
  6707. "'" +
  6708. ", " +
  6709. "'" +
  6710. _tool +
  6711. "'" +
  6712. ", " +
  6713. "'" +
  6714. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6715. "'" +
  6716. ", " +
  6717. "'" +
  6718. aTool +
  6719. "'" +
  6720. ", " +
  6721. "`" +
  6722. text +
  6723. "`" +
  6724. ")\n" +
  6725. " });\n" +
  6726. "}\n" +
  6727. "document.head.appendChild(_js);\n";
  6728. _iframe.contentWindow.document.head.appendChild(_ajs);
  6729. }
  6730. }
  6731. }
  6732. U.MD.D.I.getEditorContent = function (iframe) {
  6733. return new Promise((resolve, reject) => {
  6734. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6735. console.log(content);
  6736. resolve(content)
  6737. });
  6738. });
  6739. }
  6740. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6741. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6742. // if (res.value[0].length > 0) {
  6743. // // resolve(res.value[0][0].text);
  6744. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6745. // $(fileInput).val('');
  6746. // });
  6747. // }
  6748. // }, [], { "type": "GET", "withCredentials": true });
  6749. var xmlhttp;
  6750. var Mac, Sn, DeviceId
  6751. if (window.XMLHttpRequest) {
  6752. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6753. xmlhttp = new XMLHttpRequest();
  6754. } else {
  6755. // IE6, IE5 浏览器执行代码
  6756. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6757. }
  6758. xmlhttp.onreadystatechange = function () {
  6759. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6760. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6761. // resolve(res.value[0][0].text);
  6762. if (type == '2') {
  6763. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6764. } else if (type == '3') {
  6765. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6766. }
  6767. } else {
  6768. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6769. }
  6770. }
  6771. }
  6772. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6773. xmlhttp.send();
  6774. }
  6775. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6776. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6777. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6778. _userinfo = US.userInfo, //登录用户信息
  6779. _userid = US.userInfo.userid //登录用户id
  6780. let _iframe;
  6781. let _cid = cid,
  6782. _stage = stage,
  6783. _task = task,
  6784. _tool = tool;
  6785. var _jie = $$("div", {
  6786. "style": {
  6787. "position": "absolute",
  6788. "bottom": "50px",
  6789. "right": "50px",
  6790. "zIndex": "9999",
  6791. "backgroundColor": "#2268bc",
  6792. "color": "#fff",
  6793. "padding": "12px 20px",
  6794. "cursor": "pointer",
  6795. "borderRadius": "4px",
  6796. },
  6797. "innerHTML": "确认并提交"
  6798. })
  6799. let aTool = ''
  6800. let _loading = document.createElement('div')
  6801. _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;"
  6802. // _loading.id = "";
  6803. let _lchild = document.createElement('div')
  6804. let _limg = document.createElement('img')
  6805. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6806. _limg.style = "width: 26px;margin-right: 10px;"
  6807. _lchild.appendChild(_limg)
  6808. let _lspan = document.createElement('span')
  6809. _lspan.innerHTML = "上传中..."
  6810. _lchild.appendChild(_lspan)
  6811. _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%);"
  6812. _loading.appendChild(_lchild)
  6813. var _box = $$('div', {
  6814. "style": {
  6815. "position": "relative",
  6816. "width": "100%",
  6817. "height": "100%",
  6818. },
  6819. })
  6820. _box.appendChild(_loading)
  6821. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6822. switch (str) {
  6823. case "whiteboard":
  6824. aTool = 1;
  6825. _iframe = $$("iframe", {
  6826. "frameborder": "no",
  6827. "border": "0",
  6828. "scrolling ": "no",
  6829. "style": {
  6830. "cssText": "border:0;width:100%;height:100%"
  6831. },
  6832. "src": "https://iwb.cocorobo.cn/"
  6833. })
  6834. _box.appendChild(_iframe);
  6835. _box.appendChild(_jie);
  6836. _formdiv = new U.UF.UI.form(
  6837. "电子白板",
  6838. _box, {
  6839. "id": "whiteboards" + cid + stage + task + tool,
  6840. "style": {
  6841. "width": "90%",
  6842. "height": "90%",
  6843. "overflow": 'hidden'
  6844. },
  6845. "onresize": function () { }
  6846. }, {
  6847. closecallback: function () { }
  6848. }, {
  6849. "style": {
  6850. "height": "36px"
  6851. }
  6852. }).form; //创建窗体
  6853. _taskbar = {
  6854. "id": str + _formdiv.id,
  6855. "style": {
  6856. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6857. },
  6858. "name": "电子白板",
  6859. "forms": _formdiv,
  6860. "click": function () {
  6861. U.MD.D.I.openApplication(str, obj, info);
  6862. }
  6863. }
  6864. break;
  6865. case "mind":
  6866. aTool = 3;
  6867. _iframe = $$("iframe", {
  6868. "frameborder": "no",
  6869. "border": "0",
  6870. "scrolling ": "no",
  6871. "style": {
  6872. "cssText": "border:0;width:100%;height:100%"
  6873. },
  6874. "src": "/kityminder-editor/dist/index.html"
  6875. });
  6876. _box.appendChild(_iframe);
  6877. _box.appendChild(_jie);
  6878. _formdiv = new U.UF.UI.form(
  6879. "思维导图",
  6880. _box, { //"/jsmind/example/demo.html"
  6881. "id": "minds" + cid + stage + task + tool,
  6882. "style": {
  6883. "width": "90%",
  6884. "height": "90%",
  6885. "overflow": 'hidden'
  6886. },
  6887. "onresize": function () { }
  6888. }, {
  6889. closecallback: function () { }
  6890. }, {
  6891. "style": {
  6892. "height": "36px"
  6893. }
  6894. }).form; //创建窗体
  6895. _taskbar = {
  6896. "id": str + _formdiv.id,
  6897. "style": {
  6898. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6899. },
  6900. "name": "思维导图",
  6901. "forms": _formdiv,
  6902. "click": function () {
  6903. U.MD.D.I.openApplication(str, obj, info);
  6904. }
  6905. }
  6906. break;
  6907. case "doc":
  6908. aTool = 6;
  6909. _iframe = $$("iframe", {
  6910. "frameborder": "no",
  6911. "border": "0",
  6912. "scrolling ": "no",
  6913. "style": {
  6914. "cssText": "border:0;width:100%;height:100%"
  6915. },
  6916. "src": "/Office/Word/WordEditArea.htm"
  6917. })
  6918. _box.appendChild(_iframe);
  6919. _box.appendChild(_jie);
  6920. _formdiv = new U.UF.UI.form(
  6921. "协同文档",
  6922. _box, {
  6923. "id": "docs" + cid + stage + task + tool,
  6924. "style": {
  6925. "width": "90%",
  6926. "height": "90%",
  6927. "overflow": 'hidden'
  6928. },
  6929. "onresize": function () { }
  6930. }, {
  6931. closecallback: function () { }
  6932. }, {
  6933. "style": {
  6934. "height": "36px"
  6935. }
  6936. }).form; //创建窗体
  6937. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6938. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6939. })
  6940. _taskbar = {
  6941. "id": str + _formdiv.id,
  6942. "style": {
  6943. "backgroundImage": "url(/img/icon/doc.png)"
  6944. },
  6945. "name": "协同文档",
  6946. "forms": _formdiv,
  6947. "click": function () {
  6948. U.MD.D.I.openApplication(str, obj, info);
  6949. }
  6950. }
  6951. break;
  6952. }
  6953. const script1 = document.createElement("script");
  6954. script1.type = "text/javascript";
  6955. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6956. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6957. const script2 = document.createElement("script");
  6958. script2.type = "text/javascript";
  6959. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6960. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6961. const script3 = document.createElement("script");
  6962. script3.type = "text/javascript";
  6963. script3.charset = "UTF-8";
  6964. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6965. const script4 = document.createElement("script");
  6966. script4.type = "text/javascript";
  6967. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6968. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6969. if (_iframe) {
  6970. if (str == 'doc') {
  6971. _iframe = _formdiv.querySelector('iframe')
  6972. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6973. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6974. _iframe.contentWindow.document.body.appendChild(script1);
  6975. _iframe.contentWindow.document.body.appendChild(script2);
  6976. // _iframe.contentWindow.document.body.appendChild(script3);
  6977. _iframe.contentWindow.document.body.appendChild(script4);
  6978. })
  6979. if (onloadListener) {
  6980. _iframe.contentDocument.location.reload()
  6981. } else {
  6982. _iframe.contentDocument.location.reload()
  6983. }
  6984. } else if (str == 'mind') {
  6985. _iframe = _formdiv.querySelector('iframe')
  6986. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6987. _iframe.contentWindow.document.body.appendChild(script1);
  6988. _iframe.contentWindow.document.body.appendChild(script2);
  6989. _iframe.contentWindow.document.body.appendChild(script4);
  6990. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6991. })
  6992. if (onloadListener) {
  6993. _iframe.contentDocument.location.reload()
  6994. } else {
  6995. _iframe.contentDocument.location.reload()
  6996. }
  6997. } else {
  6998. _iframe.onload = () => {
  6999. _iframe.contentWindow.document.body.appendChild(script1);
  7000. _iframe.contentWindow.document.body.appendChild(script2);
  7001. // _iframe.contentWindow.document.body.appendChild(script3);
  7002. _iframe.contentWindow.document.body.appendChild(script4);
  7003. };
  7004. }
  7005. _jie.onclick = async () => {
  7006. let text = ''
  7007. if (aTool == 6) {
  7008. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7009. } else if (aTool == 3) {
  7010. text = await U.MD.D.I.getEditorContent(_iframe);
  7011. }
  7012. _loading.style.display = 'flex'
  7013. console.log(_loading);
  7014. var _ajs = _iframe.contentWindow.document.createElement("script");
  7015. _ajs.type = "text/javascript";
  7016. _ajs.innerHTML =
  7017. // 'console.log(' + _loading + ');\n' +
  7018. 'var _js = document.createElement("script");\n' +
  7019. '_js.type="text/javascript";\n' +
  7020. '_js.charset="UTF-8";\n' +
  7021. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7022. "_js.onload = function(){\n" +
  7023. ' var a = document.getElementsByTagName("img")\n' +
  7024. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7025. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7026. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7027. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7028. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7029. "beforeUpload_shishi(file," +
  7030. "'" +
  7031. _userid +
  7032. "'" +
  7033. ", " +
  7034. "'" +
  7035. _cid +
  7036. "'" +
  7037. ", " +
  7038. "'" +
  7039. _stage +
  7040. "'" +
  7041. ", " +
  7042. "'" +
  7043. _task +
  7044. "'" +
  7045. ", " +
  7046. "'" +
  7047. _tool +
  7048. "'" +
  7049. ", " +
  7050. "'" +
  7051. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7052. "'" +
  7053. ", " +
  7054. "'" +
  7055. aTool +
  7056. "'" +
  7057. ", " +
  7058. "`" +
  7059. text +
  7060. "`" +
  7061. ")\n" +
  7062. " });\n" +
  7063. "}\n" +
  7064. "document.head.appendChild(_js);\n";
  7065. _iframe.contentWindow.document.head.appendChild(_ajs);
  7066. }
  7067. }
  7068. //U.MD.D.I.openClick(str);
  7069. //如果有任务栏信息
  7070. // if (_taskbar) {
  7071. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7072. // }
  7073. }
  7074. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7075. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7076. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7077. _userinfo = US.userInfo, //登录用户信息
  7078. _userid = US.userInfo.userid //登录用户id
  7079. let _iframe;
  7080. let _cid = cid,
  7081. _stage = stage,
  7082. _task = task,
  7083. _tool = tool;
  7084. var _jie = $$("div", {
  7085. "style": {
  7086. "position": "absolute",
  7087. "bottom": "50px",
  7088. "right": "50px",
  7089. "zIndex": "9999",
  7090. "backgroundColor": "#2268bc",
  7091. "color": "#fff",
  7092. "padding": "12px 20px",
  7093. "cursor": "pointer",
  7094. "borderRadius": "4px",
  7095. },
  7096. "innerHTML": "确认并提交"
  7097. })
  7098. let aTool = ''
  7099. let _loading = document.createElement('div')
  7100. _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;"
  7101. // _loading.id = "";
  7102. let _lchild = document.createElement('div')
  7103. let _limg = document.createElement('img')
  7104. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7105. _limg.style = "width: 26px;margin-right: 10px;"
  7106. _lchild.appendChild(_limg)
  7107. let _lspan = document.createElement('span')
  7108. _lspan.innerHTML = "上传中..."
  7109. _lchild.appendChild(_lspan)
  7110. _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%);"
  7111. _loading.appendChild(_lchild)
  7112. var _box = $$('div', {
  7113. "style": {
  7114. "position": "relative",
  7115. "width": "100%",
  7116. "height": "100%",
  7117. },
  7118. })
  7119. _box.appendChild(_loading)
  7120. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7121. switch (str) {
  7122. case "whiteboard":
  7123. aTool = 1;
  7124. _iframe = $$("iframe", {
  7125. "frameborder": "no",
  7126. "border": "0",
  7127. "scrolling ": "no",
  7128. "style": {
  7129. "cssText": "border:0;width:100%;height:100%"
  7130. },
  7131. "src": "https://iwb.cocorobo.cn/"
  7132. })
  7133. _box.appendChild(_iframe);
  7134. _box.appendChild(_jie);
  7135. _formdiv = new U.UF.UI.form(
  7136. "电子白板",
  7137. _box, {
  7138. "id": "whiteboards" + cid + stage + task + tool,
  7139. "style": {
  7140. "width": "90%",
  7141. "height": "90%",
  7142. "overflow": 'hidden'
  7143. },
  7144. "onresize": function () { }
  7145. }, {
  7146. closecallback: function () { }
  7147. }, {
  7148. "style": {
  7149. "height": "36px"
  7150. }
  7151. }).form; //创建窗体
  7152. _taskbar = {
  7153. "id": str + _formdiv.id,
  7154. "style": {
  7155. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7156. },
  7157. "name": "电子白板",
  7158. "forms": _formdiv,
  7159. "click": function () {
  7160. U.MD.D.I.openApplication(str, obj, info);
  7161. }
  7162. }
  7163. break;
  7164. case "mind":
  7165. aTool = 3;
  7166. _iframe = $$("iframe", {
  7167. "frameborder": "no",
  7168. "border": "0",
  7169. "scrolling ": "no",
  7170. "style": {
  7171. "cssText": "border:0;width:100%;height:100%"
  7172. },
  7173. "src": "/kityminder-editor/dist/index.html"
  7174. });
  7175. _box.appendChild(_iframe);
  7176. _box.appendChild(_jie);
  7177. _formdiv = new U.UF.UI.form(
  7178. "思维导图",
  7179. _box, { //"/jsmind/example/demo.html"
  7180. "id": "minds" + cid + stage + task + tool,
  7181. "style": {
  7182. "width": "90%",
  7183. "height": "90%",
  7184. "overflow": 'hidden'
  7185. },
  7186. "onresize": function () { }
  7187. }, {
  7188. closecallback: function () { }
  7189. }, {
  7190. "style": {
  7191. "height": "36px"
  7192. }
  7193. }).form; //创建窗体
  7194. _taskbar = {
  7195. "id": str + _formdiv.id,
  7196. "style": {
  7197. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7198. },
  7199. "name": "思维导图",
  7200. "forms": _formdiv,
  7201. "click": function () {
  7202. U.MD.D.I.openApplication(str, obj, info);
  7203. }
  7204. }
  7205. break;
  7206. case "doc":
  7207. aTool = 6;
  7208. _iframe = $$("iframe", {
  7209. "frameborder": "no",
  7210. "border": "0",
  7211. "scrolling ": "no",
  7212. "style": {
  7213. "cssText": "border:0;width:100%;height:100%"
  7214. },
  7215. "src": "/Office/Word/WordEditArea.htm"
  7216. })
  7217. _box.appendChild(_iframe);
  7218. _box.appendChild(_jie);
  7219. _formdiv = new U.UF.UI.form(
  7220. "协同文档",
  7221. _box, {
  7222. "id": "docs" + cid + stage + task + tool,
  7223. "style": {
  7224. "width": "90%",
  7225. "height": "90%",
  7226. "overflow": 'hidden'
  7227. },
  7228. "onresize": function () { }
  7229. }, {
  7230. closecallback: function () { }
  7231. }, {
  7232. "style": {
  7233. "height": "36px"
  7234. }
  7235. }).form; //创建窗体
  7236. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7237. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7238. })
  7239. _taskbar = {
  7240. "id": str + _formdiv.id,
  7241. "style": {
  7242. "backgroundImage": "url(/img/icon/doc.png)"
  7243. },
  7244. "name": "协同文档",
  7245. "forms": _formdiv,
  7246. "click": function () {
  7247. U.MD.D.I.openApplication(str, obj, info);
  7248. }
  7249. }
  7250. break;
  7251. }
  7252. const script1 = document.createElement("script");
  7253. script1.type = "text/javascript";
  7254. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7255. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7256. const script2 = document.createElement("script");
  7257. script2.type = "text/javascript";
  7258. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7259. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7260. const script3 = document.createElement("script");
  7261. script3.type = "text/javascript";
  7262. script3.charset = "UTF-8";
  7263. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7264. const script4 = document.createElement("script");
  7265. script4.type = "text/javascript";
  7266. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7267. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7268. if (_iframe) {
  7269. if (str == 'doc') {
  7270. _iframe = _formdiv.querySelector('iframe')
  7271. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7272. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7273. _iframe.contentWindow.document.body.appendChild(script1);
  7274. _iframe.contentWindow.document.body.appendChild(script2);
  7275. // _iframe.contentWindow.document.body.appendChild(script3);
  7276. _iframe.contentWindow.document.body.appendChild(script4);
  7277. })
  7278. if (onloadListener) {
  7279. _iframe.contentDocument.location.reload()
  7280. } else {
  7281. _iframe.contentDocument.location.reload()
  7282. }
  7283. } else if (str == 'mind') {
  7284. _iframe = _formdiv.querySelector('iframe')
  7285. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7286. _iframe.contentWindow.document.body.appendChild(script1);
  7287. _iframe.contentWindow.document.body.appendChild(script2);
  7288. _iframe.contentWindow.document.body.appendChild(script4);
  7289. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7290. })
  7291. if (onloadListener) {
  7292. _iframe.contentDocument.location.reload()
  7293. } else {
  7294. _iframe.contentDocument.location.reload()
  7295. }
  7296. } else {
  7297. _iframe.onload = () => {
  7298. _iframe.contentWindow.document.body.appendChild(script1);
  7299. _iframe.contentWindow.document.body.appendChild(script2);
  7300. // _iframe.contentWindow.document.body.appendChild(script3);
  7301. _iframe.contentWindow.document.body.appendChild(script4);
  7302. };
  7303. }
  7304. _jie.onclick = async () => {
  7305. let text = ''
  7306. if (aTool == 6) {
  7307. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7308. } else if (aTool == 3) {
  7309. text = await U.MD.D.I.getEditorContent(_iframe);
  7310. }
  7311. _loading.style.display = 'flex'
  7312. console.log(_loading);
  7313. var _ajs = _iframe.contentWindow.document.createElement("script");
  7314. _ajs.type = "text/javascript";
  7315. _ajs.innerHTML =
  7316. // 'console.log(' + _loading + ');\n' +
  7317. 'var _js = document.createElement("script");\n' +
  7318. '_js.type="text/javascript";\n' +
  7319. '_js.charset="UTF-8";\n' +
  7320. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7321. "_js.onload = function(){\n" +
  7322. ' var a = document.getElementsByTagName("img")\n' +
  7323. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7324. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7325. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7326. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7327. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7328. "beforeUpload_shishi(file," +
  7329. "'" +
  7330. _userid +
  7331. "'" +
  7332. ", " +
  7333. "'" +
  7334. _cid +
  7335. "'" +
  7336. ", " +
  7337. "'" +
  7338. _stage +
  7339. "'" +
  7340. ", " +
  7341. "'" +
  7342. _task +
  7343. "'" +
  7344. ", " +
  7345. "'" +
  7346. _tool +
  7347. "'" +
  7348. ", " +
  7349. "'" +
  7350. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7351. "'" +
  7352. ", " +
  7353. "'" +
  7354. aTool +
  7355. "'" +
  7356. ", " +
  7357. "`" +
  7358. text +
  7359. "`" +
  7360. ")\n" +
  7361. " });\n" +
  7362. "}\n" +
  7363. "document.head.appendChild(_js);\n";
  7364. _iframe.contentWindow.document.head.appendChild(_ajs);
  7365. }
  7366. }
  7367. //U.MD.D.I.openClick(str);
  7368. //如果有任务栏信息
  7369. // if (_taskbar) {
  7370. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7371. // }
  7372. }
  7373. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7374. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7375. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7376. _userinfo = US.userInfo, //登录用户信息
  7377. _userid = US.userInfo.userid //登录用户id
  7378. let _iframe;
  7379. let _cid = cid,
  7380. _stage = stage,
  7381. _task = task,
  7382. _tool = tool;
  7383. var _jie = $$("div", {
  7384. "style": {
  7385. "position": "absolute",
  7386. "bottom": "50px",
  7387. "right": "50px",
  7388. "zIndex": "9999",
  7389. "backgroundColor": "#2268bc",
  7390. "color": "#fff",
  7391. "padding": "12px 20px",
  7392. "cursor": "pointer",
  7393. "borderRadius": "4px",
  7394. },
  7395. "innerHTML": "上传模板"
  7396. })
  7397. let aTool = ''
  7398. let _loading = document.createElement('div')
  7399. _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;"
  7400. // _loading.id = "";
  7401. let _lchild = document.createElement('div')
  7402. let _limg = document.createElement('img')
  7403. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7404. _limg.style = "width: 26px;margin-right: 10px;"
  7405. _lchild.appendChild(_limg)
  7406. let _lspan = document.createElement('span')
  7407. _lspan.innerHTML = "上传中..."
  7408. _lchild.appendChild(_lspan)
  7409. _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%);"
  7410. _loading.appendChild(_lchild)
  7411. var _box = $$('div', {
  7412. "style": {
  7413. "position": "relative",
  7414. "width": "100%",
  7415. "height": "100%",
  7416. },
  7417. })
  7418. _box.appendChild(_loading)
  7419. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7420. switch (str) {
  7421. case "whiteboard":
  7422. aTool = 1;
  7423. _iframe = $$("iframe", {
  7424. "frameborder": "no",
  7425. "border": "0",
  7426. "scrolling ": "no",
  7427. "style": {
  7428. "cssText": "border:0;width:100%;height:100%"
  7429. },
  7430. "src": "https://iwb.cocorobo.cn/"
  7431. })
  7432. _box.appendChild(_iframe);
  7433. _box.appendChild(_jie);
  7434. _formdiv = new U.UF.UI.form(
  7435. "电子白板",
  7436. _box, {
  7437. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7438. "style": {
  7439. "width": "90%",
  7440. "height": "90%",
  7441. "overflow": 'hidden'
  7442. },
  7443. "onresize": function () { }
  7444. }, {
  7445. closecallback: function () { }
  7446. }, {
  7447. "style": {
  7448. "height": "36px"
  7449. }
  7450. }).form; //创建窗体
  7451. _taskbar = {
  7452. "id": str + _formdiv.id,
  7453. "style": {
  7454. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7455. },
  7456. "name": "电子白板",
  7457. "forms": _formdiv,
  7458. "click": function () {
  7459. U.MD.D.I.openApplication(str, obj, info);
  7460. }
  7461. }
  7462. break;
  7463. case "mind":
  7464. aTool = 3;
  7465. _iframe = $$("iframe", {
  7466. "frameborder": "no",
  7467. "border": "0",
  7468. "scrolling ": "no",
  7469. "style": {
  7470. "cssText": "border:0;width:100%;height:100%"
  7471. },
  7472. "src": "/kityminder-editor/dist/index.html"
  7473. });
  7474. _box.appendChild(_iframe);
  7475. _box.appendChild(_jie);
  7476. _formdiv = new U.UF.UI.form(
  7477. "思维导图",
  7478. _box, { //"/jsmind/example/demo.html"
  7479. "id": "minds_Yu" + cid + stage + task + tool,
  7480. "style": {
  7481. "width": "90%",
  7482. "height": "90%",
  7483. "overflow": 'hidden'
  7484. },
  7485. "onresize": function () { }
  7486. }, {
  7487. closecallback: function () { }
  7488. }, {
  7489. "style": {
  7490. "height": "36px"
  7491. }
  7492. }).form; //创建窗体
  7493. _taskbar = {
  7494. "id": str + _formdiv.id,
  7495. "style": {
  7496. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7497. },
  7498. "name": "思维导图",
  7499. "forms": _formdiv,
  7500. "click": function () {
  7501. U.MD.D.I.openApplication(str, obj, info);
  7502. }
  7503. }
  7504. break;
  7505. case "doc":
  7506. aTool = 6;
  7507. _iframe = $$("iframe", {
  7508. "frameborder": "no",
  7509. "border": "0",
  7510. "scrolling ": "no",
  7511. "style": {
  7512. "cssText": "border:0;width:100%;height:100%"
  7513. },
  7514. "src": "/Office/Word/WordEditArea.htm"
  7515. })
  7516. _box.appendChild(_iframe);
  7517. _box.appendChild(_jie);
  7518. _formdiv = new U.UF.UI.form(
  7519. "协同文档",
  7520. _box, {
  7521. "id": "docs_Yu" + cid + stage + task + tool,
  7522. "style": {
  7523. "width": "90%",
  7524. "height": "90%",
  7525. "overflow": 'hidden'
  7526. },
  7527. "onresize": function () { }
  7528. }, {
  7529. closecallback: function () { }
  7530. }, {
  7531. "style": {
  7532. "height": "36px"
  7533. }
  7534. }).form; //创建窗体
  7535. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7536. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7537. })
  7538. _taskbar = {
  7539. "id": str + _formdiv.id,
  7540. "style": {
  7541. "backgroundImage": "url(/img/icon/doc.png)"
  7542. },
  7543. "name": "协同文档",
  7544. "forms": _formdiv,
  7545. "click": function () {
  7546. U.MD.D.I.openApplication(str, obj, info);
  7547. }
  7548. }
  7549. break;
  7550. case "CocoPi":
  7551. aTool = 57;
  7552. _iframe = $$("iframe", {
  7553. "allowpaymentrequest": "allowpaymentrequest",
  7554. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7555. "webkitallowfullscreen": "",
  7556. "mozallowfullscreen": "",
  7557. "frameborder": "no",
  7558. "border": "0",
  7559. "scrolling ": "no",
  7560. "style": {
  7561. "cssText": "border:0;width:100%;height:100%"
  7562. },
  7563. "src": "https://pi.cocorobo.cn/"
  7564. })
  7565. _box.appendChild(_iframe);
  7566. _box.appendChild(_jie);
  7567. _formdiv = new U.UF.UI.form(
  7568. "CocoPi",
  7569. _box, {
  7570. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7571. "style": {
  7572. "width": "90%",
  7573. "height": "90%",
  7574. "overflow": 'hidden'
  7575. },
  7576. "onresize": function () { }
  7577. }, {
  7578. closecallback: function () { }
  7579. }, {
  7580. "style": {
  7581. "height": "36px"
  7582. }
  7583. }).form; //创建窗体
  7584. _taskbar = {
  7585. "id": str + _formdiv.id,
  7586. "style": {
  7587. "backgroundImage": "url(/img/icon/cocopi.png)"
  7588. },
  7589. "name": "CocoPi",
  7590. "forms": _formdiv,
  7591. "click": function () {
  7592. U.MD.D.I.openApplication(str, obj, info);
  7593. }
  7594. }
  7595. break;
  7596. }
  7597. if (_iframe) {
  7598. if (str == 'doc') {
  7599. _iframe = _formdiv.querySelector('iframe')
  7600. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7601. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7602. })
  7603. if (onloadListener) {
  7604. _iframe.contentDocument.location.reload()
  7605. } else {
  7606. _iframe.contentDocument.location.reload()
  7607. }
  7608. } else if (str == 'mind') {
  7609. _iframe = _formdiv.querySelector('iframe')
  7610. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7611. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7612. })
  7613. if (onloadListener) {
  7614. _iframe.contentDocument.location.reload()
  7615. } else {
  7616. _iframe.contentDocument.location.reload()
  7617. }
  7618. } else if (str == 'whiteboard') {
  7619. _iframe = _formdiv.querySelector('iframe')
  7620. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7621. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7622. })
  7623. if (onloadListener) {
  7624. _iframe.contentDocument.location.reload()
  7625. } else {
  7626. _iframe.contentDocument.location.reload()
  7627. }
  7628. } else if (str == 'CocoPi') {
  7629. _iframe = _formdiv.querySelector('iframe')
  7630. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7631. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7632. })
  7633. if (onloadListener) {
  7634. _iframe.contentDocument.location.reload()
  7635. } else {
  7636. _iframe.contentDocument.location.reload()
  7637. }
  7638. } else {
  7639. _iframe.onload = () => { };
  7640. }
  7641. _jie.onclick = async () => {
  7642. let text = ''
  7643. let type = '2'
  7644. if (aTool == 1) {
  7645. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7646. type = '3'
  7647. } else if (aTool == 6) {
  7648. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7649. type = '1'
  7650. } else if (aTool == 3) {
  7651. text = await U.MD.D.I.getEditorContent(_iframe);
  7652. type = '2'
  7653. } else if (aTool == 57) {
  7654. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7655. type = '4'
  7656. }
  7657. _loading.style.display = 'flex'
  7658. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7659. }
  7660. }
  7661. //U.MD.D.I.openClick(str);
  7662. //如果有任务栏信息
  7663. // if (_taskbar) {
  7664. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7665. // }
  7666. }
  7667. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7668. var xmlhttp;
  7669. var Mac, Sn, DeviceId
  7670. if (window.XMLHttpRequest) {
  7671. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7672. xmlhttp = new XMLHttpRequest();
  7673. } else {
  7674. // IE6, IE5 浏览器执行代码
  7675. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7676. }
  7677. xmlhttp.onreadystatechange = function () {
  7678. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7679. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7680. // resolve(res.value[0][0].text);
  7681. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7682. }
  7683. }
  7684. }
  7685. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7686. xmlhttp.send();
  7687. }
  7688. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7689. var xmlhttp;
  7690. var Mac, Sn, DeviceId
  7691. if (window.XMLHttpRequest) {
  7692. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7693. xmlhttp = new XMLHttpRequest();
  7694. } else {
  7695. // IE6, IE5 浏览器执行代码
  7696. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7697. }
  7698. xmlhttp.onreadystatechange = function () {
  7699. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7700. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7701. // resolve(res.value[0][0].text);
  7702. if (type == '2') {
  7703. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7704. } else if (type == '3') {
  7705. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7706. } else if (type == '4') {
  7707. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7708. }
  7709. } else {
  7710. if (type == '2') {
  7711. iframe.contentWindow.editor.minder.importData('json', '')
  7712. } else if (type == '3') {
  7713. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7714. } else if (type == '4') {
  7715. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7716. }
  7717. }
  7718. }
  7719. }
  7720. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7721. xmlhttp.send();
  7722. }
  7723. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7724. var xmlhttp;
  7725. var Mac, Sn, DeviceId
  7726. if (window.XMLHttpRequest) {
  7727. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7728. xmlhttp = new XMLHttpRequest();
  7729. } else {
  7730. // IE6, IE5 浏览器执行代码
  7731. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7732. }
  7733. xmlhttp.onreadystatechange = function () {
  7734. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7735. if (xmlhttp.response) {
  7736. // resolve(res.value[0][0].text);
  7737. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7738. // $(fileInput).val('');
  7739. // });
  7740. span.innerHTML = '上传成功'
  7741. setTimeout(() => {
  7742. loading.style.display = 'none'
  7743. }, 1000);
  7744. }
  7745. }
  7746. }
  7747. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7748. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7749. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7750. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7751. // 设置请求头,表示请求体的编码格式
  7752. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7753. // 设置请求体,使用url-encoded格式的数据
  7754. }
  7755. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7756. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7757. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7758. _userinfo = US.userInfo, //登录用户信息
  7759. _userid = US.userInfo.userid //登录用户id
  7760. let _iframe;
  7761. let _cid = cid,
  7762. _stage = stage,
  7763. _task = task,
  7764. _tool = tool;
  7765. var _jie = $$("div", {
  7766. "style": {
  7767. "position": "absolute",
  7768. "bottom": "50px",
  7769. "right": "50px",
  7770. "zIndex": "9999",
  7771. "backgroundColor": "#2268bc",
  7772. "color": "#fff",
  7773. "padding": "12px 20px",
  7774. "cursor": "pointer",
  7775. "borderRadius": "4px",
  7776. },
  7777. "innerHTML": "提交作业"
  7778. })
  7779. let aTool = ''
  7780. let _loading = document.createElement('div')
  7781. _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;"
  7782. // _loading.id = "";
  7783. let _lchild = document.createElement('div')
  7784. let _limg = document.createElement('img')
  7785. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7786. _limg.style = "width: 26px;margin-right: 10px;"
  7787. _lchild.appendChild(_limg)
  7788. let _lspan = document.createElement('span')
  7789. _lspan.innerHTML = "上传中..."
  7790. _lchild.appendChild(_lspan)
  7791. _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%);"
  7792. _loading.appendChild(_lchild)
  7793. var _box = $$('div', {
  7794. "style": {
  7795. "position": "relative",
  7796. "width": "100%",
  7797. "height": "100%",
  7798. },
  7799. })
  7800. _box.appendChild(_loading)
  7801. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7802. switch (str) {
  7803. case "CocoPi":
  7804. aTool = 57;
  7805. _iframe = $$("iframe", {
  7806. "allowpaymentrequest": "allowpaymentrequest",
  7807. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7808. "webkitallowfullscreen": "",
  7809. "mozallowfullscreen": "",
  7810. "frameborder": "no",
  7811. "border": "0",
  7812. "scrolling ": "no",
  7813. "style": {
  7814. "cssText": "border:0;width:100%;height:100%"
  7815. },
  7816. "src": "https://pi.cocorobo.cn/"
  7817. })
  7818. _box.appendChild(_iframe);
  7819. _box.appendChild(_jie);
  7820. _formdiv = new U.UF.UI.form(
  7821. "CocoPi",
  7822. _box, {
  7823. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7824. "style": {
  7825. "width": "90%",
  7826. "height": "90%",
  7827. "overflow": 'hidden'
  7828. },
  7829. "onresize": function () { }
  7830. }, {
  7831. closecallback: function () { }
  7832. }, {
  7833. "style": {
  7834. "height": "36px"
  7835. }
  7836. }).form; //创建窗体
  7837. _taskbar = {
  7838. "id": str + _formdiv.id,
  7839. "style": {
  7840. "backgroundImage": "url(/img/icon/cocopi.png)"
  7841. },
  7842. "name": "CocoPi",
  7843. "forms": _formdiv,
  7844. "click": function () {
  7845. U.MD.D.I.openApplication(str, obj, info);
  7846. }
  7847. }
  7848. break;
  7849. }
  7850. if (_iframe) {
  7851. if (str == 'CocoPi') {
  7852. _iframe = _formdiv.querySelector('iframe')
  7853. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7854. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7855. })
  7856. if (onloadListener) {
  7857. _iframe.contentDocument.location.reload()
  7858. } else {
  7859. _iframe.contentDocument.location.reload()
  7860. }
  7861. }
  7862. _jie.onclick = async () => {
  7863. let text = ''
  7864. if (aTool == 57) {
  7865. text = _iframe.contentWindow.getLoadXmlStr()
  7866. }
  7867. _loading.style.display = 'flex'
  7868. console.log(_loading);
  7869. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7870. _loading.style.display = 'none'
  7871. let _div = document.createElement('div')
  7872. _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;"
  7873. let _inner = document.createElement('div')
  7874. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7875. _inner.innerHTML = "上传成功"
  7876. _div.appendChild(_inner)
  7877. _iframe.contentWindow.window.document.body.appendChild(_div)
  7878. _div.onclick = () => {
  7879. _iframe.contentWindow.window.document.body.removeChild(_div)
  7880. }
  7881. setTimeout(() => {
  7882. _iframe.contentWindow.window.document.body.removeChild(_div)
  7883. }, 1000);
  7884. }, [], { "type": "POST", "withCredentials": true });
  7885. }
  7886. }
  7887. }
  7888. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7889. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7890. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7891. _userid = student.userid, //登录用户id
  7892. _username = student.student //用户名字
  7893. let _iframe;
  7894. let _cid = cid,
  7895. _stage = stage,
  7896. _task = task,
  7897. _tool = tool;
  7898. var _jie = $$("div", {
  7899. "style": {
  7900. "position": "absolute",
  7901. "bottom": "50px",
  7902. "right": "50px",
  7903. "zIndex": "9999",
  7904. "backgroundColor": "#2268bc",
  7905. "color": "#fff",
  7906. "padding": "12px 20px",
  7907. "cursor": "pointer",
  7908. "borderRadius": "4px",
  7909. },
  7910. "innerHTML": "提交作业"
  7911. })
  7912. let aTool = ''
  7913. let _loading = document.createElement('div')
  7914. _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;"
  7915. // _loading.id = "";
  7916. let _lchild = document.createElement('div')
  7917. let _limg = document.createElement('img')
  7918. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7919. _limg.style = "width: 26px;margin-right: 10px;"
  7920. _lchild.appendChild(_limg)
  7921. let _lspan = document.createElement('span')
  7922. _lspan.innerHTML = "上传中..."
  7923. _lchild.appendChild(_lspan)
  7924. _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%);"
  7925. _loading.appendChild(_lchild)
  7926. var _box = $$('div', {
  7927. "style": {
  7928. "position": "relative",
  7929. "width": "100%",
  7930. "height": "100%",
  7931. },
  7932. })
  7933. _box.appendChild(_loading)
  7934. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7935. switch (str) {
  7936. case "CocoPi":
  7937. aTool = 57;
  7938. _iframe = $$("iframe", {
  7939. "allowpaymentrequest": "allowpaymentrequest",
  7940. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7941. "webkitallowfullscreen": "",
  7942. "mozallowfullscreen": "",
  7943. "frameborder": "no",
  7944. "border": "0",
  7945. "scrolling ": "no",
  7946. "style": {
  7947. "cssText": "border:0;width:100%;height:100%"
  7948. },
  7949. "src": "https://pi.cocorobo.cn/"
  7950. })
  7951. _box.appendChild(_iframe);
  7952. _box.appendChild(_jie);
  7953. _formdiv = new U.UF.UI.form(
  7954. "CocoPi-" + _username,
  7955. _box, {
  7956. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7957. "style": {
  7958. "width": "90%",
  7959. "height": "90%",
  7960. "overflow": 'hidden'
  7961. },
  7962. "onresize": function () { }
  7963. }, {
  7964. closecallback: function () { }
  7965. }, {
  7966. "style": {
  7967. "height": "36px"
  7968. }
  7969. }).form; //创建窗体
  7970. _taskbar = {
  7971. "id": str + _formdiv.id,
  7972. "style": {
  7973. "backgroundImage": "url(/img/icon/cocopi.png)"
  7974. },
  7975. "name": "CocoPi",
  7976. "forms": _formdiv,
  7977. "click": function () {
  7978. U.MD.D.I.openApplication(str, obj, info);
  7979. }
  7980. }
  7981. break;
  7982. }
  7983. if (_iframe) {
  7984. if (str == 'CocoPi') {
  7985. _iframe = _formdiv.querySelector('iframe')
  7986. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7987. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7988. })
  7989. if (onloadListener) {
  7990. _iframe.contentDocument.location.reload()
  7991. } else {
  7992. _iframe.contentDocument.location.reload()
  7993. }
  7994. }
  7995. _jie.onclick = async () => {
  7996. let text = ''
  7997. if (aTool == 57) {
  7998. text = _iframe.contentWindow.getLoadXmlStr()
  7999. }
  8000. _loading.style.display = 'flex'
  8001. console.log(_loading);
  8002. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8003. _loading.style.display = 'none'
  8004. let _div = document.createElement('div')
  8005. _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;"
  8006. let _inner = document.createElement('div')
  8007. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8008. _inner.innerHTML = "上传成功"
  8009. _div.appendChild(_inner)
  8010. _iframe.contentWindow.window.document.body.appendChild(_div)
  8011. _div.onclick = () => {
  8012. _iframe.contentWindow.window.document.body.removeChild(_div)
  8013. }
  8014. setTimeout(() => {
  8015. _iframe.contentWindow.window.document.body.removeChild(_div)
  8016. }, 1000);
  8017. }, [], { "type": "POST", "withCredentials": true });
  8018. }
  8019. }
  8020. }
  8021. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  8022. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  8023. if (res.value[0].length > 0) {
  8024. if (atool == 57) {
  8025. iframe.contentWindow.loadingXml(res.value[0][0].content)
  8026. }
  8027. } else {
  8028. if (atool == 57) {
  8029. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  8030. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8031. }
  8032. }
  8033. }, [], { "type": "POST", "withCredentials": true });
  8034. }